From e36b65e341e1d108a0730ae14564e12f645c9680 Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Thu, 11 Aug 2022 15:17:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E2=80=8556836=20=E3=80=90WELINK=E3=80=91=E8=B0=83=E7=A0=94?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=20=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9=20?= =?UTF-8?q?=E8=B0=83=E7=A0=94=E6=A8=A1=E6=9D=BF=E4=B8=8E=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E9=99=84=E4=BB=B6=20=E7=BC=BA=E5=B0=91=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E7=9A=84=E5=8A=9F=E8=83=BD,=20=E5=8F=8A=20PC?= =?UTF-8?q?=20=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzdy/step2.vue | 7 ++++++- .../pages/creatProcess/bzdy/step3.vue | 14 ++++++++++++-- .../pages/creatProcess/bzdy/step4.vue | 14 ++++++++++++-- .../pages/creatProcess/bzdy/step5.vue | 7 ++++++- .../pages/creatProcess/bzdy/step6.vue | 7 ++++++- .../pages/creatProcess/bzdy/step7.vue | 7 ++++++- .../pages/creatProcess/bzdy/step8.vue | 7 ++++++- .../pages/creatProcess/bzdy/step9.vue | 14 ++++++++++++-- src/pages/processCenter/pages/phone/bzdy/step2.vue | 7 ++++++- src/pages/processCenter/pages/phone/bzdy/step4.vue | 14 ++++++++++++-- src/pages/processCenter/pages/phone/bzdy/step6.vue | 7 ++++++- 11 files changed, 90 insertions(+), 15 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue index 5551e22fa..0e21d53a6 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue @@ -244,7 +244,12 @@ }, methods: { clickButtonToUpload(file) { - const attId = file.attId + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue index ce882650e..ddd97ecde 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue @@ -305,11 +305,21 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, clickButtonToUpload(file) { - const attId = file.attId + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step4.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step4.vue index 052047fe6..1d53aa114 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step4.vue @@ -280,11 +280,21 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, clickButtonToUpload(file) { - const attId = file.attId + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step5.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step5.vue index c218baeca..750bef845 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step5.vue @@ -287,7 +287,12 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step6.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step6.vue index 2c685fa21..0174a2240 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step6.vue @@ -282,7 +282,12 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step7.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step7.vue index 86cca5c41..cfe2cd975 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step7.vue @@ -281,7 +281,12 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step8.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step8.vue index 49a091725..3650118a3 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step8.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step8.vue @@ -282,7 +282,12 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step9.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step9.vue index e43f9e8ee..5eb671a22 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step9.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step9.vue @@ -316,11 +316,21 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, clickButtonToUpload(file) { - const attId = file.attId + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/phone/bzdy/step2.vue b/src/pages/processCenter/pages/phone/bzdy/step2.vue index 405de4a03..a2b8e317f 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step2.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step2.vue @@ -154,7 +154,12 @@ }, methods: { clickButtonToUpload(file) { - const attId = file.attId + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/phone/bzdy/step4.vue b/src/pages/processCenter/pages/phone/bzdy/step4.vue index 783eda5e4..42bbf50ef 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step4.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step4.vue @@ -168,11 +168,21 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, clickButtonToUpload(file) { - const attId = file.attId + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() { diff --git a/src/pages/processCenter/pages/phone/bzdy/step6.vue b/src/pages/processCenter/pages/phone/bzdy/step6.vue index 494a8d933..942ad9827 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step6.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step6.vue @@ -188,7 +188,12 @@ }, methods: { clickButtonToUpload2(file) { - const attId = file + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } this.$preview(attId) }, handleTransfer() {