|  |  | 
 |  |  |       required: true, | 
 |  |  |       default: () => ({}), | 
 |  |  |     }, | 
 |  |  |     dutyId: { | 
 |  |  |       type: String, | 
 |  |  |       required: true, | 
 |  |  |       default: '', | 
 |  |  |     }, | 
 |  |  |   }, | 
 |  |  |   data() { | 
 |  |  |     return { | 
 |  |  | 
 |  |  |       this.form.Persons = this.operationTaskList.Persons; | 
 |  |  |       this.form.productStaffIds = this.operationTaskList.productStaffIds; | 
 |  |  |       this.form.productStaffs = this.operationTaskList.productStaffs; | 
 |  |  |       this.form.dutyRecordId = this.dutyId; | 
 |  |  |       this.operationTaskList.productOutputList = []; // 创建一个空数组 | 
 |  |  |       this.operationTaskList.productOutputList.push(this.form); // 向数组中添加元素 | 
 |  |  |       console.log("this.operationTaskList", this.operationTaskList); | 
 
 |  |  | 
 |  |  |     <saveForm | 
 |  |  |       ref="saveForm" | 
 |  |  |       :operationTaskList="this.form" | 
 |  |  |       :dutyId="dutyId" | 
 |  |  |       @update="handleUpdate" | 
 |  |  |     /> | 
 |  |  |     <u-modal | 
 |  |  | 
 |  |  |       } | 
 |  |  |       // 如果有dutyNo,获取人员列表 | 
 |  |  |       if (val.dutyId) { | 
 |  |  |         this.dutyId = val.dutyId; | 
 |  |  |         this.getPersonList(val.dutyId); | 
 |  |  |       } | 
 |  |  |     }, |