Commit 16f3541a by liangzhen

结构修改

1 parent 130b80e1
Showing with 7 additions and 14 deletions
......@@ -407,17 +407,16 @@ export default {
}
return item.type == 0;
});
this.$set(item, "znfxList", [...znfxList]);
let resfxList = responfx.data.records.filter((item) => {
return item.type == 1 || item.type == 2;
});
if(resfxList.length<1){
return
if(resfxList&&resfxList.length>0){
let fzfxList=resfxList[0].checkDesc.split("\n");
this.$set(item, "fzfxList", [...fzfxList]);
}
console.log(resfxList,'resfxListresfxList')
let fzfxList=resfxList[0].checkDesc.split("\n");
console.log(fzfxList,'0000000')
this.$set(item, "znfxList", [...znfxList]);
this.$set(item, "fzfxList", [...fzfxList]);
} else {
this.$set(item, "znfxList", []);
this.$set(item, "fzfxList", []);
......@@ -430,17 +429,11 @@ export default {
}
})
}
console.log(this.questionList,'2')
if (this.urlList.length <= 0) {
this.iframeUrl = "/nopdf.png";
} else {
// let paramsUrl = {
// fileId: this.urlList[0].id,
// url: this.urlList[0].url,
// };
// let resUrl = await presignedUrl(paramsUrl);
// this.iframeUrl = "/pdf/web/viewer.html?file=" + resUrl.msg;
let resUrl = await downloadObject({fileId: this.urlList[0].id});
this.blobType=this.urlList[0].fileType
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!