mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 00:36:43 +08:00
修改告知项
This commit is contained in:
@@ -31,8 +31,8 @@ service.interceptors.request.use(
|
||||
})
|
||||
}
|
||||
|
||||
config.headers['token'] = window.localStorage.getItem('token')
|
||||
// config.headers['token'] = `507e5ff426364e95b22cd4c1e22f427f`
|
||||
// config.headers['token'] = window.localStorage.getItem('token')
|
||||
config.headers['token'] = `507e5ff426364e95b22cd4c1e22f427f`
|
||||
return config
|
||||
},
|
||||
error => {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="notifyingMessage-container">
|
||||
<div class="pb50">
|
||||
|
||||
<div class="pt20 pb20 pr10 bg-white flex justify-content-s align-items-c allFalse">
|
||||
<span class="pl10">告知项目</span>
|
||||
<div @click="allFalse" class="pr10">
|
||||
@@ -15,14 +16,10 @@
|
||||
<!--投保人 0 1 被保人 2 3 -->
|
||||
{{impartTypeNumber[im.impartType]}}
|
||||
<span
|
||||
class="ml150"
|
||||
class="ml100"
|
||||
>{{ (im.impartType == 0||im.impartType == 1) ? saleInsuredInfo.name : saleInsuredPersonInfo.name }}</span>
|
||||
<img :src="$assetsUrl + 'images/avatar.png'" class="w20 ml15" />
|
||||
</div>
|
||||
<!-- <div class="h50">
|
||||
<img />
|
||||
<span>请如实填写问题中的每一项情况,并对出现“是”的情况载体是框列举说明</span>
|
||||
</div>-->
|
||||
<div class="h50 mt10 flex align-items-c notifyingMessage-text">
|
||||
<div class="ml15 w315 h35 flex">
|
||||
<!-- <img :src="$assetsUrl + 'images/notifiy.png'" class="w18 h18 " /> -->
|
||||
@@ -97,15 +94,15 @@ export default {
|
||||
isDisabled: false,
|
||||
impartTypeNumber: {
|
||||
'0': '投保人健康告知',
|
||||
'1': '投保人财富告知',
|
||||
'1': '投保人财务告知',
|
||||
'2': '被保人健康告知',
|
||||
'3': '被保人财富告知'
|
||||
'3': '被保人财务告知'
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
|
||||
// getOrderDetail({ orderNo: `8186270000000036` }).then(res => {
|
||||
// getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
|
||||
getOrderDetail({ orderNo: `8186270000000036` }).then(res => {
|
||||
if (res.result == 0) {
|
||||
//投被保人关系
|
||||
this.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt
|
||||
@@ -125,7 +122,8 @@ export default {
|
||||
// 一键全否
|
||||
allFalse() {
|
||||
let that = this
|
||||
// alert('1')
|
||||
|
||||
// alert('1')impartDTOS
|
||||
that.impartDTOS.map(it => {
|
||||
it.impartItemDTOS.map(itm => {
|
||||
itm.impartAnswer = '1'
|
||||
@@ -136,8 +134,7 @@ export default {
|
||||
},
|
||||
// 单选改变时候
|
||||
change(item, val) {
|
||||
console.log(item)
|
||||
console.log(val)
|
||||
|
||||
let that = this
|
||||
if (val == '0') {
|
||||
that.impartDTOS.map(it => {
|
||||
@@ -202,6 +199,9 @@ export default {
|
||||
that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
||||
this.activeNames.push(res.productImpartLstDTO.impartDTOS.length)
|
||||
}
|
||||
this.impartDTOS.sort(function(a,b){
|
||||
return a.impartType-b.impartType;
|
||||
});
|
||||
// that.impartDTOS = res.productImpartLstDTO.impartDTOS
|
||||
}
|
||||
})
|
||||
@@ -235,6 +235,7 @@ export default {
|
||||
return financeImpartDTO
|
||||
}else if(item.impartType =='2'){
|
||||
// 被保人健康
|
||||
|
||||
item.impartItemDTOS.map(i => {
|
||||
delete i.extra2
|
||||
delete i.show
|
||||
|
||||
Reference in New Issue
Block a user