|
@@ -139,7 +139,10 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
callback (key) {
|
|
callback (key) {
|
|
this.activeKey = key
|
|
this.activeKey = key
|
|
- this.resetSearchForm()
|
|
|
|
|
|
+ const _this = this
|
|
|
|
+ _this.$nextTick(() => {
|
|
|
|
+ this.getTableTitle()
|
|
|
|
+ })
|
|
console.log(key, this.activeKey)
|
|
console.log(key, this.activeKey)
|
|
},
|
|
},
|
|
// 创建时间 change
|
|
// 创建时间 change
|
|
@@ -179,7 +182,9 @@ export default {
|
|
this.queryParam.subareaArea.subareaSn = undefined
|
|
this.queryParam.subareaArea.subareaSn = undefined
|
|
this.queryParam.subareaArea.subareaAreaSn = undefined
|
|
this.queryParam.subareaArea.subareaAreaSn = undefined
|
|
this.queryParam.salesStatusType = 'REAL_SALES'
|
|
this.queryParam.salesStatusType = 'REAL_SALES'
|
|
- this.$refs.subarea.clearData()
|
|
|
|
|
|
+ if (this.activeKey == 0) {
|
|
|
|
+ this.$refs.subarea.clearData()
|
|
|
|
+ }
|
|
this.$refs.table.clearTable()
|
|
this.$refs.table.clearTable()
|
|
},
|
|
},
|
|
// 导出
|
|
// 导出
|