Explorar o código

待办任务家id

Lijy hai 3 semanas
pai
achega
b96feed52f

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet_mld/src/components/taskComponent.vue

@@ -2009,8 +2009,9 @@ export default {
                 for(let userIndex in this.addForm.executorListFront) {
                     const executeList = this.addForm.executorListFront[userIndex].dailyAllocateList
                     const list = executeList.map(item => {
-                        const { startTime, endTime, workHour, overWorkHour, allocateDate } = item
+                        const { startTime, endTime, workHour, overWorkHour, allocateDate, id } = item
                         return {
+                            id: id || '',
                             startTime, endTime, workHour, overWorkHour, allocateDate,
                             taskId: this.addForm.id,
                             userId: this.addForm.executorListFront[userIndex].executorId