mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 00:52:53 +08:00
[FIX]健康告知与换卡失败状态修改
This commit is contained in:
@@ -556,7 +556,7 @@ export default {
|
||||
},
|
||||
{
|
||||
id: '16',
|
||||
text: '承保中'
|
||||
text: '等待出单'
|
||||
},
|
||||
{
|
||||
id: '17',
|
||||
|
||||
@@ -96,18 +96,7 @@
|
||||
round
|
||||
>重新支付</van-button
|
||||
>
|
||||
<template
|
||||
v-if="
|
||||
(active == 'commit' && order.orderInfoDTO.orderStatus == '48') ||
|
||||
(active == 'commit' && order.orderInfoDTO.orderStatus == '49') ||
|
||||
(active == 'commit' && order.orderInfoDTO.orderStatus == '50') ||
|
||||
(active == 'commit' && order.orderInfoDTO.orderStatus == '51') ||
|
||||
(active == 'commit' && order.orderInfoDTO.orderStatus == '52') ||
|
||||
(active == 'commit' && order.orderInfoDTO.orderStatus == '53') ||
|
||||
(active == 'commit' && order.orderInfoDTO.orderStatus == '54') ||
|
||||
(active == 'commit' && order.orderInfoDTO.orderStatus == '55')
|
||||
"
|
||||
>
|
||||
<template v-if="active == 'commit' && order.orderInfoDTO.orderStatus == '55'">
|
||||
<van-button @click="changeCard(order)" size="small" class="mr5" type="danger" round>修改卡号</van-button>
|
||||
<van-button @click="againPay(order)" size="small" class="mr5" type="danger" round>重新支付</van-button>
|
||||
</template>
|
||||
|
||||
@@ -74,23 +74,12 @@
|
||||
<div class="mb20 ml20" v-if="item.impartCode == '2b' && showFlag && isShow">
|
||||
<span>{{ item.impartCode + '.' + item.impartContent }}</span>
|
||||
</div>
|
||||
<van-radio-group
|
||||
v-model="item.impartAnswer"
|
||||
class="flex mb10 pb10"
|
||||
@change="change(item.isSelect, $event)"
|
||||
v-validate="'required'"
|
||||
data-vv-name="单选"
|
||||
v-if="showFlag && isShow"
|
||||
>
|
||||
<van-radio name="0" class="mr150 ml70">是</van-radio>
|
||||
<van-radio name="1">否</van-radio>
|
||||
</van-radio-group>
|
||||
<van-cell-group v-for="(it, ind) in item.questions" :key="ind">
|
||||
<div v-if="it.extra">
|
||||
<div v-if="it.extra && showFlag && isShow">
|
||||
<van-field v-model="it.answer" placeholder="请输入" :label="it.questionContent" clearable v-validate="'required'" data-vv-name="答案" />
|
||||
</div>
|
||||
</van-cell-group>
|
||||
<div v-if="item.show">
|
||||
<div v-if="showFlag && isShow">
|
||||
<van-cell-group v-for="(it, ind) in item.questions" :key="ind">
|
||||
<van-field
|
||||
v-model="it.answer"
|
||||
@@ -178,7 +167,7 @@ export default {
|
||||
this.saleInsuredAge = utilsAge.getAge(this.saleInsuredInfo.birthday, new Date())
|
||||
this.saleInsuredSex = this.saleInsuredInfo.sex
|
||||
//投被不同人取到年纪和性别去判断是是否显示内容
|
||||
this.saleInsuredPersonAge = utilsAge.getAge(this.saleInsuredPersonInfo.birthday, new Date())
|
||||
this.saleInsuredPersonAge = this.saleInsuredPersonInfo.age
|
||||
this.saleInsuredPersonSex = this.saleInsuredPersonInfo.sex
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
@@ -186,7 +175,7 @@ export default {
|
||||
})
|
||||
// this.relationToAppnt = `1`
|
||||
this.productCodes = JSON.parse(localStorage.chooseProductCodes)
|
||||
this.information()
|
||||
//this.information()
|
||||
},
|
||||
methods: {
|
||||
// 一键全否
|
||||
@@ -241,14 +230,14 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
//被保人财务告知添加判断
|
||||
// 被保人财务告知添加判断
|
||||
if (item.impartType == 3 || item.impartType == 7 || item.impartType == 11) {
|
||||
item.impartItemDTOS.map((items, index, array) => {
|
||||
if (items.extra3) {
|
||||
let obj = JSON.parse(items.extra3)
|
||||
if (obj.age && obj.sex == '2') {
|
||||
//小于18岁显示
|
||||
if (that.saleInsuredPersonAge < obj.age) {
|
||||
if (that.saleInsuredPersonAge < Number(obj.age)) {
|
||||
this.isShow = true
|
||||
}
|
||||
}
|
||||
@@ -313,7 +302,6 @@ export default {
|
||||
that.impartDTOS.map(it => {
|
||||
it.impartItemDTOS.map(itm => {
|
||||
if (itm.impartCode == '2b') {
|
||||
itm.show = false
|
||||
itm.impartAnswer = ''
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user