diff --git a/src/views/cameraChannel/components/adddeviceDialog.vue b/src/views/cameraChannel/components/adddeviceDialog.vue index ae099b2..3261032 100644 --- a/src/views/cameraChannel/components/adddeviceDialog.vue +++ b/src/views/cameraChannel/components/adddeviceDialog.vue @@ -79,7 +79,8 @@ export default { if (val == null) { return (this.formdata = {}); } - this.formdata = val; + //this.formdata = val; + this.formdata = JSON.parse(JSON.stringify(val)); }, // 保存确定操作 submitForm() { diff --git a/src/views/devicePhotoSchedule/components/adddeviceDialog.vue b/src/views/devicePhotoSchedule/components/adddeviceDialog.vue index 557d253..796926d 100644 --- a/src/views/devicePhotoSchedule/components/adddeviceDialog.vue +++ b/src/views/devicePhotoSchedule/components/adddeviceDialog.vue @@ -99,7 +99,8 @@ export default { remark: "", }); } - this.ruleForm = val; + //this.ruleForm = val; + this.ruleForm = JSON.parse(JSON.stringify(val)); this.ruleForm.list.forEach((val) => { this.$set(val, "time", [val.startTime, val.endTime]); }); diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue b/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue index 6ab68ec..5873a44 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue @@ -232,7 +232,8 @@ export default { ], }); } - this.formInfo = val; + //this.formInfo = val; + this.formInfo = JSON.parse(JSON.stringify(val)); }, //通道号值改变 changeHandle() { diff --git a/src/views/management/userEquipment/lineInformation/components/addLineDialog.vue b/src/views/management/userEquipment/lineInformation/components/addLineDialog.vue index 53b170b..2220979 100644 --- a/src/views/management/userEquipment/lineInformation/components/addLineDialog.vue +++ b/src/views/management/userEquipment/lineInformation/components/addLineDialog.vue @@ -82,7 +82,8 @@ export default { if (val == null) { return (this.formdata = {}); } - this.formdata = val; + //this.formdata = val; + this.formdata = JSON.parse(JSON.stringify(val)); //this.$set(this.formdata); }, // 保存确定操作 diff --git a/src/views/management/userEquipment/lineInformation/components/addTowerDialog.vue b/src/views/management/userEquipment/lineInformation/components/addTowerDialog.vue index fab95aa..e193d72 100644 --- a/src/views/management/userEquipment/lineInformation/components/addTowerDialog.vue +++ b/src/views/management/userEquipment/lineInformation/components/addTowerDialog.vue @@ -59,7 +59,8 @@ export default { methods: { //判断 getdataform(val) { - this.formdata = val; + //this.formdata = val; + this.formdata = JSON.parse(JSON.stringify(val)); this.formdata.lineId = val.name; }, // 保存确定操作