zc 绘图 代码调整

This commit is contained in:
joylink_cuiweidong 2021-06-23 13:52:22 +08:00
parent 08b824dd5a
commit b841022401

View File

@ -176,7 +176,16 @@ export default {
} else if (selected && selected._type.toUpperCase() === 'ZcControl'.toUpperCase()) {
this.$refs.dataform && this.$refs.dataform.resetFields();
this.activeName = 'first';
this.editModel = deepAssign(this.editModel, selected);
// this.editModel = deepAssign({}, selected);
this.editModel = {
code: selected.code,
name: selected.name,
managedSectionList:selected.managedSectionList || [],
position: Object.assign({}, selected.position)
};
// this.editModel
// if (this.editModel.concentrateStationList) { delete this.editModel.concentrateStationList; }
// if (!this.editModel.managedSectionList) { this.editModel.managedSectionList = []; }
}
},
clear() {