From 3133025fc9e5d0523136404d5b9361d1b8f166ab Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 5 Feb 2020 17:16:11 +0800 Subject: [PATCH] =?UTF-8?q?iscs=20fas=20=E5=85=83=E7=B4=A0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iscs/iscsDraw/iscsOperate/fireHydranAlarmButton.vue | 2 +- src/views/iscs/iscsDraw/iscsOperate/gasFireControl.vue | 2 +- src/views/iscs/iscsDraw/iscsOperate/manualAlarmButton.vue | 2 +- src/views/iscs/iscsDraw/iscsOperate/smokeDetector.vue | 2 +- src/views/iscs/iscsDraw/iscsOperate/temperatureDetector.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/iscs/iscsDraw/iscsOperate/fireHydranAlarmButton.vue b/src/views/iscs/iscsDraw/iscsOperate/fireHydranAlarmButton.vue index 2fb599a1d..6ee153ca2 100644 --- a/src/views/iscs/iscsDraw/iscsOperate/fireHydranAlarmButton.vue +++ b/src/views/iscs/iscsDraw/iscsOperate/fireHydranAlarmButton.vue @@ -72,7 +72,7 @@ export default { x: this.addModel.x, y: this.addModel.y }, - code: this.isUpdate ? this.form.code : getUID('FireHydranAlarmButton', this.iscs.fireHydranAlarmButtonList), + code: this.isUpdate ? this.addModel.code : getUID('FireHydranAlarmButton', this.iscs.fireHydranAlarmButtonList), _type: 'FireHydranAlarmButton', width: this.addModel.width }; diff --git a/src/views/iscs/iscsDraw/iscsOperate/gasFireControl.vue b/src/views/iscs/iscsDraw/iscsOperate/gasFireControl.vue index 865cb1282..4550f022f 100644 --- a/src/views/iscs/iscsDraw/iscsOperate/gasFireControl.vue +++ b/src/views/iscs/iscsDraw/iscsOperate/gasFireControl.vue @@ -73,7 +73,7 @@ export default { x: this.addModel.x, y: this.addModel.y }, - code: this.isUpdate ? this.form.code : getUID('GasFireControl', this.iscs.gasFireControlList), + code: this.isUpdate ? this.addModel.code : getUID('GasFireControl', this.iscs.gasFireControlList), _type: 'GasFireControl', width: this.addModel.width }; diff --git a/src/views/iscs/iscsDraw/iscsOperate/manualAlarmButton.vue b/src/views/iscs/iscsDraw/iscsOperate/manualAlarmButton.vue index 8eec1f1b6..531191ade 100644 --- a/src/views/iscs/iscsDraw/iscsOperate/manualAlarmButton.vue +++ b/src/views/iscs/iscsDraw/iscsOperate/manualAlarmButton.vue @@ -73,7 +73,7 @@ export default { x: this.addModel.x, y: this.addModel.y }, - code: this.isUpdate ? this.form.code : getUID('ManualAlarmButton', this.iscs.manualAlarmButtonList), + code: this.isUpdate ? this.addModel.code : getUID('ManualAlarmButton', this.iscs.manualAlarmButtonList), _type: 'ManualAlarmButton', width: this.addModel.width }; diff --git a/src/views/iscs/iscsDraw/iscsOperate/smokeDetector.vue b/src/views/iscs/iscsDraw/iscsOperate/smokeDetector.vue index 6b21380db..e9a2f2e0a 100644 --- a/src/views/iscs/iscsDraw/iscsOperate/smokeDetector.vue +++ b/src/views/iscs/iscsDraw/iscsOperate/smokeDetector.vue @@ -73,7 +73,7 @@ export default { x: this.addModel.x, y: this.addModel.y }, - code: this.isUpdate ? this.form.code : getUID('SmokeDetector', this.iscs.smokeDetectorList), + code: this.isUpdate ? this.addModel.code : getUID('SmokeDetector', this.iscs.smokeDetectorList), _type: 'SmokeDetector', width: this.addModel.width }; diff --git a/src/views/iscs/iscsDraw/iscsOperate/temperatureDetector.vue b/src/views/iscs/iscsDraw/iscsOperate/temperatureDetector.vue index 15a2deb4d..cf1984e3e 100644 --- a/src/views/iscs/iscsDraw/iscsOperate/temperatureDetector.vue +++ b/src/views/iscs/iscsDraw/iscsOperate/temperatureDetector.vue @@ -73,7 +73,7 @@ export default { x: this.addModel.x, y: this.addModel.y }, - code: this.isUpdate ? this.form.code : getUID('TemperatureDetector', this.iscs.temperatureDetectorList), + code: this.isUpdate ? this.addModel.code : getUID('TemperatureDetector', this.iscs.temperatureDetectorList), _type: 'TemperatureDetector', width: this.addModel.width };