【关于附加综合意外伤害保险(乐享版)投保流程增加《个人信息使用授权》阅知勾选的申请】打断点alert

This commit is contained in:
li.yuetong
2022-09-01 10:42:36 +08:00
parent 58358bd2cd
commit 819b2db8f9

View File

@@ -91,6 +91,7 @@
<van-button type="danger" size="large" @click="submit" :disabled="isSubmit" v-no-more-click="1000">提交</van-button>
</div>
<div class="bottom-btn bg-white" v-else>
{{isPersonalInformation}}isPersonalInformation
<van-button type="danger" size="large" @click="next" :disabled="isDisabledComplite" v-no-more-click="1000">下一步</van-button>
</div>
</div>
@@ -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