From b51127d0c62eaa3ae7f44419f137550efde06f15 Mon Sep 17 00:00:00 2001
From: zhangjun
Date: Thu, 22 Sep 2022 10:17:55 +0800
Subject: [PATCH 01/13] =?UTF-8?q?=20=E9=A1=B9=E7=9B=AE=E8=AF=84=E4=BC=B0?=
=?UTF-8?q?=E6=B5=81=E7=A8=8B=EF=BC=8C=E6=95=B4=E6=94=B9=E5=BA=93=EF=BC=8C?=
=?UTF-8?q?=E5=90=88=E8=A7=84=E8=AF=84=E4=BC=B0=E5=BA=93=EF=BC=8C=E6=94=B9?=
=?UTF-8?q?=E5=AD=97=EF=BC=8C=E4=B8=8D=E5=90=88=E8=A7=84=E9=A1=B9=E7=9B=AE?=
=?UTF-8?q?=E6=94=B9=E6=88=90=E4=B8=8D=E5=90=88=E8=A7=84=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/details/complianceDetails/index.vue | 2 +-
.../processCenter/pages/creatProcess/bzpg/step5.vue | 8 ++++----
.../processCenter/pages/creatProcess/xmpg/step3.vue | 8 ++++----
.../processCenter/pages/creatProcess/xmpg2/step6.vue | 12 ++++++------
.../nonConfomity/pages/rectificationDatabase.vue | 4 ++--
src/pages/searchCenter/pages/standardSearch.vue | 3 +++
6 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/src/pages/details/complianceDetails/index.vue b/src/pages/details/complianceDetails/index.vue
index 47b4d66dd..f8add1ece 100644
--- a/src/pages/details/complianceDetails/index.vue
+++ b/src/pages/details/complianceDetails/index.vue
@@ -22,7 +22,7 @@
diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue
index fcbc02427..5e65ecf6a 100644
--- a/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzpg/step5.vue
@@ -266,14 +266,14 @@
v-if="dataList[scope.$index].complianceReasons && dataList[scope.$index].complianceReasons.length>0"
disabled
v-model="dataList[scope.$index].noCompliance"
- placeholder="请输入不合规项目"
+ placeholder="请输入不合规项"
>
@@ -475,14 +475,14 @@
v-if="batchEditForm.complianceReasons && batchEditForm.complianceReasons.length>0"
disabled
v-model="batchEditForm.noCompliance"
- placeholder="请输入不合规项目"
+ placeholder="请输入不合规项"
>
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
index e6c2483d2..2c76c5d4c 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
@@ -172,7 +172,7 @@
|| scope.row.remarks && scope.row.remarks.length>0"
disabled
v-model="scope.row.noCompliance"
- placeholder="请输入不合规项目"
+ placeholder="请输入不合规项"
>
@@ -412,14 +412,14 @@
|| batchEditForm.remarks && batchEditForm.remarks.length>0"
disabled
v-model="batchEditForm.noCompliance"
- placeholder="请输入不合规项目"
+ placeholder="请输入不合规项"
>
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue
index 9e6ff64b5..aaba103e5 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue
@@ -154,20 +154,20 @@
prop="researchNonCompliance"
align="center"
width="170"
- label="不合规项目">
+ label="不合规项">
@@ -363,19 +363,19 @@
>
-
+
diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
index fe78b5fa0..f3f6bee93 100644
--- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
+++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
@@ -486,7 +486,7 @@
class="add-form-item">
Date: Thu, 22 Sep 2022 10:49:22 +0800
Subject: [PATCH 02/13] =?UTF-8?q?=E6=A0=87=E5=87=86=E8=AF=A6=E6=83=85?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=9F=A5=E7=9C=8B=E5=88=86=E8=A7=A3?=
=?UTF-8?q?=E5=8D=95=E9=9A=90=E8=97=8F=E4=BF=A9=E5=AD=97=E6=AE=B5-?=
=?UTF-8?q?=E7=AC=A6=E5=90=88=E6=80=A7=E7=8A=B6=E6=80=81=EF=BC=8C=E5=90=88?=
=?UTF-8?q?=E8=A7=84=E6=80=A7=E5=88=86=E6=9E=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../details/otherStandardDetails/index.vue | 86 +++++++++----------
1 file changed, 43 insertions(+), 43 deletions(-)
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index 7d031c6eb..fcc04da01 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -898,20 +898,20 @@
label="责任工程师"
width="100">
-
-
- {{ scope.row.complianceRequire ? (scope.row.complianceRequire === '1' ? '是' : '否') : '-' }}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1082,24 +1082,24 @@
-
-
- 符合
- 不符合
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- {{ standShowItemEO.complianceRequire ? (standShowItemEO.complianceRequire === '1' ? '是' : '否') : '-' }}
-
+
+
+
+
+
-
+
-
-
-
- {{ standShowItemEO.complianceState }}
-
+
+
+
+
+
From 156746f7f4d14dc1283f5b28c5ad85f484533e17 Mon Sep 17 00:00:00 2001
From: zhangjun
Date: Thu, 22 Sep 2022 14:53:54 +0800
Subject: [PATCH 03/13] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AF=84=E4=BC=B0?=
=?UTF-8?q?=E6=B5=81=E7=A8=8B=EF=BC=8C=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9?=
=?UTF-8?q?=EF=BC=8C=E6=A0=87=E5=87=86=E5=8F=B7=E4=B8=80=E6=A0=B7=E7=9A=84?=
=?UTF-8?q?=E6=94=BE=E5=9C=A8=E4=B8=80=E8=B5=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/xmpg/step5.vue | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
index a5d1b92c9..247b9d985 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
@@ -451,6 +451,36 @@ export default {
this.listForm.prcName = this.prcName;
this.listForm["id"] = item.id;
this.dataList = item.dataList;
+ let titleList = [];
+ let ordelTitleList = [];
+
+ this.dataList.forEach(data=>{
+ data.title = data.standSort + data.standNumber + data.standYear
+ let isReal = ""
+ // if (titleList !== []){
+ titleList.forEach(tl => {
+ if (tl === data.title){
+ isReal = data.title
+ }
+ })
+ // }
+ if (isReal === ""){
+ titleList.push(data.title);
+ }
+ })
+ console.log(titleList,"titleList!!!!")
+ console.log(this.dataList,"dataList 进入方法前 !!!!")
+ titleList.forEach(tl => {
+ this.dataList.forEach(data=>{
+ if (data.title === tl){
+ console.log(data.title,"方法中的title !!!!")
+ ordelTitleList.push(data)
+ }
+ })
+ })
+ this.dataList = ordelTitleList
+
+
this.dataList.forEach(item =>{
if(item.children){
item.children.forEach(items =>{
From 64332d61a012ee81c41690e2953411d6b560a71d Mon Sep 17 00:00:00 2001
From: zhangjun
Date: Thu, 22 Sep 2022 15:12:59 +0800
Subject: [PATCH 04/13] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AF=84=E4=BC=B0?=
=?UTF-8?q?=E6=B5=81=E7=A8=8B=EF=BC=8C=E6=95=B4=E6=94=B9=E5=BA=93=EF=BC=8C?=
=?UTF-8?q?=E5=90=88=E8=A7=84=E8=AF=84=E4=BC=B0=E5=BA=93=EF=BC=8C=E6=94=B9?=
=?UTF-8?q?=E5=AD=97=EF=BC=8C=E4=B8=8D=E5=90=88=E8=A7=84=E9=A1=B9=E7=9B=AE?=
=?UTF-8?q?=E6=94=B9=E6=88=90=E4=B8=8D=E5=90=88=E8=A7=84=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/processCenter/pages/creatProcess/xmpg/step1-5.vue | 2 +-
src/pages/processCenter/pages/creatProcess/xmpg/step3.vue | 4 ++--
src/pages/processCenter/pages/creatProcess/xmpg/step4.vue | 2 +-
src/pages/processCenter/pages/creatProcess/xmpg/step5.vue | 2 +-
.../processCenter/pages/creatProcess/xmpg2/step1-12.vue | 2 +-
src/pages/processCenter/pages/creatProcess/xmpg2/step10.vue | 2 +-
src/pages/processCenter/pages/creatProcess/xmpg2/step11.vue | 2 +-
src/pages/processCenter/pages/creatProcess/xmpg2/step12.vue | 2 +-
src/pages/processCenter/pages/creatProcess/xmpg2/step7.vue | 2 +-
src/pages/processCenter/pages/creatProcess/xmpg2/step8.vue | 2 +-
src/pages/processCenter/pages/creatProcess/xmpg2/step9.vue | 2 +-
.../nonConfomity/pages/rectificationDatabase.vue | 6 +++---
12 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1-5.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1-5.vue
index 8b2a545fa..a60a60f12 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1-5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1-5.vue
@@ -131,7 +131,7 @@
prop="noCompliance"
align="center"
width="170"
- label="不合规项目">
+ label="不合规项">
+ label="不合规项">
+
+ label="不合规项">
+ label="不合规项">
+ label="不合规项">
+ label="不合规项">
+ label="不合规项">
+ label="不合规项">
+ label="不合规项">
+ label="不合规项">
+ label="不合规项">
+ label="不合规项">
{{ historySeeForm.productName }}
-
+
{{ historySeeForm.reason }}
@@ -482,7 +482,7 @@
-
Date: Thu, 22 Sep 2022 19:58:30 +0800
Subject: [PATCH 05/13] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E6=B5=81=E7=A8=8B?=
=?UTF-8?q?=E5=90=8D=E7=A7=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/bzdy/step2.vue | 16 ++++++++--------
.../pages/creatProcess/bzdy/step3.vue | 16 ++++++++--------
.../pages/creatProcess/bzdy/step4.vue | 16 ++++++++--------
.../pages/creatProcess/bzdy/step5.vue | 16 ++++++++--------
.../pages/creatProcess/bzdy/step6.vue | 16 ++++++++--------
.../pages/creatProcess/bzdy/step7.vue | 16 ++++++++--------
.../pages/creatProcess/bzdy/step8.vue | 16 ++++++++--------
.../pages/creatProcess/bzdy/step9.vue | 16 ++++++++--------
8 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
index 0e21d53a6..82015cf43 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
@@ -25,14 +25,14 @@
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
Date: Thu, 22 Sep 2022 20:36:12 +0800
Subject: [PATCH 06/13] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=80=82=E7=94=A8?=
=?UTF-8?q?=E8=AE=A4=E8=AF=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/xmqdqr/step1.vue | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
index 12ffac89e..c001cbe61 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
@@ -423,6 +423,21 @@
+
+
+
+
+
+
{
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
+ this.syzdSelect = res.data.SYRZCLASS; //认证类型
this.setMap(res.data.WBZTCLASS);// 文本状态
this.setMap(res.data.TEXTSTATUSBUSS);//企标文本状态
this.textState = res.data.WBZTCLASS // 文本状态
From 63098c8fcfaaf1d5b22e3cf554b0248c6eaba56d Mon Sep 17 00:00:00 2001
From: zyd
Date: Thu, 22 Sep 2022 22:20:07 +0800
Subject: [PATCH 07/13] =?UTF-8?q?fix:=20=E5=BE=81=E6=B1=82=E6=84=8F?=
=?UTF-8?q?=E8=A7=81=E5=A1=AB=E5=86=99=E6=84=8F=E8=A7=81=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=96=87=E4=BB=B6=E6=9C=BA=E5=88=B6=E6=9B=B4?=
=?UTF-8?q?=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 08/13] =?UTF-8?q?fix:=20=E6=A0=87=E5=87=86=E8=B0=83?=
=?UTF-8?q?=E7=A0=94=E6=B5=81=E7=A8=8B=E7=AC=AC=E4=B8=89=E6=AD=A5=E5=8E=BB?=
=?UTF-8?q?=E6=8E=89=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 09/13] =?UTF-8?q?fix:=20=E9=A1=B9=E7=9B=AE=E6=B8=85?=
=?UTF-8?q?=E5=8D=95=E7=A1=AE=E8=AE=A4=E6=B5=81=E7=A8=8B=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E4=BC=81=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 10/13] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B8=A6?=
=?UTF-8?q?=E6=B0=B4=E5=8D=B0=E4=B8=8B=E8=BD=BD=E5=8A=9F=E8=83=BD=EF=BC=8C?=
=?UTF-8?q?=E6=AD=A4=E5=A4=84=E5=B0=86=E6=97=A0=E9=9C=80=E5=B8=A6=E6=B0=B4?=
=?UTF-8?q?=E5=8D=B0=E4=B8=8B=E8=BD=BD=E7=9A=84=E5=8A=9F=E8=83=BD=E8=BF=9B?=
=?UTF-8?q?=E8=A1=8C=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({
From 97ff3630f3606cbe07861dacd3abe3ec7dc45f19 Mon Sep 17 00:00:00 2001
From: zhangjun <879913833@qq.com>
Date: Fri, 23 Sep 2022 14:36:57 +0800
Subject: [PATCH 11/13] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84?=
=?UTF-8?q?=E9=AB=98=E7=BA=A7=E7=BB=8F=E7=90=86=E6=89=93=E5=9B=9E=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=E5=85=B6=E4=BB=96=E9=97=AE=E9=A2=98=EF=BC=8C=E5=A4=8D?=
=?UTF-8?q?=E5=AE=A1=E5=92=8C=E9=AB=98=E7=BA=A7=E6=B3=95=E8=A7=84=E9=AB=98?=
=?UTF-8?q?=E7=BA=A7=E7=BB=8F=E7=90=86=E5=AE=A1=E6=A0=B8=E8=8A=82=E7=82=B9?=
=?UTF-8?q?=E8=AF=84=E5=88=86=E5=BA=94=E8=AF=A5=E5=8F=AF=E4=BB=A5=E7=BC=96?=
=?UTF-8?q?=E8=BE=91=EF=BC=8C=E7=8E=B0=E5=9C=A8=E7=BD=AE=E7=81=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/processCenter/pages/creatProcess/qbrk/step7.vue | 6 ++++--
src/pages/processCenter/pages/creatProcess/qbrk/step9.vue | 6 ++++--
src/sysConfig/index.js | 8 ++++++--
3 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step7.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step7.vue
index d3f938922..5ffbb93b8 100644
--- a/src/pages/processCenter/pages/creatProcess/qbrk/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbrk/step7.vue
@@ -82,7 +82,8 @@
-
+
+
@@ -105,7 +106,8 @@
-
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step9.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step9.vue
index 9b110521f..69e207330 100644
--- a/src/pages/processCenter/pages/creatProcess/qbrk/step9.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbrk/step9.vue
@@ -91,7 +91,8 @@
-
+
+
@@ -114,7 +115,8 @@
-
+
+
diff --git a/src/sysConfig/index.js b/src/sysConfig/index.js
index 48d017c3e..77ced8882 100644
--- a/src/sysConfig/index.js
+++ b/src/sysConfig/index.js
@@ -10,8 +10,10 @@
// const devInterfacePORT = '9999'
// const devIp = 'localhost'
// const devInterfacePORT = '10086'
-const devIp = '39.98.140.126'
-const devInterfacePORT = '4201'
+// const devIp = '39.98.140.126'
+// const devInterfacePORT = '4201'
+const devIp = 'localhost'
+const devInterfacePORT = '10086'
// const devIp = '62.234.136.153'
// const devInterfacePORT = '8033'
// 配置 idm 认证
@@ -48,6 +50,8 @@ const processPort = '17210'
// 生产环境配置
const prodIp = '39.98.140.126'
const prodInterfacePORT = '4201'
+// const prodIp = 'localhost'
+// const prodInterfacePORT = '10086'
// const prodIp = 'slrs.foton.com.cn'
// const prodInterfacePORT = ''
From 00a54ca2c9cc2381b0b071a90fce8ed64813cd82 Mon Sep 17 00:00:00 2001
From: zhangjun <879913833@qq.com>
Date: Fri, 23 Sep 2022 17:14:43 +0800
Subject: [PATCH 12/13] =?UTF-8?q?=E5=88=B6=E4=BF=AE=E8=AE=A2=E6=B5=81?=
=?UTF-8?q?=E7=A8=8B=EF=BC=8C=E5=88=B6=E5=AE=9A=E7=9A=84=EF=BC=8C=E4=BB=A3?=
=?UTF-8?q?=E6=9B=BF=E6=A0=87=E5=87=86=E5=8F=B7=E6=94=B9=E6=88=90=E9=9D=9E?=
=?UTF-8?q?=E5=BF=85=E5=A1=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/processCenter/pages/creatProcess/qbrk/step13.vue | 6 +++---
src/pages/processCenter/pages/creatProcess/qbrk/step6.vue | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue
index cd94b7a5b..1f7099b5c 100644
--- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue
@@ -1071,9 +1071,9 @@
QCRBUSS: [
{ required: true, message: '请选择起草人', trigger: 'change' }
],
- DTQBBHBUSS: [
- { required: true, message: '请选择代替企标编号', trigger: 'change' }
- ],
+ // DTQBBHBUSS: [
+ // { required: true, message: '请选择代替企标编号', trigger: 'change' }
+ // ],
},
zrUserIds: [], // 选择多个会签责任人
userType:'', // 选择用户ID判断
diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue
index 31617d72c..1ac758a7a 100644
--- a/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbrk/step6.vue
@@ -1334,9 +1334,9 @@
QCRBUSS: [
{ required: true, message: '请选择起草人', trigger: 'change' }
],
- DTQBBHBUSS: [
- { required: true, message: '请选择代替企标编号', trigger: 'change' }
- ],
+ // DTQBBHBUSS: [
+ // { required: true, message: '请选择代替企标编号', trigger: 'change' }
+ // ],
},
zrUserIds: [], // 选择多个会签责任人
userType:'', // 选择用户ID判断
From 1ccd4f9cfd223f87932ff4ee1712b22e1c138cd5 Mon Sep 17 00:00:00 2001
From: zhangyanduan
Date: Fri, 23 Sep 2022 17:36:14 +0800
Subject: [PATCH 13/13] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E9=A1=B5=E9=9D=A2B?=
=?UTF-8?q?UG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/details/otherStandardDetails/index.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index b2fe3f23b..5b5806656 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -1100,12 +1100,12 @@
-
-
+
+
+
+
+
+