|
@@ -3,12 +3,15 @@
|
|
|
<DefaultHeaderPage title="Cadastro de Unidade" />
|
|
<DefaultHeaderPage title="Cadastro de Unidade" />
|
|
|
|
|
|
|
|
<CustomTabComponent v-model:active-tab="activeTab" :tabs />
|
|
<CustomTabComponent v-model:active-tab="activeTab" :tabs />
|
|
|
|
|
+
|
|
|
|
|
+ <UnitDataTab v-if="activeTab === 'unit_data'" />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
import DefaultHeaderPage from "src/components/layout/DefaultHeaderPage.vue";
|
|
import DefaultHeaderPage from "src/components/layout/DefaultHeaderPage.vue";
|
|
|
import CustomTabComponent from "src/components/shared/CustomTabComponent.vue";
|
|
import CustomTabComponent from "src/components/shared/CustomTabComponent.vue";
|
|
|
|
|
+import UnitDataTab from "src/pages/unit/tabs/UnitDataTab.vue";
|
|
|
import { ref } from "vue";
|
|
import { ref } from "vue";
|
|
|
|
|
|
|
|
const activeTab = ref("unit_data");
|
|
const activeTab = ref("unit_data");
|