NEZ-1930 fix: 底弹框 切换数据源未删除搜索条件

This commit is contained in:
zhangyu
2022-06-15 14:04:03 +08:00
parent 1e2f8dea74
commit 4008b96d36
12 changed files with 13 additions and 2 deletions

View File

@@ -169,6 +169,7 @@ export default {
deep: true,
handler (n, o) {
if (n) {
this.searchLabel = {}
this.getTableData()
}
}

View File

@@ -696,6 +696,7 @@ export default {
immediate: true,
deep: true,
handler (n) {
this.searchLabel = {}
if (this.from === fromRoute.module) {
this.searchLabel.moduleIds = n.id
} else {

View File

@@ -158,9 +158,11 @@ export default {
immediate: true,
handler (n) {
if (n) {
this.searchLabel = {}
if (this.from === fromRoute.alertSilence) {
this.state = '2'
}
this.searchLabel = {}
this.getTableData()
}
}

View File

@@ -280,6 +280,7 @@ export default {
immediate: true,
deep: true,
handler (n, o) {
this.searchLabel = {}
this.searchLabel.dcIds = n.id
if (this.from === fromRoute.model) {
delete this.searchLabel.dcIds

View File

@@ -284,6 +284,7 @@ export default {
immediate: true,
deep: true,
handler (n, o) {
this.searchLabel = {}
this.searchLabel.dcIds = n.id
if (this.from === fromRoute.model) {
delete this.searchLabel.dcIds

View File

@@ -93,6 +93,7 @@ export default {
obj: {
immediate: true,
handler (n) {
this.searchLabel = {}
this.formatTime = bus.timeFormate(new Date(bus.computeTimezoneTime(new Date())))
}
}

View File

@@ -705,6 +705,7 @@ export default {
deep: true,
handler (n) {
if (n) {
this.searchLabel = {}
this.currentEndpoint = JSON.parse(JSON.stringify(n))
this.queryEndpoint()
}

View File

@@ -515,6 +515,7 @@ export default {
deep: true,
handler (n) {
if (n) {
this.searchLabel = {}
if (this.from === fromRoute.asset) {
this.asset = JSON.parse(JSON.stringify(n))
this.$nextTick(() => {

View File

@@ -75,6 +75,7 @@ export default {
immediate: true,
handler (n) {
if (n) {
this.searchLabel = {}
this.getTableData()
}
}

View File

@@ -808,6 +808,7 @@ export default {
handler (n, o) {
setTimeout(() => {
if (n && n.id) {
this.searchLabel = {}
this.getTableData(n.id)
if (this.from === fromRoute.asset) {
this.searchLabel.assetIds = n.id

View File

@@ -88,6 +88,7 @@ export default {
deep: true,
handler (n, o) {
if (n) {
this.searchLabel = {}
this.inputDateSearch = ''
this.getTableData()
}

View File

@@ -1,2 +1 @@
{"baseUrl":"/", "version": "22.05"}
{"baseUrl":"http://192.168.40.42:8080/", "version": "22.05"}