This commit is contained in:
jiawei
2023-02-22 11:08:34 +08:00
parent fdc7bef8af
commit ca3f38a34a
2 changed files with 9 additions and 6 deletions

View File

@@ -74,15 +74,18 @@ export default {
// isShowEvaluationPoint:'0'
}
},
created() {
async created() {
let res = await getOrderDetail({ orderNo: localStorage.orderNo })
// 是否从添加指定受益人页面跳转
if (localStorage.fromAddBeneficiaryInfo) {
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
this.$store.commit('updateAnswerType', updateAnswerType )
this.type = '2'
this.beneficiaries = this.beneficiaries.concat(JSON.parse(localStorage.beneficiaryInfo))
this.type = '2'
console.log(this.beneficiaries)
} else {
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
// getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
if (res.result == 0) {
// this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
@@ -99,7 +102,7 @@ export default {
localStorage.beneficiaryInfo = []
}
}
})
// })
}
this.insuredPerson = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
},

View File

@@ -2,7 +2,7 @@
* @Author: jiawei
* @Date: 2023-02-15 13:21:04
* @LastEditors: jiawei jia.wei@ebiz-digits.com
* @LastEditTime: 2023-02-22 10:54:20
* @LastEditTime: 2023-02-22 11:06:13
* @FilePath: \ebiz-h5\src\views\ebiz\sale\answerSuccess.vue
* @Description:
-->
@@ -14,7 +14,7 @@
<div class="bg-white pt20 pb20 ">
<p class="title mb20 mt20">您的测评得分</p>
<p class="fraction">{{riskEvaluationDTO.totalScore}}</p>
<p class=" mb20 mt20 pr20 pl20 fs12 bg-white" style=" line-height: 2" v-if="riskEvaluationDTO.tipContent">
<p class=" mb20 mt20 pr20 pl20 fs14 bg-white" style=" line-height: 2" v-if="riskEvaluationDTO.tipContent">
{{riskEvaluationDTO.tipContent}}
</p>
</div>
@@ -22,7 +22,7 @@
<div style="padding-bottom:10vh">
<h5 class="pt20 m10">投保人声明</h5>
<van-checkbox-group v-model="result" v-for="(item, index) in statementlist" :key="index" @change="statementChange">
<van-checkbox :name="index" class="mt20" label-disabled ><span v-html="item"></span></van-checkbox>
<van-checkbox :name="index" class="mt20" label-disabled ><span class="fs14" v-html="item"></span></van-checkbox>
<!-- <van-checkbox :name="index" class="mt20" label-disabled ></van-checkbox>
<span v-html="item"></span> -->
</van-checkbox-group>