forked from xxhjsb/hbt-prevention-ui
fix:修复只读状态回滚的问题
parent
13add5a58d
commit
0bb62a94fd
|
@ -441,7 +441,6 @@ export default class WorkManagerComponent extends BaseRecordComponent<any> {
|
||||||
this.stepUpdateParams = JSON.parse(JSON.stringify(row));
|
this.stepUpdateParams = JSON.parse(JSON.stringify(row));
|
||||||
}
|
}
|
||||||
|
|
||||||
this.buildUpdateForm()
|
|
||||||
this.showSubUpdate = true;
|
this.showSubUpdate = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -524,9 +523,10 @@ export default class WorkManagerComponent extends BaseRecordComponent<any> {
|
||||||
} else {
|
} else {
|
||||||
this.updateParams.safetyFactor = this.updateParams.safetyFactor.split(",").map(item => +item);
|
this.updateParams.safetyFactor = this.updateParams.safetyFactor.split(",").map(item => +item);
|
||||||
this.updateParams.safetyFactorName = this.updateParams.safetyFactor.map(item => this.$store.getters.prevention_safe_reason_map[item]).join(",")
|
this.updateParams.safetyFactorName = this.updateParams.safetyFactor.map(item => this.$store.getters.prevention_safe_reason_map[item]).join(",")
|
||||||
this.buildUpdateForm()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.buildUpdateForm()
|
||||||
// 防止选中后影响表单内列表选中
|
// 防止选中后影响表单内列表选中
|
||||||
this.selectData = [];
|
this.selectData = [];
|
||||||
this.showUpdate = true
|
this.showUpdate = true
|
||||||
|
|
Loading…
Reference in New Issue