NEZ-1930 fix: 底弹框 切换数据源未删除搜索条件
This commit is contained in:
@@ -169,6 +169,7 @@ export default {
|
||||
deep: true,
|
||||
handler (n, o) {
|
||||
if (n) {
|
||||
this.searchLabel = {}
|
||||
this.getTableData()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -93,6 +93,7 @@ export default {
|
||||
obj: {
|
||||
immediate: true,
|
||||
handler (n) {
|
||||
this.searchLabel = {}
|
||||
this.formatTime = bus.timeFormate(new Date(bus.computeTimezoneTime(new Date())))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -705,6 +705,7 @@ export default {
|
||||
deep: true,
|
||||
handler (n) {
|
||||
if (n) {
|
||||
this.searchLabel = {}
|
||||
this.currentEndpoint = JSON.parse(JSON.stringify(n))
|
||||
this.queryEndpoint()
|
||||
}
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
@@ -75,6 +75,7 @@ export default {
|
||||
immediate: true,
|
||||
handler (n) {
|
||||
if (n) {
|
||||
this.searchLabel = {}
|
||||
this.getTableData()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -88,6 +88,7 @@ export default {
|
||||
deep: true,
|
||||
handler (n, o) {
|
||||
if (n) {
|
||||
this.searchLabel = {}
|
||||
this.inputDateSearch = ''
|
||||
this.getTableData()
|
||||
}
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
{"baseUrl":"/", "version": "22.05"}
|
||||
|
||||
{"baseUrl":"http://192.168.40.42:8080/", "version": "22.05"}
|
||||
|
||||
Reference in New Issue
Block a user