zc 绘图 代码调整
This commit is contained in:
parent
08b824dd5a
commit
b841022401
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user