fix:融合服务-详情
This commit is contained in:
parent
2e79549ae1
commit
b3769f2415
|
@ -162,6 +162,9 @@ export default {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.selectCheckbox()
|
this.selectCheckbox()
|
||||||
})
|
})
|
||||||
|
if (this.modalType == 'add') {
|
||||||
|
this.clear()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -246,8 +249,7 @@ export default {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.currentList = this.tabData.find(v => v.tabName == this.activeBtn).list || [];
|
this.currentList = this.tabData.find(v => v.tabName == this.activeBtn).list || [];
|
||||||
if (this.modalType == 'add') {
|
if (this.modalType == 'add') {
|
||||||
// 获取列表
|
this.clear()
|
||||||
this.getData()
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
@ -276,7 +278,7 @@ export default {
|
||||||
},
|
},
|
||||||
// 获取列表
|
// 获取列表
|
||||||
getData() {
|
getData() {
|
||||||
let postData = Object.assign({
|
let postData = Object.assign({}, {
|
||||||
checkStatus: 1,
|
checkStatus: 1,
|
||||||
gpsX: '',
|
gpsX: '',
|
||||||
gpsY: '',
|
gpsY: '',
|
||||||
|
@ -311,11 +313,10 @@ export default {
|
||||||
this.dataList.map(v => {
|
this.dataList.map(v => {
|
||||||
if (idtCameraChannelArray.includes(v.idtCameraChannel)) {
|
if (idtCameraChannelArray.includes(v.idtCameraChannel)) {
|
||||||
this.displayList.push({
|
this.displayList.push({
|
||||||
name: v.channelName
|
channelName: v.channelName
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.$emit('update', {
|
this.$emit('update', {
|
||||||
title: this.type,
|
title: this.type,
|
||||||
list: this.selectedArray.map(v => v.idtCameraChannel)
|
list: this.selectedArray.map(v => v.idtCameraChannel)
|
||||||
|
|
Loading…
Reference in New Issue