测试问题修改2

This commit is contained in:
zzyuan 2025-12-17 15:33:32 +08:00
parent 3016bd4567
commit 5e4d171b9b
2 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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