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