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