|
|
@@ -4293,6 +4293,7 @@ export default {
|
|
|
this.show = true;
|
|
|
},
|
|
|
newimgarr1(val) {
|
|
|
+ debugger;
|
|
|
// 店招识别只允许上传一张
|
|
|
let photoIdentifyType = val.photoIdentifyType;
|
|
|
this.show = false;
|
|
|
@@ -4318,12 +4319,13 @@ export default {
|
|
|
].collectionOptionList[this.childIndex4].collectionItems[this.childIndex5].fileInfoList =
|
|
|
val.fileInfoList;
|
|
|
} else {
|
|
|
- let fileInfoList =
|
|
|
- this.collectionItemList[this.indeximg].collectionOptionList[this.childIndex1]
|
|
|
- .collectionItems[this.childIndex].collectionOptionList[this.childIndex2]
|
|
|
- .collectionItems[this.childIndex3].collectionOptionList[this.childIndex4]
|
|
|
- .collectionItems[this.childIndex5].fileInfoList;
|
|
|
- fileInfoList = fileInfoList.concat(val.fileInfoList);
|
|
|
+ this.collectionItemList[this.indeximg].collectionOptionList[
|
|
|
+ this.childIndex1
|
|
|
+ ].collectionItems[this.childIndex].collectionOptionList[this.childIndex2].collectionItems[
|
|
|
+ this.childIndex3
|
|
|
+ ].collectionOptionList[this.childIndex4].collectionItems[
|
|
|
+ this.childIndex5
|
|
|
+ ].fileInfoList.push(val.fileInfoList);
|
|
|
}
|
|
|
}
|
|
|
if (this.pType == 'E') {
|
|
|
@@ -4353,13 +4355,15 @@ export default {
|
|
|
].collectionOptionList[this.childIndex6].collectionItems[this.childIndex7].fileInfoList =
|
|
|
val.fileInfoList;
|
|
|
} else {
|
|
|
- let fileInfoList =
|
|
|
- this.collectionItemList[this.indeximg].collectionOptionList[this.childIndex1]
|
|
|
- .collectionItems[this.childIndex].collectionOptionList[this.childIndex2]
|
|
|
- .collectionItems[this.childIndex3].collectionOptionList[this.childIndex4]
|
|
|
- .collectionItems[this.childIndex5].collectionOptionList[this.childIndex6]
|
|
|
- .collectionItems[this.childIndex7].fileInfoList;
|
|
|
- fileInfoList = fileInfoList.concat(val.fileInfoList);
|
|
|
+ this.collectionItemList[this.indeximg].collectionOptionList[
|
|
|
+ this.childIndex1
|
|
|
+ ].collectionItems[this.childIndex].collectionOptionList[this.childIndex2].collectionItems[
|
|
|
+ this.childIndex3
|
|
|
+ ].collectionOptionList[this.childIndex4].collectionItems[
|
|
|
+ this.childIndex5
|
|
|
+ ].collectionOptionList[this.childIndex6].collectionItems[
|
|
|
+ this.childIndex7
|
|
|
+ ].fileInfoList.push(val.fileInfoList);
|
|
|
}
|
|
|
}
|
|
|
if (this.pType == 'A' || this.pType == 'B') {
|
|
|
@@ -4403,11 +4407,9 @@ export default {
|
|
|
this.childIndex
|
|
|
].fileInfoList = val.fileInfoList;
|
|
|
} else {
|
|
|
- let fileInfoList =
|
|
|
- this.collectionItemList[this.indeximg].collectionOptionList[childi].collectionItems[
|
|
|
- this.childIndex
|
|
|
- ].fileInfoList;
|
|
|
- fileInfoList = fileInfoList.concat(val.fileInfoList);
|
|
|
+ this.collectionItemList[this.indeximg].collectionOptionList[childi].collectionItems[
|
|
|
+ this.childIndex
|
|
|
+ ].fileInfoList.push(val.fileInfoList);
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
@@ -4424,8 +4426,7 @@ export default {
|
|
|
JSON.stringify(this.collectionItemList[this.indeximg].fileInfoList)
|
|
|
);
|
|
|
} else {
|
|
|
- let fileInfoList = this.collectionItemList[this.indeximg].fileInfoList;
|
|
|
- fileInfoList = fileInfoList.concat(val.fileInfoList);
|
|
|
+ this.collectionItemList[this.indeximg].fileInfoList.push(val.fileInfoList);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -4448,11 +4449,11 @@ export default {
|
|
|
this.childIndex3
|
|
|
].fileInfoList = val.fileInfoList;
|
|
|
} else {
|
|
|
- let fileInfoList =
|
|
|
- this.collectionItemList[this.indeximg].collectionOptionList[this.childIndex1]
|
|
|
- .collectionItems[this.childIndex].collectionOptionList[this.childIndex2]
|
|
|
- .collectionItems[this.childIndex3].fileInfoList;
|
|
|
- fileInfoList = fileInfoList.concat(val.fileInfoList);
|
|
|
+ this.collectionItemList[this.indeximg].collectionOptionList[
|
|
|
+ this.childIndex1
|
|
|
+ ].collectionItems[this.childIndex].collectionOptionList[this.childIndex2].collectionItems[
|
|
|
+ this.childIndex3
|
|
|
+ ].fileInfoList.push(val.fileInfoList);
|
|
|
}
|
|
|
}
|
|
|
this.$forceUpdate();
|