From 5e4d171b9b7913c288d8749974bfea0dd3f14b48 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Wed, 17 Dec 2025 15:33:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../certificateExam/index.vue | 14 +++++++------- .../certificateRequest/index.vue | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/certificate/certificateReturnManage/certificateExam/index.vue b/src/views/certificate/certificateReturnManage/certificateExam/index.vue index 94c76fb..ef12dbd 100644 --- a/src/views/certificate/certificateReturnManage/certificateExam/index.vue +++ b/src/views/certificate/certificateReturnManage/certificateExam/index.vue @@ -340,10 +340,10 @@ this.applyCheckProcess() if(row.fileUrl&&row.fileUrl!=''){ let arr = row.fileUrl.split(","); - let arr2 = row.fileName.split(","); + // let arr2 = row.fileName.split(","); this.applyRow.fileList=[] arr.forEach((item,index)=>{ - this.applyRow.fileList.push({url:item,name:arr2[index]}) + this.applyRow.fileList.push({url:item,name:"附件"+(index+1)}) }) }else{ this.applyRow.fileList=[] @@ -357,10 +357,10 @@ this.applyCheckProcess() if(row.fileUrl&&row.fileUrl!=''){ let arr = row.fileUrl.split(","); - let arr2 = row.fileName.split(","); + // let arr2 = row.fileName.split(","); this.applyRow.fileList=[] arr.forEach((item,index)=>{ - this.applyRow.fileList.push({url:item,name:arr2[index]}) + this.applyRow.fileList.push({url:item,name:"附件"+(index+1)}) }) }else{ this.applyRow.fileList=[] @@ -419,11 +419,11 @@ this.fileNames = [] if(row.fileUrl&&row.fileUrl!=''){ let arr = row.fileUrl.split(","); - let arr2 = row.fileName.split(","); + // let arr2 = row.fileName.split(","); arr.forEach((item,index)=>{ - this.fileList.push({url:item,name:arr2[index]}) + this.fileList.push({url:item,name:"附件"+(index+1)}) this.fileUrls.push(item) - this.fileNames.push(arr2[index]) + this.fileNames.push("附件"+(index+1)) }) } this.openFile = true diff --git a/src/views/certificate/certificateReturnManage/certificateRequest/index.vue b/src/views/certificate/certificateReturnManage/certificateRequest/index.vue index 5f452ac..e646a5e 100644 --- a/src/views/certificate/certificateReturnManage/certificateRequest/index.vue +++ b/src/views/certificate/certificateReturnManage/certificateRequest/index.vue @@ -628,11 +628,11 @@ } if(row.fileUrl&&row.fileUrl!=''){ let arr = row.fileUrl.split(","); - let arr2 = row.fileName.split(","); + // let arr2 = row.fileName.split(","); arr.forEach((item,index)=>{ - this.fileList.push({url:item,name:arr2[index]}) + this.fileList.push({url:item,name:"附件"+(index+1)}) this.fileUrls.push(item) - this.fileNames.push(arr2[index]) + this.fileNames.push("附件"+(index+1)) }) }else{ this.fileList=[] @@ -764,10 +764,10 @@ this.applyCheckProcess() if(row.fileUrl&&row.fileUrl!=''){ let arr = row.fileUrl.split(","); - let arr2 = row.fileName.split(","); + // let arr2 = row.fileName.split(","); this.viewRow.fileList=[] arr.forEach((item,index)=>{ - this.viewRow.fileList.push({url:item,name:arr2[index]}) + this.viewRow.fileList.push({url:item,name:"附件"+(index+1)}) }) }else{ this.viewRow.fileList=[] @@ -858,11 +858,11 @@ this.fileNames = [] if(row.fileUrl&&row.fileUrl!=''){ let arr = row.fileUrl.split(","); - let arr2 = row.fileName.split(","); + // let arr2 = row.fileName.split(","); arr.forEach((item,index)=>{ - this.fileList.push({url:item,name:arr2[index]}) + this.fileList.push({url:item,name:"附件"+(index+1)}) this.fileUrls.push(item) - this.fileNames.push(arr2[index]) + this.fileNames.push("附件"+(index+1)) }) } this.openFile = true