From f60d5dfbdce2f4e00d4365e0a3135cd5b6a9bd7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Wed, 14 Jun 2023 13:40:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=A0=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AFrem=E5=B8=83=E5=B1=80=E5=BC=95=E5=8F=91=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/views/phoneView/preHomoMangement.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/jero-web/src/views/phoneView/preHomoMangement.vue b/jero-web/src/views/phoneView/preHomoMangement.vue index c07bffe8b..512ff90eb 100644 --- a/jero-web/src/views/phoneView/preHomoMangement.vue +++ b/jero-web/src/views/phoneView/preHomoMangement.vue @@ -291,13 +291,20 @@ getAction('sys/common/getFileInfos', { id: item }).then((res) => { if (res.success) { this.deliveryResultList = res.result + this.fileList = [] + this.form.deliveryResult = [] this.deliveryResultList.forEach((val) => { let fileName = val.fileName let index1 = fileName.lastIndexOf('.') let index2 = fileName.length let fileSuffix = fileName.substring(index1, index2) val.fileSuffix = fileSuffix + this.fileList.push({ + id: val.id, + fileName: val.fileName + }) }) + this.form.deliveryResult = this.fileList } else { this.deliveryResultList = [] } @@ -454,7 +461,7 @@ }, fileClick(index) { this.fileList.splice(index, 1) - this.form.disposeResult.splice(index, 1) + this.form.deliveryResult.splice(index, 1) this.form = { ...this.form } }, deliverablesResultFileClick(item) {