From bc8ff65d07b8eca08f4f9966e4286f56e20bae8a Mon Sep 17 00:00:00 2001 From: liujun Date: Wed, 21 Feb 2024 11:25:46 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E6=89=BF=E8=AF=BA=E4=B9=A6=E3=80=81?= =?UTF-8?q?=E5=A7=94=E6=89=98=E4=B9=A6=E8=BD=AC=E5=8F=98=E5=BF=85=E4=BC=A0?= =?UTF-8?q?=202=E3=80=81bug=E4=BF=AE=E6=94=B9=EF=BC=88=E9=9B=86=E5=9B=A2?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E6=9F=A5=E7=9C=8B=E4=B8=8D=E5=88=B0=E5=BD=92?= =?UTF-8?q?=E5=B1=9E=E8=87=AA=E5=B7=B1=E7=9A=84=E7=9B=B8=E5=85=B3=E6=96=B9?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/train/synInfo/components/sendUtil.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/train/synInfo/components/sendUtil.vue b/src/views/train/synInfo/components/sendUtil.vue index 440bbb8..d707173 100644 --- a/src/views/train/synInfo/components/sendUtil.vue +++ b/src/views/train/synInfo/components/sendUtil.vue @@ -122,6 +122,9 @@ export default { ], APPOINT_CORP_ID: [ { required: true, message: '请选择企业', trigger: 'change' } + ], + APPOINT_ANNEX: [ + { required: true, message: '请上传文件', trigger: 'change' } ] } } @@ -190,7 +193,6 @@ export default { Object.keys(this.form).map(key => { formData.append(key, this.form[key]) }) - formData.append('chenNuoShu', this.form.APPOINT_ANNEX[0].raw) upload('/trainingbatch/sendMessage', formData ).then((data) => { if (data.code !== '0') {