- -
@@ -667,42 +666,8 @@ export default {
}
})
},
- downloadFile(fileType) {
- //文件id中出现了','字符,去除掉
- if (fileType === 'fbgbjbd') {
- if (this.fbgbjbdFileId.search(',')) {
- this.fbgbjbdFileId = this.fbgbjbdFileId.replace(",", "");
- }
- let attId = this.fbgbjbdFileId
- this.$preview(attId)
- } else if (fileType === 'xgd') {
- let attId = this.xgdFileId
- this.$preview(attId)
- } else if (fileType === 'bpg') {
- let attId = this.bpgFileId
- this.$preview(attId)
- } else if (fileType === 'ssg') {
- let attId = this.ssgFileId
- this.$preview(attId)
- } else if (fileType === 'zqyjg') {
- let attId = this.zqyjgFileId
- this.$preview(attId)
- } else if (fileType === 'jdwj') {
- let attId = this.jdwjFileId
- this.$preview(attId)
- } else if (fileType === 'kwj') {
- let attId = this.kwjFileId
- this.$preview(attId)
- } else if (fileType === 'glwj') {
- let attId = this.glwjFileId
- this.$preview(attId)
- } else if (fileType === 'ca') {
- let attId = this.caFileId
- this.$preview(attId)
- } else if (fileType === 'zbjbd') {
- let attId = this.zbjbdFileId
- this.$preview(attId)
- }
+ downloadFile(fileType,attId) {
+ this.$preview(attId)
},
getRule() {
if (this.formTongGuo.approvalOpinion === 0) {
@@ -848,7 +813,7 @@ export default {
this.defaultCheckedKeys3 = [this.form.dybxh]
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = this.form.standYear ? this.form.standYear : ''
- if (this.form.country) {
+ if (this.form.country && this.form.country.indexOf(",") != -1) {
this.form.country = this.form.country.split(",");
}
this.form.prcNum = this.prcNum
From fe3fae1ae5cb8a1a6dd380e3de9f7c729f88fd77 Mon Sep 17 00:00:00 2001
From: super_liu <396572590@qq.com>
Date: Sat, 14 May 2022 23:59:23 +0800
Subject: [PATCH 9/9] feat: There is no way the, bug #52768
---
.../pages/creatProcess/bzrk/step2.vue | 50 ++++++++++---------
.../pages/creatProcess/bzrk/step3.vue | 44 ++++++++--------
.../pages/creatProcess/bzrk/step5.vue | 50 ++++++++++---------
.../processCenter/pages/phone/bzrk/step2.vue | 4 +-
4 files changed, 77 insertions(+), 71 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
index 04d62c839..ea6779911 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
@@ -285,41 +285,40 @@
-
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
@@ -328,16 +327,16 @@
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
@@ -346,24 +345,24 @@
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
@@ -581,8 +580,8 @@
-
- {{ value.name }}
+
+ {{ value.name }}
- -
@@ -1032,6 +1031,9 @@ export default {
}
})
},
+ downloadFileNew(attId) {
+ this.$preview(attId)
+ },
downloadFile(fileType) {
//文件id中出现了','字符,去除掉
if (fileType === 'fbgbjbd') {
@@ -1198,7 +1200,7 @@ export default {
this.defaultCheckedKeys3 = [this.form.dybxh]
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = this.form.standYear ? this.form.standYear : ''
- if (this.form.country) {
+ if (this.form.country && this.form.country.indexOf(",") !== -1) {
this.form.country = this.form.country.split(",");
}
this.form.prcNum = this.prcNum
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue
index 70d86378e..d2a819423 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue
@@ -257,41 +257,40 @@
-
-
- {{value.name}}
+
+ {{ value.name }}
- -
-
- {{value.name}}
+
+ {{ value.name }}
- -
-
- {{value.name}}
+
+ {{ value.name }}
- -
-
- {{value.name}}
+
+ {{ value.name }}
- -
-
- {{value.name}}
+
+ {{ value.name }}
- -
@@ -300,8 +299,8 @@
-
- {{value.name}}
+
+ {{ value.name }}
- -
@@ -310,24 +309,24 @@
-
- {{value.name}}
+
+ {{ value.name }}
- -
-
- {{value.name}}
+
+ {{ value.name }}
- -
-
- {{value.name}}
+
+ {{ value.name }}
- -
@@ -542,8 +541,8 @@
-
- {{value.name}}
+
+ {{ value.name }}
- -
@@ -996,6 +995,9 @@ export default {
}
})
},
+ downloadFileNew(attId) {
+ this.$preview(attId)
+ },
downloadFile (fileType,fileId) {
if(fileType === 'fbgbjbd'){
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + fileId;
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue
index 56ea88033..fb3d05ead 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue
@@ -285,41 +285,40 @@
-
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
@@ -328,16 +327,16 @@
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
@@ -346,24 +345,24 @@
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
-
- {{ value.name }}
+
+ {{ value.name }}
- -
@@ -581,8 +580,8 @@
-
- {{ value.name }}
+
+ {{ value.name }}
- -
@@ -1004,6 +1003,9 @@ export default {
}
})
},
+ downloadFileNew(attId) {
+ this.$preview(attId)
+ },
downloadFile(fileType) {
//文件id中出现了','字符,去除掉
if (fileType === 'fbgbjbd') {
@@ -1170,7 +1172,7 @@ export default {
this.defaultCheckedKeys3 = [this.form.dybxh]
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = this.form.standYear ? this.form.standYear : ''
- if (this.form.country) {
+ if (this.form.country && this.form.country.indexOf(",") !== -1) {
this.form.country = this.form.country.split(",");
}
this.form.prcNum = this.prcNum
diff --git a/src/pages/processCenter/pages/phone/bzrk/step2.vue b/src/pages/processCenter/pages/phone/bzrk/step2.vue
index 4c88993ae..16c57b4e2 100644
--- a/src/pages/processCenter/pages/phone/bzrk/step2.vue
+++ b/src/pages/processCenter/pages/phone/bzrk/step2.vue
@@ -377,7 +377,7 @@
- {{ item.name }}
+ {{ value.name }}
- -
@@ -813,7 +813,7 @@ export default {
this.defaultCheckedKeys3 = [this.form.dybxh]
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = this.form.standYear ? this.form.standYear : ''
- if (this.form.country && this.form.country.indexOf(",") != -1) {
+ if (this.form.country && this.form.country.indexOf(",") !== -1) {
this.form.country = this.form.country.split(",");
}
this.form.prcNum = this.prcNum