Merge branch 'devHuizhi' into dev_product

This commit is contained in:
皮伟
2019-11-21 17:19:12 +08:00
15 changed files with 624 additions and 235 deletions

View File

@@ -684,12 +684,52 @@ export default {
{ {
shortName: '重疾险', shortName: '重疾险',
name: '国富人寿八桂无忧重大疾病保险B款', name: '国富人寿八桂无忧重大疾病保险B款',
code: 'GFRSPRO_M0001' code: 'GFRS_M0001'
}, },
{ {
shortName: '年金险', shortName: '年金险',
name: '国富人寿国富民鑫年金保险', name: '国富人寿国富民鑫年金保险',
code: 'GFRSPRO_M0002' code: 'GFRS_M0002'
},
{
shortName: '年金险',
name: '国富人寿金管家养老年金保险产品(万能型)',
code: 'GFRS_M0003'
},
{
shortName: '年金险',
name: '国富人寿瑞利年金保险',
code: 'GFRS_M0004'
},
{
shortName: '医疗险',
name: '国富人寿国富民惠医疗保险',
code: 'GFRS_M0005'
},
{
shortName: '年金险',
name: '国富人寿福宝宝教育年金保险',
code: 'GFRS_M0006'
},
{
shortName: '重疾险',
name: '国富人寿国富民安重大疾病保险',
code: 'GFRS_M0007'
},
{
shortName: '意外险',
name: '国富人寿综合意外伤害保险',
code: 'GFRS_M0008'
},
{
shortName: '重疾险',
name: '国富人寿国富民康重大疾病保险',
code: 'GFRS_M0009'
},
{
shortName: '重疾险',
name: '国富人寿八桂无忧重大疾病保险',
code: 'GFRS_M0010'
} }
], ],
// 收入来源 // 收入来源
@@ -745,79 +785,289 @@ export default {
], ],
// 民族 // 民族
nationType: [ nationType: [
{ id: '01', text: '汉族' }, {
{ id: '02', text: '蒙古族' }, id: '01',
{ id: '03', text: '族' }, text: '族'
{ id: '04', text: '藏族' }, },
{ id: '05', text: '维吾尔族' }, {
{ id: '06', text: '苗族' }, id: '02',
{ id: '07', text: '族' }, text: '蒙古族'
{ id: '08', text: '壮族' }, },
{ id: '09', text: '布依族' }, {
{ id: '10', text: '朝鲜族' }, id: '03',
{ id: '11', text: '族' }, text: '族'
{ id: '12', text: '侗族' }, },
{ id: '13', text: '瑶族' }, {
{ id: '14', text: '白族' }, id: '04',
{ id: '15', text: '土家族' }, text: '族'
{ id: '16', text: '哈尼族' }, },
{ id: '17', text: '哈萨克族' }, {
{ id: '18', text: '傣族' }, id: '05',
{ id: '19', text: '黎族' }, text: '维吾尔族'
{ id: '20', text: '傈僳族' }, },
{ id: '21', text: '佤族' }, {
{ id: '22', text: '畲族' }, id: '06',
{ id: '23', text: '高山族' }, text: '族'
{ id: '24', text: '拉祜族' }, },
{ id: '25', text: '水族' }, {
{ id: '26', text: '东乡族' }, id: '07',
{ id: '27', text: '纳西族' }, text: '族'
{ id: '28', text: '景颇族' }, },
{ id: '代码', text: '民族' }, {
{ id: '29', text: '柯尔克孜族' }, id: '08',
{ id: '30', text: '族' }, text: '族'
{ id: '31', text: '达斡尔族' }, },
{ id: '32', text: '仫佬族' }, {
{ id: '33', text: '羌族' }, id: '09',
{ id: '34', text: '布族' }, text: '布族'
{ id: '35', text: '撒拉族' }, },
{ id: '36', text: '毛难族' }, {
{ id: '37', text: '仡佬族' }, id: '10',
{ id: '38', text: '锡伯族' }, text: '朝鲜族'
{ id: '39', text: '阿昌族' }, },
{ id: '40', text: '普米族' }, {
{ id: '41', text: '塔吉克族' }, id: '11',
{ id: '42', text: '族' }, text: '族'
{ id: '43', text: '乌孜别克族' }, },
{ id: '44', text: '俄罗斯族' }, {
{ id: '45', text: '鄂温克族' }, id: '12',
{ id: '46', text: '崩龙族' }, text: '族'
{ id: '47', text: '保安族' }, },
{ id: '48', text: '裕固族' }, {
{ id: '49', text: '京族' }, id: '13',
{ id: '50', text: '塔塔尔族' }, text: '瑶族'
{ id: '51', text: '独龙族' }, },
{ id: '52', text: '鄂伦春族' }, {
{ id: '53', text: '赫哲族' }, id: '14',
{ id: '54', text: '门巴族' }, text: '族'
{ id: '55', text: '珞巴族' }, },
{ id: '56', text: '基诺族' }, {
{ id: '97', text: '其他' }, id: '15',
{ id: '98', text: '外国血统' } text: '土家族'
},
{
id: '16',
text: '哈尼族'
},
{
id: '17',
text: '哈萨克族'
},
{
id: '18',
text: '傣族'
},
{
id: '19',
text: '黎族'
},
{
id: '20',
text: '傈僳族'
},
{
id: '21',
text: '佤族'
},
{
id: '22',
text: '畲族'
},
{
id: '23',
text: '高山族'
},
{
id: '24',
text: '拉祜族'
},
{
id: '25',
text: '水族'
},
{
id: '26',
text: '东乡族'
},
{
id: '27',
text: '纳西族'
},
{
id: '28',
text: '景颇族'
},
{
id: '代码',
text: '民族'
},
{
id: '29',
text: '柯尔克孜族'
},
{
id: '30',
text: '土族'
},
{
id: '31',
text: '达斡尔族'
},
{
id: '32',
text: '仫佬族'
},
{
id: '33',
text: '羌族'
},
{
id: '34',
text: '布朗族'
},
{
id: '35',
text: '撒拉族'
},
{
id: '36',
text: '毛难族'
},
{
id: '37',
text: '仡佬族'
},
{
id: '38',
text: '锡伯族'
},
{
id: '39',
text: '阿昌族'
},
{
id: '40',
text: '普米族'
},
{
id: '41',
text: '塔吉克族'
},
{
id: '42',
text: '怒族'
},
{
id: '43',
text: '乌孜别克族'
},
{
id: '44',
text: '俄罗斯族'
},
{
id: '45',
text: '鄂温克族'
},
{
id: '46',
text: '崩龙族'
},
{
id: '47',
text: '保安族'
},
{
id: '48',
text: '裕固族'
},
{
id: '49',
text: '京族'
},
{
id: '50',
text: '塔塔尔族'
},
{
id: '51',
text: '独龙族'
},
{
id: '52',
text: '鄂伦春族'
},
{
id: '53',
text: '赫哲族'
},
{
id: '54',
text: '门巴族'
},
{
id: '55',
text: '珞巴族'
},
{
id: '56',
text: '基诺族'
},
{
id: '97',
text: '其他'
},
{
id: '98',
text: '外国血统'
}
], ],
//政治面貌 //政治面貌
politicsStatus: [ politicsStatus: [
{ id: '01', text: '中共党员' }, {
{ id: '02', text: '中共预备党员' }, id: '01',
{ id: '04', text: '民革党员' }, text: '中共党员'
{ id: '05', text: '民盟盟员' }, },
{ id: '06', text: '民建会员' }, {
{ id: '07', text: '民进会员' }, id: '02',
{ id: '08', text: '农工党党员' }, text: '中共预备党员'
{ id: '09', text: '致公党党员' }, },
{ id: '10', text: '九三学社社员' }, {
{ id: '11', text: '台盟盟员' }, id: '04',
{ id: '12', text: '无党派人士' } text: '民革党员'
},
{
id: '05',
text: '民盟盟员'
},
{
id: '06',
text: '民建会员'
},
{
id: '07',
text: '民进会员'
},
{
id: '08',
text: '农工党党员'
},
{
id: '09',
text: '致公党党员'
},
{
id: '10',
text: '九三学社社员'
},
{
id: '11',
text: '台盟盟员'
},
{
id: '12',
text: '无党派人士'
}
], ],
rsIdType: [ rsIdType: [
{ {

View File

@@ -1,5 +1,7 @@
import Vue from 'vue' import Vue from 'vue'
import VeeValidate, { Validator } from 'vee-validate' import VeeValidate, {
Validator
} from 'vee-validate'
import zh_CN from 'vee-validate/dist/locale/zh_CN' import zh_CN from 'vee-validate/dist/locale/zh_CN'
import idNoCheck from './idNoCheck' import idNoCheck from './idNoCheck'
@@ -58,11 +60,11 @@ Validator.extend('age', {
return value > 17 && /^\d{1,3}$/.test(value) return value > 17 && /^\d{1,3}$/.test(value)
} }
}) })
//被保人年龄不得小于16周岁) //被保人年龄不得小于18周岁)
Validator.extend('appntAge', { Validator.extend('appntAge', {
getMessage: () => '年龄不得小于16周岁', getMessage: () => '年龄不得小于18周岁',
validate: value => { validate: value => {
return value > 15 && /^\d{1,3}$/.test(value) return value > 17 && /^\d{1,3}$/.test(value)
} }
}) })
@@ -85,7 +87,7 @@ Validator.extend('bankCard', {
return field + '格式不正确,请您填写正确的格式' return field + '格式不正确,请您填写正确的格式'
}, },
validate: value => { validate: value => {
return /^(\d{16}|\d{19})$/.test(value) return /^(\d{16}|\d{18}|\d{19})$/.test(value)
} }
}) })
@@ -136,4 +138,4 @@ Validator.extend('avoirdupois', {
validate: value => { validate: value => {
return /^[0-9]+([.]{1}[0-9]{1})?$/.test(value) && value > 0.1 return /^[0-9]+([.]{1}[0-9]{1})?$/.test(value) && value > 0.1
} }
}) })

View File

@@ -596,7 +596,7 @@ export default {
this.chooseProducts.forEach(item => { this.chooseProducts.forEach(item => {
let trialInfo = {} let trialInfo = {}
item.calFactorLst.forEach(factor => { item.calFactorLst.forEach(factor => {
//type 类型 0为picker 1计步器 2 //type 类型 0为picker 1计步器 2职业等级
if (factor.type == 0) { if (factor.type == 0) {
if (factor.hasFlag == '1') { if (factor.hasFlag == '1') {
trialInfo[factor.code] = factor[factor.code] trialInfo[factor.code] = factor[factor.code]

View File

@@ -114,6 +114,11 @@ export default {
if (riskRules.lifeGradeLimit(resultData, this)) { if (riskRules.lifeGradeLimit(resultData, this)) {
return return
} }
if (resultData.productCode == 'GFRS_M0006') {
if (riskRules.lifeGradeLimitForBaby(resultData, this)) {
return
}
}
/********end 主险选择限制 end******/ /********end 主险选择限制 end******/
//保存附加险 //保存附加险

View File

@@ -10,8 +10,8 @@ export default {
tips = '被保人年龄不适合此款险种,请选择其他险种!' tips = '被保人年龄不适合此款险种,请选择其他险种!'
} }
let minAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.minAge let minAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.minAge
let maxAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.maxAge let maxAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.maxAge;
;[age, minAge, maxAge] = [Number(age), Number(minAge), Number(maxAge)] [age, minAge, maxAge] = [Number(age), Number(minAge), Number(maxAge)]
if (age > maxAge || age < minAge) { if (age > maxAge || age < minAge) {
vm.$toast(tips) vm.$toast(tips)
return true return true
@@ -35,7 +35,7 @@ export default {
let healthGrade = resultData.productInsuredDTO.healthGrade let healthGrade = resultData.productInsuredDTO.healthGrade
if (healthGrade == 0) return false if (healthGrade == 0) return false
if (Number(cuttentHealthGrade) > Number(healthGrade)) { if (Number(cuttentHealthGrade) > Number(healthGrade)) {
vm.$toast('健康等级不适合此款险种,请选择其他险种!') vm.$toast('健康职业等级不适合此款险种,请选择其他险种!')
return true return true
} }
return false return false
@@ -46,7 +46,18 @@ export default {
let lifeGrade = resultData.productInsuredDTO.lifeGrade let lifeGrade = resultData.productInsuredDTO.lifeGrade
if (lifeGrade == 0) return false if (lifeGrade == 0) return false
if (Number(cuttentLifeGrade) > Number(lifeGrade)) { if (Number(cuttentLifeGrade) > Number(lifeGrade)) {
vm.$toast('寿险等级不适合此款险种,请选择其他险种!') vm.$toast('寿险职业等级不适合此款险种,请选择其他险种!')
return true
}
return false
},
// 福宝宝产品寿险等级对主险影响
lifeGradeLimitForBaby(resultData, vm) {
let cuttentLifeGrade = this.getSaleInsuredInfo().lifeGrade
let lifeGrade = resultData.productInsuredDTO.lifeGrade
if (lifeGrade == 0) return false
if (Number(cuttentLifeGrade) > Number(lifeGrade)) {
vm.$toast('投保人寿险职业等级不适合此款险种,请选择其他险种!')
return true return true
} }
return false return false
@@ -59,4 +70,4 @@ export default {
getSaleInsuredInfo() { getSaleInsuredInfo() {
return localStorage.saleInsuredInfo && JSON.parse(localStorage.saleInsuredInfo) return localStorage.saleInsuredInfo && JSON.parse(localStorage.saleInsuredInfo)
} }
} }

View File

@@ -202,7 +202,7 @@ export default {
this.appntDTO.age = String(this.appntDTO.age) this.appntDTO.age = String(this.appntDTO.age)
this.$validator.validate().then(valid => { this.$validator.validate().then(valid => {
if (true === valid) { if (true === valid) {
//进行投保人年龄校验大于16周岁) //进行投保人年龄校验大于18周岁)
let params = { let params = {
orderDTO: { orderDTO: {
appntDTO: this.appntDTO, appntDTO: this.appntDTO,

View File

@@ -253,6 +253,7 @@ export default {
//在app端 //在app端
params.proposalInfoDTO.proposalNo = localStorage.orderNo params.proposalInfoDTO.proposalNo = localStorage.orderNo
getDemo(params).then(res => { getDemo(params).then(res => {
this.formatLocal(res) this.formatLocal(res)
}) })
} }
@@ -332,9 +333,16 @@ export default {
}, },
//获取微信分享的标题 //获取微信分享的标题
getWXTitle(insuredDTOs) { getWXTitle(insuredDTOs) {
dataDictionary.riskType.forEach(dataRisk => { dataDictionary.riskType.forEach(dataRisk => {
//根据数字字典来找到 险种简称 //根据数字字典来找到 险种简称
// console.log(insuredDTOs)
// console.log(insuredDTOs[0].mainRisk[0].riskCode)
// console.log(dataRisk.code)
if (insuredDTOs[0].mainRisk[0].riskCode == dataRisk.code) { if (insuredDTOs[0].mainRisk[0].riskCode == dataRisk.code) {
this.wxTitle = dataRisk.shortName + '计划书' this.wxTitle = dataRisk.shortName + '计划书'
} }
}) })

View File

@@ -5,6 +5,7 @@
<van-field <van-field
v-model="relationToAppnt" v-model="relationToAppnt"
readonly readonly
required
label="是被保人的" label="是被保人的"
name="是被保人的" name="是被保人的"
right-icon="arrow" right-icon="arrow"
@@ -17,6 +18,7 @@
v-validate="'required|name'" v-validate="'required|name'"
name="姓名" name="姓名"
label="姓名" label="姓名"
required
:value.sync="userInfo.name" :value.sync="userInfo.name"
:parentShowPicker.sync="customerShowPicker" :parentShowPicker.sync="customerShowPicker"
@nameChange="nameChange" @nameChange="nameChange"
@@ -27,6 +29,7 @@
:value="userInfo.idType | idToText('idType')" :value="userInfo.idType | idToText('idType')"
v-validate="'required'" v-validate="'required'"
readonly readonly
required
label="证件类型" label="证件类型"
name="证件类型" name="证件类型"
right-icon="arrow" right-icon="arrow"
@@ -38,6 +41,7 @@
v-model="userInfo.idNo" v-model="userInfo.idNo"
label="证件号码" label="证件号码"
name="证件号码" name="证件号码"
required
placeholder="请输入" placeholder="请输入"
maxlength="18" maxlength="18"
clearable clearable
@@ -50,6 +54,7 @@
v-validate="'required'" v-validate="'required'"
label="出生日期" label="出生日期"
name="出生日期" name="出生日期"
required
:value.sync="userInfo.birthday" :value.sync="userInfo.birthday"
type="date" type="date"
:flag="true" :flag="true"
@@ -61,6 +66,7 @@
v-validate="'required'" v-validate="'required'"
label="证件起始日期" label="证件起始日期"
name="证件起始日期" name="证件起始日期"
required
:value.sync="userInfo.certificateValidate" :value.sync="userInfo.certificateValidate"
type="date" type="date"
:defaultDate="new Date()" :defaultDate="new Date()"
@@ -73,6 +79,7 @@
:v-validate="{ required: certiexpiredateRequired }" :v-validate="{ required: certiexpiredateRequired }"
label="证件截止日期" label="证件截止日期"
name="证件截止日期" name="证件截止日期"
required
:defaultDate="new Date()" :defaultDate="new Date()"
:value.sync="userInfo.certiexpiredate" :value.sync="userInfo.certiexpiredate"
type="date" type="date"
@@ -85,12 +92,13 @@
<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> </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 :radios="sexRadio" :required="false" 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 <van-field
:value="userInfo.nativeplace | idToText('nativeplace')" :value="userInfo.nativeplace | idToText('nativeplace')"
readonly readonly
label="国家/地区" label="国家/地区"
name="国家/地区" name="国家/地区"
required
v-validate="'required'" v-validate="'required'"
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@@ -101,6 +109,7 @@
clearable clearable
label="联系电话" label="联系电话"
name="联系电话" name="联系电话"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|mobile'" v-validate="'required|mobile'"
maxlength="11" maxlength="11"
@@ -111,6 +120,7 @@
readonly readonly
label="联系地址" label="联系地址"
name="联系地址" name="联系地址"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -129,7 +139,7 @@
<div class="relative border-bt fs14 p10 flex align-center"> <div class="relative border-bt fs14 p10 flex align-center">
<van-checkbox v-model="userInfo.asAppntAddress" @change="asAppntAddress" :disabled="isInsured">同投保人</van-checkbox> <van-checkbox v-model="userInfo.asAppntAddress" @change="asAppntAddress" :disabled="isInsured">同投保人</van-checkbox>
</div> </div>
<van-field v-model="userInfo.email" label="电子邮箱" name="电子邮箱" placeholder="请输入" v-validate="'required|email'" clearable :readonly="isInsured" /> <van-field v-model="userInfo.email" required label="电子邮箱" name="电子邮箱" placeholder="请输入" v-validate="'required|email'" clearable :readonly="isInsured" />
<occupation-picker <occupation-picker
:value.sync="userInfo.occupationCode" :value.sync="userInfo.occupationCode"
:chooseName.sync="userInfo.occupationName" :chooseName.sync="userInfo.occupationName"
@@ -138,18 +148,20 @@
clearable clearable
label="职业类别" label="职业类别"
name="职业类别" name="职业类别"
required
v-validate="'required'" v-validate="'required'"
placeholder="请选择" placeholder="请选择"
:parentShowPicker.sync="occupationShowPicker" :parentShowPicker.sync="occupationShowPicker"
@on-click="selectClick('2')" @on-click="selectClick('2')"
@on-choose="chooseOccupation" @on-choose="chooseOccupation"
/> />
<van-field v-model="userInfo.bnfOrder" readonly label="受益顺序" name="受益顺序" placeholder="请输入" v-validate="'required|onlyNumber'" maxlength="1" /> <van-field v-model="userInfo.bnfOrder" required readonly label="受益顺序" name="受益顺序" placeholder="请输入" v-validate="'required|onlyNumber'" maxlength="1" />
<van-field <van-field
v-model="userInfo.bnfLot" v-model="userInfo.bnfLot"
label="受益比例(%)" label="受益比例(%)"
name="受益比例" name="受益比例"
placeholder="请输入" placeholder="请输入"
required
v-validate="'required|onlyNumber'" v-validate="'required|onlyNumber'"
maxlength="3" maxlength="3"
clearable clearable

View File

@@ -747,27 +747,6 @@ export default {
let imageInfoType = '' let imageInfoType = ''
// if (that.type == 'fileListIdFrontInsured' && that.id == '1') {
// imageInfoType = '1'
// } else if (that.type == 'fileListIdBackInsured' && that.id == '1') {
// imageInfoType = '2'
// } else if (that.type == 'fileListBankInsured') {
// imageInfoType = '3'
// } else if (that.type == 'fileListIdFrontInsured' && that.id == '2') {
// imageInfoType = '5'
// } else if (that.type == 'fileListIdBackInsured' && that.id == '2') {
// imageInfoType = '6'
// } else if (that.type == 'fileLIstImgInsured' && that.id == '3') {
// imageInfoType = '7'
// } else if (that.type == 'fileLIstImgInsured' && that.id == '4') {
// imageInfoType = '8'
// } else if (that.type == 'fileLIstImgInsured' && that.id == '5') {
// imageInfoType = '9'
// } else if (that.type == 'fileLIstImgInsured' && that.id == '6') {
// imageInfoType = '10'
// } else if (that.type == 'saleInsuredPersonInfoOther' && that.id == '7') {
// imageInfoType = '11'
// }
if (that.type == 'fileListIdFrontInsured' && that.id == '1') { if (that.type == 'fileListIdFrontInsured' && that.id == '1') {
imageInfoType = '1' imageInfoType = '1'
} else if (that.type == 'fileListIdBackInsured' && that.id == '1') { } else if (that.type == 'fileListIdBackInsured' && that.id == '1') {
@@ -810,8 +789,6 @@ export default {
fileName: that.imgName fileName: that.imgName
} }
// window.localStorage.setItem('obj', JSON.stringify(obj))
// that.list.push(JSON.parse(window.localStorage.getItem('obj')))
that.list.push(obj) that.list.push(obj)
} else if (that.type == 'fileListOther') { } else if (that.type == 'fileListOther') {
// 是其他 // 是其他
@@ -825,8 +802,7 @@ export default {
subBusinessNo: '', subBusinessNo: '',
fileName: that.imgName fileName: that.imgName
} }
// window.localStorage.setItem('obj', JSON.stringify(obj))
// that.list.push(JSON.parse(window.localStorage.getItem('obj')))
that.list.push(obj) that.list.push(obj)
} else if (that.type == 'fileListtypebeneficiary') { } else if (that.type == 'fileListtypebeneficiary') {
// 是受益人 // 是受益人
@@ -842,7 +818,7 @@ export default {
} }
that.list.push(obj) that.list.push(obj)
} }
// })
} else { } else {
switch (that.type) { switch (that.type) {
case 'fileListIdFront': case 'fileListIdFront':
@@ -933,7 +909,7 @@ export default {
}, },
orderType: 'MEDIA_ORDER' orderType: 'MEDIA_ORDER'
} }
// console.log(that.list)
saveInformation(data).then(res => { saveInformation(data).then(res => {
if (res.result == '0') { if (res.result == '0') {

View File

@@ -18,6 +18,7 @@
:value="userInfo.idType | idToText('insuredIdType')" :value="userInfo.idType | idToText('insuredIdType')"
v-validate="'required'" v-validate="'required'"
readonly readonly
required
label="证件类型" label="证件类型"
name="证件类型" name="证件类型"
right-icon="arrow" right-icon="arrow"
@@ -25,13 +26,14 @@
@click="toSelect('2')" @click="toSelect('2')"
/> />
<!-- <van-field v-model="userInfo.idNo" v-validate="'required|idNo'" maxlength="18" label="证件号码" name="证件号码" placeholder="请输入" clearable> --> <!-- <van-field v-model="userInfo.idNo" v-validate="'required|idNo'" maxlength="18" label="证件号码" name="证件号码" placeholder="请输入" clearable> -->
<van-field v-model="userInfo.idNo" maxlength="18" label="证件号码" name="证件号码" placeholder="请输入" clearable @blur="getRelatedData(userInfo.idNo)"> <van-field v-model="userInfo.idNo" maxlength="18" required label="证件号码" v-validate="'required'" name="证件号码" placeholder="请输入" clearable @blur="getRelatedData(userInfo.idNo)">
<van-button v-if="userInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3')">证件扫描</van-button> <van-button v-if="userInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3')">证件扫描</van-button>
</van-field> </van-field>
<FieldDatePicter <FieldDatePicter
v-validate="'required'" v-validate="'required'"
label="证件起始日期" label="证件起始日期"
name="证件起始日期" name="证件起始日期"
required
:value.sync="userInfo.certificateValidate" :value.sync="userInfo.certificateValidate"
type="date" type="date"
@confirm="onDateConfirm($event, '0')" @confirm="onDateConfirm($event, '0')"
@@ -42,6 +44,7 @@
:v-validate="{ required: certiexpiredateRequired }" :v-validate="{ required: certiexpiredateRequired }"
label="证件截止日期" label="证件截止日期"
name="证件截止日期" name="证件截止日期"
required
:value.sync="userInfo.certiexpiredate" :value.sync="userInfo.certiexpiredate"
type="date" type="date"
@confirm="onDateConfirm($event, '1')" @confirm="onDateConfirm($event, '1')"
@@ -51,10 +54,11 @@
<div class="border-bt relative fs14 p10 flex align-center"> <div class="border-bt relative fs14 p10 flex align-center">
<van-checkbox v-model="userInfo.effectiveDateType" :disabled="effectiveDateTypeAble" @change="effectiveDataTypeChange">长期</van-checkbox> <van-checkbox v-model="userInfo.effectiveDateType" :disabled="effectiveDateTypeAble" @change="effectiveDataTypeChange">长期</van-checkbox>
</div> </div>
<select-radio :radios="sexRadio" label="性别" name="性别" v-validate="'required'" :required="false" :value.sync="userInfo.sex"></select-radio> <select-radio required :radios="sexRadio" label="性别" name="性别" v-validate="'required'" :value.sync="userInfo.sex"></select-radio>
<van-field <van-field
:value="userInfo.nativeplace | idToText('nativeplace')" :value="userInfo.nativeplace | idToText('nativeplace')"
readonly readonly
required
label="国家/地区" label="国家/地区"
name="国家/地区" name="国家/地区"
v-validate="'required'" v-validate="'required'"
@@ -62,11 +66,12 @@
placeholder="请选择" placeholder="请选择"
@click="toSelect('1')" @click="toSelect('1')"
/> />
<van-field :value="census" readonly label="户籍" name="户籍" v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="censusShow = true" /> <van-field :value="census" required readonly label="户籍" name="户籍" v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="censusShow = true" />
<FieldDatePicter <FieldDatePicter
v-validate="'required'" v-validate="'required'"
label="出生日期" label="出生日期"
name="出生日期" name="出生日期"
required
:value.sync="userInfo.birthday" :value.sync="userInfo.birthday"
type="date" type="date"
:flag="true" :flag="true"
@@ -75,17 +80,18 @@
:maxDate="maxDate" :maxDate="maxDate"
></FieldDatePicter> ></FieldDatePicter>
<van-field v-model="userInfo.mobile" clearable label="移动电话" name="移动电话" placeholder="请输入" v-validate="'required|mobile'" maxlength="11" /> <van-field required v-model="userInfo.mobile" clearable label="移动电话" name="移动电话" placeholder="请输入" v-validate="'required|mobile'" maxlength="11" />
<van-field v-model="userInfo.authCode" center clearable label name="短信验证码" placeholder="请输入短信验证码" v-validate="'required'" maxlength="6"> <van-field v-model="userInfo.authCode" center clearable label name="短信验证码" placeholder="请输入短信验证码" v-validate="'required'" maxlength="6">
<van-button slot="button" size="small" type="danger" @click="getCode" :disabled="codeDisabled" v-no-more-click="1000"> <van-button slot="button" size="small" type="danger" @click="getCode" :disabled="codeDisabled" v-no-more-click="1000">
{{ codeDisabled ? `${countDown}s后重新获取` : '发送验证码' }} {{ codeDisabled ? `${countDown}s后重新获取` : '发送验证码' }}
</van-button> </van-button>
</van-field> </van-field>
<van-field v-model="userInfo.email" label="电子邮箱" name="电子邮箱" placeholder="请输入" v-validate="'required|email'" clearable /> <van-field v-model="userInfo.email" required label="电子邮箱" name="电子邮箱" placeholder="请输入" v-validate="'required|email'" clearable />
<van-field <van-field
v-model="userInfo.stature" v-model="userInfo.stature"
label="身高(cm)" label="身高(cm)"
name="身高" name="身高"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|onlyNumber|stature'" v-validate="'required|onlyNumber|stature'"
clearable clearable
@@ -96,6 +102,7 @@
v-model="userInfo.avoirdupois" v-model="userInfo.avoirdupois"
label="体重(kg)" label="体重(kg)"
name="体重" name="体重"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|onlyNumber|avoirdupois'" v-validate="'required|onlyNumber|avoirdupois'"
clearable clearable
@@ -118,6 +125,7 @@
readonly readonly
label="文化程度" label="文化程度"
name="文化程度" name="文化程度"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -129,6 +137,7 @@
:required="false" :required="false"
label="有无社保" label="有无社保"
name="有无社保" name="有无社保"
required
:value.sync="userInfo.medical" :value.sync="userInfo.medical"
></select-radio> ></select-radio>
<van-field <van-field
@@ -136,6 +145,7 @@
readonly readonly
label="税收居民身份" label="税收居民身份"
name="税收居民身份" name="税收居民身份"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -150,6 +160,7 @@
clearable clearable
label="职业类别" label="职业类别"
name="职业类别" name="职业类别"
required
v-validate="'required'" v-validate="'required'"
placeholder="请选择" placeholder="请选择"
:parentShowPicker.sync="occupationShowPicker" :parentShowPicker.sync="occupationShowPicker"
@@ -161,6 +172,7 @@
readonly readonly
label="收入来源" label="收入来源"
name="收入来源" name="收入来源"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -170,6 +182,7 @@
v-show="isShowOthenSalarySource" v-show="isShowOthenSalarySource"
v-model="userInfo.otherSalarySource" v-model="userInfo.otherSalarySource"
label label
required
name="其他来源" name="其他来源"
placeholder="请输入其它收入来源" placeholder="请输入其它收入来源"
clearable clearable
@@ -179,12 +192,13 @@
v-model="userInfo.averageAnnualIncome" v-model="userInfo.averageAnnualIncome"
label="平均年收入(万元)" label="平均年收入(万元)"
name="平均年收入" name="平均年收入"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|onlyNumber'" v-validate="'required|onlyNumber'"
clearable clearable
maxlength="5" maxlength="5"
/> />
<van-field v-model="userInfo.liabilitiesMoney" name="负债金额" placeholder="请输入" v-validate="'required|onlyNumber'" clearable maxlength="5"> <van-field v-model="userInfo.liabilitiesMoney" required name="负债金额" placeholder="请输入" v-validate="'required|onlyNumber'" clearable maxlength="5">
<div slot="label" class="flex flex-wrap"> <div slot="label" class="flex flex-wrap">
<span>负债金额</span> <span>负债金额</span>
<span>万元</span> <span>万元</span>
@@ -193,6 +207,7 @@
<van-field <van-field
:value="userInfo.jobStatus | idToText('workCondition')" :value="userInfo.jobStatus | idToText('workCondition')"
readonly readonly
required
label="在职情况" label="在职情况"
name="在职情况" name="在职情况"
placeholder="请选择" placeholder="请选择"
@@ -200,23 +215,24 @@
right-icon="arrow" right-icon="arrow"
@click="toSelect('7')" @click="toSelect('7')"
/> />
<van-field v-model="userInfo.workcompany" label="工作单位" name="工作单位" placeholder="请输入" v-validate="'required'" maxlength="50" clearable /> <van-field v-model="userInfo.workcompany" required label="工作单位" name="工作单位" placeholder="请输入" v-validate="'required'" maxlength="50" clearable />
<van-field <van-field
v-model="areaName" v-model="areaName"
readonly readonly
label="单位地址" label="单位地址"
name="单位地址" name="单位地址"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@click="areaShow = true" @click="areaShow = true"
/> />
<van-field v-model="userInfo.companyAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'" clearable maxlength="30" /> <van-field v-model="userInfo.companyAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'" clearable maxlength="30" />
<div class="border-bt relative fs14 p10 flex align-center"> <div class="border-bt relative fs14 p10 flex align-center">
<!-- <van-checkbox v-model="companyDefault" :disabled="homeDefault" class="fr" @change="setAddress">设为联系地址</van-checkbox> --> <!-- <van-checkbox v-model="companyDefault" :disabled="homeDefault" class="fr" @change="setAddress">设为联系地址</van-checkbox> -->
<van-radio name="0">设为联系地址</van-radio> <van-radio name="0">设为联系地址</van-radio>
</div> </div>
<van-field v-model="userInfo.companyZip" label="邮编" name="邮编" placeholder="请输入" v-validate="'required|zipCode'" maxlength="6" clearable /> <van-field v-model="userInfo.companyZip" required label="邮编" name="邮编" placeholder="请输入" v-validate="'required|zipCode'" maxlength="6" clearable />
<van-field v-model="userInfo.companyPhone" label="单位电话" name="单位电话" placeholder="非必填" maxlength="13" clearable /> <van-field v-model="userInfo.companyPhone" label="单位电话" name="单位电话" placeholder="非必填" maxlength="13" clearable />
</van-cell-group> </van-cell-group>
<!-- 家庭信息 --> <!-- 家庭信息 -->
@@ -225,6 +241,7 @@
<van-field <van-field
:value="userInfo.marriage | idToText('marriage')" :value="userInfo.marriage | idToText('marriage')"
readonly readonly
required
label="婚姻状况" label="婚姻状况"
name="婚姻状况" name="婚姻状况"
right-icon="arrow" right-icon="arrow"
@@ -236,6 +253,7 @@
v-model="userInfo.familyAnnualIncome" v-model="userInfo.familyAnnualIncome"
label="家庭年收入(万元)" label="家庭年收入(万元)"
name="家庭年收入" name="家庭年收入"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|onlyNumber'" v-validate="'required|onlyNumber'"
clearable clearable
@@ -246,17 +264,18 @@
readonly readonly
label="家庭地址" label="家庭地址"
name="家庭地址" name="家庭地址"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@click="homeShow = true" @click="homeShow = true"
/> />
<van-field v-model="userInfo.homeAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'" clearable maxlength="30" /> <van-field v-model="userInfo.homeAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'" clearable maxlength="30" />
<div class="border-bt relative fs14 p10 flex align-center"> <div class="border-bt relative fs14 p10 flex align-center">
<!-- <van-checkbox v-model="homeDefault" :disabled="companyDefault" class="fr" @change="setAddress">设为联系地址</van-checkbox> --> <!-- <van-checkbox v-model="homeDefault" :disabled="companyDefault" class="fr" @change="setAddress">设为联系地址</van-checkbox> -->
<van-radio name="1">设为联系地址</van-radio> <van-radio name="1">设为联系地址</van-radio>
</div> </div>
<van-field v-model="userInfo.homeZip" label="邮编" name="邮编" placeholder="请输入" v-validate="'required|zipCode'" maxlength="6" clearable /> <van-field v-model="userInfo.homeZip" required label="邮编" name="邮编" placeholder="请输入" v-validate="'required|zipCode'" maxlength="6" clearable />
<van-field v-model="userInfo.homePhone" label="家庭电话" name="家庭电话" placeholder="非必填" maxlength="13" clearable /> <van-field v-model="userInfo.homePhone" label="家庭电话" name="家庭电话" placeholder="非必填" maxlength="13" clearable />
</van-cell-group> </van-cell-group>
</van-radio-group> </van-radio-group>

View File

@@ -6,6 +6,7 @@
<van-field <van-field
:value="userInfo.relationToAppnt | idToText('relationToAppnt')" :value="userInfo.relationToAppnt | idToText('relationToAppnt')"
readonly readonly
required
label="是投保人的" label="是投保人的"
name="是投保人的" name="是投保人的"
right-icon="arrow" right-icon="arrow"
@@ -18,6 +19,7 @@
v-validate="'required|name'" v-validate="'required|name'"
name="姓名" name="姓名"
label="姓名" label="姓名"
required
:value.sync="userInfo.name" :value.sync="userInfo.name"
:parentShowPicker.sync="customerShowPicker" :parentShowPicker.sync="customerShowPicker"
@nameChange="nameChange" @nameChange="nameChange"
@@ -28,6 +30,7 @@
:value="userInfo.idType | idToText('idType')" :value="userInfo.idType | idToText('idType')"
v-validate="'required'" v-validate="'required'"
readonly readonly
required
label="证件类型" label="证件类型"
name="证件类型" name="证件类型"
right-icon="arrow" right-icon="arrow"
@@ -40,6 +43,7 @@
maxlength="18" maxlength="18"
label="证件号码" label="证件号码"
name="证件号码" name="证件号码"
required
placeholder="请输入" placeholder="请输入"
clearable clearable
:readonly="isAppnt" :readonly="isAppnt"
@@ -55,6 +59,7 @@
name="出生日期" name="出生日期"
:value.sync="userInfo.birthday" :value.sync="userInfo.birthday"
type="date" type="date"
required
:flag="true" :flag="true"
@confirm="onDateConfirm($event, '2')" @confirm="onDateConfirm($event, '2')"
ref="birthday" ref="birthday"
@@ -65,6 +70,7 @@
v-validate="'required'" v-validate="'required'"
label="证件起始日期" label="证件起始日期"
name="证件起始日期" name="证件起始日期"
required
:defaultDate="new Date()" :defaultDate="new Date()"
:value.sync="userInfo.certificateValidate" :value.sync="userInfo.certificateValidate"
type="date" type="date"
@@ -77,6 +83,7 @@
:v-validate="{ required: certiexpiredateRequired }" :v-validate="{ required: certiexpiredateRequired }"
label="证件截止日期" label="证件截止日期"
name="证件截止日期" name="证件截止日期"
required
:defaultDate="new Date()" :defaultDate="new Date()"
:value.sync="userInfo.certiexpiredate" :value.sync="userInfo.certiexpiredate"
type="date" type="date"
@@ -93,6 +100,7 @@
:required="false" :required="false"
label="性别" label="性别"
name="性别" name="性别"
required
v-validate="'required'" v-validate="'required'"
:value.sync="userInfo.sex" :value.sync="userInfo.sex"
:disabled="isAppnt" :disabled="isAppnt"
@@ -102,18 +110,20 @@
readonly readonly
label="国家/地区" label="国家/地区"
name="国家/地区" name="国家/地区"
required
v-validate="'required'" v-validate="'required'"
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
@click="toSelect('1')" @click="toSelect('1')"
/> />
<van-field :value="census" readonly label="户籍" name="户籍" v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="areaChoose('1')" /> <van-field :value="census" required readonly label="户籍" name="户籍" v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="areaChoose('1')" />
<van-field <van-field
v-model="userInfo.mobile" v-model="userInfo.mobile"
clearable clearable
label="移动电话" label="移动电话"
name="移动电话" name="移动电话"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|mobile'" v-validate="'required|mobile'"
maxlength="11" maxlength="11"
@@ -134,11 +144,12 @@
codeDisabled ? `${countDown}s后重新获取` : '发送验证码' codeDisabled ? `${countDown}s后重新获取` : '发送验证码'
}}</van-button> }}</van-button>
</van-field> </van-field>
<van-field v-model="userInfo.email" label="电子邮箱" name="电子邮箱" placeholder="请输入" v-validate="'required|email'" clearable :readonly="isAppnt" /> <van-field v-model="userInfo.email" required label="电子邮箱" name="电子邮箱" placeholder="请输入" v-validate="'required|email'" clearable :readonly="isAppnt" />
<van-field <van-field
v-model="userInfo.stature" v-model="userInfo.stature"
label="身高(cm)" label="身高(cm)"
name="身高" name="身高"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|onlyNumber|stature'" v-validate="'required|onlyNumber|stature'"
clearable clearable
@@ -150,6 +161,7 @@
v-model="userInfo.avoirdupois" v-model="userInfo.avoirdupois"
label="体重(kg)" label="体重(kg)"
name="体重" name="体重"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|onlyNumber'" v-validate="'required|onlyNumber'"
clearable clearable
@@ -165,6 +177,7 @@
readonly readonly
label="文化程度" label="文化程度"
name="文化程度" name="文化程度"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -176,6 +189,7 @@
label="有无社保" label="有无社保"
name="有无社保" name="有无社保"
v-validate="'required'" v-validate="'required'"
required
:value.sync="userInfo.medical" :value.sync="userInfo.medical"
:disabled="isAppnt" :disabled="isAppnt"
></select-radio> ></select-radio>
@@ -184,6 +198,7 @@
readonly readonly
label="税收居民身份" label="税收居民身份"
name="税收居民身份" name="税收居民身份"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -198,6 +213,7 @@
clearable clearable
label="职业类别" label="职业类别"
name="职业类别" name="职业类别"
required
v-validate="'required'" v-validate="'required'"
placeholder="请选择" placeholder="请选择"
:parentShowPicker.sync="occupationShowPicker" :parentShowPicker.sync="occupationShowPicker"
@@ -209,6 +225,7 @@
readonly readonly
label="收入来源" label="收入来源"
name="收入来源" name="收入来源"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -219,6 +236,7 @@
v-model="userInfo.otherSalarySource" v-model="userInfo.otherSalarySource"
label label
name="其他来源" name="其他来源"
required
placeholder="请输入其它收入来源" placeholder="请输入其它收入来源"
clearable clearable
maxlength="30" maxlength="30"
@@ -228,6 +246,7 @@
label="平均年收入(万元)" label="平均年收入(万元)"
name="平均年收入" name="平均年收入"
placeholder="请输入" placeholder="请输入"
required
v-validate="'required|onlyNumber'" v-validate="'required|onlyNumber'"
clearable clearable
maxlength="5" maxlength="5"
@@ -237,6 +256,7 @@
v-model="userInfo.liabilitiesMoney" v-model="userInfo.liabilitiesMoney"
name="负债金额" name="负债金额"
placeholder="请输入" placeholder="请输入"
required
v-validate="'required|onlyNumber'" v-validate="'required|onlyNumber'"
clearable clearable
maxlength="5" maxlength="5"
@@ -249,6 +269,7 @@
readonly readonly
label="在职情况" label="在职情况"
name="在职情况" name="在职情况"
required
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
right-icon="arrow" right-icon="arrow"
@@ -258,6 +279,7 @@
v-model="userInfo.workcompany" v-model="userInfo.workcompany"
label="工作单位" label="工作单位"
name="工作单位" name="工作单位"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required'" v-validate="'required'"
maxlength="50" maxlength="50"
@@ -269,6 +291,7 @@
readonly readonly
label="单位地址" label="单位地址"
name="单位地址" name="单位地址"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -289,6 +312,7 @@
label="邮编" label="邮编"
name="邮编" name="邮编"
placeholder="请输入" placeholder="请输入"
required
v-validate="'required|zipCode'" v-validate="'required|zipCode'"
maxlength="6" maxlength="6"
clearable clearable
@@ -302,6 +326,7 @@
<van-field <van-field
:value="userInfo.marriage | idToText('marriage')" :value="userInfo.marriage | idToText('marriage')"
readonly readonly
required
label="婚姻状况" label="婚姻状况"
name="婚姻状况" name="婚姻状况"
right-icon="arrow" right-icon="arrow"
@@ -313,6 +338,7 @@
v-model="userInfo.familyAnnualIncome" v-model="userInfo.familyAnnualIncome"
label="家庭年收入(万元)" label="家庭年收入(万元)"
name="家庭年收入" name="家庭年收入"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|onlyNumber'" v-validate="'required|onlyNumber'"
clearable clearable
@@ -324,6 +350,7 @@
readonly readonly
label="家庭地址" label="家庭地址"
name="家庭地址" name="家庭地址"
required
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -343,6 +370,7 @@
v-model="userInfo.homeZip" v-model="userInfo.homeZip"
label="邮编" label="邮编"
name="邮编" name="邮编"
required
placeholder="请输入" placeholder="请输入"
v-validate="'required|zipCode'" v-validate="'required|zipCode'"
maxlength="6" maxlength="6"
@@ -619,10 +647,10 @@ export default {
}) })
} }
}, },
// mounted() { mounted() {
// window.appCallBack = this.appCallBack window.appCallBack = this.appCallBack
// // document.body.style.backgroundColor = '#F5F5F5' // // document.body.style.backgroundColor = '#F5F5F5'
// }, },
methods: { methods: {
//监听名字变化 //监听名字变化
nameChange(name) { nameChange(name) {

View File

@@ -4,7 +4,7 @@
<div v-if="isWeixin" class="bg-white mt10 p20 fs14 tips"> <div v-if="isWeixin" class="bg-white mt10 p20 fs14 tips">
<p> <p>
尊敬的 尊敬的
<span class="red">{{ tipsName }}</span <span>{{ tipsName }}</span
>先生/女士您好 >先生/女士您好
</p> </p>
<p>该保单由国富人寿保险股份有限公司进行承保具体确认信息如下</p> <p>该保单由国富人寿保险股份有限公司进行承保具体确认信息如下</p>
@@ -18,6 +18,7 @@
</van-cell-group> </van-cell-group>
<div v-if="!isWeixin"> <div v-if="!isWeixin">
<!-- 不再微信 --> <!-- 不再微信 -->
<van-collapse v-model="activeNames" class="mt10"> <van-collapse v-model="activeNames" class="mt10">
<van-collapse-item name="1"> <van-collapse-item name="1">
<div slot="title"> <div slot="title">
@@ -25,6 +26,7 @@
<span class="ml20">{{ appnt.name }}</span> <span class="ml20">{{ appnt.name }}</span>
</div> </div>
<p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p> <p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p>
<div v-for="(item, index) in appntSign" :key="index"> <div v-for="(item, index) in appntSign" :key="index">
<p>{{ item.documentCode == '1' ? '需阅读' : '需签署' }}</p> <p>{{ item.documentCode == '1' ? '需阅读' : '需签署' }}</p>
<p class="mb20"> <p class="mb20">
@@ -60,6 +62,7 @@
<div class="text" v-else>操作时间已失效请联系销售人员</div> <div class="text" v-else>操作时间已失效请联系销售人员</div>
</van-collapse-item> </van-collapse-item>
</van-collapse> </van-collapse>
<div v-if="relationToAppnt != '1'" class="mt10"> <div v-if="relationToAppnt != '1'" class="mt10">
<van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index"> <van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index">
<van-collapse-item :name="index + 2"> <van-collapse-item :name="index + 2">
@@ -208,7 +211,7 @@
<script> <script>
import UploadImageFile from '@/components/ebiz/sale/UploadImageFile' import UploadImageFile from '@/components/ebiz/sale/UploadImageFile'
import { Cell, CellGroup, Collapse, CollapseItem, Dialog } from 'vant' import { Cell, CellGroup, Collapse, CollapseItem, Dialog } from 'vant'
import { underWrite, getOrderDetail, getToken, getSignInvalid, checkSignInvalid } from '@/api/ebiz/sale/sale' import { underWrite, getOrderDetail, getSignInvalid, checkSignInvalid } from '@/api/ebiz/sale/sale'
import { weixinShare } from '@/assets/js/utils/wxShare.js' import { weixinShare } from '@/assets/js/utils/wxShare.js'
// import axios from 'axios' // import axios from 'axios'
// import device from '@/assets/js/commons.js' // import device from '@/assets/js/commons.js'
@@ -295,21 +298,28 @@ export default {
this.isInvalid = true this.isInvalid = true
} }
this.airSign = sessionStorage.getItem('airSign') this.airSign = sessionStorage.getItem('airSign')
this.shareCode = sessionStorage.getItem('shareCode') // this.shareCode = sessionStorage.getItem('shareCode')
this.relationToAppnt = this.$route.query.relationToAppnt this.relationToAppnt = this.$route.query.relationToAppnt
this.isShow = false this.isShow = false
this.getOrderDetail().then(() => { this.getOrderDetail().then(() => {
console.log('this.appntSignStatus', this.appntSignStatus) // console.log('this.appntSignStatus', this.appntSignStatus)
console.log('this.appntSignStatus', this.appntSignStatus) // console.log('this.appntSignStatus', this.appntSignStatus)
if (this.appntSignStatus == '3' || this.insuredSignStatus == '3') { if (this.appntSignStatus == '3' && this.shareCode == '0') {
// this.$toast('签名成功,请联系业务员进行后续流程!') // this.$toast('签名成功,请联系业务员进行后续流程!')
Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' }) Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' })
} else if (this.insuredSignStatus == '3' && this.shareCode == '1') {
Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' })
} }
}) })
if (this.shareCode == '1') { if (sessionStorage.shareCode == '1') {
this.tipsName = this.saleInsuredPersonInfo.name console.log('进来被保人')
this.tipsName = JSON.parse(localStorage.saleInsuredPersonInfo).name
} else { } else {
this.tipsName = this.saleInsuredInfo.name console.log('进来投保人')
this.tipsName = JSON.parse(localStorage.saleInsuredInfo).name
// console.log('localStorage.saleInsuredInfo', localStorage.saleInsuredInfo)
// console.log('localStorage.saleInsuredInfo.name', localStorage.saleInsuredInfo.name)
// console.log('this.tipName', this.tipsName)
} }
weixinShare({ weixinShare({
title: '国富人寿计划书', title: '国富人寿计划书',

View File

@@ -4,15 +4,19 @@
<!-- config.imgDomain + `/returnDirectStream?imgPath=${window.localStorage.getItem('insurance-policyUrl')}` --> <!-- config.imgDomain + `/returnDirectStream?imgPath=${window.localStorage.getItem('insurance-policyUrl')}` -->
<iframe :src="src + pdfUrl" class="iframe"></iframe> <iframe :src="src + pdfUrl" class="iframe"></iframe>
<van-radio-group v-model="radioSure" class="pb10 pt20 pl5 fs14">
<van-radio name="1">
我已充分了解上述提示内容并同意通过电子方式签收
</van-radio>
</van-radio-group>
<!-- <div id="pdf"></div>--> <!-- <div id="pdf"></div>-->
<!-- <img :src="'data:image/jpeg;base64,' + url" /> --> <!-- <img :src="'data:image/jpeg;base64,' + url" /> -->
<!-- 我已充分了解上述提示内容并同意通过电子方式签收 -->
<div class="pt30 pl30 flex align-items-c"> <div class="pt30 pl30 flex align-items-c">
<span class="mr10">投保人签名 :</span> <span class="mr10">投保人签名 :</span>
<div> <div>
<!-- <van-button type="danger" size="small" @click="chaolu('0')" v-no-more-click="1000">超录</van-button> --> <!-- <van-button type="danger" size="small" @click="chaolu('0')" v-no-more-click="1000">超录</van-button> -->
<van-button type="danger" size="small" @click="sign('0')" v-no-more-click="1000">{{ isSign ? '签名' : '已签名' }}</van-button> <van-button type="danger" size="small" @click="sign('0')" :disabled="isSure" v-no-more-click="1000">{{ isSign ? '签名' : '已签名' }}</van-button>
</div> </div>
</div> </div>
</div> </div>
@@ -93,6 +97,8 @@ export default {
// policyUrl: '', // policyUrl: '',
src: location.origin + '/pdfjs/web/viewer.html?file=', src: location.origin + '/pdfjs/web/viewer.html?file=',
radio: '', radio: '',
// 回执签收的radio
radioSure: '',
// 倒计时时间 // 倒计时时间
number: '', number: '',
// // 定时器时间 // // 定时器时间
@@ -135,7 +141,9 @@ export default {
// 是否从详情跳过来 如果为1 是 // 是否从详情跳过来 如果为1 是
detailJump: '', detailJump: '',
// 是否是万能险 // 是否是万能险
isComment: false isComment: false,
// 判断回执里面签名是否可以点击
isSure: true
} }
}, },
components: { components: {
@@ -172,7 +180,11 @@ export default {
if (res.result == '0') { if (res.result == '0') {
res.orderDTO.ebizSignDTOS.map(item => { res.orderDTO.ebizSignDTOS.map(item => {
if (item.documentCode == '2') { if (item.documentCode == '2') {
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.policyUrl}`) if (this.detailJump != '1') {
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.policyUrl}`)
} else {
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${localStorage.getItem('insurance-policyUrl')}`)
}
if (item.signType == '0') { if (item.signType == '0') {
that.appntSign = item that.appntSign = item
// this.policyUrl = item.policyUrl // this.policyUrl = item.policyUrl
@@ -417,12 +429,17 @@ export default {
loadingType: 'spinner', loadingType: 'spinner',
message: '加载中……' message: '加载中……'
}) })
// 投保人
if (val == '0') { if (val == '0') {
// 投保人且不是回执签收
if (this.detailJump != '1') { if (this.detailJump != '1') {
// 投保人不是回执签收且投被同人
if (this.relationToAppnt == '1') { if (this.relationToAppnt == '1') {
// 投保人不是回执签收且投被同人且在微信
if (this.isWeixin) { if (this.isWeixin) {
this.toAirSign('1', '申请日期', this.caOffset, '4') this.toAirSign('0', '申请日期', this.caOffset, '4')
} else { } else {
// 投保人不是回执签收且投被同人且不在微信
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
number: this.saleInsuredInfo.idNo, number: this.saleInsuredInfo.idNo,
@@ -447,9 +464,11 @@ export default {
}) })
} }
} else { } else {
// 微信投保人不是回执签收且投被不同人
if (this.isWeixin) { if (this.isWeixin) {
this.toAirSign('0', '法定监护人', this.caOffset, '4') this.toAirSign('0', '法定监护人', this.caOffset, '4')
} else { } else {
// 不在微信投保人不是回执签收且投被不同人
console.log('投保人签名') console.log('投保人签名')
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
@@ -505,9 +524,11 @@ export default {
that.saleInsuredInfo.idType = '9' that.saleInsuredInfo.idType = '9'
break break
} }
// 微信投保人且是回执签收
if (this.isWeixin) { if (this.isWeixin) {
this.toAirSign('1', '投保人签字', '-150', '4') this.toAirSign('0', '投保人签字', '0', '4')
} else { } else {
// 不是微信投保人且是回执签收
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
number: that.saleInsuredInfo.idNo, number: that.saleInsuredInfo.idNo,
@@ -533,9 +554,11 @@ export default {
} }
} }
} else { } else {
// 在微信被保人
if (this.isWeixin) { if (this.isWeixin) {
this.toAirSign('1', '法定监护人', '10', '4') this.toAirSign('1', '法定监护人', '10', '4')
} else { } else {
// 不在微信被保人
console.log('被保人签名') console.log('被保人签名')
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
@@ -578,29 +601,9 @@ export default {
}, },
// 超录 // 超录
chaolu() { chaolu() {
// localStorage.setItem( // 再微信
// 'signInfo',
// JSON.stringify({
// idNo: this.saleInsuredInfo.idNo,
// name: this.saleInsuredInfo.name,
// type: this.saleInsuredInfo.idType,
// originStatus: '2',
// keyword: '申请日期',
// status: '2',
// offset: '0',
// originUrl: location.href,
// commentKeyword: '认真', // 批注关键字
// commentText: '本人已阅读保险条款、产品说明书和投保提示书,了解本产品的特点和保单利益的不确定性', // 批注文字
// commentOffset: '28', // 批注偏移量
// commentPos: '2', // 签字图片和关键字位置关系等于1时签字图片和关键字矩形重心重合
// // * 等于2时签字图片位于关键字正下方中心线对齐等于3时签字图片位于关键字正右方中心线对齐
// // * 等于4时签字图片左上角和关键字右下角重合可能额外附加偏移量详见构造函数的offset参数
// caType: '1', // 是否是批注
// pageNo: '1', // PDF起始页
// KWIndex: '1' // 第几个关键字
// })
// )
if (this.isWeixin) { if (this.isWeixin) {
// 在微信且投被不同人
if (this.relationToAppnt != '1') { if (this.relationToAppnt != '1') {
localStorage.setItem( localStorage.setItem(
'signInfo', 'signInfo',
@@ -626,6 +629,7 @@ export default {
) )
window.location.href = this.$mainUrl + '/chaolu/index.html' window.location.href = this.$mainUrl + '/chaolu/index.html'
} else { } else {
// 在微信且投被同人
localStorage.setItem( localStorage.setItem(
'signInfo', 'signInfo',
JSON.stringify({ JSON.stringify({
@@ -651,6 +655,7 @@ export default {
window.location.href = this.$mainUrl + '/chaolu/index.html' window.location.href = this.$mainUrl + '/chaolu/index.html'
} }
} else { } else {
// 不在微信且投被不同人
if (this.relationToAppnt != '1') { if (this.relationToAppnt != '1') {
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
@@ -680,6 +685,7 @@ export default {
} }
}) })
} else { } else {
// 不在微信且投被同人
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
number: this.saleInsuredInfo.idNo, number: this.saleInsuredInfo.idNo,
@@ -718,82 +724,118 @@ export default {
that.signVal = window.localStorage.getItem('sign-val') that.signVal = window.localStorage.getItem('sign-val')
// 判断是不是万能险 // 判断是不是万能险
let comment = window.localStorage.getItem('productCode') let comment = window.localStorage.getItem('productCode')
// comment.map(item => {
// if (item.productCode == 'GFRS_M0003') {
// this.isComment = true
// }
// })
if (comment == 'GFRS_M0003') { if (comment == 'GFRS_M0003') {
this.isComment = true this.isComment = true
} }
// 获取投保人信息 // 获取投保人信息
that.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo')) that.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo'))
// 在微信
if (this.isWeixin) { if (this.isWeixin) {
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt // 在微信且不是回执签收
} if (this.detailJump != '1') {
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
if (this.detailJump != '1') { let imgBase64Data = sessionStorage.getItem('imgBase64Data')
// 投被保人是否同人 let wxSigned = sessionStorage.getItem('wxSigned')
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt let signInfo = JSON.parse(localStorage.getItem('signInfo'))
// 获取被保人信息 console.log('`````````````````````````````````')
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) console.log('imgBase64Data:twoimgBase64Data ' + imgBase64Data)
} console.log('wxSigned: ' + wxSigned)
// if (this.detailJump != '1') { if (wxSigned) {
// this.getOrderDetail() console.log('第二次进入电子保单!')
// } console.log('that222222222222', that)
// let imgBase64Data = sessionStorage.getItem('twoimgBase64Data') this.getOrderDetail().then(() => {
// console.log('imgBase64Data:twoimgBase64Data ' + imgBase64Data) this.Time = true
if (this.isWeixin) { this.isOver = true
let imgBase64Data = sessionStorage.getItem('imgBase64Data') this.radio = '1'
let wxSigned = sessionStorage.getItem('wxSigned') this.base64 = imgBase64Data
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
console.log('`````````````````````````````````')
console.log('imgBase64Data:twoimgBase64Data ' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
console.log('第二次进入电子保单!')
console.log('that222222222222', that)
this.getOrderDetail().then(() => {
this.Time = true
this.isOver = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
console.log('signInfo.status:' + signInfo.status)
if (signInfo.status == '0') {
// this.appntSign.documentStatus = '3'
console.log('``````````````````')
this.$set(this.appntSign, 'documentStatus', '3')
console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
this.isSign = false
this.isDisabledComplite = false this.isDisabledComplite = false
// this.isDisable = false console.log('signInfo.status:' + signInfo.status)
} else { if (signInfo.status == '0') {
this.$set(this.insuredSign, 'documentStatus', '3') // this.appntSign.documentStatus = '3'
// this.insuredSign.documentStatus = '3' console.log('``````````````````')
this.isDisabledComplite = false this.$set(this.appntSign, 'documentStatus', '3')
this.isSign = false console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
} this.isSign = false
}) this.isDisabledComplite = false
// this.isDisable = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
// this.insuredSign.documentStatus = '3'
this.isDisabledComplite = false
this.isSign = false
}
})
} else {
console.log('````````````````````````')
console.log('第一次进入电子保单')
this.timeOut()
this.getOrderDetail()
}
} else { } else {
console.log('````````````````````````') // 在微信而且是回执签收
console.log('第一次进入电子保单') document.title = '保险合同签收回执电子确认书签名'
this.timeOut() let imgBase64Data = sessionStorage.getItem('imgBase64Data')
this.getOrderDetail() let wxSigned = sessionStorage.getItem('wxSigned')
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
console.log('`````````````````````````````````')
console.log('imgBase64Data:twoimgBase64Data ' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
console.log('第二次进入电子保单!')
console.log('that222222222222', that)
this.getOrderDetail().then(() => {
this.Time = true
this.isOver = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
console.log('signInfo.status:' + signInfo.status)
if (signInfo.status == '0') {
// this.appntSign.documentStatus = '3'
console.log('``````````````````')
this.$set(this.appntSign, 'documentStatus', '3')
console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
this.isSign = false
this.isDisabledComplite = false
this.isSubmit = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
// this.insuredSign.documentStatus = '3'
this.isDisabledComplite = false
this.isSign = false
}
})
} else {
console.log('````````````````````````')
console.log('第一次进入电子保单')
this.timeOut()
this.getOrderDetail()
}
} }
} else { } else {
this.timeOut() // 不在微信且不是回执签收
this.getOrderDetail()
if (this.detailJump != '1') { if (this.detailJump != '1') {
// 投被保人是否同人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
this.timeOut()
this.getOrderDetail()
} else {
// 不在微信但是在回执签收
document.title = '保险合同签收回执电子确认书签名'
this.timeOut()
this.getOrderDetail() this.getOrderDetail()
} }
} }
}, },
computed: { computed: {
listenChange() { listenChange() {
const { isOver, radio, appntSign, insuredSign } = this const { isOver, radio, appntSign, insuredSign, radioSure } = this
return { isOver, radio, appntSign, insuredSign } return { isOver, radio, appntSign, insuredSign, radioSure }
} }
}, },
watch: { watch: {
@@ -824,6 +866,9 @@ export default {
if (val.insuredSign.documentStatus == '3') { if (val.insuredSign.documentStatus == '3') {
that.isDisableInsured = true that.isDisableInsured = true
} }
if (val.radioSure != '') {
this.isSure = false
}
} else { } else {
if (that.signVal == '0' || that.signVal == '2') { if (that.signVal == '0' || that.signVal == '2') {
if (val.isOver == true && val.radio != '') { if (val.isOver == true && val.radio != '') {

View File

@@ -30,6 +30,7 @@ import { formatAllRisk } from '@/assets/js/utils/formatRiskList'
export default { export default {
data() { data() {
let isWeixin = this.$utils.device().isWeixin //判断环境
return { return {
appntImg: '', appntImg: '',
idcardData: { idcardData: {
@@ -46,14 +47,23 @@ export default {
insuredDTOs: [], insuredDTOs: [],
// 保单号 // 保单号
contNo: '', contNo: '',
// 是否在微信
isWeixin,
list: [] list: []
} }
}, },
created() { created() {
// 获取保单详情 if (this.isWeixin) {
this.getPolicyDetail() window.localStorage.setItem('saleInsuredInfo', this.$route.query.saleInsuredInfo)
this.disabled = false window.localStorage.setItem('token', this.$route.query.token)
window.localStorage.setItem('policyNo', this.$route.query.policyNo)
this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredInfo).name
this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredInfo).idNo
this.getPolicyDetail()
} else {
// 获取保单详情
}
}, },
components: { components: {
[Button.name]: Button, [Button.name]: Button,
@@ -180,7 +190,8 @@ export default {
flag: 'h5', flag: 'h5',
extra: { extra: {
url: location.origin + '/#/sale/signatureOfElectronic', url: location.origin + '/#/sale/signatureOfElectronic',
forbidSwipeBack: '1' forbidSwipeBack: '1',
title: '保险合同签收回执电子确认书签名'
}, },
routerInfo: { routerInfo: {
path: '/sale/signatureOfElectronic' path: '/sale/signatureOfElectronic'

View File

@@ -134,6 +134,7 @@ export default {
let data = { let data = {
policyNo: window.localStorage.getItem('policyNo') policyNo: window.localStorage.getItem('policyNo')
} }
getPolicyDetail(data).then(res => { getPolicyDetail(data).then(res => {
if (res.result == '0') { if (res.result == '0') {
let appntDTO = res.content.appntDTO let appntDTO = res.content.appntDTO
@@ -146,11 +147,14 @@ export default {
} else { } else {
orderInfoDTO.orderStatusText = '' orderInfoDTO.orderStatusText = ''
} }
// 测试用
// orderInfoDTO.orderStatus = '0'
that.OrderInfoDTO = orderInfoDTO that.OrderInfoDTO = orderInfoDTO
// 投保人信息 // 投保人信息
this.filterData(dataDictionary.sex, 'sex', appntDTO) this.filterData(dataDictionary.sex, 'sex', appntDTO)
this.filterData(dataDictionary.idType, 'idType', appntDTO) this.filterData(dataDictionary.idType, 'idType', appntDTO)
that.appntDTO = appntDTO that.appntDTO = appntDTO
window.localStorage.setItem('saleInsuredInfo', JSON.stringify(appntDTO))
// 被保人信息 // 被保人信息
res.content.insuredDTOs.map(insured => { res.content.insuredDTOs.map(insured => {
insured.riskDTOLst.map(risk => { insured.riskDTOLst.map(risk => {
@@ -207,13 +211,20 @@ export default {
}, },
appCallBack(data) { appCallBack(data) {
if (data.trigger == 'right_button_click') { if (data.trigger == 'right_button_click') {
console.log(localStorage.saleInsuredInfo)
EWebBridge.webCallAppInJs('bridge', { EWebBridge.webCallAppInJs('bridge', {
flag: 'share', flag: 'share',
extra: { extra: {
title: this.wxTitle, title: this.wxTitle,
content: '国富人寿保单回执签收', content: '国富人寿保单回执签收',
url: location.origin + '/#/serve/airSign?policyNo=' + localStorage.policyNo + '&token=' + localStorage.token+ url:
'&saleInsuredInfo=' + JSON.stringify(this.appntDTO), location.origin +
'/#/serve/airSign?policyNo=' +
localStorage.policyNo +
'&token=' +
localStorage.token +
'&saleInsuredInfo=' +
encodeURI(localStorage.saleInsuredInfo),
// url: 'http://47.96.143.111/#/proposal/exhibition?proposalNo=' + localStorage.orderNo + '&token=' + localStorage.token, // url: 'http://47.96.143.111/#/proposal/exhibition?proposalNo=' + localStorage.orderNo + '&token=' + localStorage.token,
img: this.$assetsUrl + 'images/logo.png' img: this.$assetsUrl + 'images/logo.png'
} }
@@ -257,7 +268,8 @@ export default {
flag: 'h5', flag: 'h5',
extra: { extra: {
url: location.origin + '/#/sale/signatureOfElectronic', url: location.origin + '/#/sale/signatureOfElectronic',
forbidSwipeBack: '1' forbidSwipeBack: '1',
title: '保险合同签收回执电子确认书签名'
}, },
routerInfo: { routerInfo: {
path: '/sale/signatureOfElectronic' path: '/sale/signatureOfElectronic'