diff --git a/pages/eight_assignments/select_department.vue b/pages/eight_assignments/select_department.vue index e19d617..4fc189f 100644 --- a/pages/eight_assignments/select_department.vue +++ b/pages/eight_assignments/select_department.vue @@ -79,6 +79,7 @@ export default { this.getOpenerEventChannel().emit("confirm", { DEPARTMENT_NAME: this.treeSelectData[0].DEPARTMENT_NAME, DEPARTMENT_ID: this.treeSelectData[0].DEPARTMENT_ID, + CORP_ID: this.CORP_ID, TYPE: this.type }); uni.navigateBack(); diff --git a/utils/submitHomeworkProcess.js b/utils/submitHomeworkProcess.js index 46c7dbe..9d3502b 100644 --- a/utils/submitHomeworkProcess.js +++ b/utils/submitHomeworkProcess.js @@ -32,8 +32,9 @@ const processSelectedPersonnelData = (formData, list) => { for (let i = 0; i < list.length; i++) { const item = list[i] form.push({ - TYPE_NAME: item.desc, + TYPE_NAME: item.value, TYPE: item.code, + TYPE_DESCRIBE: item.desc, DEPARTMENT_ID: list[i].type === '1' ? formData[item.key_id] : '', DEPARTMENT_NAME: list[i].type === '1' ? formData[item.key_name] : '', USER_ID: list[i].type === '0' ? formData[item.key_id] : '',