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