From d18f877baa0b63bbb2d99bc4a85066a6f657fb69 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Thu, 31 Mar 2022 15:37:12 +0800 Subject: [PATCH] Merge branch '' of E:\Software\rtpro\Foton\New_Pro\laws-system-front-FOTON with conflicts. --- src/api/process.js | 2 +- src/components/CustomFormComponents/File.vue | 2 +- .../dynamicInfomationDetails/index.vue | 4 ++-- .../dynamicInfomationDetails/index2.vue | 2 +- .../pages/dynamicInformations/index.vue | 2 +- .../enterBSysRevPlanManaLibDetail/index.vue | 2 +- .../otherBussStandardDetails/index.vue | 4 ++-- .../otherLawsDetails/js/otherLawsDetails.js | 4 ++-- .../details/otherLawsStandDetails/index.vue | 4 ++-- .../details/otherStandardDetails/index.vue | 4 ++-- src/pages/details/process/ruku/index.vue | 4 ++-- src/pages/knowledgeGraph/index.vue | 4 ++-- .../standAutoSplit/pages/itemSplitInfo.vue | 4 ++-- src/pages/localTool/standCalendar/index.vue | 2 +- .../CollectionBussStandardDetail.vue | 2 +- .../CollectionStandardDetail.vue | 2 +- .../collectionDetail/js/lawsDetails.js | 2 +- .../pages/my-enterpriseStandard/index.vue | 2 +- .../components/QuestionItemInfo.vue | 2 +- .../components/CollapseItemInfo.vue | 2 +- .../pages/creatProcess/bzdy/step1-1.vue | 2 +- .../pages/creatProcess/bzdy/step1.vue | 2 +- .../pages/creatProcess/bzhHd-rh/step1.vue | 2 +- .../pages/creatProcess/bzhHd-rh/step2.vue | 2 +- .../pages/creatProcess/bzhHd-rh/step3.vue | 2 +- .../pages/creatProcess/bzhHd-rh/step4.vue | 2 +- .../pages/creatProcess/bzhHd-rh/step5.vue | 4 ++-- .../pages/creatProcess/bzhHd-rh/step6-1.vue | 2 +- .../pages/creatProcess/bzhHd-rh/step6.vue | 2 +- .../pages/creatProcess/bzhHh-hh/step2.vue | 6 +++--- .../pages/creatProcess/bzhHy-ch/step1.vue | 2 +- .../pages/creatProcess/bzhHy-ch/step2.vue | 2 +- .../pages/creatProcess/bzhHy-ch/step3.vue | 2 +- .../pages/creatProcess/bzhHy-ch/step4.vue | 2 +- .../pages/creatProcess/bzhHy-ch/step5.vue | 2 +- .../pages/creatProcess/bzhHy-ch/step6.vue | 2 +- .../pages/creatProcess/bzqdfb/step1-3.vue | 6 +++--- .../pages/creatProcess/bzqdfb/step1-4.vue | 4 ++-- .../pages/creatProcess/bzqdfb/step2.vue | 4 ++-- .../pages/creatProcess/bzqdfb/step3.vue | 6 +++--- .../pages/creatProcess/bzqdfb/step4.vue | 4 ++-- .../pages/creatProcess/bzrk/step2.vue | 20 +++++++++---------- .../pages/creatProcess/bzrk/step3.vue | 20 +++++++++---------- .../pages/creatProcess/bzrk/step5.vue | 20 +++++++++---------- .../pages/creatProcess/bzzqyj/step1-1.vue | 2 +- .../pages/creatProcess/bzzqyj/step1-9.vue | 2 +- .../pages/creatProcess/bzzqyj/step1.vue | 2 +- .../pages/creatProcess/bzzqyj/step2.vue | 2 +- .../pages/creatProcess/bzzqyj/step3.vue | 4 ++-- .../pages/creatProcess/bzzqyj/step4-1.vue | 4 ++-- .../pages/creatProcess/bzzqyj/step4-2.vue | 4 ++-- .../pages/creatProcess/bzzqyj/step4.vue | 4 ++-- .../pages/creatProcess/bzzqyj/step5.vue | 4 ++-- .../pages/creatProcess/bzzqyj/step6.vue | 4 ++-- .../pages/creatProcess/bzzqyj/step7.vue | 4 ++-- .../pages/creatProcess/bzzqyj/step8.vue | 4 ++-- .../pages/creatProcess/bzzqyj/step9.vue | 4 ++-- .../pages/creatProcess/jrbzhxh/step3.vue | 4 ++-- .../pages/creatProcess/jrbzhxh/step4.vue | 4 ++-- .../pages/creatProcess/qbfs/bak/step1-4.vue | 4 ++-- .../pages/creatProcess/qbfs/bak/step3.vue | 4 ++-- .../pages/creatProcess/qbfs/bak/step4.vue | 4 ++-- .../creatProcess/qbfs/common/formList.vue | 4 ++-- .../qbfs/common/formListStep5.vue | 4 ++-- .../pages/creatProcess/qbfs/step1.vue | 4 ++-- .../pages/creatProcess/qbfs/step2.vue | 4 ++-- .../pages/creatProcess/qbfs/step3.vue | 4 ++-- .../pages/creatProcess/qbfs/step4.vue | 4 ++-- .../pages/creatProcess/qbfs/step5.vue | 4 ++-- .../pages/creatProcess/qbfs/stepC4.vue | 4 ++-- .../pages/creatProcess/qbfs/stepDetail.vue | 4 ++-- .../pages/creatProcess/qbfz/step1-7.vue | 4 ++-- .../pages/creatProcess/qbfz/step1.vue | 4 ++-- .../pages/creatProcess/qbfz/step4.vue | 4 ++-- .../pages/creatProcess/qbfz/step5.vue | 4 ++-- .../pages/creatProcess/qbfz/step6.vue | 4 ++-- .../pages/creatProcess/qbfz/step7.vue | 4 ++-- .../qbrk-product/common/formEditList.vue | 6 +++--- .../qbrk-product/common/formList.vue | 4 ++-- .../qbrk-product/common/formListIn.vue | 4 ++-- .../pages/creatProcess/qbrk-product/step1.vue | 2 +- .../creatProcess/qbrk-product/step10.vue | 4 ++-- .../creatProcess/qbrk-product/step11.vue | 4 ++-- .../creatProcess/qbrk-product/step12.vue | 4 ++-- .../creatProcess/qbrk-product/step13.vue | 4 ++-- .../creatProcess/qbrk-product/step14.vue | 4 ++-- .../pages/creatProcess/qbrk-product/step2.vue | 4 ++-- .../pages/creatProcess/qbrk-product/step3.vue | 6 +++--- .../pages/creatProcess/qbrk-product/step4.vue | 4 ++-- .../pages/creatProcess/qbrk-product/step5.vue | 6 +++--- .../pages/creatProcess/qbrk-product/step6.vue | 6 +++--- .../pages/creatProcess/qbrk-product/step7.vue | 4 ++-- .../pages/creatProcess/qbrk-product/step8.vue | 4 ++-- .../pages/creatProcess/qbrk-product/step9.vue | 4 ++-- .../creatProcess/qbrk-product/stepC3.vue | 6 +++--- .../creatProcess/qbrk-product/stepC6.vue | 6 +++--- .../creatProcess/qbrk-product/stepDetail.vue | 4 ++-- .../creatProcess/qbrk/common/formEditList.vue | 6 +++--- .../creatProcess/qbrk/common/formList.vue | 4 ++-- .../creatProcess/qbrk/common/formListIn.vue | 4 ++-- .../pages/creatProcess/qbrk/step1.vue | 2 +- .../pages/creatProcess/qbrk/step10.vue | 4 ++-- .../pages/creatProcess/qbrk/step11.vue | 4 ++-- .../pages/creatProcess/qbrk/step12.vue | 6 +++--- .../pages/creatProcess/qbrk/step13.vue | 4 ++-- .../pages/creatProcess/qbrk/step2.vue | 4 ++-- .../pages/creatProcess/qbrk/step3.vue | 6 +++--- .../pages/creatProcess/qbrk/step4.vue | 4 ++-- .../pages/creatProcess/qbrk/step5.vue | 6 +++--- .../pages/creatProcess/qbrk/step6.vue | 6 +++--- .../pages/creatProcess/qbrk/step7.vue | 4 ++-- .../pages/creatProcess/qbrk/step8.vue | 4 ++-- .../pages/creatProcess/qbrk/step9.vue | 4 ++-- .../pages/creatProcess/qbrk/stepC1.vue | 4 ++-- .../pages/creatProcess/qbrk/stepC3.vue | 6 +++--- .../pages/creatProcess/qbrk/stepC6.vue | 6 +++--- .../pages/creatProcess/qbrk/stepDetail.vue | 4 ++-- .../pages/creatProcess/qbzxdlx/step2.vue | 4 ++-- .../pages/creatProcess/wfhxzg/step5-1.vue | 4 ++-- .../pages/creatProcess/wfhxzg/step5.vue | 4 ++-- .../pages/creatProcess/zcrk/step1.vue | 2 +- .../pages/creatProcess/zcrk/step2.vue | 8 ++++---- .../pages/creatProcess/zcrk/step5.vue | 8 ++++---- .../pages/phone/bzhHd-hh/step2.vue | 2 +- .../pages/phone/bzqdfb/step2.vue | 4 ++-- .../pages/phone/bzqdfb/step4.vue | 4 ++-- .../pages/phone/bzzqyj/step2.vue | 2 +- .../pages/phone/bzzqyj/step4-1.vue | 4 ++-- .../pages/phone/bzzqyj/step4-2.vue | 4 ++-- .../pages/phone/bzzqyj/step6.vue | 4 ++-- .../pages/phone/bzzqyj/step7.vue | 4 ++-- .../pages/phone/bzzqyj/step8.vue | 4 ++-- .../pages/phone/bzzqyj/step9.vue | 4 ++-- .../pages/phone/jrbzhxh/step3.vue | 4 ++-- .../pages/phone/jrbzhxh/step4.vue | 4 ++-- .../pages/phone/qbfs/common/formList.vue | 4 ++-- .../pages/phone/qbfs/common/formListStep5.vue | 4 ++-- .../processCenter/pages/phone/qbfs/step5.vue | 4 ++-- .../processCenter/pages/phone/qbfz/step5.vue | 4 ++-- .../processCenter/pages/phone/qbfz/step6.vue | 4 ++-- .../processCenter/pages/phone/qbfz/step7.vue | 4 ++-- .../qbrk-product/common/formEditList.vue | 6 +++--- .../phone/qbrk-product/common/formList.vue | 4 ++-- .../phone/qbrk-product/common/formListIn.vue | 4 ++-- .../pages/phone/qbrk-product/step10.vue | 4 ++-- .../pages/phone/qbrk-product/step12.vue | 4 ++-- .../pages/phone/qbrk-product/step13.vue | 4 ++-- .../pages/phone/qbrk-product/step4.vue | 4 ++-- .../pages/phone/qbrk-product/step7.vue | 4 ++-- .../pages/phone/qbrk-product/step8.vue | 4 ++-- .../pages/phone/qbrk/common/formEditList.vue | 6 +++--- .../pages/phone/qbrk/common/formList.vue | 4 ++-- .../pages/phone/qbrk/common/formListIn.vue | 4 ++-- .../processCenter/pages/phone/qbrk/step10.vue | 4 ++-- .../processCenter/pages/phone/qbrk/step11.vue | 4 ++-- .../processCenter/pages/phone/qbrk/step13.vue | 4 ++-- .../processCenter/pages/phone/qbrk/step4.vue | 4 ++-- .../processCenter/pages/phone/qbrk/step8.vue | 4 ++-- .../pages/phone/wfhxzg/step5.vue | 2 +- .../pages/addEdit.vue | 2 +- .../pages/details.vue | 4 ++-- .../pages/otherAddEit.vue | 2 +- .../pages/projectAddEit.vue | 2 +- .../dataCenter/dataCenterDetail.vue | 4 ++-- .../regulatoryRepository/dataCenter/index.vue | 2 +- .../dataStatis/miniPages/expendSubsidy.vue | 4 ++-- .../enterBSysRevPlanManaLib/index.vue | 2 +- .../enterpriseStandardFiling/index.vue | 4 ++-- .../information/index2.vue | 2 +- .../nonConfomity/pages/businessDetails.vue | 4 ++-- .../nonConfomity/pages/historicalData.vue | 4 ++-- .../nonConfomity/pages/productDetails.vue | 4 ++-- .../pags/consultationDetails.vue | 2 +- .../components/workingGroup1/index.vue | 4 ++-- .../components/workingGroup2/index.vue | 2 +- src/pages/standardComparisonLibrary/view.vue | 2 +- 176 files changed, 353 insertions(+), 353 deletions(-) diff --git a/src/api/process.js b/src/api/process.js index b582172ae..69c92786c 100644 --- a/src/api/process.js +++ b/src/api/process.js @@ -799,7 +799,7 @@ export function updateMeet(data) { // 上传接口 export function upFile(data) { return axios({ - url: '/api/att/attFile/upload', + url: '/api/att/attFile/uploadNew', method: 'post', data }) diff --git a/src/components/CustomFormComponents/File.vue b/src/components/CustomFormComponents/File.vue index ade7948c6..bc82bcfbe 100644 --- a/src/components/CustomFormComponents/File.vue +++ b/src/components/CustomFormComponents/File.vue @@ -351,7 +351,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/config/pages/dynamicInformationManage/dynamicInfomationDetails/index.vue b/src/pages/config/pages/dynamicInformationManage/dynamicInfomationDetails/index.vue index dc59712d8..053e82cde 100644 --- a/src/pages/config/pages/dynamicInformationManage/dynamicInfomationDetails/index.vue +++ b/src/pages/config/pages/dynamicInformationManage/dynamicInfomationDetails/index.vue @@ -480,7 +480,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } @@ -490,7 +490,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/config/pages/dynamicInformationManage/dynamicInfomationDetails/index2.vue b/src/pages/config/pages/dynamicInformationManage/dynamicInfomationDetails/index2.vue index 44e1c8863..a9d76a21c 100644 --- a/src/pages/config/pages/dynamicInformationManage/dynamicInfomationDetails/index2.vue +++ b/src/pages/config/pages/dynamicInformationManage/dynamicInfomationDetails/index2.vue @@ -491,7 +491,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/config/pages/dynamicInformations/index.vue b/src/pages/config/pages/dynamicInformations/index.vue index 34de9bad9..f53396ea8 100644 --- a/src/pages/config/pages/dynamicInformations/index.vue +++ b/src/pages/config/pages/dynamicInformations/index.vue @@ -323,7 +323,7 @@ export default { }, saveFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/details/enterBSysRevPlanManaLibDetail/index.vue b/src/pages/details/enterBSysRevPlanManaLibDetail/index.vue index 12d32e7ed..dac9abe8f 100644 --- a/src/pages/details/enterBSysRevPlanManaLibDetail/index.vue +++ b/src/pages/details/enterBSysRevPlanManaLibDetail/index.vue @@ -176,7 +176,7 @@ downloadFile(attId) { if (attId != null && attId !== "") { window.location.href = - "/api/att/attFile/downloadFileForSar?fileId=" + attId; + "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index cdc08821f..351ab4658 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -2523,7 +2523,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } @@ -2541,7 +2541,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/details/otherLawsDetails/js/otherLawsDetails.js b/src/pages/details/otherLawsDetails/js/otherLawsDetails.js index c6e5ed06a..4cebe508a 100644 --- a/src/pages/details/otherLawsDetails/js/otherLawsDetails.js +++ b/src/pages/details/otherLawsDetails/js/otherLawsDetails.js @@ -712,7 +712,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } @@ -722,7 +722,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/details/otherLawsStandDetails/index.vue b/src/pages/details/otherLawsStandDetails/index.vue index cb0fe24ab..7745be664 100644 --- a/src/pages/details/otherLawsStandDetails/index.vue +++ b/src/pages/details/otherLawsStandDetails/index.vue @@ -1614,7 +1614,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } @@ -1624,7 +1624,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 92543d09b..384b80992 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -3177,7 +3177,7 @@ export default { }, downloadFile(attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } @@ -3207,7 +3207,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/details/process/ruku/index.vue b/src/pages/details/process/ruku/index.vue index 1062bbda2..1b751eced 100644 --- a/src/pages/details/process/ruku/index.vue +++ b/src/pages/details/process/ruku/index.vue @@ -2085,7 +2085,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } @@ -2095,7 +2095,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/knowledgeGraph/index.vue b/src/pages/knowledgeGraph/index.vue index c80549b2f..d9fcaf62d 100644 --- a/src/pages/knowledgeGraph/index.vue +++ b/src/pages/knowledgeGraph/index.vue @@ -2236,7 +2236,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } @@ -2246,7 +2246,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue index 7ce559099..f62e038e5 100644 --- a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue +++ b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue @@ -2058,7 +2058,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } @@ -2068,7 +2068,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/localTool/standCalendar/index.vue b/src/pages/localTool/standCalendar/index.vue index f28ef77e1..cd07387e3 100644 --- a/src/pages/localTool/standCalendar/index.vue +++ b/src/pages/localTool/standCalendar/index.vue @@ -521,7 +521,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, diff --git a/src/pages/personal/pages/my-collection/collectionDetail/CollectionBussStandardDetail.vue b/src/pages/personal/pages/my-collection/collectionDetail/CollectionBussStandardDetail.vue index 1f875e64b..2397302d4 100644 --- a/src/pages/personal/pages/my-collection/collectionDetail/CollectionBussStandardDetail.vue +++ b/src/pages/personal/pages/my-collection/collectionDetail/CollectionBussStandardDetail.vue @@ -513,7 +513,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$Message.error('请选择要下载的文件') } diff --git a/src/pages/personal/pages/my-collection/collectionDetail/CollectionStandardDetail.vue b/src/pages/personal/pages/my-collection/collectionDetail/CollectionStandardDetail.vue index 133b15f34..eeb0bc3bf 100644 --- a/src/pages/personal/pages/my-collection/collectionDetail/CollectionStandardDetail.vue +++ b/src/pages/personal/pages/my-collection/collectionDetail/CollectionStandardDetail.vue @@ -657,7 +657,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$Message.error('请选择要下载的文件') } diff --git a/src/pages/personal/pages/my-collection/collectionDetail/js/lawsDetails.js b/src/pages/personal/pages/my-collection/collectionDetail/js/lawsDetails.js index 5ee84d4f8..2d4b8b421 100644 --- a/src/pages/personal/pages/my-collection/collectionDetail/js/lawsDetails.js +++ b/src/pages/personal/pages/my-collection/collectionDetail/js/lawsDetails.js @@ -292,7 +292,7 @@ export default { }, downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$Message.error('请选择要下载的文件') } diff --git a/src/pages/personal/pages/my-enterpriseStandard/index.vue b/src/pages/personal/pages/my-enterpriseStandard/index.vue index 87835564d..ac1f61356 100644 --- a/src/pages/personal/pages/my-enterpriseStandard/index.vue +++ b/src/pages/personal/pages/my-enterpriseStandard/index.vue @@ -1033,7 +1033,7 @@ export default { downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/personal/pages/questionsAndAnswers/components/QuestionItemInfo.vue b/src/pages/personal/pages/questionsAndAnswers/components/QuestionItemInfo.vue index 39ca72e06..4bf70d3e8 100644 --- a/src/pages/personal/pages/questionsAndAnswers/components/QuestionItemInfo.vue +++ b/src/pages/personal/pages/questionsAndAnswers/components/QuestionItemInfo.vue @@ -66,7 +66,7 @@ export default { methods: { downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/personal/pages/questionsAndAnswers_old2/components/CollapseItemInfo.vue b/src/pages/personal/pages/questionsAndAnswers_old2/components/CollapseItemInfo.vue index bb7328002..70f743850 100644 --- a/src/pages/personal/pages/questionsAndAnswers_old2/components/CollapseItemInfo.vue +++ b/src/pages/personal/pages/questionsAndAnswers_old2/components/CollapseItemInfo.vue @@ -67,7 +67,7 @@ export default { methods: { downloadFile (attId) { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue index 942224e43..b2636852d 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue @@ -360,7 +360,7 @@ clickButtonToUpload (file) { const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue index a46686469..8d66b6d72 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue @@ -364,7 +364,7 @@ export default { clickButtonToUpload (file) { const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue index 218807876..3c582f085 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue @@ -673,7 +673,7 @@ export default { filesUpload (file) { // 下载 const attId = file.id if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue index 1ce2f8320..8e7e65447 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue @@ -339,7 +339,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue index dfa40f025..bbdc46471 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step3.vue @@ -594,7 +594,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue index 7a77d843e..73c170810 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step4.vue @@ -427,7 +427,7 @@ export default { let attId = val if (attId != null && attId !== "") { if (type === 'down') { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$preview(attId) } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue index d2312e5d0..09a6b5d8b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step5.vue @@ -629,7 +629,7 @@ export default { handlePreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, @@ -773,7 +773,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step6-1.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step6-1.vue index 2c1e42f4f..e11e077d2 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step6-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step6-1.vue @@ -338,7 +338,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, selectedDelete(val) { diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step6.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step6.vue index ebdccd1f1..40b039b2c 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step6.vue @@ -365,7 +365,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, selectedDelete(val) { diff --git a/src/pages/processCenter/pages/creatProcess/bzhHh-hh/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHh-hh/step2.vue index 64b12093f..0f2d664bf 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHh-hh/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHh-hh/step2.vue @@ -343,21 +343,21 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, // 点击上传的文件进行下载 onPreviewTheme(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, // 点击上传的文件进行下载 onPreviewOther(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue index 84853cf1f..150ae2d03 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue @@ -614,7 +614,7 @@ export default { filesUpload (file) { // 下载 const attId = file.id if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue index 85e7bc4e3..7e677b171 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step2.vue @@ -393,7 +393,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue index 660d45fa0..10cf81d1a 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step3.vue @@ -450,7 +450,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue index f7eb8758d..25847e144 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step4.vue @@ -375,7 +375,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue index c683d401b..a833498e7 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step5.vue @@ -552,7 +552,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, } diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue index 9a355c0cb..bc24438ee 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue @@ -440,7 +440,7 @@ export default { previews(val) { let attId = val if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, } diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue index d665cc132..f4595db49 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue @@ -605,7 +605,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -616,7 +616,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -671,7 +671,7 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, //保存事件 diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue index cb04ffdb8..de5424936 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue @@ -428,7 +428,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -439,7 +439,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue index 4b32a2bf2..713b63ed1 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue @@ -378,7 +378,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -388,7 +388,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue index a3da3a5b3..d5c5515a1 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue @@ -685,7 +685,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -696,7 +696,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -751,7 +751,7 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, getData() { diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue index 661221c74..3e9deaa1d 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue @@ -447,7 +447,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -457,7 +457,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index 515094088..cedbb0aab 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -1021,25 +1021,25 @@ export default { if (this.fbgbjbdFileId.search(',')) { this.fbgbjbdFileId = this.fbgbjbdFileId.replace(",", ""); } - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fbgbjbdFileId } else if (fileType === 'xgd') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.xgdFileId } else if (fileType === 'bpg') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.bpgFileId } else if (fileType === 'ssg') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.ssgFileId } else if (fileType === 'zqyjg') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.zqyjgFileId } else if (fileType === 'jdwj') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.jdwjFileId } else if (fileType === 'kwj') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.kwjFileId } else if (fileType === 'glwj') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.glwjFileId } else if (fileType === 'ca') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.caFileId } else if (fileType === 'zbjbd') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.zbjbdFileId } }, getRule() { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index 3c0b0ec26..7d81b9d0c 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -986,26 +986,26 @@ export default { }, downloadFile (fileType,fileId) { if(fileType === 'fbgbjbd'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'xgd'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'bpg'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'ssg'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'zqyjg'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'jdwj'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'kwj'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'glwj'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'ca'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; }else if(fileType === 'zbjbd'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId; + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId; } }, popoverHide (checkedIds, checkedData) { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue index 78dc13284..bbd3d410c 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue @@ -870,25 +870,25 @@ export default { this.fbgbjbdFileId = this.fbgbjbdFileId.replace(",", ""); console.log(this.fbgbjbdFileId); } - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fbgbjbdFileId } else if (fileType === 'xgd') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.xgdFileId } else if (fileType === 'bpg') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.bpgFileId } else if (fileType === 'ssg') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.ssgFileId } else if (fileType === 'zqyjg') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.zqyjgFileId } else if (fileType === 'jdwj') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.jdwjFileId } else if (fileType === 'kwj') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.kwjFileId } else if (fileType === 'glwj') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.glwjFileId } else if (fileType === 'ca') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.caFileId } else if (fileType === 'zbjbd') { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.zbjbdFileId } }, popoverHide(checkedIds, checkedData) { diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue index ce998676c..91b471bb3 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue @@ -508,7 +508,7 @@ export default { filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-9.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-9.vue index 03d162d87..0b87159c2 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-9.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-9.vue @@ -305,7 +305,7 @@ export default { filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue index 9198200ca..f477a26c5 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue @@ -516,7 +516,7 @@ export default { filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue index a3f211cd2..7471c5d4d 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue @@ -248,7 +248,7 @@ export default { filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue index 08b58bf4a..fcbc992ee 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue @@ -410,7 +410,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -494,7 +494,7 @@ this.modalshowflag2 = false }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue index dcc64a98d..2842bf7de 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue @@ -328,7 +328,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -354,7 +354,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue index 05a7de9ab..3f274da50 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue @@ -320,7 +320,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -346,7 +346,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue index 9c62744e6..12eea8b0b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue @@ -415,7 +415,7 @@ export default { filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -567,7 +567,7 @@ export default { this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue index 1f258b7f4..8a1e1a8cc 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue @@ -419,7 +419,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -494,7 +494,7 @@ } }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { if(this.clickFlag){ diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue index f994d065e..36a6218ce 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue @@ -368,7 +368,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -385,7 +385,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue index 65691709c..c44978deb 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue @@ -337,7 +337,7 @@ export default { filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -354,7 +354,7 @@ export default { this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue index 03fb15d75..fef5ad6d0 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue @@ -337,7 +337,7 @@ export default { filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -354,7 +354,7 @@ export default { this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue index 17d9cd36b..1a39fa879 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue @@ -337,7 +337,7 @@ export default { filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -354,7 +354,7 @@ export default { this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue index b8ba7e11e..3242bbebe 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue @@ -531,7 +531,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -542,7 +542,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue index c6523fe6f..2c3c8276c 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue @@ -517,7 +517,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -528,7 +528,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step1-4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step1-4.vue index 5c9aa243f..aed710cce 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step1-4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step1-4.vue @@ -469,7 +469,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -480,7 +480,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step3.vue b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step3.vue index 42e1878cc..c2182e2ff 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step3.vue @@ -410,7 +410,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -421,7 +421,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step4.vue index 41c9e7d5a..10347be3a 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step4.vue @@ -480,7 +480,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -491,7 +491,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue b/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue index e56515f05..cff1b8221 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/common/formList.vue @@ -808,7 +808,7 @@ export default { } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -818,7 +818,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/common/formListStep5.vue b/src/pages/processCenter/pages/creatProcess/qbfs/common/formListStep5.vue index 2b077d5f3..d858d9e78 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/common/formListStep5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/common/formListStep5.vue @@ -801,7 +801,7 @@ export default { } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -811,7 +811,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue index 2165b1f48..4cd0deff1 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue @@ -1307,7 +1307,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -1318,7 +1318,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step2.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step2.vue index f20c76fd1..c7e9756de 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step2.vue @@ -354,7 +354,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -365,7 +365,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue index 75eb475a5..c816cef11 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue @@ -696,7 +696,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -707,7 +707,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue index 7acc459f6..35aad9e12 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue @@ -663,7 +663,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -674,7 +674,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue index 269e48121..859c6b3b1 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue @@ -762,7 +762,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -773,7 +773,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue index 54a5a7173..6b62c940a 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue @@ -662,7 +662,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -673,7 +673,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/stepDetail.vue b/src/pages/processCenter/pages/creatProcess/qbfs/stepDetail.vue index 63c705664..0a11023a5 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/stepDetail.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/stepDetail.vue @@ -758,7 +758,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -769,7 +769,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step1-7.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step1-7.vue index 65cf19cdc..5cc397771 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfz/step1-7.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfz/step1-7.vue @@ -443,7 +443,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -454,7 +454,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue index 64e8f9364..b8295d37f 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue @@ -775,7 +775,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -786,7 +786,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step4.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step4.vue index d03935884..0c89e09c7 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfz/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfz/step4.vue @@ -435,7 +435,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -446,7 +446,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step5.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step5.vue index f236f1394..6b7b536db 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfz/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfz/step5.vue @@ -462,7 +462,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -473,7 +473,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step6.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step6.vue index 86da5032c..72b7edc9c 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfz/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfz/step6.vue @@ -462,7 +462,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -473,7 +473,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue index 155c1d8bc..16dc9e07a 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue @@ -462,7 +462,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -473,7 +473,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formEditList.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formEditList.vue index b7ad11b3a..3d9de8452 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formEditList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formEditList.vue @@ -860,7 +860,7 @@ this.dialogVisible = false }, down(){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fileId this.dialogVisible = false }, // 文件预览及下载 @@ -873,7 +873,7 @@ } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -883,7 +883,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formList.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formList.vue index 006f92fa6..3f9d68ea1 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formList.vue @@ -596,7 +596,7 @@ } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -606,7 +606,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formListIn.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formListIn.vue index 9befd2d4b..72c0b65f6 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formListIn.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formListIn.vue @@ -599,7 +599,7 @@ } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -609,7 +609,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue index 0bfc57dae..9a5529dc9 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue @@ -2608,7 +2608,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step10.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step10.vue index 86447803d..c0d7b3e04 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step10.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step10.vue @@ -1884,7 +1884,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1942,7 +1942,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step11.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step11.vue index 05caa3d9f..185595fa5 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step11.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step11.vue @@ -1884,7 +1884,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1942,7 +1942,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step12.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step12.vue index 8f6d360d1..e375a3109 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step12.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step12.vue @@ -1884,7 +1884,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1942,7 +1942,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue index 3070d9abd..e4d33806d 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue @@ -2048,7 +2048,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2126,7 +2126,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step14.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step14.vue index 1e75b77c8..6ce01ece0 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step14.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step14.vue @@ -1992,7 +1992,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2050,7 +2050,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step2.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step2.vue index b88617eef..428dce6f7 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step2.vue @@ -1916,7 +1916,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1966,7 +1966,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue index 2eb6a8e5c..6962b987d 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue @@ -2099,7 +2099,7 @@ const attId = file.footFile if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2117,7 +2117,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2172,7 +2172,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step4.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step4.vue index 019d13751..d4edc2542 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step4.vue @@ -1883,7 +1883,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1941,7 +1941,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step5.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step5.vue index 1b6ed4669..71e9e612e 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step5.vue @@ -2302,7 +2302,7 @@ } if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2315,7 +2315,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2384,7 +2384,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue index 938d7e964..1a3fb9d7a 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue @@ -2201,7 +2201,7 @@ const attId = file.footFile if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2219,7 +2219,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2274,7 +2274,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step7.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step7.vue index 6cb4f325c..5864c92f9 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step7.vue @@ -1962,7 +1962,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2020,7 +2020,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step8.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step8.vue index ce21748a7..d4d438762 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step8.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step8.vue @@ -1884,7 +1884,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1942,7 +1942,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step9.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step9.vue index f37602856..315dcf9b8 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step9.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step9.vue @@ -1884,7 +1884,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1942,7 +1942,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue index 0d94a2bba..02723b8d3 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue @@ -2100,7 +2100,7 @@ const attId = file.footFile if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2118,7 +2118,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2173,7 +2173,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue index b4ec6ee08..43d15c740 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue @@ -2212,7 +2212,7 @@ const attId = file.footFile if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2230,7 +2230,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2285,7 +2285,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepDetail.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepDetail.vue index a91d8d5ed..ce27de3d9 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepDetail.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepDetail.vue @@ -1826,7 +1826,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1884,7 +1884,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/common/formEditList.vue b/src/pages/processCenter/pages/creatProcess/qbrk/common/formEditList.vue index ecdf8a9f1..457a2d6b7 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/common/formEditList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/common/formEditList.vue @@ -894,7 +894,7 @@ export default { this.dialogVisible = false }, down(){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fileId this.dialogVisible = false }, // 文件预览及下载 @@ -907,7 +907,7 @@ export default { } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -917,7 +917,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/common/formList.vue b/src/pages/processCenter/pages/creatProcess/qbrk/common/formList.vue index 97ead9e9f..b7b32187e 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/common/formList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/common/formList.vue @@ -585,7 +585,7 @@ export default { } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -595,7 +595,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/common/formListIn.vue b/src/pages/processCenter/pages/creatProcess/qbrk/common/formListIn.vue index da76d4727..37ab0d64a 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/common/formListIn.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/common/formListIn.vue @@ -595,7 +595,7 @@ } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -605,7 +605,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue index 8dc1696f3..22a8e062b 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue @@ -2539,7 +2539,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step10.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step10.vue index 68f6b2e3a..c2d970186 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step10.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step10.vue @@ -1883,7 +1883,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1941,7 +1941,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step11.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step11.vue index 4d318a2fd..6274dce34 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step11.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step11.vue @@ -1882,7 +1882,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1940,7 +1940,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step12.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step12.vue index 075d97218..434b9072f 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step12.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step12.vue @@ -2072,7 +2072,7 @@ } if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2085,7 +2085,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2159,7 +2159,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue index 2bda8c0de..726f25f02 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue @@ -2075,7 +2075,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2149,7 +2149,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step2.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step2.vue index edbbd87e5..3a4ed3fa7 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step2.vue @@ -2161,7 +2161,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2208,7 +2208,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step3.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step3.vue index a1e14cae4..427cea527 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step3.vue @@ -2127,7 +2127,7 @@ const attId = file.footFile if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -2145,7 +2145,7 @@ } if (this.preview) { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -2196,7 +2196,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step4.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step4.vue index ef6528b4b..7f571ff8c 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step4.vue @@ -1893,7 +1893,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1951,7 +1951,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue index e26b054d2..b5e33cab5 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue @@ -2468,7 +2468,7 @@ } if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2481,7 +2481,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2550,7 +2550,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue index 2ed39265e..2b2ea174b 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue @@ -2476,7 +2476,7 @@ const attId = file.footFile if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2494,7 +2494,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2549,7 +2549,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step7.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step7.vue index fab8d1ffa..b8a840de8 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step7.vue @@ -2107,7 +2107,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2165,7 +2165,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step8.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step8.vue index 15ca339a5..b5b2ba175 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step8.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step8.vue @@ -1920,7 +1920,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1978,7 +1978,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step9.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step9.vue index 8e58c99ed..5660a4548 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step9.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step9.vue @@ -2133,7 +2133,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2191,7 +2191,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/stepC1.vue b/src/pages/processCenter/pages/creatProcess/qbrk/stepC1.vue index 58bd5e539..6f5c7683d 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/stepC1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/stepC1.vue @@ -2253,7 +2253,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2327,7 +2327,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue b/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue index 50f8cd894..1260873b8 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue @@ -2127,7 +2127,7 @@ const attId = file.footFile if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -2145,7 +2145,7 @@ } if (this.preview) { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -2196,7 +2196,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue b/src/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue index 5aea63be7..1d736acef 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue @@ -2474,7 +2474,7 @@ const attId = file.footFile if (type === 'down') { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2492,7 +2492,7 @@ } if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -2547,7 +2547,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/stepDetail.vue b/src/pages/processCenter/pages/creatProcess/qbrk/stepDetail.vue index daddd5508..c1a2c0b5e 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/stepDetail.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/stepDetail.vue @@ -1838,7 +1838,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1896,7 +1896,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue index 16572f9a7..597c94aa6 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue @@ -955,7 +955,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -965,7 +965,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5-1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5-1.vue index 44ddc3f6a..210b87d1f 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5-1.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5-1.vue @@ -259,7 +259,7 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, // 提交按钮 @@ -344,7 +344,7 @@ export default { }, download(row) { let attId = row.fileTextId - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; }, // 分页事件 pageChange (page) { diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue index b76f4048c..9af768425 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue @@ -287,7 +287,7 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, // 提交按钮 @@ -393,7 +393,7 @@ export default { }, download(row) { let attId = row.fileTextId - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; }, // 分页事件 pageChange (page) { diff --git a/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue b/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue index 769dc0c58..28e8d753a 100644 --- a/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue @@ -2002,7 +2002,7 @@ const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/creatProcess/zcrk/step2.vue b/src/pages/processCenter/pages/creatProcess/zcrk/step2.vue index fc4ccc519..ed526ee4f 100644 --- a/src/pages/processCenter/pages/creatProcess/zcrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/zcrk/step2.vue @@ -897,13 +897,13 @@ downloadFile (fileType) { //文件id中出现了','字符,去除掉 if(fileType === 'ZCWBLAWS'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ZCWBLAWSFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.ZCWBLAWSFileId }else if(fileType === 'GCWBLAWS'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.GCWBLAWSFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.GCWBLAWSFileId }else if(fileType === 'JDWJLAWS'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.JDWJLAWSFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.JDWJLAWSFileId }else if(fileType === 'GLWJLAWS'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.GLWJLAWSFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.GLWJLAWSFileId } }, getRule(){ diff --git a/src/pages/processCenter/pages/creatProcess/zcrk/step5.vue b/src/pages/processCenter/pages/creatProcess/zcrk/step5.vue index 573e62f57..a04c86954 100644 --- a/src/pages/processCenter/pages/creatProcess/zcrk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/zcrk/step5.vue @@ -738,13 +738,13 @@ methods: { downloadFile (fileType) { if(fileType === 'ZCWBLAWS'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ZCWBLAWSFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.ZCWBLAWSFileId }else if(fileType === 'GCWBLAWS'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.GCWBLAWSFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.GCWBLAWSFileId }else if(fileType === 'JDWJLAWS'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.JDWJLAWSFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.JDWJLAWSFileId }else if(fileType === 'GLWJLAWS'){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.GLWJLAWSFileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.GLWJLAWSFileId } }, popoverHide (checkedIds, checkedData) { diff --git a/src/pages/processCenter/pages/phone/bzhHd-hh/step2.vue b/src/pages/processCenter/pages/phone/bzhHd-hh/step2.vue index 7b40400a3..a45e0d881 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-hh/step2.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-hh/step2.vue @@ -262,7 +262,7 @@ export default { onPreviewOther(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, diff --git a/src/pages/processCenter/pages/phone/bzqdfb/step2.vue b/src/pages/processCenter/pages/phone/bzqdfb/step2.vue index d345230de..b05d708bf 100644 --- a/src/pages/processCenter/pages/phone/bzqdfb/step2.vue +++ b/src/pages/processCenter/pages/phone/bzqdfb/step2.vue @@ -340,7 +340,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -350,7 +350,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/processCenter/pages/phone/bzqdfb/step4.vue b/src/pages/processCenter/pages/phone/bzqdfb/step4.vue index fec05067e..235eacfce 100644 --- a/src/pages/processCenter/pages/phone/bzqdfb/step4.vue +++ b/src/pages/processCenter/pages/phone/bzqdfb/step4.vue @@ -393,7 +393,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -404,7 +404,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step2.vue b/src/pages/processCenter/pages/phone/bzzqyj/step2.vue index a1213bdfd..6225edc9c 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step2.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step2.vue @@ -211,7 +211,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue b/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue index e0e87fb9a..2fbd9eba5 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue @@ -296,7 +296,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -322,7 +322,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue b/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue index fc51c1fe6..d571d1a9e 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue @@ -287,7 +287,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -313,7 +313,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step6.vue b/src/pages/processCenter/pages/phone/bzzqyj/step6.vue index 55732899e..46f86870f 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step6.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step6.vue @@ -295,7 +295,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -312,7 +312,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step7.vue b/src/pages/processCenter/pages/phone/bzzqyj/step7.vue index f8cc50e08..f8884928b 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step7.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step7.vue @@ -252,7 +252,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -269,7 +269,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step8.vue b/src/pages/processCenter/pages/phone/bzzqyj/step8.vue index ba7bc47eb..adfbfff54 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step8.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step8.vue @@ -252,7 +252,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -269,7 +269,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step9.vue b/src/pages/processCenter/pages/phone/bzzqyj/step9.vue index a3e94b522..ce22c9357 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step9.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step9.vue @@ -252,7 +252,7 @@ filesUpload (file) { // 下载 const attId = file.attId if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -284,7 +284,7 @@ this.itermsConditionsTitle = row }, downloadFile (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId }, handleTransfer() { this.drawerModal = true diff --git a/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue b/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue index a60005f7f..6390f756a 100644 --- a/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue +++ b/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue @@ -465,7 +465,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -476,7 +476,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue b/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue index 1bbf60f87..6b937aa7c 100644 --- a/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue +++ b/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue @@ -451,7 +451,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -462,7 +462,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/phone/qbfs/common/formList.vue b/src/pages/processCenter/pages/phone/qbfs/common/formList.vue index ab57da038..6514b4b78 100644 --- a/src/pages/processCenter/pages/phone/qbfs/common/formList.vue +++ b/src/pages/processCenter/pages/phone/qbfs/common/formList.vue @@ -800,7 +800,7 @@ export default { } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -810,7 +810,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/phone/qbfs/common/formListStep5.vue b/src/pages/processCenter/pages/phone/qbfs/common/formListStep5.vue index 5ea3efc7c..dd6ce86be 100644 --- a/src/pages/processCenter/pages/phone/qbfs/common/formListStep5.vue +++ b/src/pages/processCenter/pages/phone/qbfs/common/formListStep5.vue @@ -735,7 +735,7 @@ export default { } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -745,7 +745,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/phone/qbfs/step5.vue b/src/pages/processCenter/pages/phone/qbfs/step5.vue index 9b663b732..592b12ef1 100644 --- a/src/pages/processCenter/pages/phone/qbfs/step5.vue +++ b/src/pages/processCenter/pages/phone/qbfs/step5.vue @@ -766,7 +766,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -777,7 +777,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/phone/qbfz/step5.vue b/src/pages/processCenter/pages/phone/qbfz/step5.vue index c53548e21..0ce72ab4a 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step5.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step5.vue @@ -493,7 +493,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -504,7 +504,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/phone/qbfz/step6.vue b/src/pages/processCenter/pages/phone/qbfz/step6.vue index abe344f25..10961048e 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step6.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step6.vue @@ -493,7 +493,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -504,7 +504,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/phone/qbfz/step7.vue b/src/pages/processCenter/pages/phone/qbfz/step7.vue index 4c3d5ea6a..4f5f1ea2c 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step7.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step7.vue @@ -493,7 +493,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -504,7 +504,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/processCenter/pages/phone/qbrk-product/common/formEditList.vue b/src/pages/processCenter/pages/phone/qbrk-product/common/formEditList.vue index 96909918f..af7ede7dd 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/common/formEditList.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/common/formEditList.vue @@ -844,7 +844,7 @@ this.dialogVisible = false }, down(){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fileId this.dialogVisible = false }, // 文件预览及下载 @@ -857,7 +857,7 @@ } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -867,7 +867,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/phone/qbrk-product/common/formList.vue b/src/pages/processCenter/pages/phone/qbrk-product/common/formList.vue index fb3bc8f6b..171e328b5 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/common/formList.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/common/formList.vue @@ -578,7 +578,7 @@ } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -588,7 +588,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/phone/qbrk-product/common/formListIn.vue b/src/pages/processCenter/pages/phone/qbrk-product/common/formListIn.vue index 635047f5a..a96d8d9ed 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/common/formListIn.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/common/formListIn.vue @@ -599,7 +599,7 @@ } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -609,7 +609,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step10.vue b/src/pages/processCenter/pages/phone/qbrk-product/step10.vue index db88ffd4e..f2d37a7cd 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step10.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step10.vue @@ -1564,7 +1564,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1622,7 +1622,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step12.vue b/src/pages/processCenter/pages/phone/qbrk-product/step12.vue index 3acf6e9cb..a7a026ec0 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step12.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step12.vue @@ -1564,7 +1564,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1622,7 +1622,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step13.vue b/src/pages/processCenter/pages/phone/qbrk-product/step13.vue index e2b1010cd..3e836628d 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step13.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step13.vue @@ -1630,7 +1630,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1708,7 +1708,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step4.vue b/src/pages/processCenter/pages/phone/qbrk-product/step4.vue index e55f24ab3..dcf5437b7 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step4.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step4.vue @@ -1483,7 +1483,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1541,7 +1541,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step7.vue b/src/pages/processCenter/pages/phone/qbrk-product/step7.vue index 9430bbcab..111679ec7 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step7.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step7.vue @@ -1643,7 +1643,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1701,7 +1701,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step8.vue b/src/pages/processCenter/pages/phone/qbrk-product/step8.vue index 113c45a16..76ade10a3 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step8.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step8.vue @@ -1564,7 +1564,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1622,7 +1622,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk/common/formEditList.vue b/src/pages/processCenter/pages/phone/qbrk/common/formEditList.vue index 784622707..58b6ca60d 100644 --- a/src/pages/processCenter/pages/phone/qbrk/common/formEditList.vue +++ b/src/pages/processCenter/pages/phone/qbrk/common/formEditList.vue @@ -869,7 +869,7 @@ export default { this.dialogVisible = false }, down(){ - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fileId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + this.fileId this.dialogVisible = false }, // 文件预览及下载 @@ -882,7 +882,7 @@ export default { } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -892,7 +892,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/phone/qbrk/common/formList.vue b/src/pages/processCenter/pages/phone/qbrk/common/formList.vue index 88e59b6a9..9a0bc58e7 100644 --- a/src/pages/processCenter/pages/phone/qbrk/common/formList.vue +++ b/src/pages/processCenter/pages/phone/qbrk/common/formList.vue @@ -547,7 +547,7 @@ export default { } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -557,7 +557,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/phone/qbrk/common/formListIn.vue b/src/pages/processCenter/pages/phone/qbrk/common/formListIn.vue index d0ff563ee..f49e09b36 100644 --- a/src/pages/processCenter/pages/phone/qbrk/common/formListIn.vue +++ b/src/pages/processCenter/pages/phone/qbrk/common/formListIn.vue @@ -582,7 +582,7 @@ } if (type === 'down') { if (attId) { - window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) } else { this.$message.warning('文件不存在,下载失败') } @@ -592,7 +592,7 @@ }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.open('/api/att/attFile/downloadFileForSar?fileId=' + data.id) + window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) }, setMap(data){ data.forEach(item => { diff --git a/src/pages/processCenter/pages/phone/qbrk/step10.vue b/src/pages/processCenter/pages/phone/qbrk/step10.vue index f30ee8162..9b0c1c800 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step10.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step10.vue @@ -1484,7 +1484,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1542,7 +1542,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk/step11.vue b/src/pages/processCenter/pages/phone/qbrk/step11.vue index 44b1b78c0..21ea9c1cf 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step11.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step11.vue @@ -1484,7 +1484,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1542,7 +1542,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk/step13.vue b/src/pages/processCenter/pages/phone/qbrk/step13.vue index a69e5a357..1920eee79 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step13.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step13.vue @@ -1484,7 +1484,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1542,7 +1542,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk/step4.vue b/src/pages/processCenter/pages/phone/qbrk/step4.vue index 65d3a039f..413579f8c 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step4.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step4.vue @@ -1420,7 +1420,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1478,7 +1478,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/qbrk/step8.vue b/src/pages/processCenter/pages/phone/qbrk/step8.vue index 0ef8fbed9..7cc7176f7 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step8.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step8.vue @@ -1598,7 +1598,7 @@ export default { const attId = file.response.data.id if (this.preview) { if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId } else { this.$message.warning('文件不存在,下载失败') } @@ -1656,7 +1656,7 @@ export default { }, downloadFile (data) { //文件id中出现了','字符,去除掉 - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id + window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id }, fileUpload (type) { this.fileType = ''; diff --git a/src/pages/processCenter/pages/phone/wfhxzg/step5.vue b/src/pages/processCenter/pages/phone/wfhxzg/step5.vue index 990f20db5..85c16bf99 100644 --- a/src/pages/processCenter/pages/phone/wfhxzg/step5.vue +++ b/src/pages/processCenter/pages/phone/wfhxzg/step5.vue @@ -316,7 +316,7 @@ export default { }, download(row) { let attId = row.fileTextId - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; }, // 分页事件 pageChange (page) { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 303d501de..33f1fb764 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -1060,7 +1060,7 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, // 相关附件 上传之前钩子 diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 9e1fb8f91..ddcd87b5e 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -1038,7 +1038,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -1049,7 +1049,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue index c3166918c..2ce66d552 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue @@ -2123,7 +2123,7 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, }, diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue index 1d11479e3..4120a122d 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue @@ -2053,7 +2053,7 @@ export default { handleOnPreview(file) { let attId = file.id if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } }, }, diff --git a/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue b/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue index ba38edda4..63f10cf27 100644 --- a/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue +++ b/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue @@ -162,7 +162,7 @@ export default { */ downloadFile(attId) { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } @@ -173,7 +173,7 @@ export default { this.$message.error("水印下载仅支持PDF,pdf格式文件"); } else { if (attId != null && attId !== "") { - window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId; + window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId; } else { this.$message.error("请选择要下载的文件"); } diff --git a/src/pages/regulatoryRepository/dataCenter/index.vue b/src/pages/regulatoryRepository/dataCenter/index.vue index c74ed9f61..3fa118963 100644 --- a/src/pages/regulatoryRepository/dataCenter/index.vue +++ b/src/pages/regulatoryRepository/dataCenter/index.vue @@ -180,7 +180,7 @@ >