增加批量修改通道的业务分组以及行政区划,支持筛选业务分组和行政区划,支持抽稀还原,国标通道编辑增加表单校验

This commit is contained in:
lin
2025-10-30 15:05:50 +08:00
parent 091d6e67ee
commit fa9aaf3fa2
20 changed files with 395 additions and 104 deletions

View File

@@ -135,9 +135,9 @@ export default {
.then(data => {
this.total = data.total
this.deviceList = data.list
}).finally(() => [
}).finally(() => {
this.getDeviceListLoading = false
])
})
},
openDialog: function(callback) {
this.listChangeCallback = callback

View File

@@ -45,7 +45,8 @@ export default {
return {
showDialog: false,
endCallback: false,
regionDeviceId: ''
regionDeviceId: '',
regionName: ''
}
},
computed: {},
@@ -54,10 +55,12 @@ export default {
openDialog: function(callback) {
this.showDialog = true
this.endCallback = callback
this.regionDeviceId = ''
this.regionName = ''
},
onSubmit: function() {
if (this.endCallback) {
this.endCallback(this.regionDeviceId)
this.endCallback(this.regionDeviceId, this.regionName)
}
this.close()
},
@@ -66,6 +69,7 @@ export default {
},
treeNodeClickEvent: function(region) {
this.regionDeviceId = region.deviceId
this.regionName = region.name
},
onChannelChange: function(deviceId) {
//

View File

@@ -47,6 +47,7 @@ export default {
showDialog: false,
endCallback: false,
groupDeviceId: '',
groupName: '',
businessGroup: ''
}
},
@@ -56,10 +57,13 @@ export default {
openDialog: function(callback) {
this.showDialog = true
this.endCallback = callback
this.groupDeviceId = ''
this.groupName = ''
this.businessGroup = ''
},
onSubmit: function() {
if (this.endCallback) {
this.endCallback(this.groupDeviceId, this.businessGroup)
this.endCallback(this.groupDeviceId, this.businessGroup, this.groupName)
}
this.close()
},
@@ -74,6 +78,7 @@ export default {
}
this.groupDeviceId = group.deviceId
this.businessGroup = group.businessGroup
this.groupName = group.name
},
onChannelChange: function(deviceId) {
//