Merge branch 'dev' of https://git.code.tencent.com/lian-cbtc/jl-client into dev
This commit is contained in:
commit
7ce1b02447
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user