diff --git a/src/pages/processCenter/pages/phone/bzhHd-ch/step2.vue b/src/pages/processCenter/pages/phone/bzhHd-ch/step2.vue index c867911dc..12af4ac80 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-ch/step2.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-ch/step2.vue @@ -60,7 +60,7 @@ {{ '-' }} - + {{ item.name }} {{ ';' }} @@ -275,7 +275,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, diff --git a/src/pages/processCenter/pages/phone/bzhHd-ch/step4.vue b/src/pages/processCenter/pages/phone/bzhHd-ch/step4.vue index bba3520fc..415e0efe6 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-ch/step4.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-ch/step4.vue @@ -60,7 +60,7 @@ {{ '-' }} - + {{ item.name }} {{ ';' }} @@ -268,11 +268,11 @@ export default { } }) }, - /** 点击对应附件进行下载*/ + /** 点击对应附件进行预览 */ previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, } diff --git a/src/pages/processCenter/pages/phone/bzhHd-ch/step6.vue b/src/pages/processCenter/pages/phone/bzhHd-ch/step6.vue index 71116be48..a1a23bdea 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-ch/step6.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-ch/step6.vue @@ -62,7 +62,7 @@ {{ '-' }} - + {{ item.name }} {{ ';' }} @@ -331,11 +331,11 @@ export default { }) }, - /** 点击对应附件进行下载*/ + /** 点击对应附件进行预览*/ previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, } diff --git a/src/pages/processCenter/pages/phone/bzhHd-hh/step2.vue b/src/pages/processCenter/pages/phone/bzhHd-hh/step2.vue index 88988431e..5ecad82b8 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-hh/step2.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-hh/step2.vue @@ -248,14 +248,14 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, - // 点击上传的文件进行下载 + // 点击上传的文件进行预览 onPreviewTheme(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, // 点击上传的文件进行下载 diff --git a/src/pages/processCenter/pages/phone/bzhHd-rh/step2.vue b/src/pages/processCenter/pages/phone/bzhHd-rh/step2.vue index b3d003239..4a7655ffa 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-rh/step2.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-rh/step2.vue @@ -67,7 +67,7 @@ {{ '-' }} - + {{ item.name }} {{ ';' }} @@ -230,11 +230,11 @@ export default { this.active = name }, - /** 点击对应附件进行下载*/ + /** 点击对应附件进行预览*/ previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, // 退回按钮 diff --git a/src/pages/processCenter/pages/phone/bzhHd-rh/step4.vue b/src/pages/processCenter/pages/phone/bzhHd-rh/step4.vue index 53624b7e2..5d390b704 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-rh/step4.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-rh/step4.vue @@ -67,7 +67,7 @@ {{ '-' }} - + {{ item.name }} {{ ';' }} @@ -110,7 +110,7 @@ @@ -310,11 +310,11 @@ export default { } }) }, - /** 点击对应附件进行下载*/ + /** 点击对应附件进行预览*/ previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, } diff --git a/src/pages/processCenter/pages/phone/bzhHd-rh/step6.vue b/src/pages/processCenter/pages/phone/bzhHd-rh/step6.vue index ecd507b37..ca303871f 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-rh/step6.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-rh/step6.vue @@ -69,7 +69,7 @@ {{ '-' }} - + {{ item.name }} {{ ';' }} @@ -250,11 +250,11 @@ export default { // this.rh_pageData.comityFileNum = this.fileTextList }) }, - /** 点击对应附件进行下载*/ + /** 点击对应附件进行预览*/ previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, selectedDelete(val) { diff --git a/src/pages/processCenter/pages/phone/wfhxzg/step5.vue b/src/pages/processCenter/pages/phone/wfhxzg/step5.vue index 325bcfe71..3274c138c 100644 --- a/src/pages/processCenter/pages/phone/wfhxzg/step5.vue +++ b/src/pages/processCenter/pages/phone/wfhxzg/step5.vue @@ -208,7 +208,7 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + this.$preview(attId) } }, // 提交按钮