iscs fas 元素修改代码调整

This commit is contained in:
joylink_cuiweidong 2020-02-05 17:16:11 +08:00
parent 544b930e48
commit 3133025fc9
5 changed files with 5 additions and 5 deletions

View File

@ -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
};

View File

@ -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
};

View File

@ -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
};

View File

@ -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
};

View File

@ -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
};