|
|
@@ -192,14 +192,14 @@ export default {
|
|
|
let customItemList = collectionItemList.filter((item) => item.writeAgain == '1');
|
|
|
console.log(customItemList);
|
|
|
// // 照片
|
|
|
- // let zpDataList = customItemList.find((item) => item.answerType == 'zp');
|
|
|
- // if (zpDataList) {
|
|
|
- // let fileIdList = [];
|
|
|
- // zpDataList.fileInfoList.forEach((item) => {
|
|
|
- // fileIdList.push(item.id);
|
|
|
- // });
|
|
|
- // zpDataList.fileIdList = fileIdList;
|
|
|
- // }
|
|
|
+ let zpDataList = customItemList.find((item) => item.answerType == 'zp');
|
|
|
+ if (zpDataList) {
|
|
|
+ let fileIdList = [];
|
|
|
+ zpDataList.fileInfoList.forEach((item) => {
|
|
|
+ fileIdList.push(item.id);
|
|
|
+ });
|
|
|
+ zpDataList.fileIdList = fileIdList;
|
|
|
+ }
|
|
|
writeAgainCustomAnswer({
|
|
|
userSummaryId: this.$route.query.userSummaryId,
|
|
|
customItemList: customItemList,
|