测试问题修改2
This commit is contained in:
parent
3016bd4567
commit
5e4d171b9b
|
|
@ -340,10 +340,10 @@
|
||||||
this.applyCheckProcess()
|
this.applyCheckProcess()
|
||||||
if(row.fileUrl&&row.fileUrl!=''){
|
if(row.fileUrl&&row.fileUrl!=''){
|
||||||
let arr = row.fileUrl.split(",");
|
let arr = row.fileUrl.split(",");
|
||||||
let arr2 = row.fileName.split(",");
|
// let arr2 = row.fileName.split(",");
|
||||||
this.applyRow.fileList=[]
|
this.applyRow.fileList=[]
|
||||||
arr.forEach((item,index)=>{
|
arr.forEach((item,index)=>{
|
||||||
this.applyRow.fileList.push({url:item,name:arr2[index]})
|
this.applyRow.fileList.push({url:item,name:"附件"+(index+1)})
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
this.applyRow.fileList=[]
|
this.applyRow.fileList=[]
|
||||||
|
|
@ -357,10 +357,10 @@
|
||||||
this.applyCheckProcess()
|
this.applyCheckProcess()
|
||||||
if(row.fileUrl&&row.fileUrl!=''){
|
if(row.fileUrl&&row.fileUrl!=''){
|
||||||
let arr = row.fileUrl.split(",");
|
let arr = row.fileUrl.split(",");
|
||||||
let arr2 = row.fileName.split(",");
|
// let arr2 = row.fileName.split(",");
|
||||||
this.applyRow.fileList=[]
|
this.applyRow.fileList=[]
|
||||||
arr.forEach((item,index)=>{
|
arr.forEach((item,index)=>{
|
||||||
this.applyRow.fileList.push({url:item,name:arr2[index]})
|
this.applyRow.fileList.push({url:item,name:"附件"+(index+1)})
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
this.applyRow.fileList=[]
|
this.applyRow.fileList=[]
|
||||||
|
|
@ -419,11 +419,11 @@
|
||||||
this.fileNames = []
|
this.fileNames = []
|
||||||
if(row.fileUrl&&row.fileUrl!=''){
|
if(row.fileUrl&&row.fileUrl!=''){
|
||||||
let arr = row.fileUrl.split(",");
|
let arr = row.fileUrl.split(",");
|
||||||
let arr2 = row.fileName.split(",");
|
// let arr2 = row.fileName.split(",");
|
||||||
arr.forEach((item,index)=>{
|
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.fileUrls.push(item)
|
||||||
this.fileNames.push(arr2[index])
|
this.fileNames.push("附件"+(index+1))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.openFile = true
|
this.openFile = true
|
||||||
|
|
|
||||||
|
|
@ -628,11 +628,11 @@
|
||||||
}
|
}
|
||||||
if(row.fileUrl&&row.fileUrl!=''){
|
if(row.fileUrl&&row.fileUrl!=''){
|
||||||
let arr = row.fileUrl.split(",");
|
let arr = row.fileUrl.split(",");
|
||||||
let arr2 = row.fileName.split(",");
|
// let arr2 = row.fileName.split(",");
|
||||||
arr.forEach((item,index)=>{
|
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.fileUrls.push(item)
|
||||||
this.fileNames.push(arr2[index])
|
this.fileNames.push("附件"+(index+1))
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
this.fileList=[]
|
this.fileList=[]
|
||||||
|
|
@ -764,10 +764,10 @@
|
||||||
this.applyCheckProcess()
|
this.applyCheckProcess()
|
||||||
if(row.fileUrl&&row.fileUrl!=''){
|
if(row.fileUrl&&row.fileUrl!=''){
|
||||||
let arr = row.fileUrl.split(",");
|
let arr = row.fileUrl.split(",");
|
||||||
let arr2 = row.fileName.split(",");
|
// let arr2 = row.fileName.split(",");
|
||||||
this.viewRow.fileList=[]
|
this.viewRow.fileList=[]
|
||||||
arr.forEach((item,index)=>{
|
arr.forEach((item,index)=>{
|
||||||
this.viewRow.fileList.push({url:item,name:arr2[index]})
|
this.viewRow.fileList.push({url:item,name:"附件"+(index+1)})
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
this.viewRow.fileList=[]
|
this.viewRow.fileList=[]
|
||||||
|
|
@ -858,11 +858,11 @@
|
||||||
this.fileNames = []
|
this.fileNames = []
|
||||||
if(row.fileUrl&&row.fileUrl!=''){
|
if(row.fileUrl&&row.fileUrl!=''){
|
||||||
let arr = row.fileUrl.split(",");
|
let arr = row.fileUrl.split(",");
|
||||||
let arr2 = row.fileName.split(",");
|
// let arr2 = row.fileName.split(",");
|
||||||
arr.forEach((item,index)=>{
|
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.fileUrls.push(item)
|
||||||
this.fileNames.push(arr2[index])
|
this.fileNames.push("附件"+(index+1))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.openFile = true
|
this.openFile = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue