diff --git a/src/views/caseManagement/components/caseentryDialog.vue b/src/views/caseManagement/components/caseentryDialog.vue index e4f1768..adfb6d2 100644 --- a/src/views/caseManagement/components/caseentryDialog.vue +++ b/src/views/caseManagement/components/caseentryDialog.vue @@ -148,7 +148,7 @@ >
@@ -163,8 +163,8 @@ " > @@ -798,11 +798,18 @@ export default { this.form3.paymentArr1 = this.initpaymentArr1; console.log(this.caseAttachList, "caseAttachList"); this.caseAttachList.forEach((item) => { + console.log(item, "iytem"); if (item.annexType == 2) { - this.applicateArr.push(item.annexName); + this.applicateArr.push({ + annexName: item.annexName, + annexPath: item.annexPath, + }); } if (item.annexType == 6) { - this.quiltArr.push(item.annexName); + this.quiltArr.push({ + annexName: item.annexName, + annexPath: item.annexPath, + }); } }); this.fileList = this.caseAttachList; @@ -1006,10 +1013,17 @@ export default { } }); }, - // 详情显示,展示案件文件 + // 详情显示,展示申请人案件文件 toFile(item, index) { window.open( - window.location.origin + "/API" + this.caseAttachList[index].annexPath, + window.location.origin + "/API" + this.applicateArr[index].annexPath, + "_black" + ); + }, + // 被申请人文件 + toFile1(item, index) { + window.open( + window.location.origin + "/API" + this.quiltArr[index].annexPath, "_black" ); },