mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 05:16:44 +08:00
【关于附加综合意外伤害保险(乐享版)投保流程增加《个人信息使用授权》阅知勾选的申请】订单详情判断是否有code12,《人身保险电子投保单》要不要跳转到《个人信息使用授权》
This commit is contained in:
@@ -1573,7 +1573,8 @@ export default {
|
||||
},
|
||||
//自定义key值排序用
|
||||
addKey(item) {
|
||||
//ducumentCode 1投保须知 2投保单 3产品说明书 4提示书 6免除保险人责任条款说明书 7保险销售行为双录说明 8指定保单生效日 9短期险投保须知 10国富人寿自保件承诺书
|
||||
//ducumentCode 1投保须知 2投保单 3产品说明书 4提示书 6免除保险人责任条款说明书 7保险销售行为双录说明
|
||||
// 8指定保单生效日 9短期险投保须知 10国富人寿自保件承诺书 11柳州保险行业寿险投保风险提示书
|
||||
if (item.documentCode == '1') {
|
||||
item.key = 2
|
||||
item.routePath = 'insuranceInformation'
|
||||
@@ -1606,7 +1607,7 @@ export default {
|
||||
item.routePath = 'InsuranceRiskReminder'
|
||||
} else if (item.documentCode == '12') {
|
||||
item.key = 10
|
||||
item.routePath = 'InsuranceRiskReminder'
|
||||
item.routePath = 'PersonalInformation'
|
||||
}
|
||||
},
|
||||
getSignInvalid() {
|
||||
|
||||
@@ -91,7 +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>
|
||||
<van-button type="danger" size="large" @click="next" :disabled="isDisabledComplite" v-no-more-click="1000">完成</van-button>
|
||||
<van-button type="danger" size="large" @click="next" :disabled="isDisabledComplite" v-no-more-click="1000">下一步</van-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -169,7 +169,8 @@ export default {
|
||||
// // 产品编码
|
||||
// chooseProductCodes: '',
|
||||
// pdf名字
|
||||
pdfName: ''
|
||||
pdfName: '',
|
||||
isPersonalInformation:'' // 0是 1否
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -294,6 +295,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 == '2') {
|
||||
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.policyUrl}`)
|
||||
this.pdfName = item.documentName
|
||||
@@ -433,44 +439,68 @@ export default {
|
||||
window.localStorage.setItem('jumpFromSign', '1')
|
||||
if (this.isWeixin) {
|
||||
localStorage.removeItem('signInfo')
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/PersonalInformation',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path:
|
||||
'/sale/PersonalInformation?orderNo=' +
|
||||
localStorage.orderNo +
|
||||
'&token=' +
|
||||
localStorage.token +
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow') +
|
||||
'&signInvalid=' +
|
||||
sessionStorage.getItem('signInvalid') +
|
||||
'&airSign=1'
|
||||
}
|
||||
})
|
||||
if(this.isPersonalInformation == '0'){
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/PersonalInformation',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path:
|
||||
'/sale/PersonalInformation?orderNo=' +
|
||||
localStorage.orderNo +
|
||||
'&token=' +
|
||||
localStorage.token +
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow') +
|
||||
'&signInvalid=' +
|
||||
sessionStorage.getItem('signInvalid') +
|
||||
'&airSign=1'
|
||||
}
|
||||
})
|
||||
}else{
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/signatureConfirmation'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/signatureConfirmation'
|
||||
}
|
||||
})
|
||||
}
|
||||
} else {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/PersonalInformation',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/PersonalInformation'
|
||||
}
|
||||
})
|
||||
if(this.isPersonalInformation == '0'){
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/PersonalInformation',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/PersonalInformation'
|
||||
}
|
||||
})
|
||||
}else{
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/signatureConfirmation'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/signatureConfirmation'
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
} else {
|
||||
that.$toast(res.resultMessage)
|
||||
@@ -504,44 +534,68 @@ export default {
|
||||
window.localStorage.setItem('jumpFromSign', '1')
|
||||
if (this.isWeixin) {
|
||||
localStorage.removeItem('signInfo')
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/PersonalInformation',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path:
|
||||
'/sale/PersonalInformation?orderNo=' +
|
||||
localStorage.orderNo +
|
||||
'&token=' +
|
||||
localStorage.token +
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow') +
|
||||
'&signInvalid=' +
|
||||
sessionStorage.getItem('signInvalid') +
|
||||
'&airSign=1'
|
||||
}
|
||||
})
|
||||
if(this.isPersonalInformation == '0'){
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/PersonalInformation',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path:
|
||||
'/sale/PersonalInformation?orderNo=' +
|
||||
localStorage.orderNo +
|
||||
'&token=' +
|
||||
localStorage.token +
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow') +
|
||||
'&signInvalid=' +
|
||||
sessionStorage.getItem('signInvalid') +
|
||||
'&airSign=1'
|
||||
}
|
||||
})
|
||||
}else{
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/signatureConfirmation'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/signatureConfirmation'
|
||||
}
|
||||
})
|
||||
}
|
||||
} else {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/PersonalInformation',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/PersonalInformation'
|
||||
}
|
||||
})
|
||||
if(this.isPersonalInformation == '0'){
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/PersonalInformation',
|
||||
pullRefresh: '1',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/PersonalInformation'
|
||||
}
|
||||
})
|
||||
}else{
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/signatureConfirmation'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/signatureConfirmation'
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
} else {
|
||||
that.$toast(res.resultMessage)
|
||||
|
||||
Reference in New Issue
Block a user