|
@@ -259,6 +259,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
queryTableList() {
|
|
|
+ console.log('queryTableList')
|
|
|
let major
|
|
|
if (this.major.slice(0, 2) == 'GD') {
|
|
|
major = '供电'
|
|
@@ -352,6 +353,13 @@ export default {
|
|
|
watch: {
|
|
|
row: {
|
|
|
handler(newV, oldV) {
|
|
|
+ // console.log('handler', newV, oldV)
|
|
|
+ // 数据改变,重置表格,tab数据
|
|
|
+ if (JSON.stringify(newV) !== JSON.stringify(oldV)) {
|
|
|
+ this.tableData = []
|
|
|
+ this.currentTab = 0
|
|
|
+ this.currentComponent = 'wbTable'
|
|
|
+ }
|
|
|
this.queryTableList()
|
|
|
this.getFloorAllSelect()
|
|
|
this.tabFind()
|