zhulizhen1111 4 years ago
parent
commit
4ee7556cad
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/equipment/table/eqDetaileDialog.vue

+ 5 - 2
src/views/equipment/table/eqDetaileDialog.vue

@@ -178,6 +178,11 @@ export default {
     computed: {
         ...mapGetters(['floorSelect']),
     },
+    mounted() {
+        this.queryTableList()
+        this.getFloorAllSelect()
+        this.tabFind()
+    },
     props: ['row', 'major', 'sign', 'smsxt', 'diff'],
     methods: {
         tabClick(item) {
@@ -323,8 +328,6 @@ export default {
                 this.tableData = res.data.data
                 this.total = res.data.count
                 this.key++
-                this.assetnum = this.tableData[0].assetnum
-                this.changeTab(0)
             })
         },
         getFloorAllSelect() {