From 63098c8fcfaaf1d5b22e3cf554b0248c6eaba56d Mon Sep 17 00:00:00 2001
From: zyd
Date: Thu, 22 Sep 2022 22:20:07 +0800
Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E5=BE=81=E6=B1=82=E6=84=8F=E8=A7=81?=
=?UTF-8?q?=E5=A1=AB=E5=86=99=E6=84=8F=E8=A7=81=E9=A1=B5=E9=9D=A2=E5=8A=A0?=
=?UTF-8?q?=E8=BD=BD=E6=96=87=E4=BB=B6=E6=9C=BA=E5=88=B6=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../bzzqyj/ZQYJAddFileDetails.vue | 60 +++++++++++++------
1 file changed, 42 insertions(+), 18 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/ZQYJAddFileDetails.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/ZQYJAddFileDetails.vue
index c5702479f..cf88d25e8 100644
--- a/src/pages/processCenter/pages/creatProcess/bzzqyj/ZQYJAddFileDetails.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/ZQYJAddFileDetails.vue
@@ -91,27 +91,51 @@
previewShow(attId) {
this.iframeLoading = true
return new Promise((resolve, reject) => {
- getBusStandFileByAttId({
- attId
- }).then(res => {
- if(res){
- const history = res;
- const editFileInfo = res.data
- if(editFileInfo.fileSuffix.toLowerCase() === 'pdg'){
- this.iframeUrl = 'book://ssreader/e0?url='+editFileInfo.downLoadUrl
- }else if(editFileInfo.fileSuffix.toLowerCase() === 'pdf'){
- this.iframeUrl = './static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id)
- }else {
- const nowTime = new Date().getTime()
- // window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
- this.iframeUrl = kkFileViewUrl+'/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl));
+ this.$http.get('lawss/sarStandFile/queryConvertAtt', {
+ attId: attId
+ }, {
+ _this: this
+ }, res => {
+ if (res.data) {
+ let fileObj = {}
+ fileObj.fileId = res.data.attId
+ fileObj.fileName = res.data.fileOldName
+ let fileList = []
+ let repeatData = 0
+ if (sessionStorage.getItem('fileInfo')) {
+ fileList = JSON.parse(sessionStorage.getItem('fileInfo'))
+ if (fileList != null && fileList.length > 0) {
+ for (let i = 0; i < fileList.length; i++) {
+ if (fileList[i].fileId === res.data.attId) {
+ repeatData = 1
+ break
+ }
+ }
+ if (repeatData === 0) {
+ fileList.push(fileObj)
+ fileList = JSON.stringify(fileList)
+ sessionStorage.setItem('fileInfo', fileList)
+ }
+ }
+ } else {
+ fileList.push(fileObj)
+ fileList = JSON.stringify(fileList)
+ sessionStorage.setItem('fileInfo', fileList)
}
- this.iframeLoading = false
- this.$forceUpdate()
- resolve(history)
+ this.iframeUrl = './static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + res.data.attId)
+ } else {
+ this.$message.error('文档未转换成功或该文档无法读取')
}
- }).catch(e => {
+ this.iframeLoading = false
+ this.$forceUpdate()
+ resolve(history)
+ }, e => {
+ this.iframeLoading = false
+ this.$forceUpdate()
+ resolve(history)
+ this.$message.error('文档未转换成功或该文档无法读取')
})
+
})
console.log(this.iframeUrl);
},
From f5861b2f5d2418210f27f5d8ae730757164ade73 Mon Sep 17 00:00:00 2001
From: zyd
Date: Thu, 22 Sep 2022 22:41:07 +0800
Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=E6=A0=87=E5=87=86=E8=B0=83=E7=A0=94?=
=?UTF-8?q?=E6=B5=81=E7=A8=8B=E7=AC=AC=E4=B8=89=E6=AD=A5=E5=8E=BB=E6=8E=89?=
=?UTF-8?q?=E6=8E=A5=E6=94=B6=E5=BE=85=E5=8A=9E=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/processCenter/pages/creatProcess/bzdy/step3.vue | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
index 76b38b545..b201f119c 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
@@ -210,7 +210,6 @@
:submitLoading="isSubmit"
:saveLoading="saveLoading"
:show-submit="submitShow"
- :show-confirm="acceptShow"
:show-transfer="submitShow"
@transfer="handleTransfer"
@save="handleSave"
From 1f068a9ff6389fdf65b5a83e543845a5ce60452c Mon Sep 17 00:00:00 2001
From: zyd
Date: Thu, 22 Sep 2022 22:43:59 +0800
Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=E9=A1=B9=E7=9B=AE=E6=B8=85=E5=8D=95?=
=?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=B5=81=E7=A8=8B=E5=A2=9E=E5=8A=A0=E4=BC=81?=
=?UTF-8?q?=E6=A0=87=E5=9C=A8=E7=BA=BF=E9=A2=84=E8=A7=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/xmqdqr/step1-4.vue | 27 ++++++++++++------
.../pages/creatProcess/xmqdqr/step1.vue | 28 +++++++++++++------
.../pages/creatProcess/xmqdqr/step2.vue | 27 ++++++++++++------
.../pages/creatProcess/xmqdqr/step3.vue | 27 ++++++++++++------
.../pages/creatProcess/xmqdqr/step4.vue | 27 ++++++++++++------
5 files changed, 96 insertions(+), 40 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue
index 2a6d7edcf..5ae5aeb15 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-4.vue
@@ -821,14 +821,25 @@ export default {
},
// 点击查看
handlePreview(item) {
- let routeUrl = this.$router.resolve({
- name: "OtherStandardDetails",
- params: {
- id: item.id || item.standId,
- pageType: item.standType + '_STAND'
- }
- });
- window.open(routeUrl.href, "_blank");
+ if(item.standType ==='BUSINESS_STAND'){
+ let routeUrl = this.$router.resolve({
+ name: 'OtherBussStandardDetails',
+ params: {
+ id: item.id || item.standId,
+ pageType: 'BUSINESS_STAND'
+ }
+ })
+ window.open(routeUrl.href, '_blank')
+ }else{
+ let routeUrl = this.$router.resolve({
+ name: "OtherStandardDetails",
+ params: {
+ id: item.id || item.standId,
+ pageType: item.standType + '_STAND'
+ }
+ });
+ window.open(routeUrl.href, "_blank");
+ }
},
//获取数据
getData() {
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
index c001cbe61..f9be0834b 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
@@ -948,14 +948,26 @@ export default {
},
// 点击查看
handlePreview(item) {
- let routeUrl = this.$router.resolve({
- name: "OtherStandardDetails",
- params: {
- id: item.id || item.standId,
- pageType: item.standType + '_STAND'
- }
- });
- window.open(routeUrl.href, "_blank");
+ if(item.standType ==='BUSINESS_STAND'){
+ let routeUrl = this.$router.resolve({
+ name: 'OtherBussStandardDetails',
+ params: {
+ id: item.id || item.standId,
+ pageType: 'BUSINESS_STAND'
+ }
+ })
+ window.open(routeUrl.href, '_blank')
+ }else{
+ let routeUrl = this.$router.resolve({
+ name: "OtherStandardDetails",
+ params: {
+ id: item.id || item.standId,
+ pageType: item.standType + '_STAND'
+ }
+ });
+ window.open(routeUrl.href, "_blank");
+ }
+
},
dataSourceChange() {
this.handleSelectForm.page = 1
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
index eaf8cca6e..2c1f546ef 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
@@ -845,14 +845,25 @@ export default {
},
// 点击查看
handlePreview(item) {
- let routeUrl = this.$router.resolve({
- name: "OtherStandardDetails",
- params: {
- id: item.id || item.standId,
- pageType: item.standType + '_STAND'
- }
- });
- window.open(routeUrl.href, "_blank");
+ if(item.standType ==='BUSINESS_STAND'){
+ let routeUrl = this.$router.resolve({
+ name: 'OtherBussStandardDetails',
+ params: {
+ id: item.id || item.standId,
+ pageType: 'BUSINESS_STAND'
+ }
+ })
+ window.open(routeUrl.href, '_blank')
+ }else{
+ let routeUrl = this.$router.resolve({
+ name: "OtherStandardDetails",
+ params: {
+ id: item.id || item.standId,
+ pageType: item.standType + '_STAND'
+ }
+ });
+ window.open(routeUrl.href, "_blank");
+ }
},
//获取数据
getData() {
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
index f8f41520f..ae2429a23 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
@@ -845,14 +845,25 @@ export default {
},
// 点击查看
handlePreview(item) {
- let routeUrl = this.$router.resolve({
- name: "OtherStandardDetails",
- params: {
- id: item.id || item.standId,
- pageType: item.standType + '_STAND'
- }
- });
- window.open(routeUrl.href, "_blank");
+ if(item.standType ==='BUSINESS_STAND'){
+ let routeUrl = this.$router.resolve({
+ name: 'OtherBussStandardDetails',
+ params: {
+ id: item.id || item.standId,
+ pageType: 'BUSINESS_STAND'
+ }
+ })
+ window.open(routeUrl.href, '_blank')
+ }else{
+ let routeUrl = this.$router.resolve({
+ name: "OtherStandardDetails",
+ params: {
+ id: item.id || item.standId,
+ pageType: item.standType + '_STAND'
+ }
+ });
+ window.open(routeUrl.href, "_blank");
+ }
},
//获取数据
getData() {
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
index 72de88509..25433dd42 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
@@ -836,14 +836,25 @@ export default {
},
// 点击查看
handlePreview(item) {
- let routeUrl = this.$router.resolve({
- name: "OtherStandardDetails",
- params: {
- id: item.id || item.standId,
- pageType: item.standType + '_STAND'
- }
- });
- window.open(routeUrl.href, "_blank");
+ if(item.standType ==='BUSINESS_STAND'){
+ let routeUrl = this.$router.resolve({
+ name: 'OtherBussStandardDetails',
+ params: {
+ id: item.id || item.standId,
+ pageType: 'BUSINESS_STAND'
+ }
+ })
+ window.open(routeUrl.href, '_blank')
+ }else{
+ let routeUrl = this.$router.resolve({
+ name: "OtherStandardDetails",
+ params: {
+ id: item.id || item.standId,
+ pageType: item.standType + '_STAND'
+ }
+ });
+ window.open(routeUrl.href, "_blank");
+ }
},
//获取数据
getData() {
From cdc311df1f56c59b52fc03c257f18b27393d9f19 Mon Sep 17 00:00:00 2001
From: zyd
Date: Thu, 22 Sep 2022 23:11:39 +0800
Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B8=A6=E6=B0=B4?=
=?UTF-8?q?=E5=8D=B0=E4=B8=8B=E8=BD=BD=E5=8A=9F=E8=83=BD=EF=BC=8C=E6=AD=A4?=
=?UTF-8?q?=E5=A4=84=E5=B0=86=E6=97=A0=E9=9C=80=E5=B8=A6=E6=B0=B4=E5=8D=B0?=
=?UTF-8?q?=E4=B8=8B=E8=BD=BD=E7=9A=84=E5=8A=9F=E8=83=BD=E8=BF=9B=E8=A1=8C?=
=?UTF-8?q?=E7=A7=BB=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../otherBussStandardDetails/index.vue | 25 ++++++++---
.../index.vue | 25 ++++++++---
.../details/otherStandardDetails/index.vue | 24 +++++++++--
.../otherStandardExternalDetails/index.vue | 24 +++++++++--
src/pages/details/process/ruku/index.vue | 24 -----------
src/pages/knowledgeGraph/index.vue | 12 ------
.../standAutoSplit/pages/itemSplitInfo.vue | 11 -----
src/pages/phone/domesticDetails.vue | 42 -------------------
.../pages/creatProcess/bzqdfb/step1-3.vue | 12 ------
.../pages/creatProcess/bzqdfb/step1-4.vue | 18 --------
.../pages/creatProcess/bzqdfb/step2.vue | 17 --------
.../pages/creatProcess/bzqdfb/step3.vue | 12 ------
.../pages/creatProcess/bzqdfb/step4.vue | 17 --------
.../pages/creatProcess/jrbzhxh/step3.vue | 18 --------
.../pages/creatProcess/jrbzhxh/step4.vue | 18 --------
.../pages/creatProcess/qbfs/bak/step1-4.vue | 18 --------
.../pages/creatProcess/qbfs/bak/step3.vue | 20 +--------
.../pages/creatProcess/qbfs/bak/step4.vue | 18 --------
.../pages/creatProcess/qbfs/step1.vue | 14 +------
.../pages/creatProcess/qbfs/step2.vue | 14 +------
.../pages/creatProcess/qbfs/step3.vue | 14 +------
.../pages/creatProcess/qbfs/step4.vue | 14 +------
.../pages/creatProcess/qbfs/step5.vue | 14 +------
.../pages/creatProcess/qbfs/stepC4.vue | 12 ------
.../pages/creatProcess/qbfs/stepDetail.vue | 14 +------
.../pages/creatProcess/qbfz/step1-7.vue | 12 ------
.../pages/creatProcess/qbfz/step1.vue | 14 +------
.../pages/creatProcess/qbfz/step4.vue | 12 ------
.../pages/creatProcess/qbfz/step5.vue | 12 ------
.../pages/creatProcess/qbfz/step6.vue | 12 ------
.../pages/creatProcess/qbfz/step7.vue | 12 ------
.../pages/creatProcess/qbzxdlx/step1-2.vue | 17 --------
.../pages/creatProcess/qbzxdlx/step2.vue | 17 --------
.../pages/phone/bzqdfb/step4.vue | 18 --------
.../pages/phone/jrbzhxh/step3.vue | 18 --------
.../pages/phone/jrbzhxh/step4.vue | 18 --------
.../processCenter/pages/phone/qbfs/step5.vue | 14 +------
.../processCenter/pages/phone/qbfz/step5.vue | 12 ------
.../processCenter/pages/phone/qbfz/step6.vue | 12 ------
.../processCenter/pages/phone/qbfz/step7.vue | 12 ------
.../pages/details.vue | 12 ------
41 files changed, 89 insertions(+), 586 deletions(-)
diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue
index c2b806b82..31272db5e 100644
--- a/src/pages/details/otherBussStandardDetails/index.vue
+++ b/src/pages/details/otherBussStandardDetails/index.vue
@@ -369,7 +369,6 @@
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'">
@@ -2543,14 +2542,30 @@ export default {
})
},
downloadFileByWater (attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
+ if(fileSuffix !== undefined && fileSuffix !== null){
+ fileSuffix = fileSuffix.toUpperCase()
+ }
+ if (fileSuffix === 'PDF' ||fileSuffix === 'DOC' ||fileSuffix === 'DOCX') {
if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
+ this.$http.get('lawss/sarBussStandFile/queryConvertAtt', {
+ attId: attId
+ }, {
+ _this: this
+ }, res => {
+ if (res.data) {
+ let fileObj = {}
+ window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + res.data.attId + '&userId=' + this.$store.getters.userInfo.userId
+ } else {
+ this.$message.error('当前暂时无法下载,请稍后重试')
+ }
+ }, e => {
+ this.$message.error('当前暂时无法下载,请稍后重试')
+ })
} else {
this.$message.error('请选择要下载的文件')
}
+ } else {
+ this.$message.error('水印下载仅支持PDF、DOC、DOCX格式文件')
}
this.$http.get('lawss/sarBussionessStand/logBussDownload2', {
standCode: this.sarStandardsInfoEO.standCode,
diff --git a/src/pages/details/otherBussStandardExternalDetails/index.vue b/src/pages/details/otherBussStandardExternalDetails/index.vue
index 5d685618b..401bf998b 100644
--- a/src/pages/details/otherBussStandardExternalDetails/index.vue
+++ b/src/pages/details/otherBussStandardExternalDetails/index.vue
@@ -369,7 +369,6 @@
/>
{
+ if (res.data) {
+ let fileObj = {}
+ window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + res.data.attId + '&userId=' + this.$store.getters.userInfo.userId
+ } else {
+ this.$message.error('当前暂时无法下载,请稍后重试')
+ }
+ }, e => {
+ this.$message.error('当前暂时无法下载,请稍后重试')
+ })
} else {
this.$message.error('请选择要下载的文件')
}
+ } else {
+ this.$message.error('水印下载仅支持PDF、DOC、DOCX格式文件')
}
this.$http.get('lawss/sarBussionessStand/logBussDownload2', {
standCode: this.sarStandardsInfoEO.standCode,
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index fcc04da01..b2fe3f23b 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -3199,14 +3199,30 @@ export default {
},
downloadFileByWater(attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
+ if(fileSuffix !== undefined && fileSuffix !== null){
+ fileSuffix = fileSuffix.toUpperCase()
+ }
+ if (fileSuffix === 'PDF' ||fileSuffix === 'DOC' ||fileSuffix === 'DOCX') {
if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
+ this.$http.get('lawss/sarStandFile/queryConvertAtt', {
+ attId: attId
+ }, {
+ _this: this
+ }, res => {
+ if (res.data) {
+ let fileObj = {}
+ window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + res.data.attId + '&userId=' + this.$store.getters.userInfo.userId
+ } else {
+ this.$message.error('当前暂时无法下载,请稍后重试')
+ }
+ }, e => {
+ this.$message.error('当前暂时无法下载,请稍后重试')
+ })
} else {
this.$message.error('请选择要下载的文件')
}
+ } else {
+ this.$message.error('水印下载仅支持PDF、DOC、DOCX格式文件')
}
if(this.$route.params.pageType === 'INLAND_STAND'){
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
diff --git a/src/pages/details/otherStandardExternalDetails/index.vue b/src/pages/details/otherStandardExternalDetails/index.vue
index dacd252d7..a3dbb2647 100644
--- a/src/pages/details/otherStandardExternalDetails/index.vue
+++ b/src/pages/details/otherStandardExternalDetails/index.vue
@@ -3210,14 +3210,30 @@ export default {
},
downloadFileByWater(attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
+ if(fileSuffix !== undefined && fileSuffix !== null){
+ fileSuffix = fileSuffix.toUpperCase()
+ }
+ if (fileSuffix === 'PDF' ||fileSuffix === 'DOC' ||fileSuffix === 'DOCX') {
if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
+ this.$http.get('lawss/sarStandFile/queryConvertAtt', {
+ attId: attId
+ }, {
+ _this: this
+ }, res => {
+ if (res.data) {
+ let fileObj = {}
+ window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + res.data.attId + '&userId=' + this.$store.getters.userInfo.userId
+ } else {
+ this.$message.error('当前暂时无法下载,请稍后重试')
+ }
+ }, e => {
+ this.$message.error('当前暂时无法下载,请稍后重试')
+ })
} else {
this.$message.error('请选择要下载的文件')
}
+ } else {
+ this.$message.error('水印下载仅支持PDF、DOC、DOCX格式文件')
}
if(this.$route.params.pageType === 'INLAND_STAND'){
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
diff --git a/src/pages/details/process/ruku/index.vue b/src/pages/details/process/ruku/index.vue
index 1674c8193..cd85641fa 100644
--- a/src/pages/details/process/ruku/index.vue
+++ b/src/pages/details/process/ruku/index.vue
@@ -134,12 +134,6 @@
class="icon-download"
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'WGJP2VRZSJ77EGH2447M' : '44KKMQHU3CNRRPNNF8VN'"
/>
-
上传时间:{{ dateFormat(file.modifyTime) }}
@@ -150,12 +144,6 @@
class="icon-download"
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'JHQALHMF6F' : 'dakDL3sNLq'"
/>
-
上传时间:{{ dateFormat(file.modifyTime) }}
@@ -224,12 +212,6 @@
class="icon-download"
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'WGJP2VRZSJ77EGH2447M' : '44KKMQHU3CNRRPNNF8VN'"
/>
-
上传时间:{{ dateFormat(file.modifyTime) }}
@@ -240,12 +222,6 @@
class="icon-download"
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'JHQALHMF6F' : 'dakDL3sNLq'"
/>
-
上传时间:{{ dateFormat(file.modifyTime) }}
diff --git a/src/pages/knowledgeGraph/index.vue b/src/pages/knowledgeGraph/index.vue
index d9fcaf62d..166dce40f 100644
--- a/src/pages/knowledgeGraph/index.vue
+++ b/src/pages/knowledgeGraph/index.vue
@@ -2241,18 +2241,6 @@ export default {
this.$message.error('请选择要下载的文件')
}
},
- downloadFileByWater (attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
- if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId
- } else {
- this.$message.error('请选择要下载的文件')
- }
- }
- },
-
// 查看详情
getMenuDetail(menuId) {
return new Promise((resolve, reject) => {
diff --git a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue
index c1306b4b9..e72d17826 100644
--- a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue
+++ b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue
@@ -2073,17 +2073,6 @@ export default {
this.$message.error('请选择要下载的文件')
}
},
- downloadFileByWater (attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
- if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId
- } else {
- this.$message.error('请选择要下载的文件')
- }
- }
- },
showReferStandDetials (standNum) {
// 验证标准号在系统中是否存在
this.$http.post('lawss/sarTestItem/validateStandNumber', {
diff --git a/src/pages/phone/domesticDetails.vue b/src/pages/phone/domesticDetails.vue
index cd4b67bc0..252ea7288 100644
--- a/src/pages/phone/domesticDetails.vue
+++ b/src/pages/phone/domesticDetails.vue
@@ -85,24 +85,12 @@
{{ file.oldFileName | ellipsis50}}
-
-
@@ -2786,36 +2774,6 @@
}
},
- downloadFileByWater(attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
- if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
- } else {
- this.$message.error('请选择要下载的文件')
- }
- }
- if(this.$route.query.pageType === 'INLAND_STAND'){
- let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
- this.$http.get('sarStandardsInfo/sar-standards-info/logInvalidDownload2',{
- standNumber: standNumber,
- standName: this.sarStandardsInfoEO.standName
- }, {
- _this: this
- }, res => {
- })
- }else{
- let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
- this.$http.get('sarStandardsInfo/sar-standards-info/logForeignDownload2',{
- standNumber: standNumber,
- standName: this.sarStandardsInfoEO.standEnName
- }, {
- _this: this
- }, res => {
- })
- }
- },
/**
* @Description: 跳转流程
*/
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue
index d0b7b6d47..69e392176 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue
@@ -610,18 +610,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
// 删除上传的文件
delFileInfo (file, fileList) {
this.fileInfoList.forEach((item, index) => {
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue
index d4522ff59..83b708f13 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue
@@ -47,12 +47,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -423,18 +417,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
// 驳回事件
beforeBack() {
if(!this.commentText){
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue
index 713b63ed1..7626f1a8c 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue
@@ -47,12 +47,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -383,17 +377,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
- if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
- } else {
- this.$message.error('请选择要下载的文件')
- }
- }
- },
//确认转办
checkedRole (data) {
this.assigneeNewLoading = true
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue
index 430df404d..347ba59f3 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue
@@ -724,18 +724,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
// 删除上传的文件
delFileInfo (file, fileList) {
this.fileInfoList.forEach((item, index) => {
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue
index 3e9deaa1d..c633a4a85 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue
@@ -47,12 +47,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -452,17 +446,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
- if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
- } else {
- this.$message.error('请选择要下载的文件')
- }
- }
- },
// 驳回事件
beforeBack() {
if(!this.commentText){
diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue
index 4621b42c9..adfb9110a 100644
--- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue
@@ -86,12 +86,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -536,18 +530,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
//流程转办
handleTransfer(){
this.drawerModal = true
diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue
index 42a0c9d01..40c626c42 100644
--- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue
@@ -86,12 +86,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -522,18 +516,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
//流程转办
handleTransfer(){
this.drawerModal = true
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 aed710cce..95efe54a6 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step1-4.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step1-4.vue
@@ -117,12 +117,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -473,18 +467,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step3.vue b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step3.vue
index c2182e2ff..acbb33043 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step3.vue
@@ -104,12 +104,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -414,19 +408,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
+ }
},
computed: {
listNoDataText() {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step4.vue
index 10347be3a..260f9eb71 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/bak/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/bak/step4.vue
@@ -117,12 +117,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -484,18 +478,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
index 338236879..17d9a9777 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
@@ -1335,19 +1335,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && 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 00062b106..b2144efa6 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/step2.vue
@@ -449,19 +449,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
+ }
},
computed: {
listNoDataText() {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue
index a622f08c0..980ac5463 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue
@@ -695,19 +695,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
+ }
},
computed: {
listNoDataText() {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue
index 986ba6957..e96e8d428 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/step4.vue
@@ -665,19 +665,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
+ }
},
computed: {
listNoDataText() {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue
index 1b3b8b2e2..ddb5bde49 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue
@@ -760,19 +760,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
+ }
},
computed: {
listNoDataText() {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue b/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue
index 567354376..4018200c7 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/stepC4.vue
@@ -661,18 +661,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
},
computed: {
listNoDataText() {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/stepDetail.vue b/src/pages/processCenter/pages/creatProcess/qbfs/stepDetail.vue
index 21e7a5fdd..a61ba966a 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/stepDetail.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/stepDetail.vue
@@ -756,19 +756,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
+ }
},
computed: {
listNoDataText() {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step1-7.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step1-7.vue
index a165acbef..1aab62d48 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfz/step1-7.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfz/step1-7.vue
@@ -447,18 +447,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
index 9a59c20f2..672d41100 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
@@ -810,19 +810,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && 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 8ae1189b9..43e6fa471 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfz/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfz/step4.vue
@@ -448,18 +448,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step5.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step5.vue
index 58919b48d..eb65e7b48 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfz/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfz/step5.vue
@@ -478,18 +478,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step6.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step6.vue
index da472f3ef..89e699c28 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfz/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfz/step6.vue
@@ -476,18 +476,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue
index 5e5b20554..e45012b6b 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue
@@ -476,18 +476,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step1-2.vue b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step1-2.vue
index 49c8cf357..d56d47375 100644
--- a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step1-2.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step1-2.vue
@@ -33,12 +33,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -959,17 +953,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
- if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
- } else {
- this.$message.error('请选择要下载的文件')
- }
- }
- },
choiceLeader(){
this.workModel = true
},
diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue
index 79b565e5b..ae6d37c89 100644
--- a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue
@@ -33,12 +33,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -996,17 +990,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
- this.$message.error('水印下载仅支持PDF,pdf格式文件')
- } else {
- if (attId != null && attId !== '') {
- window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
- } else {
- this.$message.error('请选择要下载的文件')
- }
- }
- },
choiceLeader(){
this.workModel = true
},
diff --git a/src/pages/processCenter/pages/phone/bzqdfb/step4.vue b/src/pages/processCenter/pages/phone/bzqdfb/step4.vue
index 360f12f5f..75436910f 100644
--- a/src/pages/processCenter/pages/phone/bzqdfb/step4.vue
+++ b/src/pages/processCenter/pages/phone/bzqdfb/step4.vue
@@ -34,12 +34,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -385,18 +379,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
// 驳回事件
beforeBack() {
if(!this.commentText){
diff --git a/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue b/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue
index 7fa401832..ad5ac4a2a 100644
--- a/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue
+++ b/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue
@@ -86,12 +86,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -472,18 +466,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
//转办按钮
handleTransfer() {
this.phoneshowflag = true;
diff --git a/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue b/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue
index b40f6e246..1be4fd3b4 100644
--- a/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue
+++ b/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue
@@ -86,12 +86,6 @@
class="icon-download"
v-btn-permission="''"
/>
-
@@ -458,18 +452,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
//转办按钮
handleTransfer(){
this.phoneshowflag = true
diff --git a/src/pages/processCenter/pages/phone/qbfs/step5.vue b/src/pages/processCenter/pages/phone/qbfs/step5.vue
index 7019aa0ea..6fe93cb5f 100644
--- a/src/pages/processCenter/pages/phone/qbfs/step5.vue
+++ b/src/pages/processCenter/pages/phone/qbfs/step5.vue
@@ -779,19 +779,7 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
+ }
},
computed: {
listNoDataText() {
diff --git a/src/pages/processCenter/pages/phone/qbfz/step5.vue b/src/pages/processCenter/pages/phone/qbfz/step5.vue
index ada4237d9..2818ba22b 100644
--- a/src/pages/processCenter/pages/phone/qbfz/step5.vue
+++ b/src/pages/processCenter/pages/phone/qbfz/step5.vue
@@ -339,18 +339,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/phone/qbfz/step6.vue b/src/pages/processCenter/pages/phone/qbfz/step6.vue
index a2da67b4e..cc62aefce 100644
--- a/src/pages/processCenter/pages/phone/qbfz/step6.vue
+++ b/src/pages/processCenter/pages/phone/qbfz/step6.vue
@@ -333,18 +333,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/processCenter/pages/phone/qbfz/step7.vue b/src/pages/processCenter/pages/phone/qbfz/step7.vue
index da1b70ed8..ea608ebff 100644
--- a/src/pages/processCenter/pages/phone/qbfz/step7.vue
+++ b/src/pages/processCenter/pages/phone/qbfz/step7.vue
@@ -339,18 +339,6 @@ export default {
} else {
this.$message.error("请选择要下载的文件");
}
- },
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
}
},
computed: {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
index f90ad9a0d..310e75030 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
@@ -1080,18 +1080,6 @@ export default {
this.$message.error("请选择要下载的文件");
}
},
- downloadFileByWater(attId, fileSuffix) {
- let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
- if (fileExtension !== "pdf" && fileExtension !== "PDF") {
- this.$message.error("水印下载仅支持PDF,pdf格式文件");
- } else {
- if (attId != null && attId !== "") {
- window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
- } else {
- this.$message.error("请选择要下载的文件");
- }
- }
- },
//
changeState(row) {
let routeUrl = this.$router.resolve({