mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 19:32:53 +08:00
chore: 合理化属性名称
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div class="calculate-premium-container pt10 pb100 redRadioCheckbox">
|
||||
<!--投保人信息详情-->
|
||||
<insured-message-info :insuredInfo="saleInsuredInfo" v-if="persionMessageInfo" type="applicant" />
|
||||
<insured-message-info :msgInfo="saleInsuredInfo" v-if="persionMessageInfo" type="applicant" />
|
||||
<!--被保人信息详情-->
|
||||
<insured-message-info :insuredInfo="saleInsuredPersonInfo" v-if="persionMessageInfo" type="insured" />
|
||||
<insured-message-info :msgInfo="saleInsuredPersonInfo" v-if="persionMessageInfo" type="insured" />
|
||||
|
||||
<div v-for="(item, index) in chooseProducts" :key="index" class="ph10 bg-white">
|
||||
<div class="flex justify-content-s align-items-c border-bottom pv10">
|
||||
|
||||
@@ -17,7 +17,7 @@ export default {
|
||||
}
|
||||
},
|
||||
props: {
|
||||
insuredInfo: {
|
||||
msgInfo: {
|
||||
type: Object,
|
||||
default: () => ({
|
||||
birthday: '',
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
async handleApplyRelation({ id }) {
|
||||
this.insuredInfo.relationToAppnt = id
|
||||
this.msgInfo.relationToAppnt = id
|
||||
this.popupShow = false
|
||||
},
|
||||
handleApplyBirthday() {},
|
||||
@@ -62,7 +62,7 @@ export default {
|
||||
<div class="insured-message-container">
|
||||
<van-field
|
||||
v-if="type === 'insured'"
|
||||
:value="insuredInfo.relationToAppnt | idToText('relationToAppnt')"
|
||||
:value="msgInfo.relationToAppnt | idToText('relationToAppnt')"
|
||||
readonly
|
||||
required
|
||||
label="是投保人的"
|
||||
@@ -77,13 +77,13 @@ export default {
|
||||
:label=" factorLabel + '出生日期'"
|
||||
required
|
||||
:name="factorLabel+'出生日期'"
|
||||
:value.sync="insuredInfo.birthday"
|
||||
:value.sync="msgInfo.birthday"
|
||||
:maxDate="new Date()"
|
||||
type="date"
|
||||
:flag="true"
|
||||
@confirm="handleApplyBirthday"
|
||||
/>
|
||||
<select-radio required :radios="sexRadio" :label="factorLabel+'性别'" :name="factorLabel+'性别'" :value.sync="insuredInfo.sex" />
|
||||
<select-radio required :radios="sexRadio" :label="factorLabel+'性别'" :name="factorLabel+'性别'" :value.sync="msgInfo.sex" />
|
||||
|
||||
<!-- 字段选择 -->
|
||||
<van-popup v-model="popupShow" position="bottom">
|
||||
|
||||
Reference in New Issue
Block a user