Просмотр исходного кода

chore: remove botao de visualizar

ebagabee 1 месяц назад
Родитель
Сommit
9fdae76632
2 измененных файлов с 30 добавлено и 31 удалено
  1. 30 30
      src/pages/tbr/TbrPage.vue
  2. 0 1
      src/pages/tbr/tabs/SettingsTab.vue

+ 30 - 30
src/pages/tbr/TbrPage.vue

@@ -1,33 +1,3 @@
-<script setup>
-import { defineAsyncComponent, ref } from "vue";
-
-import CustomTabComponent from "src/components/shared/CustomTabComponent.vue";
-import DefaultHeaderPage from "src/components/layout/DefaultHeaderPage.vue";
-
-const SettingsTab = defineAsyncComponent(
-  () => import("./tabs/SettingsTab.vue"),
-);
-const ContractsTab = defineAsyncComponent(
-  () => import("./tabs/ContractsTab.vue"),
-);
-const BillingsTab = defineAsyncComponent(
-  () => import("./tabs/BillingsTab.vue"),
-);
-
-const InhabitantClassificationsTab = defineAsyncComponent(
-  () => import("./tabs/InhabitantClassificationsTab.vue"),
-);
-
-const currentTab = ref("settings");
-
-const tabs = [
-  { name: "settings", label: "Configurações" },
-  { name: "inhabitant_classifications", label: "Faixas" },
-  { name: "contracts", label: "Contratos" },
-  { name: "billings", label: "Cobranças" },
-];
-</script>
-
 <template>
   <div>
     <DefaultHeaderPage title="TBR - Configurações" :show-filter-icon="false" />
@@ -57,3 +27,33 @@ const tabs = [
     </div>
   </div>
 </template>
+
+<script setup>
+import { defineAsyncComponent, ref } from "vue";
+
+import CustomTabComponent from "src/components/shared/CustomTabComponent.vue";
+import DefaultHeaderPage from "src/components/layout/DefaultHeaderPage.vue";
+
+const SettingsTab = defineAsyncComponent(
+  () => import("./tabs/SettingsTab.vue"),
+);
+const ContractsTab = defineAsyncComponent(
+  () => import("./tabs/ContractsTab.vue"),
+);
+const BillingsTab = defineAsyncComponent(
+  () => import("./tabs/BillingsTab.vue"),
+);
+
+const InhabitantClassificationsTab = defineAsyncComponent(
+  () => import("./tabs/InhabitantClassificationsTab.vue"),
+);
+
+const currentTab = ref("settings");
+
+const tabs = [
+  { name: "settings", label: "Configurações" },
+  { name: "inhabitant_classifications", label: "Faixas" },
+  { name: "contracts", label: "Contratos" },
+  { name: "billings", label: "Cobranças" },
+];
+</script>

+ 0 - 1
src/pages/tbr/tabs/SettingsTab.vue

@@ -29,7 +29,6 @@
     <template #body-cell-actions="{ row }">
       <q-td align="center">
         <div class="row no-wrap" style="gap: 4px">
-          <q-btn flat round dense icon="mdi-eye-outline" size="sm" />
           <q-btn
             flat
             round