|
@@ -557,10 +557,13 @@ export default {
|
|
|
initData(nval) {
|
|
|
// this.form = JSON.parse(JSON.stringify(nval?.resultMap));
|
|
|
Object.assign(this.form, nval?.resultMap);
|
|
|
- this.form.personnelList.forEach((element) => {
|
|
|
+ console.log(this.form);
|
|
|
+ this.form.personnelList?.forEach((element) => {
|
|
|
element.isEdit = false;
|
|
|
});
|
|
|
- this.oldTableData = JSON.parse(JSON.stringify(this.form.personnelList));
|
|
|
+ this.oldTableData = JSON.parse(
|
|
|
+ JSON.stringify(this.form.personnelList || [])
|
|
|
+ );
|
|
|
this.checked = this.form.task1 == "true" ? true : false;
|
|
|
// this.$set(this.form, 'card', nval?.resultMap.qualityControlCard);
|
|
|
this.$set(this.form, "state", nval?.resultMap.taskNnodeOtherState);
|