From 5aa53059825699389eaeea5d2c1b5515523f56e9 Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 8 Jul 2024 08:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E6=8F=90=E4=BA=A4=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/eight_assignments/select_department.vue | 1 + utils/submitHomeworkProcess.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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] : '',