mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 05:06:43 +08:00
【关于附加综合意外伤害保险(乐享版)投保流程增加《个人信息使用授权》阅知勾选的申请】订单详情判断是否有code12,《人身保险电子投保单》要不要跳转到《个人信息使用授权》
This commit is contained in:
@@ -1573,7 +1573,8 @@ export default {
|
|||||||
},
|
},
|
||||||
//自定义key值排序用
|
//自定义key值排序用
|
||||||
addKey(item) {
|
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') {
|
if (item.documentCode == '1') {
|
||||||
item.key = 2
|
item.key = 2
|
||||||
item.routePath = 'insuranceInformation'
|
item.routePath = 'insuranceInformation'
|
||||||
@@ -1606,7 +1607,7 @@ export default {
|
|||||||
item.routePath = 'InsuranceRiskReminder'
|
item.routePath = 'InsuranceRiskReminder'
|
||||||
} else if (item.documentCode == '12') {
|
} else if (item.documentCode == '12') {
|
||||||
item.key = 10
|
item.key = 10
|
||||||
item.routePath = 'InsuranceRiskReminder'
|
item.routePath = 'PersonalInformation'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getSignInvalid() {
|
getSignInvalid() {
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
<van-button type="danger" size="large" @click="submit" :disabled="isSubmit" v-no-more-click="1000">提交</van-button>
|
<van-button type="danger" size="large" @click="submit" :disabled="isSubmit" v-no-more-click="1000">提交</van-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom-btn bg-white" v-else>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -169,7 +169,8 @@ export default {
|
|||||||
// // 产品编码
|
// // 产品编码
|
||||||
// chooseProductCodes: '',
|
// chooseProductCodes: '',
|
||||||
// pdf名字
|
// pdf名字
|
||||||
pdfName: ''
|
pdfName: '',
|
||||||
|
isPersonalInformation:'' // 0是 1否
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -294,6 +295,11 @@ export default {
|
|||||||
getOrderDetail(data).then(res => {
|
getOrderDetail(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
res.orderDTO.ebizSignDTOS.map(item => {
|
res.orderDTO.ebizSignDTOS.map(item => {
|
||||||
|
if (item.documentCode == '12') {
|
||||||
|
this.isPersonalInformation = 0 // 0代表有code12
|
||||||
|
} else{
|
||||||
|
this.isPersonalInformation = 1 // 1代表无code12
|
||||||
|
}
|
||||||
if (item.documentCode == '2') {
|
if (item.documentCode == '2') {
|
||||||
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.policyUrl}`)
|
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.policyUrl}`)
|
||||||
this.pdfName = item.documentName
|
this.pdfName = item.documentName
|
||||||
@@ -433,44 +439,68 @@ export default {
|
|||||||
window.localStorage.setItem('jumpFromSign', '1')
|
window.localStorage.setItem('jumpFromSign', '1')
|
||||||
if (this.isWeixin) {
|
if (this.isWeixin) {
|
||||||
localStorage.removeItem('signInfo')
|
localStorage.removeItem('signInfo')
|
||||||
this.$jump({
|
if(this.isPersonalInformation == '0'){
|
||||||
flag: 'h5',
|
this.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/sale/PersonalInformation',
|
extra: {
|
||||||
pullRefresh: '1',
|
url: location.origin + '/#/sale/PersonalInformation',
|
||||||
backToFirst: '1'
|
pullRefresh: '1',
|
||||||
},
|
backToFirst: '1'
|
||||||
routerInfo: {
|
},
|
||||||
path:
|
routerInfo: {
|
||||||
'/sale/PersonalInformation?orderNo=' +
|
path:
|
||||||
localStorage.orderNo +
|
'/sale/PersonalInformation?orderNo=' +
|
||||||
'&token=' +
|
localStorage.orderNo +
|
||||||
localStorage.token +
|
'&token=' +
|
||||||
'&saleInsuredInfo=' +
|
localStorage.token +
|
||||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
'&saleInsuredInfo=' +
|
||||||
'&saleInsuredPersonInfo=' +
|
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
'&saleInsuredPersonInfo=' +
|
||||||
'&relationToAppnt=' +
|
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
'&relationToAppnt=' +
|
||||||
'&attachmentShow=' +
|
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||||
window.localStorage.getItem('attachmentShow') +
|
'&attachmentShow=' +
|
||||||
'&signInvalid=' +
|
window.localStorage.getItem('attachmentShow') +
|
||||||
sessionStorage.getItem('signInvalid') +
|
'&signInvalid=' +
|
||||||
'&airSign=1'
|
sessionStorage.getItem('signInvalid') +
|
||||||
}
|
'&airSign=1'
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
this.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/signatureConfirmation'
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/signatureConfirmation'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$jump({
|
if(this.isPersonalInformation == '0'){
|
||||||
flag: 'h5',
|
this.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/sale/PersonalInformation',
|
extra: {
|
||||||
pullRefresh: '1',
|
url: location.origin + '/#/sale/PersonalInformation',
|
||||||
backToFirst: '1'
|
pullRefresh: '1',
|
||||||
},
|
backToFirst: '1'
|
||||||
routerInfo: {
|
},
|
||||||
path: '/sale/PersonalInformation'
|
routerInfo: {
|
||||||
}
|
path: '/sale/PersonalInformation'
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
this.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/signatureConfirmation'
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/signatureConfirmation'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
that.$toast(res.resultMessage)
|
that.$toast(res.resultMessage)
|
||||||
@@ -504,44 +534,68 @@ export default {
|
|||||||
window.localStorage.setItem('jumpFromSign', '1')
|
window.localStorage.setItem('jumpFromSign', '1')
|
||||||
if (this.isWeixin) {
|
if (this.isWeixin) {
|
||||||
localStorage.removeItem('signInfo')
|
localStorage.removeItem('signInfo')
|
||||||
this.$jump({
|
if(this.isPersonalInformation == '0'){
|
||||||
flag: 'h5',
|
this.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/sale/PersonalInformation',
|
extra: {
|
||||||
pullRefresh: '1',
|
url: location.origin + '/#/sale/PersonalInformation',
|
||||||
backToFirst: '1'
|
pullRefresh: '1',
|
||||||
},
|
backToFirst: '1'
|
||||||
routerInfo: {
|
},
|
||||||
path:
|
routerInfo: {
|
||||||
'/sale/PersonalInformation?orderNo=' +
|
path:
|
||||||
localStorage.orderNo +
|
'/sale/PersonalInformation?orderNo=' +
|
||||||
'&token=' +
|
localStorage.orderNo +
|
||||||
localStorage.token +
|
'&token=' +
|
||||||
'&saleInsuredInfo=' +
|
localStorage.token +
|
||||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
'&saleInsuredInfo=' +
|
||||||
'&saleInsuredPersonInfo=' +
|
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
'&saleInsuredPersonInfo=' +
|
||||||
'&relationToAppnt=' +
|
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
'&relationToAppnt=' +
|
||||||
'&attachmentShow=' +
|
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||||
window.localStorage.getItem('attachmentShow') +
|
'&attachmentShow=' +
|
||||||
'&signInvalid=' +
|
window.localStorage.getItem('attachmentShow') +
|
||||||
sessionStorage.getItem('signInvalid') +
|
'&signInvalid=' +
|
||||||
'&airSign=1'
|
sessionStorage.getItem('signInvalid') +
|
||||||
}
|
'&airSign=1'
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
this.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/signatureConfirmation'
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/signatureConfirmation'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$jump({
|
if(this.isPersonalInformation == '0'){
|
||||||
flag: 'h5',
|
this.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/sale/PersonalInformation',
|
extra: {
|
||||||
pullRefresh: '1',
|
url: location.origin + '/#/sale/PersonalInformation',
|
||||||
backToFirst: '1'
|
pullRefresh: '1',
|
||||||
},
|
backToFirst: '1'
|
||||||
routerInfo: {
|
},
|
||||||
path: '/sale/PersonalInformation'
|
routerInfo: {
|
||||||
}
|
path: '/sale/PersonalInformation'
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
this.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/signatureConfirmation'
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/signatureConfirmation'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
that.$toast(res.resultMessage)
|
that.$toast(res.resultMessage)
|
||||||
|
|||||||
Reference in New Issue
Block a user