mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 13:46:43 +08:00
【关于附加综合意外伤害保险(乐享版)投保流程增加《个人信息使用授权》阅知勾选的申请】看返回的数组中是否有documentCode为12
This commit is contained in:
@@ -171,7 +171,7 @@ export default {
|
|||||||
// chooseProductCodes: '',
|
// chooseProductCodes: '',
|
||||||
// pdf名字
|
// pdf名字
|
||||||
pdfName: '',
|
pdfName: '',
|
||||||
isPersonalInformation:'' // 0是 1否
|
isPersonalInformation:'' // -1不存在 0存在
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -433,7 +433,6 @@ export default {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
alert(this.isPersonalInformation,'this.isPersonalInformation')
|
|
||||||
saveInformation(data).then(res => {
|
saveInformation(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
@@ -480,7 +479,6 @@ export default {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(this.isPersonalInformation == '0'){
|
if(this.isPersonalInformation == '0'){
|
||||||
alert('this.isPersonalInformation')
|
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
@@ -493,7 +491,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
alert('this.signatureConfirmation')
|
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
@@ -925,13 +922,11 @@ export default {
|
|||||||
}
|
}
|
||||||
getOrderDetail(data).then(res => {
|
getOrderDetail(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
|
let array = []
|
||||||
res.orderDTO.ebizSignDTOS.map(item => {
|
res.orderDTO.ebizSignDTOS.map(item => {
|
||||||
if (item.documentCode == '12') {
|
array.push(item.documentCode)
|
||||||
this.isPersonalInformation = 0 // 0代表有code12
|
|
||||||
} else{
|
|
||||||
this.isPersonalInformation = 1 // 1代表无code12
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
this.isPersonalInformation = array.findIndex(item => item=== '12') //-1不存在 0存在
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (!this.isWeixin) {
|
if (!this.isWeixin) {
|
||||||
|
|||||||
Reference in New Issue
Block a user