From 8fdd5cefcfc05d79648e067629d87f1a5607282f Mon Sep 17 00:00:00 2001 From: liting <994745334@qq.com> Date: Mon, 15 Apr 2024 22:24:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/apply/apply/MainForm.vue | 6 + src/views/apply/apply/components/InfoForm.vue | 1 - .../apply/components/ParticipantForm.vue | 166 +++++---------- .../apply/apply/components/UnitsForm.vue | 192 ++++++------------ 4 files changed, 114 insertions(+), 251 deletions(-) diff --git a/src/views/apply/apply/MainForm.vue b/src/views/apply/apply/MainForm.vue index 7d57a1110..f62964280 100644 --- a/src/views/apply/apply/MainForm.vue +++ b/src/views/apply/apply/MainForm.vue @@ -280,6 +280,12 @@ const open = async (type: string, id?: number) => { if(formData.value.beginDate){ formData.value.beginDate = Number(formData.value.beginDate) } + if(formData.value.engagMajor){ + formData.value.engagMajor =Number(formData.value.engagMajor) + } + if(formData.value.major){ + formData.value.major =Number(formData.value.major) + } } finally { formLoading.value = false } diff --git a/src/views/apply/apply/components/InfoForm.vue b/src/views/apply/apply/components/InfoForm.vue index 998e70a8e..8c66e7221 100644 --- a/src/views/apply/apply/components/InfoForm.vue +++ b/src/views/apply/apply/components/InfoForm.vue @@ -21,7 +21,6 @@ -
diff --git a/src/views/apply/apply/components/ParticipantForm.vue b/src/views/apply/apply/components/ParticipantForm.vue index abeaad1d7..65df4d215 100644 --- a/src/views/apply/apply/components/ParticipantForm.vue +++ b/src/views/apply/apply/components/ParticipantForm.vue @@ -1,129 +1,63 @@