mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-14 05:26:45 +08:00
临时保存
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
public
|
||||
dist
|
||||
node_modules
|
||||
/node_modules
|
||||
./node_modules
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
<div
|
||||
class="flex justify-content-s pv10 border-bottom"
|
||||
v-if="riskFactor.type == 0"
|
||||
:class="{ hidden: riskFactor.code == 'payEndYear' && item.isHidden }"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
v-model="bankId"
|
||||
label="银行卡号"
|
||||
maxlength="19"
|
||||
placeholder="请输入"
|
||||
placeholder="手工录入或点击右银行卡扫描"
|
||||
clearable
|
||||
required
|
||||
v-validate="'required|bankCard'"
|
||||
|
||||
@@ -14,11 +14,7 @@
|
||||
@click="toSelect('7')"
|
||||
/>
|
||||
<div class="relative border-bt fs14 p10 flex align-center">
|
||||
<van-checkbox
|
||||
v-model="userInfo.asAppntAddress"
|
||||
@change="asAppntAddress"
|
||||
:disabled="Insured"
|
||||
>同投保人</van-checkbox>
|
||||
<van-checkbox v-model="userInfo.asAppntAddress" @change="asAppntAddress" :disabled="Insured">同投保人</van-checkbox>
|
||||
</div>
|
||||
<customer-picker
|
||||
@on-choose="chooseCustomer"
|
||||
@@ -95,21 +91,10 @@
|
||||
:readonly="isInsured || idLimit"
|
||||
></FieldDatePicter>
|
||||
<div class="border-bt relative fs14 p10 flex align-center">
|
||||
<van-checkbox
|
||||
v-model="userInfo.effectiveDateType"
|
||||
class="fr"
|
||||
:disabled="effectiveDateTypeAble"
|
||||
@change="effectiveDataTypeChange"
|
||||
>长期</van-checkbox>
|
||||
<van-checkbox v-model="userInfo.effectiveDateType" class="fr" :disabled="effectiveDateTypeAble" @change="effectiveDataTypeChange">长期</van-checkbox>
|
||||
</div>
|
||||
<!-- <van-field v-model="userInfo.name" label="姓名" name="姓名" placeholder="请输入" v-validate="'required|name'" :readonly="isInsured" /> -->
|
||||
<select-radio
|
||||
:radios="sexRadio"
|
||||
required
|
||||
label="性别"
|
||||
:value.sync="userInfo.sex"
|
||||
:disabled="isInsured"
|
||||
></select-radio>
|
||||
<select-radio :radios="sexRadio" required label="性别" :value.sync="userInfo.sex" :disabled="isInsured"></select-radio>
|
||||
<van-field
|
||||
:value="userInfo.nativeplace | idToText('nativeplace')"
|
||||
readonly
|
||||
@@ -186,7 +171,7 @@
|
||||
v-model="userInfo.bnfLot"
|
||||
label="受益比例(%)"
|
||||
name="受益比例"
|
||||
placeholder="请输入"
|
||||
placeholder="指定多个受益比例和须为100%"
|
||||
required
|
||||
v-validate="'required|onlyNumber'"
|
||||
maxlength="3"
|
||||
@@ -380,7 +365,7 @@ export default {
|
||||
flag: 'goBack',
|
||||
extra: {
|
||||
refresh: '1', //是否返回后刷新0:否,1:是
|
||||
index:'-1'
|
||||
index: '-1'
|
||||
}
|
||||
})
|
||||
this.$jump({
|
||||
@@ -683,11 +668,11 @@ export default {
|
||||
let insuredInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
//如果投保人不是已婚
|
||||
if (insuredInfo.marriage != '1') {
|
||||
return this.$toast('与被保人关系有误')
|
||||
return this.$toast('亲,受益人与被保险人关系为配偶,被保险人婚姻状况必须为已婚哦~')
|
||||
}
|
||||
//如果被保人与投保人性别相同
|
||||
if (insuredInfo.sex == this.userInfo.sex) {
|
||||
return this.$toast('性别录入与婚姻状况不符')
|
||||
return this.$toast('额,受益人与被保险人关系为配偶,性别不能相同哦~')
|
||||
}
|
||||
|
||||
//如果性别男小于22岁 或者 性别女小于20岁
|
||||
@@ -704,6 +689,19 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
let insuredInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
// 受益人与被保险人关系为父母时,受益人年龄必须大于被保险人年龄
|
||||
if (this.userInfo.relationToInsured == '3') {
|
||||
if (age < insuredInfo.age) {
|
||||
return this.$toast('亲,请确认受益人与被保险人关系哦')
|
||||
}
|
||||
}
|
||||
// 受益人与被保险人关系为子女时,受益人年龄必须小于被保险人年龄
|
||||
if (this.userInfo.relationToInsured == '4') {
|
||||
if (age > insuredInfo.age) {
|
||||
return this.$toast('亲,请确认受益人与被保险人关系哦')
|
||||
}
|
||||
}
|
||||
//如果证件类型是身份证
|
||||
if (this.userInfo.idType == '1') {
|
||||
//校验性别是否与身份证号码位相符
|
||||
@@ -846,7 +844,7 @@ export default {
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/beneficiary',
|
||||
needRefresh:'1'
|
||||
needRefresh: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/beneficiary'
|
||||
@@ -1023,7 +1021,7 @@ export default {
|
||||
// this.isRequired = false
|
||||
// this.userInfo.effectiveDateType = true
|
||||
if (from) {
|
||||
this.userInfo.effectiveDateType = true
|
||||
this.userInfo.effectiveDateType = true
|
||||
}
|
||||
this.effectiveDateTypeAble = false
|
||||
} else {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<div>
|
||||
<div class="flex p10 align-items-c bg-white mt10">
|
||||
<!-- <div class="attachmentManagement-block"></div> -->
|
||||
<span>投保人附件</span>
|
||||
<span>请点击+上传投保人身份证件</span>
|
||||
</div>
|
||||
<div class="m20 bg-white">
|
||||
<div class="p10">
|
||||
@@ -158,7 +158,7 @@
|
||||
</div>
|
||||
<div v-if="relationToAppnt != '1'">
|
||||
<div class="flex bg-white p10 align-items-c">
|
||||
<span>被保人附件</span>
|
||||
<span>请点击+上传被保险人身份证件</span>
|
||||
</div>
|
||||
<div class=" m20 bg-white">
|
||||
<div>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
label="证件号码"
|
||||
name="证件号码"
|
||||
required
|
||||
placeholder="请输入"
|
||||
placeholder="手工录入或点击右侧证件扫描"
|
||||
clearable
|
||||
:readonly="isAppnt"
|
||||
v-validate="'required'"
|
||||
@@ -170,7 +170,7 @@
|
||||
label="身高(cm)"
|
||||
name="身高"
|
||||
required
|
||||
placeholder="请输入"
|
||||
placeholder="请输入,单位cm"
|
||||
v-validate="'required|onlyNumber|stature'"
|
||||
clearable
|
||||
maxlength="5"
|
||||
@@ -182,7 +182,7 @@
|
||||
label="体重(kg)"
|
||||
name="体重"
|
||||
required
|
||||
placeholder="请输入"
|
||||
placeholder="请输入,单位kg"
|
||||
v-validate="'required|onlyNumber'"
|
||||
clearable
|
||||
:readonly="isAppnt"
|
||||
@@ -265,7 +265,7 @@
|
||||
v-model="userInfo.averageAnnualIncome"
|
||||
label="平均年收入(万元)"
|
||||
name="平均年收入"
|
||||
placeholder="请输入"
|
||||
placeholder="请输入,单位万元"
|
||||
required
|
||||
v-validate="'required|onlyNumber'"
|
||||
clearable
|
||||
@@ -275,7 +275,7 @@
|
||||
<van-field
|
||||
v-model="userInfo.liabilitiesMoney"
|
||||
name="负债金额"
|
||||
placeholder="请输入"
|
||||
placeholder="请输入,单位万元"
|
||||
required
|
||||
v-validate="'required|onlyNumber'"
|
||||
clearable
|
||||
@@ -300,7 +300,7 @@
|
||||
label="工作单位"
|
||||
name="工作单位"
|
||||
required
|
||||
placeholder="请输入"
|
||||
placeholder="无工作单位,请输入无"
|
||||
v-validate="'required'"
|
||||
maxlength="50"
|
||||
clearable
|
||||
@@ -359,7 +359,7 @@
|
||||
label="家庭年收入(万元)"
|
||||
name="家庭年收入"
|
||||
required
|
||||
placeholder="请输入"
|
||||
placeholder="请输入,单位万元"
|
||||
v-validate="'required|onlyNumber'"
|
||||
clearable
|
||||
maxlength="5"
|
||||
@@ -380,11 +380,12 @@
|
||||
v-model="userInfo.homeAddress"
|
||||
label=""
|
||||
name="详细地址"
|
||||
placeholder="请输入详细地址"
|
||||
placeholder="具体到街道、门牌号、楼号、单元号、室号"
|
||||
v-validate="'required|homeAddressNum|homeAddressCh'"
|
||||
clearable
|
||||
maxlength="30"
|
||||
:readonly="isAppnt"
|
||||
style="font-size: 3.5vw;"
|
||||
/>
|
||||
<!-- <van-field
|
||||
v-model="userInfo.homeZip"
|
||||
@@ -1131,6 +1132,16 @@ export default {
|
||||
if (insuredSex == appntSex) {
|
||||
return this.$toast('额~配偶关系性别不能相同哦~')
|
||||
}
|
||||
} else if (this.userInfo.relationToAppnt == '4') {
|
||||
//投被保人关系是子女
|
||||
if (age > JSON.parse(localStorage.saleInsuredInfo).age) {
|
||||
return this.$toast('亲,请确认被保险人与投保人关系哦~')
|
||||
}
|
||||
} else if (this.userInfo.relationToAppnt == '3') {
|
||||
//投被保人关系是父母
|
||||
if (age < JSON.parse(localStorage.saleInsuredInfo).age) {
|
||||
return this.$toast('亲,请确认被保险人与投保人关系哦~')
|
||||
}
|
||||
}
|
||||
|
||||
// if (this.userInfo.marriage == '1') {
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
v-if="isShow"
|
||||
@@ -87,7 +87,7 @@
|
||||
<img :src="src" v-if="item.documentCode !== '1' && item.documentStatus == '3'" />
|
||||
</p>
|
||||
</div>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
v-if="isShow"
|
||||
@@ -136,7 +136,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
type="danger"
|
||||
@@ -169,7 +169,7 @@
|
||||
<img :src="src" v-if="item.documentCode !== '1' && item.documentStatus == '3'" />
|
||||
</p>
|
||||
</div>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
type="danger"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<img :src="src" v-if="appntSign.signStatus == '1'" />
|
||||
</p>
|
||||
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
v-if="isShow"
|
||||
@@ -90,7 +90,7 @@
|
||||
<span class="text">{{ insuredSign.signDocumentName }}</span>
|
||||
<img :src="src" v-if="insuredSign.signStatus == '1'" />
|
||||
</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
v-if="isShow"
|
||||
@@ -143,7 +143,7 @@
|
||||
<span class="text">{{ appntSign.signDocumentName }}</span>
|
||||
<img :src="src" v-if="appntSign.signStatus == '1'" />
|
||||
</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<!-- <van-button
|
||||
v-if="isShow"
|
||||
@@ -194,7 +194,7 @@
|
||||
<span class="text">{{ insuredSign.signDocumentName }}</span>
|
||||
<img :src="src" v-if="insuredSign.signStatus == '1'" />
|
||||
</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<!-- <van-button
|
||||
v-if="isShow"
|
||||
|
||||
Reference in New Issue
Block a user