From 819b2db8f9e0a7390a86fb45748df454dce12963 Mon Sep 17 00:00:00 2001
From: "li.yuetong"
Date: Thu, 1 Sep 2022 10:42:36 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=B3=E4=BA=8E=E9=99=84=E5=8A=A0?=
=?UTF-8?q?=E7=BB=BC=E5=90=88=E6=84=8F=E5=A4=96=E4=BC=A4=E5=AE=B3=E4=BF=9D?=
=?UTF-8?q?=E9=99=A9=EF=BC=88=E4=B9=90=E4=BA=AB=E7=89=88=EF=BC=89=E6=8A=95?=
=?UTF-8?q?=E4=BF=9D=E6=B5=81=E7=A8=8B=E5=A2=9E=E5=8A=A0=E3=80=8A=E4=B8=AA?=
=?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E4=BD=BF=E7=94=A8=E6=8E=88=E6=9D=83?=
=?UTF-8?q?=E3=80=8B=E9=98=85=E7=9F=A5=E5=8B=BE=E9=80=89=E7=9A=84=E7=94=B3?=
=?UTF-8?q?=E8=AF=B7=E3=80=91=E6=89=93=E6=96=AD=E7=82=B9alert?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/sale/SignatureOfElectronic.vue | 29 +++++++++++++++----
1 file changed, 23 insertions(+), 6 deletions(-)
diff --git a/src/views/ebiz/sale/SignatureOfElectronic.vue b/src/views/ebiz/sale/SignatureOfElectronic.vue
index 29b340d0e..cd34bbcfa 100644
--- a/src/views/ebiz/sale/SignatureOfElectronic.vue
+++ b/src/views/ebiz/sale/SignatureOfElectronic.vue
@@ -91,6 +91,7 @@
提交
+ {{isPersonalInformation}}isPersonalInformation
下一步
@@ -295,11 +296,11 @@ export default {
getOrderDetail(data).then(res => {
if (res.result == '0') {
res.orderDTO.ebizSignDTOS.map(item => {
- if (item.documentCode == '12') {
- this.isPersonalInformation = 0 // 0代表有code12
- } else{
- this.isPersonalInformation = 1 // 1代表无code12
- }
+ // if (item.documentCode == '12') {
+ // this.isPersonalInformation = 0 // 0代表有code12
+ // } else{
+ // this.isPersonalInformation = 1 // 1代表无code12
+ // }
if (item.documentCode == '2') {
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.policyUrl}`)
this.pdfName = item.documentName
@@ -432,7 +433,7 @@ export default {
]
}
}
-
+ alert(this.isPersonalInformation,'this.isPersonalInformation')
saveInformation(data).then(res => {
if (res.result == '0') {
this.$toast.clear()
@@ -479,6 +480,7 @@ export default {
}
} else {
if(this.isPersonalInformation == '0'){
+ alert('this.isPersonalInformation')
this.$jump({
flag: 'h5',
extra: {
@@ -491,6 +493,7 @@ export default {
}
})
}else{
+ alert('this.signatureConfirmation')
this.$jump({
flag: 'h5',
extra: {
@@ -917,6 +920,20 @@ export default {
}
},
async created() {
+ let data = {
+ orderNo: window.localStorage.getItem('orderNo')
+ }
+ getOrderDetail(data).then(res => {
+ if (res.result == '0') {
+ res.orderDTO.ebizSignDTOS.map(item => {
+ if (item.documentCode == '12') {
+ this.isPersonalInformation = 0 // 0代表有code12
+ } else{
+ this.isPersonalInformation = 1 // 1代表无code12
+ }
+ })
+ }
+ })
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef