diff --git a/pages/eight_assignments/hot_work/delay_fire_monitoring/delay.vue b/pages/eight_assignments/hot_work/delay_fire_monitoring/delay.vue index 03e6a08..809f4bf 100644 --- a/pages/eight_assignments/hot_work/delay_fire_monitoring/delay.vue +++ b/pages/eight_assignments/hot_work/delay_fire_monitoring/delay.vue @@ -47,6 +47,7 @@ export default { EW_RU_TASK_ID: '', EW_RU_JOB_ID: '', TYPE: '', + CORP_ID: '', isView: '1' } }, @@ -55,6 +56,7 @@ export default { this.EW_RU_TASK_ID = event.taskId this.EW_RU_JOB_ID = event.EW_RU_JOB_ID this.TYPE = event.TYPE + this.CORP_ID = event.CORP_ID this.isView = event.isView }, onShow() { @@ -86,7 +88,7 @@ export default { goToTaskForword() { uni.$u.route({ url: '/pages/eight_assignments/hot_work/delay_fire_monitoring/task_forward', - params: {taskId: this.EW_RU_TASK_ID, EW_RU_JOB_ID:this.EW_RU_JOB_ID,TYPE:this.TYPE} + params: {taskId: this.EW_RU_TASK_ID, EW_RU_JOB_ID:this.EW_RU_JOB_ID,TYPE:this.TYPE,CORP_ID:this.CORP_ID} }); }, /** diff --git a/pages/eight_assignments/hot_work/delay_fire_monitoring/task_forward.vue b/pages/eight_assignments/hot_work/delay_fire_monitoring/task_forward.vue index 2d22251..d0b9ecc 100644 --- a/pages/eight_assignments/hot_work/delay_fire_monitoring/task_forward.vue +++ b/pages/eight_assignments/hot_work/delay_fire_monitoring/task_forward.vue @@ -31,6 +31,7 @@ export default { }, EW_RU_TASK_ID: '', EW_RU_JOB_ID: '', + CORP_ID: '', TYPE: '' } @@ -39,6 +40,7 @@ export default { this.STATE = event.state; this.EW_RU_TASK_ID = event.taskId this.EW_RU_JOB_ID = event.EW_RU_JOB_ID + this.CORP_ID = event.CORP_ID this.TYPE = event.TYPE }, methods: { diff --git a/pages/eight_assignments/to_do_list.vue b/pages/eight_assignments/to_do_list.vue index 338ac6b..bd8f5a0 100644 --- a/pages/eight_assignments/to_do_list.vue +++ b/pages/eight_assignments/to_do_list.vue @@ -108,7 +108,5 @@ export default { .flex_btn{ display: flex; justify-content: flex-end; - } - diff --git a/utils/submitHomeworkProcess.js b/utils/submitHomeworkProcess.js index 77436f7..06a10c8 100644 --- a/utils/submitHomeworkProcess.js +++ b/utils/submitHomeworkProcess.js @@ -29,7 +29,11 @@ const processFormData = async (formData, formItems) => { const currentItem = uni.$u.deepClone(formData[formItem.key_name]) const codeList = [] for (let j = 0; j < currentItem.length; j++) { - const {CODE} = await setTaskFile({formData: {type: currentItem[j].oldUrl}, name: 'files', filePath: currentItem[j].url}) + const {CODE} = await setTaskFile({ + name: 'files', + filePath: currentItem[j].url, + formData: {type: currentItem[j].oldUrl} + }) codeList.push(CODE) } obj.ITEM_VALUE = ''