From 92a8f3af9876608985d8c431b14424b7388bc356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Wed, 18 May 2022 09:49:06 +0800 Subject: [PATCH] =?UTF-8?q?52837=20=E3=80=90=E7=BA=BF=E4=B8=8A=E3=80=91?= =?UTF-8?q?=E6=9C=AA=E7=AC=A6=E5=90=88=E9=A1=B9=E6=B5=81=E7=A8=8B=EF=BC=8C?= =?UTF-8?q?=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9=EF=BC=8C=E5=AE=A1=E5=AE=9A?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E4=B8=8A=E4=BC=A0=E7=9A=84=E6=96=87=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E7=8E=B0=E5=9C=A8=E5=9C=A8=E6=89=B9=E5=87=86=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E6=98=BE=E7=A4=BA=E7=9A=84=E6=96=87=E4=BB=B6=E4=B8=8D?= =?UTF-8?q?=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/wfhxzg/step4.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue index ce8075f58..2a6017b9f 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue @@ -315,17 +315,18 @@ export default { }, // 文件上传成功 handleOnsuccess(res, file, fileList) { + console.log(res); if (res.ok) { if (this.fileTextList !== null) { this.newDataList = this.fileTextList this.newDataList.push({ id: res.data.attId, - name: res.data.standName + name: res.data.name }) } else { this.newDataList.push({ id: res.data.attId, - name: res.data.standName + name: res.data.name }) } this.fileListData.fileText = this.newDataList @@ -460,10 +461,10 @@ export default { // 提交按钮 handleSubmit() { this.isSubmit = true - let flag=false + let flag = false this.dataList.forEach(item => { if (item.fileText.length === 0) { - flag=true + flag = true this.isSubmit = false } })