|
|
@@ -712,16 +712,19 @@
|
|
|
this.planDeviceList[this.currentEquItemIndex]['workItems'] = [];
|
|
|
}
|
|
|
console.log('===', this.currentEquItemIndex);
|
|
|
- this.planDeviceList[this.currentEquItemIndex]['workItems'] = list.map(
|
|
|
- (item) => {
|
|
|
- return {
|
|
|
- id: item.id,
|
|
|
- name: item.name,
|
|
|
- content: item.content,
|
|
|
- norm: item.norm
|
|
|
- };
|
|
|
- }
|
|
|
- );
|
|
|
+ // this.planDeviceList[this.currentEquItemIndex]['workItems'] = list.map(
|
|
|
+ // (item) => {
|
|
|
+ // return {
|
|
|
+ // id: item.id,
|
|
|
+ // name: item.name,
|
|
|
+ // content: item.content,
|
|
|
+ // norm: item.norm
|
|
|
+ // };
|
|
|
+ // }
|
|
|
+ // );
|
|
|
+ this.planDeviceList.map((item) => {
|
|
|
+ item.workItems = list;
|
|
|
+ });
|
|
|
console.log('submit', this.planDeviceList);
|
|
|
this.$forceUpdate();
|
|
|
}
|