fix:融合服务-详情

This commit is contained in:
guoyue 2022-08-09 13:13:01 +08:00
parent 2e79549ae1
commit b3769f2415
1 changed files with 6 additions and 5 deletions

View File

@ -162,6 +162,9 @@ export default {
this.$nextTick(() => {
this.selectCheckbox()
})
if (this.modalType == 'add') {
this.clear()
}
}
}
},
@ -246,8 +249,7 @@ export default {
this.$nextTick(() => {
this.currentList = this.tabData.find(v => v.tabName == this.activeBtn).list || [];
if (this.modalType == 'add') {
//
this.getData()
this.clear()
}
})
}).catch(err => {
@ -276,7 +278,7 @@ export default {
},
//
getData() {
let postData = Object.assign({
let postData = Object.assign({}, {
checkStatus: 1,
gpsX: '',
gpsY: '',
@ -311,11 +313,10 @@ export default {
this.dataList.map(v => {
if (idtCameraChannelArray.includes(v.idtCameraChannel)) {
this.displayList.push({
name: v.channelName
channelName: v.channelName
})
}
})
this.$emit('update', {
title: this.type,
list: this.selectedArray.map(v => v.idtCameraChannel)