mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-18 09:46:44 +08:00
feature/GFRS-2301【需求】健康险渠道国富无忧卡金掌桂开发的需求--分享中有朋友圈问题,修改支付页标题错误及验证码错误未提示问题--提交人庞兴月
This commit is contained in:
@@ -286,6 +286,7 @@ export default {
|
||||
// this.pay()
|
||||
// }, 500)
|
||||
} else {
|
||||
document.title = '支付分享'
|
||||
// 再次支付 调详情 获取信息
|
||||
this.getOrderDetail()
|
||||
}
|
||||
@@ -776,6 +777,7 @@ export default {
|
||||
flag: 'share',
|
||||
extra: {
|
||||
title: `国富人寿卡单投保(${shareName})付款`,
|
||||
shareScene: '0',
|
||||
content: '付款进行',
|
||||
url: url,
|
||||
img: this.$assetsUrl + 'images/logo.png'
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
<van-cell-group class="mt10">
|
||||
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">投保人信息</p>
|
||||
<customer-picker @on-choose="chooseCustomer(arguments)" v-validate="'required|name'" name="投保人姓名" label="投保人姓名"
|
||||
required :parentShowPicker.sync="customerShowPicker" v-model="userInfo.name" @nameChange="nameChange"
|
||||
@on-click="selectClick('1', '0')"></customer-picker>
|
||||
required :parentShowPicker.sync="customerShowPicker" v-model="userInfo.name" @nameChange="nameChange" @on-click="selectClick('1', '0')"></customer-picker>
|
||||
<van-field :value="userInfo.idType | idToText('insuredIdType')" v-validate="'required'" readonly required label="证件类型"
|
||||
name="证件类型" right-icon="arrow" placeholder="请选择" />
|
||||
<!-- @click="toSelect('2')" -->
|
||||
@@ -23,7 +22,7 @@
|
||||
<van-field v-model="userInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'"
|
||||
clearable />
|
||||
<!-- <van-field v-model="userInfo.workcompany" required label="工作单位" name="工作单位" placeholder="请输入" v-validate="'required'" maxlength="50" clearable /> -->
|
||||
<van-field @click="openOccupation('1')" label="职业类别" placeholder="请输入" name="职业类别" :value="userInfo.occupationName"
|
||||
<van-field @click="openOccupation('1')" required label="职业类别" placeholder="请输入" name="职业类别" :value="userInfo.occupationName"
|
||||
right-icon="arrow" />
|
||||
<van-field :value="userInfo.nativeplace | idToText('nativeplace')" readonly required label="国籍" name="国籍"
|
||||
v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="toSelect('1')" />
|
||||
@@ -58,7 +57,7 @@
|
||||
maxlength="11" />
|
||||
<van-field v-model="insuredInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'"
|
||||
clearable />
|
||||
<van-field @click="openOccupation('2')" label="职业类别" placeholder="请输入" name="职业类别" :value="insuredInfo.occupationName"
|
||||
<van-field required @click="openOccupation('2')" label="职业类别" placeholder="请输入" name="职业类别" :value="insuredInfo.occupationName"
|
||||
right-icon="arrow" />
|
||||
<van-field :value="insuredInfo.nativeplace | idToText('nativeplace')" readonly required label="国籍" name="国籍"
|
||||
v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="toSelect('11')" />
|
||||
@@ -91,7 +90,7 @@
|
||||
maxlength="11" />
|
||||
<van-field v-model="userInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'"
|
||||
clearable />
|
||||
<van-field readonly label="职业类别" name="职业类别" :value="userInfo.occupationName" right-icon="arrow" />
|
||||
<van-field readonly required label="职业类别" name="职业类别" :value="userInfo.occupationName" right-icon="arrow" />
|
||||
<van-field :value="userInfo.nativeplace | idToText('nativeplace')" readonly required label="国籍" name="国籍"
|
||||
v-validate="'required'" right-icon="arrow" placeholder="请选择" />
|
||||
<van-field :value="userInfo.marriage | idToText('marriage')" readonly required label="婚姻状况" name="婚姻状况"
|
||||
@@ -418,7 +417,7 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
underWrite(data).then(res => {
|
||||
underWrite(data).then(res => {
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
if (res.uwResult == '33') {
|
||||
@@ -439,7 +438,7 @@ export default {
|
||||
}
|
||||
})
|
||||
return true
|
||||
} else {
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
return false
|
||||
}
|
||||
@@ -721,13 +720,13 @@ export default {
|
||||
let currentData = currentDataArr[0] + '年' + currentDataArr[1] + '月' + currentDataArr[2] + '日'
|
||||
let insuYear = JSON.parse(localStorage.insuYear)
|
||||
let insuYearM, productDate, productDateTime
|
||||
let insuYearD, hoDate
|
||||
let insuYearD, hoDate
|
||||
switch (insuYear.insuYearFlag) {
|
||||
case 'D':
|
||||
hoDate = Date.parse(val) / 1000 + (insuYear['insuYear'] - 1) * 24 * 3600
|
||||
break
|
||||
case 'Y':
|
||||
hoDate = Date.parse(val) / 1000 + insuYear['insuYear'] * 24 * 3600 * (afterDate.isLeapYear(new Date(val).getFullYear())-1)
|
||||
case 'Y':
|
||||
hoDate = Date.parse(val) / 1000 + insuYear['insuYear'] * 24 * 3600 * (afterDate.isLeapYear(new Date(val).getFullYear()) - 1)
|
||||
break
|
||||
}
|
||||
productDate = new Date(parseInt(hoDate) * 1000)
|
||||
@@ -800,7 +799,7 @@ export default {
|
||||
this.userInfo.homeProvince = data.homeProvince //家庭省
|
||||
this.userInfo.homeCity = data.homeCity //家庭市
|
||||
this.userInfo.homeArea = data.homeArea //家庭区
|
||||
if (data.homeProvince && data.homeCity && data.homeArea) {
|
||||
if (data.homeProvince && data.homeCity && data.homeArea) {
|
||||
this.userInfo.homeName = getAreaName([{ code: data.homeProvince }, { code: data.homeCity }, { code: data.homeArea }]) //家庭地址
|
||||
}
|
||||
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
|
||||
@@ -1122,7 +1121,7 @@ export default {
|
||||
//930折中方案,责任险分档
|
||||
riskItem['amt'] = this.trialList[index].amt
|
||||
}
|
||||
|
||||
|
||||
//保费算保额
|
||||
if (this.trialList[index].trialType == '1') {
|
||||
riskItem['amt'] = this.trialList[index].amt
|
||||
@@ -1259,6 +1258,27 @@ export default {
|
||||
// 如果关系为本人,将投保人信息带入到被保人信息上
|
||||
if (newV == 1) {
|
||||
Object.assign(this.insuredInfo, this.userInfo)
|
||||
} else {
|
||||
this.insuredInfo = {
|
||||
name: '', // 被保人姓名
|
||||
idType: '1', //被保人证件类型
|
||||
idNo: '', //被保人证件号码
|
||||
sex: '0', //被保人性别
|
||||
birthday: '', //被保人出生日期
|
||||
occupationCode: '', //职业代码
|
||||
occupationName: '', //职业名称
|
||||
lifeGrade: '', //寿险等级
|
||||
healthGrade: '', //健康等级
|
||||
nativeplace: '', //国家地区
|
||||
marriageStatus: '', //婚姻状况
|
||||
homeProvince: '', //家庭省
|
||||
homeCity: '', //家庭市
|
||||
homeArea: '', //家庭区
|
||||
homeName: '', //联系地址
|
||||
homeAddress: '', //详细地址
|
||||
mobile: '', //移动电话
|
||||
email: '' //电子邮箱
|
||||
}
|
||||
}
|
||||
},
|
||||
immediate: true,
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
path: `/cardList/cardDetail`,
|
||||
},
|
||||
})
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
return false
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -104,6 +107,7 @@ export default {
|
||||
}, 1000)
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
return false
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user