-
投保须知
-
尊敬的客户:
-
- 感谢您选择国富人寿保险股份有限公司(以下简称“我公司”),为了充分维护您的权益,在填写电子投保书前,敬请您注意以下事项:
-
-
- 1.您的本次投保信息将以电子投保书的形式提交给我公司。
-
-
- 2.电子投保书的填写:本电子投保书是您与我公司订立保险合同的重要组成部分。为保障您的权益,请务必保证电子投保书各项内容为投保人和被保险人如实、准确填写。依据《中华人民共和国保险法》的有关规定,保险公司就被保险人有关情况的询问,您应当履行如实告知义务,否则我公司有权依法解除保险合同,并对保险合同解除前发生的保险事故不承担保险责任。所有告知事项均应以书面告知为准,口头告知无效。
-
-
- 3.投保信息真实性:为保障您的权益,请您务必真实、准确地填写相关投保信息,包括但不限于投保人、被保险人和受益人的姓名、性别、出生日期、证件类型、证件号码、本人联系电话和联系地址等。如果您提供的信息不真实、不准确或不完整,可能导致保险合同无效或您的合法权益受损等。
-
-
- 4.您在投保时如有疑问、投保成功后需要查询保单信息、投保成功后如有资料需要变更以及投诉,请您关注“国富人寿保险”官方微信公众号或前往我公司客户服务中心进行办理,同时还可拨打
- 0771-5723168 咨询。
-
-
5.请您仔细阅读保险条款,了解理赔申请方式及理赔应备文件。
-
- 6.我公司可为您提供电子保险合同或纸质保险合同,如您选择电子保险合同,投保成功后我公司将向您投保时所提供的电子邮箱地址发送电子保险合同;如您选择纸质保险合同,投保成功后,我公司线下为您递送纸质保险合同。为维护您的合法权益,方便我公司为您提供优质服务,请您在收到电子保险合同或纸质保险合同仔细阅读各项内容并确认无误后,关注“国富人寿保险”官方微信公众号进行保险合同签收。犹豫期从保险合同签收日次日起开始计算,犹豫期内您有全额退保的权利。
- 犹豫期过后,我公司向您投保时提供的电子邮箱发送电子发票,请您注意查收。
-
-
- 7.本保险产品销售区域:广西地区。
- 我公司分支机构信息详见官网信息公示(官网地址:www.e-guofu.com)。
-
-
8.以身故为给付保险金条件的保险合同,未经被保险人同意并认可保险金额的,保险合同无效。
-
9.请根据自身情况选择合适的保险产品,以确保本次投保计划符合您的保险需求。提前终止或放弃之前有效的保险合同,可能使您蒙受经济上的损失。
-
- 10.我公司采集客户信息的用途,包括但不限于计算保费、核保、寄送保单、客户回访、续期提醒和寄送通知书、推荐产品等。为了保证您的权益,如果联系电话和联系地址等信息发生变更,应及时办理更正手续。
-
-
11.我公司承诺未经您的同意,不会将客户信息用于第三方机构的销售活动。
-
- 12.其他服务说明 (1)投保、承保流程
- 选择保险产品→点击购买→填写投保信息→确认信息和金额→在线支付→收到承保通知→投保成功。
- (2)保险费支付方式
- 本产品的保险费将由我公司从您投保时所授权的银行账号划扣。
- (3)保单变更办理流程
- 若您需办理保单变更业务,可关注 “国富人寿保险”微信公众号,点击“我的”菜单注册用户,进入“我的保单-保单变更服务”完成在线办理或提交申请材料;
- 也可登录我公司官方网站(www.e-guofu.com
- )客服中心-单证下载,下载保单变更申请书等单证,填写后会同您的有效身份证件等申请资料发送电子邮件至我公司客服邮箱service@e-guofu.com,我公司有专人进行受理;
- 也可前往我公司客户服务中心柜面办理保单变更业务。
- 如需帮助,请咨询我公司客户服务热线:0771-5723168。
- (4)保险金支付和保全退费
- 各类保险金将根据权益人授权的银行账号进行转账支付。
- 保单退费款项按客户申请时授权的银行账号进行转账支付。
-
-
转账授权书
-
本人授权国富人寿保险股份有限公司(以下简称国富人寿)及本人指定之银行按下述授权内容进行保险费的划扣及相关权益的给付。
-
本人声明:
-
1、本人同意委托国富人寿,从本人的授权账户中扣取本保险合同所需缴纳的保险费,并保证授权账户中有足够的金额支付应交保险费。
-
- 2、本人确认授权的银行账户所有人为投保人本人账户的开户银行、户名和账号均真实有效,续期交费账户与首期保费交纳账户为同一账户。
- 本人所提供的授权账户,必须是本人的个人结算账户(如:借记卡、个人活期结算存折)。
-
+
+
投保须知
+
尊敬的客户:
+
+ 感谢您选择国富人寿保险股份有限公司(以下简称“我公司”),为了充分维护您的权益,在填写电子投保书前,敬请您注意以下事项:
+
+
+ 1.您的本次投保信息将以电子投保书的形式提交给我公司。
+
+
+ 2.电子投保书的填写:本电子投保书是您与我公司订立保险合同的重要组成部分。为保障您的权益,请务必保证电子投保书各项内容为投保人和被保险人如实、准确填写。依据《中华人民共和国保险法》的有关规定,保险公司就被保险人有关情况的询问,您应当履行如实告知义务,否则我公司有权依法解除保险合同,并对保险合同解除前发生的保险事故不承担保险责任。所有告知事项均应以书面告知为准,口头告知无效。
+
+
+ 3.投保信息真实性:为保障您的权益,请您务必真实、准确地填写相关投保信息,包括但不限于投保人、被保险人和受益人的姓名、性别、出生日期、证件类型、证件号码、本人联系电话和联系地址等。如果您提供的信息不真实、不准确或不完整,可能导致保险合同无效或您的合法权益受损等。
+
+
+ 4.您在投保时如有疑问、投保成功后需要查询保单信息、投保成功后如有资料需要变更以及投诉,请您关注“国富人寿保险”官方微信公众号或前往我公司客户服务中心进行办理,同时还可拨打
+ 0771-5723168 咨询。
+
+
5.请您仔细阅读保险条款,了解理赔申请方式及理赔应备文件。
+
+ 6.我公司可为您提供电子保险合同或纸质保险合同,如您选择电子保险合同,投保成功后我公司将向您投保时所提供的电子邮箱地址发送电子保险合同;如您选择纸质保险合同,投保成功后,我公司线下为您递送纸质保险合同。为维护您的合法权益,方便我公司为您提供优质服务,请您在收到电子保险合同或纸质保险合同仔细阅读各项内容并确认无误后,关注“国富人寿保险”官方微信公众号进行保险合同签收。犹豫期从保险合同签收日次日起开始计算,犹豫期内您有全额退保的权利。
+ 犹豫期过后,我公司向您投保时提供的电子邮箱发送电子发票,请您注意查收。
+
+
+ 7.本保险产品销售区域:广西地区。
+ 我公司分支机构信息详见官网信息公示(官网地址:www.e-guofu.com)。
+
+
8.以身故为给付保险金条件的保险合同,未经被保险人同意并认可保险金额的,保险合同无效。
+
9.请根据自身情况选择合适的保险产品,以确保本次投保计划符合您的保险需求。提前终止或放弃之前有效的保险合同,可能使您蒙受经济上的损失。
+
+ 10.我公司采集客户信息的用途,包括但不限于计算保费、核保、寄送保单、客户回访、续期提醒和寄送通知书、推荐产品等。为了保证您的权益,如果联系电话和联系地址等信息发生变更,应及时办理更正手续。
+
+
11.我公司承诺未经您的同意,不会将客户信息用于第三方机构的销售活动。
+
+ 12.其他服务说明 (1)投保、承保流程
+ 选择保险产品→点击购买→填写投保信息→确认信息和金额→在线支付→收到承保通知→投保成功。
+ (2)保险费支付方式
+ 本产品的保险费将由我公司从您投保时所授权的银行账号划扣。
+ (3)保单变更办理流程
+ 若您需办理保单变更业务,可关注 “国富人寿保险”微信公众号,点击“我的”菜单注册用户,进入“我的保单-保单变更服务”完成在线办理或提交申请材料;
+ 也可登录我公司官方网站(www.e-guofu.com
+ )客服中心-单证下载,下载保单变更申请书等单证,填写后会同您的有效身份证件等申请资料发送电子邮件至我公司客服邮箱service@e-guofu.com,我公司有专人进行受理;
+ 也可前往我公司客户服务中心柜面办理保单变更业务。
+ 如需帮助,请咨询我公司客户服务热线:0771-5723168。
+ (4)保险金支付和保全退费
+ 各类保险金将根据权益人授权的银行账号进行转账支付。
+ 保单退费款项按客户申请时授权的银行账号进行转账支付。
+
+
+
+
转账授权书
+
本人授权国富人寿保险股份有限公司(以下简称国富人寿)及本人指定之银行按下述授权内容进行保险费的划扣及相关权益的给付。
+
本人声明:
+
1、本人同意委托国富人寿,从本人的授权账户中扣取本保险合同所需缴纳的保险费,并保证授权账户中有足够的金额支付应交保险费。
+
+ 2、本人确认授权的银行账户所有人为投保人本人账户的开户银行、户名和账号均真实有效,续期交费账户与首期保费交纳账户为同一账户。
+ 本人所提供的授权账户,必须是本人的个人结算账户(如:借记卡、个人活期结算存折)。
+
-
- 3、本人同意若因账户挂失、账户冻结、账户余额不足或其
- 他非银行原因造成转账不成功,致使产生保险合同终止的任何后果或投资账户的费用损失,因此引起的责任概由本人承担。
-
+
+ 3、本人同意若因账户挂失、账户冻结、账户余额不足或其
+ 他非银行原因造成转账不成功,致使产生保险合同终止的任何后果或投资账户的费用损失,因此引起的责任概由本人承担。
+
-
4、如本人在同一指定账户内同时授权两张或两张以上保险单中的保险费或其他自动转账业务时,本人同意依照国富人寿规定的转账顺序转账。
-
5、本人投保后若办理退保或退费业务,同意国富人寿将应退金额通过银行划转入该账户。
-
- 6、本人因故结清账户,会重新开立账户,并及时通过国富人寿进行变更。如本人欲终止本授权,应立即向国富人寿递交终止的书面申请,由国富人寿知会银行停止转账;若因本人未及时办理账户变更手续而导致退保给付金无法按时给付,则同意国富人寿按退保申请日的给付金额支付。
-
-
7、对于一年期以上的产品,国富人寿可在保险费约定支付日之前及时通知本人交纳续期保险费。
+
4、如本人在同一指定账户内同时授权两张或两张以上保险单中的保险费或其他自动转账业务时,本人同意依照国富人寿规定的转账顺序转账。
+
5、本人投保后若办理退保或退费业务,同意国富人寿将应退金额通过银行划转入该账户。
+
+ 6、本人因故结清账户,会重新开立账户,并及时通过国富人寿进行变更。如本人欲终止本授权,应立即向国富人寿递交终止的书面申请,由国富人寿知会银行停止转账;若因本人未及时办理账户变更手续而导致退保给付金无法按时给付,则同意国富人寿按退保申请日的给付金额支付。
+
+
7、对于一年期以上的产品,国富人寿可在保险费约定支付日之前及时通知本人交纳续期保险费。
+
@@ -114,6 +119,7 @@ export default {
isDisable: true,
// 是否在微信
isWeixin,
+ changeCard: localStorage.changeCard, //是否从修改银行卡号进来
productCode: localStorage.productCode //获取产品编号
}
},
@@ -127,6 +133,7 @@ export default {
let that = this
// {{switchFlag.Time?pageVariable.msg:pageVariable.number}}
that.timeOut()
+ document.title = this.changeCard ? '转账授权书' : '投保须知'
// Notify({
// type: 'warning',
// message: `提示:阅读时长需在${this.Time ? this.time : this.number}秒以上`,
@@ -193,15 +200,18 @@ export default {
let that = this
if (that.signVal == '0' || that.signVal == '2') {
- that.appntSign.map(item => {
- if (item.documentCode == '1') {
- that.appntSign.signId = item.signId
- that.appntSign.documentCode = item.documentCode
- that.appntSign.documentType = item.documentType
- }
- })
+ if (!that.changeCard) {
+ that.appntSign.map(item => {
+ if (item.documentCode == '1') {
+ that.appntSign.signId = item.signId
+ that.appntSign.documentCode = item.documentCode
+ that.appntSign.documentType = item.documentType
+ }
+ })
+ }
+
let data = {
- orderType: 'SIGN_ORDER',
+ orderType: that.changeCard ? 'SIGNNEW_ORDER' : 'SIGN_ORDER',
orderDTO: {
orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo')
@@ -236,16 +246,43 @@ export default {
// console.log(res)
// })
//GFRS_M0003为万能型产品需要投保人签署产品说明书
- let url = this.productCode == 'GFRS_M0003' ? 'productTip' : 'insuranceTip'
- this.$jump({
- flag: 'h5',
- extra: {
- url: location.origin + '/#/sale/' + url
- },
- routerInfo: {
- path: '/sale/' + url
- }
- })
+ let url = ''
+ if (that.changeCard) {
+ url = 'SignatureConfirmation'
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/SignatureConfirmation'
+ },
+ routerInfo: {
+ path:
+ '/sale/signatureConfirmation?orderNo=' +
+ localStorage.orderNo +
+ '&token=' +
+ localStorage.token +
+ '&saleInsuredInfo=' +
+ localStorage.saleInsuredInfo +
+ '&saleInsuredPersonInfo=' +
+ localStorage.saleInsuredPersonInfo +
+ '&relationToAppnt=' +
+ JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
+ '&signInvalid=' +
+ sessionStorage.getItem('signInvalid') +
+ '&airSign=1'
+ }
+ })
+ } else {
+ url = this.productCode == 'GFRS_M0003' ? 'productTip' : 'insuranceTip'
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/' + url
+ },
+ routerInfo: {
+ path: '/sale/' + url
+ }
+ })
+ }
} else {
that.$toast(res.resultMessage)
}
@@ -322,15 +359,17 @@ export default {
})
// console.log('that.appntSign.signId',that.appntSign,that.appntSign.signId,that.appntSign.documentCode,that.appntSign.documentType)
if (that.signVal == '0' || that.signVal == '2') {
- that.appntSign.map(item => {
- if (item.documentCode == '1') {
- that.appntSign.signId = item.signId
- that.appntSign.documentCode = item.documentCode
- that.appntSign.documentType = item.documentType
- }
- })
+ if (!that.changeCard) {
+ that.appntSign.map(item => {
+ if (item.documentCode == '1') {
+ that.appntSign.signId = item.signId
+ that.appntSign.documentCode = item.documentCode
+ that.appntSign.documentType = item.documentType
+ }
+ })
+ }
let data = {
- orderType: 'SIGN_ORDER',
+ orderType: that.changeCard ? 'SIGNNEW_ORDER' : 'SIGN_ORDER',
orderDTO: {
orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo')
@@ -362,7 +401,12 @@ export default {
// axios.get(url).then(res => {
// console.log(res)
// })
- let url = this.productCode == 'GFRS_M0003' ? 'productTip' : 'insuranceTip'
+ let url = ''
+ if (that.changeCard) {
+ url = 'SignatureConfirmation'
+ } else {
+ url = this.productCode == 'GFRS_M0003' ? 'productTip' : 'insuranceTip'
+ }
this.$jump({
flag: 'h5',
extra: {
diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue
index da2971d41..46f70d46c 100644
--- a/src/views/ebiz/sale/InsuredInfo.vue
+++ b/src/views/ebiz/sale/InsuredInfo.vue
@@ -26,10 +26,20 @@
@click="toSelect('2')"
/>
-
+
证件扫描
-
+ > -->
长期
@@ -66,7 +77,17 @@
placeholder="请选择"
@click="toSelect('1')"
/>
-
+
-
-
+
+
{{ codeDisabled ? `${countDown}s后重新获取` : '发送验证码' }}
@@ -108,15 +138,15 @@
clearable
@blur="checkAvoirdupois(userInfo.avoirdupois)"
/>
-
+
-
+
电子
电子+纸质
-
+
工作信息
@@ -131,14 +161,7 @@
v-validate="'required'"
@click="toSelect('3')"
/>
-
+
-
+
+ /> -->
+
+
+
+
@@ -269,12 +301,12 @@
v-validate="'required'"
@click="homeShow = true"
/>
-
-
-
+
+
+
@@ -285,12 +317,12 @@
-
+
-
+
@@ -310,6 +342,7 @@ import OccupationPicker from '@/components/ebiz/occipation/OccupationPicker'
import CustomerPicker from '@/components/ebiz/customer/CustomerPicker'
import DataDictionary from '@/assets/js/utils/data-dictionary'
import areaList from '@/assets/js/utils/area'
+import areaLists from '@/assets/js/utils/areaNew'
import { saveOrUpdateOrderInfo, getAuthCode, getOrderDetail } from '@/api/ebiz/sale/sale'
import utilsAge from '@/assets/js/utils/age'
import getAreaName from '@/assets/js/utils/get-area-name'
@@ -364,14 +397,14 @@ export default {
countDown: 60, //倒计时
certiexpiredateRequired: true, //证件截止日期是否需要校验
popupShow: false,
- areaShow: false, //省级联动
+ // areaShow: false, //省级联动
homeShow: false,
censusShow: false, //户籍联动
pickerType: undefined,
columns: [],
valueKey: 'text',
census: '', //户籍
- areaName: '', //单位地址
+ // areaName: '', //单位地址
homeName: '', //家庭地址
companyDefault: false, //设置公司地址为默认地址
homeDefault: false, //设置家庭地址为默认地址
@@ -379,6 +412,7 @@ export default {
sessionId: '', //后台返回的 id
effectiveDateTypeAble: false, //长期按钮是否禁用
isElecCont: '', // 保单类型 0 为电子 2 为纸质加电子
+ isRequired: '', //长期前是否有*
userInfo: {
name: '', //投保人姓名
sex: '0', //投保人性别
@@ -386,7 +420,7 @@ export default {
birthday: '',
idType: '1', //证件类型
idNo: '', //证件号码
- certificateValidate: '', //证件起始日期
+ // certificateValidate: '', //证件起始日期
certiexpiredate: '', //证件到期时间
effectiveDateType: false, //是否长期
occupationCode: '', //职业类别编码
@@ -413,27 +447,29 @@ export default {
liabilitiesMoney: '', //负债金额
postcode: '', //邮编
officeTel: '', //单位电话
- companyProvince: '', //单位省
- companyCity: '', //单位市
- companyArea: '', //单位区
- companyAddress: '', //单位详细地址
- companyZip: '', //单位邮编
- companyPhone: '', //单位电话
+ // companyProvince: '', //单位省
+ // companyCity: '', //单位市
+ // companyArea: '', //单位区
+ // companyAddress: '', //单位详细地址
+ // companyZip: '', //单位邮编
+ // companyPhone: '', //单位电话
homeProvince: '', //家庭省
homeCity: '', //家庭市
homeArea: '', //家庭区
homeAddress: '', //家庭详细地址
- homeZip: '', //家庭邮编
+ // homeZip: '', //家庭邮编
homePhone: '', //家庭电话
householdProvince: '', //户籍省
- householdCity: '', //户籍市
- addressStatus: '0', //是否是联系地址
+ householdCity: '' //户籍市
+ // addressStatus: '0' //是否是联系地址
},
areaList: areaList,
+ areaLists: areaLists,
currentPopupIndex: '',
customerShowPicker: false,
occupationShowPicker: false,
- timeId: null
+ timeId: null,
+ idLimit: false //证件起止日期是否只读
}
},
created() {
@@ -450,7 +486,7 @@ export default {
//有无社保
this.userInfo.medical = '1'
//设为联系地址
- this.userInfo.addressStatus = '0'
+ // this.userInfo.addressStatus = '0'
//证件类型
this.userInfo.idType = '1'
//国家/地区
@@ -555,24 +591,24 @@ export default {
onDateConfirm(val, type) {
console.log(type)
switch (type) {
- case '0':
- {
- //证件起始日期
- //如果录入日期早于出生日期或晚于当前日期
- if (Date.parse(val) > Date.parse(new Date()) || Date.parse(val) < Date.parse(this.userInfo.birthday)) {
- this.userInfo.certificateValidate = ''
- this.$refs.certificateValidate.date = ''
- return this.$toast('证件起始日期填写错误')
- }
+ // case '0':
+ // {
+ // //证件起始日期
+ // //如果录入日期早于出生日期或晚于当前日期
+ // if (Date.parse(val) > Date.parse(new Date()) || Date.parse(val) < Date.parse(this.userInfo.birthday)) {
+ // this.userInfo.certificateValidate = ''
+ // this.$refs.certificateValidate.date = ''
+ // return this.$toast('证件起始日期填写错误')
+ // }
- // 计算年龄
- if (this.userInfo.idType == '1') {
- let age = utilsAge.getAge(this.userInfo.birthday, new Date())
- // 长期按钮是否禁用
- this.effectiveDateTypeAble = age <= 45
- }
- }
- break
+ // // 计算年龄
+ // if (this.userInfo.idType == '1') {
+ // let age = utilsAge.getAge(this.userInfo.birthday, new Date())
+ // // 长期按钮是否禁用
+ // this.effectiveDateTypeAble = age <= 45
+ // }
+ // }
+ // break
case '1':
{
console.log('证件截止日期')
@@ -654,7 +690,7 @@ export default {
this.userInfo.birthday = data.birthday //出生日期
this.userInfo.idType = data.customerIdType //证件类型
this.userInfo.idNo = data.customerIdNumber //证件类别
- this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
+ // this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
this.userInfo.effectiveDateType = data.idEffectEndDate == '9999-01-01' //是否长期
this.userInfo.occupationCode = data.occupationCode //职业类别编码
@@ -676,17 +712,17 @@ export default {
this.userInfo.familyAnnualIncome = data.familyAnnualIncome //家庭年收入
this.userInfo.email = data.email //电子邮箱
this.userInfo.liabilitiesMoney = data.liabilitiesMoney //负债金额
- this.userInfo.companyProvince = data.companyProvince //单位省
- this.userInfo.companyCity = data.companyCity //单位市
- this.userInfo.companyArea = data.companyArea //单位区
- this.userInfo.companyAddress = data.companyAddress //单位详细地址
- this.userInfo.companyZip = data.companyZip //单位邮编
- this.userInfo.companyPhone = data.companyPhone //单位电话
+ // this.userInfo.companyProvince = data.companyProvince //单位省
+ // this.userInfo.companyCity = data.companyCity //单位市
+ // this.userInfo.companyArea = data.companyArea //单位区
+ // this.userInfo.companyAddress = data.companyAddress //单位详细地址
+ // this.userInfo.companyZip = data.companyZip //单位邮编
+ // this.userInfo.companyPhone = data.companyPhone //单位电话
this.userInfo.homeProvince = data.homeProvince //家庭省
this.userInfo.homeCity = data.homeCity //家庭市
this.userInfo.homeArea = data.homeArea //家庭区
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
- this.userInfo.homeZip = data.homeZip //家庭邮编
+ // this.userInfo.homeZip = data.homeZip //家庭邮编
this.userInfo.homePhone = data.homePhone //家庭电话
this.userInfo.householdProvince = data.province //户籍省
this.userInfo.householdCity = data.city //户籍市
@@ -694,9 +730,9 @@ export default {
if (data.province.length) {
this.census = getAreaName([{ code: data.province }, { code: data.city }]) //户籍
}
- if (data.companyProvince.length) {
- this.areaName = getAreaName([{ code: data.companyProvince }, { code: data.companyCity }, { code: data.companyArea }]) //单位地址
- }
+ // if (data.companyProvince.length) {
+ // this.areaName = getAreaName([{ code: data.companyProvince }, { code: data.companyCity }, { code: data.companyArea }]) //单位地址
+ // }
if (data.homeProvince.length) {
this.homeName = getAreaName([{ code: data.homeProvince }, { code: data.homeCity }, { code: data.homeArea }]) //家庭地址
}
@@ -708,7 +744,6 @@ export default {
this.getRelatedData(this.userInfo.idNo)
},
nextStep() {
-
// console.log(this.userInfo.idType)
// console.log(this.userInfo.salarySource)
// console.log(this.userInfo.otherSalarySource)
@@ -876,7 +911,7 @@ export default {
})
.then(() => {
// on confirm
-
+
this.save('isShow=1')
console.log('success')
})
@@ -906,7 +941,7 @@ export default {
// system: 'agentApp',
// operateCodeType: '0'
// }
-
+
params.orderDTO.appntDTO = this.userInfo
let resultData = await saveOrUpdateOrderInfo(params)
if (resultData.result == 0) {
@@ -945,13 +980,13 @@ export default {
//区域选择
sureArea(area, type) {
switch (type) {
- case '1': //单位地址
- this.areaName = getAreaName(area)
- ;[this.userInfo.companyProvince, this.userInfo.companyCity, this.userInfo.companyArea] = [area[0].code, area[1].code, area[2].code]
- this.areaShow = false
- break
+ // case '1': //单位地址
+ // this.areaName = getAreaName(area)
+ // ;[this.userInfo.companyProvince, this.userInfo.companyCity, this.userInfo.companyArea] = [area[0].code, area[1].code, area[2].code]
+ // this.areaShow = false
+ // break
case '2': //家庭地址
- this.homeName = getAreaName(area)
+ this.homeName = getAreaName(area, 'new')
;[this.userInfo.homeProvince, this.userInfo.homeCity, this.userInfo.homeArea] = [area[0].code, area[1].code, area[2].code]
this.homeShow = false
break
@@ -963,17 +998,17 @@ export default {
}
},
//设为联系地址
- setAddress(val) {
- console.log(val)
- console.log(this.homeDefault)
- //上面是0下面是1
- if (this.homeDefault) {
- this.userInfo.addressStatus = 1
- }
- if (this.companyDefault) {
- this.userInfo.addressStatus = 0
- }
- },
+ // setAddress(val) {
+ // console.log(val)
+ // console.log(this.homeDefault)
+ // //上面是0下面是1
+ // if (this.homeDefault) {
+ // this.userInfo.addressStatus = 1
+ // }
+ // if (this.companyDefault) {
+ // this.userInfo.addressStatus = 0
+ // }
+ // },
//获取验证码
getCode() {
if (this.userInfo.mobile == '') {
@@ -1015,16 +1050,19 @@ export default {
//勾选长期状态时,证件截止日期置空
if (val) {
this.userInfo.certiexpiredate = ''
+ this.isRequired = false
+ this.idLimit = true
this.certiexpiredateRequired = false
} else {
this.certiexpiredateRequired = true
+ this.isRequired = true
+ this.idLimit = false
}
},
//获取身份证扫描信息
getIdentityInfo(data) {
getIdentityInfo(this, data, '1')
},
-
//校验身高
checkStature(val) {
console.log(val)
@@ -1063,6 +1101,16 @@ export default {
this.effectiveDateTypeAble = idToData(val).age < 45
this.userInfo.birthday = idToData(val).birthday
this.userInfo.sex = idToData(val).sex
+ if (idToData(val).age >= 45) {
+ this.idLimit = true
+ this.isRequired = false
+ this.userInfo.effectiveDateType = true
+ this.effectiveDateTypeAble = true
+ } else {
+ this.idLimit = false
+ this.isRequired = true
+ this.userInfo.effectiveDateType = false
+ }
}
},
computed: {
diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue
index d65ebf986..76e58aa23 100644
--- a/src/views/ebiz/sale/InsuredPerson.vue
+++ b/src/views/ebiz/sale/InsuredPerson.vue
@@ -51,7 +51,8 @@
@blur="getRelatedData(userInfo.idNo)"
>
证件扫描
+ >证件扫描
-
+ > -->
-
+
- {{
codeDisabled ? `${countDown}s后重新获取` : '发送验证码'
}}
-
-
+ -->
+
-
-
-
- -->
+
+
+
@@ -385,7 +386,7 @@
maxlength="30"
:readonly="isAppnt"
/>
-
+ /> -->
下一步
@@ -410,7 +411,7 @@
-
+
@@ -433,6 +434,7 @@ import OccupationPicker from '@/components/ebiz/occipation/OccupationPicker'
import CustomerPicker from '@/components/ebiz/customer/CustomerPicker'
import DataDictionary from '@/assets/js/utils/data-dictionary'
import areaList from '@/assets/js/utils/area'
+import areaLists from '@/assets/js/utils/areaNew'
import { saveOrUpdateOrderInfo, getAuthCode, getOrderDetail } from '@/api/ebiz/sale/sale'
import utilsAge from '@/assets/js/utils/age'
import getAreaName from '@/assets/js/utils/get-area-name'
@@ -440,7 +442,7 @@ import IdentityCardScan from '@/components/ebiz/sale/IdentityCardScan'
import idNoCheck from '@/assets/js/utils/idNoCheck'
import beforeDate from '@/assets/js/utils/getBeforeDate.js'
import { idToData } from './js/verification'
-import { selectComp } from './js/methods'
+import { selectComp, getIdentityInfo } from './js/methods'
export default {
name: 'insuredInfo',
@@ -495,8 +497,9 @@ export default {
columns: [],
valueKey: 'text',
census: '', //户籍
- areaName: '',
+ // areaName: '',
homeName: '',
+ isRequired: '', //长期前是否有*
userInfo: {
name: '',
sex: '0',
@@ -504,7 +507,7 @@ export default {
birthday: '',
idType: '1', //证件类型
idNo: '', //证件号码
- certificateValidate: '', //证件起始日期
+ // certificateValidate: '', //证件起始日期
certiexpiredate: '', //证件到期时间
effectiveDateType: false, //是否长期
occupationCode: '',
@@ -519,7 +522,7 @@ export default {
officeTel: '', //单位电话
stature: '', //身高
avoirdupois: '', //体重
- authCode: '', //验证码
+ // authCode: '', //验证码
degree: '', //文化程度
medical: '1', //有无社保
taxResidentId: '', //税收居民身份
@@ -534,23 +537,24 @@ export default {
familyAnnualIncome: '', //家庭年收入
relationToAppnt: '',
email: '',
- companyProvince: '', //单位省
+ // companyProvince: '', //单位省
companyCity: '', //单位市
companyArea: '', //单位区
- companyAddress: '', //单位详细地址
- companyZip: '', //单位邮编
- companyPhone: '', //单位电话
+ // companyAddress: '', //单位详细地址
+ // companyZip: '', //单位邮编
+ // companyPhone: '', //单位电话
homeProvince: '', //家庭省
homeCity: '', //家庭市
homeArea: '', //家庭区
homeAddress: '', //家庭详细地址
- homeZip: '', //家庭邮编
+ // homeZip: '', //家庭邮编
homePhone: '', //家庭电话
householdProvince: '', //户籍省
- householdCity: '', //户籍市
- addressStatus: '' //是否是联系地址
+ householdCity: '' //户籍市
+ // addressStatus: '' //是否是联系地址
},
areaList: areaList,
+ areaLists: areaLists,
currentPopupIndex: '',
customerShowPicker: false,
occupationShowPicker: false,
@@ -573,7 +577,7 @@ export default {
let insuredInfo = res.orderDTO.appntDTO
// console.log(insuredInfo)
//清空验证码
- insuredInfo.authCode = ''
+ // insuredInfo.authCode = ''
for (let key in this.userInfo) {
this.userInfo[key] = insuredInfo[key]
}
@@ -581,14 +585,16 @@ export default {
//户籍
this.sureArea([{ code: insuredInfo.householdProvince }, { code: insuredInfo.householdCity }], '3')
//单位地址
- this.sureArea([{ code: insuredInfo.companyProvince }, { code: insuredInfo.companyCity }, { code: insuredInfo.companyArea }], '1')
+ // this.sureArea([{ code: insuredInfo.companyProvince }, { code: insuredInfo.companyCity }, { code: insuredInfo.companyArea }], '1')
//家庭地址
this.sureArea([{ code: insuredInfo.homeProvince }, { code: insuredInfo.homeCity }, { code: insuredInfo.homeArea }], '2')
//是否长期
if (insuredInfo.effectiveDateType == 'false') {
this.userInfo.effectiveDateType = false
+ this.effectiveDateTypeAble = false
} else {
this.userInfo.effectiveDateType = true
+ this.effectiveDateTypeAble = true
this.userInfo.certiexpiredate = ''
this.$refs.certiexpiredate.date = ''
}
@@ -617,24 +623,24 @@ export default {
//是否长期
this.userInfo.effectiveDateType = insuredPersonInfo.effectiveDateType == 'false' ? false : true
//设为联系地址
- this.userInfo.addressStatus = '0'
+ // this.userInfo.addressStatus = '0'
//证件类型
this.userInfo.idType = '1'
//国家/地区
this.userInfo.nativeplace = '1'
- if (this.$route.query.isShow) {
+ // if (this.$route.query.isShow) {
//户籍
if (insuredPersonInfo.householdProvince.length) {
this.census = getAreaName([{ code: insuredPersonInfo.householdProvince }, { code: insuredPersonInfo.householdCity }])
}
//单位地址
- if (insuredPersonInfo.companyProvince.length) {
- this.areaName = getAreaName([
- { code: insuredPersonInfo.companyProvince },
- { code: insuredPersonInfo.companyCity },
- { code: insuredPersonInfo.companyArea }
- ])
- }
+ // if (insuredPersonInfo.companyProvince.length) {
+ // this.areaName = getAreaName([
+ // { code: insuredPersonInfo.companyProvince },
+ // { code: insuredPersonInfo.companyCity },
+ // { code: insuredPersonInfo.companyArea }
+ // ])
+ // }
//家庭地址
if (insuredPersonInfo.homeProvince.length) {
this.homeName = getAreaName([
@@ -658,7 +664,7 @@ export default {
// { code: saleInsuredPersonInfo.homeCity },
// { code: saleInsuredPersonInfo.homeArea }
// ]) //家庭地址
- }
+ // }
}
} else {
return this.$toast(res.resultMessage)
@@ -668,7 +674,7 @@ export default {
},
mounted() {
window.appCallBack = this.appCallBack
- // // document.body.style.backgroundColor = '#F5F5F5'
+ // // document.body.style.backgroundColor = '#F5F5F5'
},
methods: {
//监听名字变化
@@ -765,13 +771,13 @@ export default {
this.userInfo.nativeplace = value.id
} else if (this.pickerType == '2') {
this.idLimit = false
- this.userInfo.idNo = this.userInfo.certificateValidate = this.userInfo.certiexpiredate = this.userInfo.birthday = ''
+ // this.userInfo.idNo = this.userInfo.certificateValidate = this.userInfo.certiexpiredate = this.userInfo.birthday = ''
+ this.userInfo.idNo = this.userInfo.certiexpiredate = this.userInfo.birthday = ''
this.userInfo.sex = '0'
this.effectiveDateTypeAble = false
console.log(value.id)
//身份证以外的证件类型可以使用长期
if (value.id == '1') {
- console.log('123')
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
this.effectiveDateTypeAble = age <= 45
} else {
@@ -817,7 +823,7 @@ export default {
let insuredInfo = res.orderDTO.appntDTO
// console.log(insuredInfo)
//清空验证码
- insuredInfo.authCode = ''
+ // insuredInfo.authCode = ''
for (let key in this.userInfo) {
this.userInfo[key] = insuredInfo[key]
}
@@ -833,14 +839,16 @@ export default {
//户籍
this.sureArea([{ code: insuredInfo.householdProvince }, { code: insuredInfo.householdCity }], '3')
//单位地址
- this.sureArea([{ code: insuredInfo.companyProvince }, { code: insuredInfo.companyCity }, { code: insuredInfo.companyArea }], '1')
+ // this.sureArea([{ code: insuredInfo.companyProvince }, { code: insuredInfo.companyCity }, { code: insuredInfo.companyArea }], '1')
//家庭地址
this.sureArea([{ code: insuredInfo.homeProvince }, { code: insuredInfo.homeCity }, { code: insuredInfo.homeArea }], '2')
//是否长期
if (insuredInfo.effectiveDateType == 'false') {
this.userInfo.effectiveDateType = false
+ this.idLimit = false
} else {
this.userInfo.effectiveDateType = true
+ this.idLimit = true
this.userInfo.certiexpiredate = ''
this.$refs.certiexpiredate.date = ''
}
@@ -887,24 +895,24 @@ export default {
//证件起始截止日期
onDateConfirm(val, type) {
switch (type) {
- case '0':
- {
- //证件起始日期
- //如果录入日期早于出生日期或晚于当前日期
- if (Date.parse(val) > Date.parse(new Date()) || Date.parse(val) < Date.parse(this.userInfo.birthday)) {
- this.userInfo.certificateValidate = ''
- this.$refs.certificateValidate.date = ''
- return this.$toast('证件起始日期填写错误')
- }
+ // case '0':
+ // {
+ // //证件起始日期
+ // //如果录入日期早于出生日期或晚于当前日期
+ // if (Date.parse(val) > Date.parse(new Date()) || Date.parse(val) < Date.parse(this.userInfo.birthday)) {
+ // this.userInfo.certificateValidate = ''
+ // this.$refs.certificateValidate.date = ''
+ // return this.$toast('证件起始日期填写错误')
+ // }
- // 计算年龄
- if (this.userInfo.idType == '1') {
- let age = utilsAge.getAge(this.userInfo.birthday, new Date())
- // 长期按钮是否禁用
- this.effectiveDateTypeAble = age <= 45
- }
- }
- break
+ // // 计算年龄
+ // if (this.userInfo.idType == '1') {
+ // let age = utilsAge.getAge(this.userInfo.birthday, new Date())
+ // // 长期按钮是否禁用
+ // this.effectiveDateTypeAble = age <= 45
+ // }
+ // }
+ // break
case '1':
{
//证件截止日期
@@ -957,10 +965,26 @@ export default {
return this.$toast('出生日期不晚于当日')
}
//长期判断
+ let age = utilsAge.getAge(this.userInfo.birthday, new Date())
if (this.userInfo.idType == '1') {
- let age = utilsAge.getAge(this.userInfo.birthday, new Date())
this.effectiveDateTypeAble = age <= 45
+ } else {
+ if (age < 16) {
+ this.userInfo.salarySource = 4
+ this.userInfo.otherSalarySource = '无'
+ this.userInfo.averageAnnualIncome = '0'
+ this.userInfo.liabilitiesMoney = '0'
+ this.userInfo.jobStatus = '3'
+ this.userInfo.marriage = '2'
+ } else {
+ // this.userInfo.salarySource = ''
+ // this.userInfo.averageAnnualIncome = ''
+ // this.userInfo.liabilitiesMoney = ''
+ // this.userInfo.jobStatus = ''
+ // this.userInfo.marriage = ''
+ }
}
+
//出生证有效期
// if (this.userInfo.idType == '3') {
// if (Date.parse(this.userInfo.certiexpiredate) - Date.parse(val) > Date.parse('1973-01-01')) {
@@ -993,6 +1017,7 @@ export default {
},
//选择客户
chooseCustomer(data) {
+ console.log(data)
this.customerShowPicker = false
this.$jump({
flag: 'navigation',
@@ -1012,7 +1037,7 @@ export default {
this.userInfo.birthday = data.birthday //出生日期
this.userInfo.idType = data.customerIdType //证件类型
this.userInfo.idNo = data.customerIdNumber //证件号码
- this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
+ // this.userInfo.certificateValidate = data.idEffectStartDate //证件起始日期
this.userInfo.certiexpiredate = data.idEffectEndDate //证件截止日期
this.userInfo.effectiveDateType = data.idEffectEndDate == '9999-01-01' //是否长期
this.userInfo.occupationCode = data.occupationCode //职业类别编码
@@ -1034,26 +1059,26 @@ export default {
this.userInfo.familyAnnualIncome = data.familyAnnualIncome //家庭年收入
this.userInfo.email = data.email //电子邮箱
this.userInfo.liabilitiesMoney = data.liabilitiesMoney //负债金额
- this.userInfo.companyProvince = data.companyProvince //单位省
- this.userInfo.companyCity = data.companyCity //单位市
- this.userInfo.companyArea = data.companyArea //单位区
- this.userInfo.companyAddress = data.companyAddress //单位详细地址
- this.userInfo.companyZip = data.companyZip //单位邮编
- this.userInfo.companyPhone = data.companyPhone //单位电话
+ // this.userInfo.companyProvince = data.companyProvince //单位省
+ // this.userInfo.companyCity = data.companyCity //单位市
+ // this.userInfo.companyArea = data.companyArea //单位区
+ // this.userInfo.companyAddress = data.companyAddress //单位详细地址
+ // this.userInfo.companyZip = data.companyZip //单位邮编
+ // this.userInfo.companyPhone = data.companyPhone //单位电话
this.userInfo.homeProvince = data.homeProvince //家庭省
this.userInfo.homeCity = data.homeCity //家庭市
this.userInfo.homeArea = data.homeArea //家庭区
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
- this.userInfo.homeZip = data.homeZip //家庭邮编
+ // this.userInfo.homeZip = data.homeZip //家庭邮编
this.userInfo.homePhone = data.homePhone //家庭电话
this.userInfo.householdProvince = data.province //户籍省
this.userInfo.householdCity = data.city //户籍市
if (data.province.length) {
this.census = getAreaName([{ code: data.province }, { code: data.city }]) //户籍
}
- if (data.companyProvince.length) {
- this.areaName = getAreaName([{ code: data.companyProvince }, { code: data.companyCity }, { code: data.companyArea }]) //单位地址
- }
+ // if (data.companyProvince.length) {
+ // this.areaName = getAreaName([{ code: data.companyProvince }, { code: data.companyCity }, { code: data.companyArea }]) //单位地址
+ // }
if (data.homeProvince.length) {
this.homeName = getAreaName([{ code: data.homeProvince }, { code: data.homeCity }, { code: data.homeArea }]) //家庭地址
}
@@ -1063,7 +1088,7 @@ export default {
this.effectiveDateTypeAble = age <= 45
//数据是否从客户列表拉取
this.fromCustomer = true
- this.getRelatedData(this.userInfo.idNo)
+ this.getRelatedData(this.userInfo.idNo, 'select')
},
//下一步
nextStep() {
@@ -1230,8 +1255,8 @@ export default {
//取出local中的被保人信息
let saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
//如果 性别, 出生日期, 有无社保, 职业 发生变化
- console.log(this.userInfo,'这是userInfo')
- console.log(saleInsuredPersonInfo,'这是saleInsuredPersonInfo')
+ console.log(this.userInfo, '这是userInfo')
+ console.log(saleInsuredPersonInfo, '这是saleInsuredPersonInfo')
if (
this.userInfo.sex != saleInsuredPersonInfo.sex ||
this.userInfo.birthday != saleInsuredPersonInfo.birthday ||
@@ -1267,7 +1292,7 @@ export default {
orderInfoDTO: {
orderNo: localStorage.orderNo
},
- smsCodeDTO: { smsId: this.sessionId, code: this.userInfo.authCode },
+ // smsCodeDTO: { smsId: this.sessionId, code: this.userInfo.authCode },
appntDTO: {}
}
}
@@ -1285,6 +1310,7 @@ export default {
// let age = utilsAge.getAge(this.userInfo.birthday, new Date())
// this.userInfo.age = age
// localStorage.saleInsuredPersonInfo = JSON.stringify(this.userInfo)
+ localStorage.relationToAppnt = this.userInfo.relationToAppnt
localStorage.isFrom = 'sale'
//清理计时器
window.clearInterval(this.timeId)
@@ -1307,11 +1333,11 @@ export default {
//区域选择
sureArea(area, type) {
switch (type) {
- case '1': //单位地址
- this.areaName = getAreaName(area)
- ;[this.userInfo.companyProvince, this.userInfo.companyCity, this.userInfo.companyArea] = [area[0].code, area[1].code, area[2].code]
- this.areaShow = false
- break
+ // case '1': //单位地址
+ // this.areaName = getAreaName(area)
+ // ;[this.userInfo.companyProvince, this.userInfo.companyCity, this.userInfo.companyArea] = [area[0].code, area[1].code, area[2].code]
+ // this.areaShow = false
+ // break
case '2': //家庭地址
this.homeName = getAreaName(area)
;[this.userInfo.homeProvince, this.userInfo.homeCity, this.userInfo.homeArea] = [area[0].code, area[1].code, area[2].code]
@@ -1355,39 +1381,23 @@ export default {
}
})
},
- //证件扫描
- goScan() {
- this.isScan = true
- },
//长期状态改变时
effectiveDataTypeChange(val) {
//勾选长期状态时,证件截止日期置空
if (val) {
this.userInfo.certiexpiredate = ''
+ this.isRequired = false
+ this.idLimit = true
this.certiexpiredateRequired = false
} else {
this.certiexpiredateRequired = true
+ this.isRequired = true
+ this.idLimit = false
}
},
//获取身份证扫描信息
getIdentityInfo(data) {
- console.log(data)
- if (data.name && data.name != '待识别') {
- this.userInfo.certificateValidate = `${data.startDate.substr(0, 4)}-${data.startDate.substr(5, 2)}-${data.startDate.substr(8, 2)}`
- this.userInfo.certiexpiredate = `${data.endDate.substr(0, 4)}-${data.endDate.substr(5, 2)}-${data.endDate.substr(8, 2)}`
- this.userInfo.name = data.name
- this.userInfo.idNo = data.idNo
- this.userInfo.birthday = `${data.birthYear}-${data.birthMonth}-${data.birthDay}`
- this.userInfo.sex = data.gender == '男' ? '0' : '1'
- }
- this.isScan = false
- this.$jump({
- flag: 'navigation',
- extra: {
- title: '被保人信息',
- hiddenRight: '1'
- }
- })
+ getIdentityInfo(this, data, '2')
},
//时间戳格式处理
timeStampFormat(timeStamp) {
@@ -1443,7 +1453,7 @@ export default {
return this.$toast('体重输入有误')
}
},
- getRelatedData(val) {
+ getRelatedData(val, from) {
// debugger
if (this.userInfo.idType != '1') {
return
@@ -1460,6 +1470,32 @@ export default {
this.effectiveDateTypeAble = idToData(val).age < 45
this.userInfo.birthday = idToData(val).birthday
this.userInfo.sex = idToData(val).sex
+ if (!from) {
+ if (idToData(val).age < 16) {
+ this.userInfo.salarySource = 4
+ this.userInfo.otherSalarySource = '无'
+ this.userInfo.averageAnnualIncome = '0'
+ this.userInfo.liabilitiesMoney = '0'
+ this.userInfo.jobStatus = '3'
+ this.userInfo.marriage = '2'
+ } else {
+ this.userInfo.salarySource = ''
+ this.userInfo.averageAnnualIncome = ''
+ this.userInfo.liabilitiesMoney = ''
+ this.userInfo.jobStatus = ''
+ this.userInfo.marriage = ''
+ }
+ }
+ if (idToData(val).age >= 45) {
+ this.idLimit = true
+ this.isRequired = false
+ this.userInfo.effectiveDateType = true
+ this.effectiveDateTypeAble = true
+ } else {
+ this.idLimit = false
+ this.isRequired = true
+ this.userInfo.effectiveDateType = false
+ }
//如果选择户口本
// if (this.userInfo.idType == '2') {
// let exipreDate = Date.parse(this.userInfo.birthday) + Date.parse('1985-12-31')
diff --git a/src/views/ebiz/sale/List.vue b/src/views/ebiz/sale/List.vue
index 57e473f1c..06fca4993 100644
--- a/src/views/ebiz/sale/List.vue
+++ b/src/views/ebiz/sale/List.vue
@@ -96,6 +96,11 @@
round
>重新支付
+
+ 修改卡号
+ 重新支付
+
+
-
+
{{ impartTypeNumber[im.impartType] }}
{{
- im.impartType == 0 || im.impartType == 2 || im.impartType == 4 || im.impartType == 6 ? saleInsuredInfo.name : saleInsuredPersonInfo.name
+ im.impartType == 0 || im.impartType == 2 || im.impartType == 4 || im.impartType == 6 || im.impartType == 9 || im.impartType == 11
+ ? saleInsuredInfo.name
+ : saleInsuredPersonInfo.name
}}
![]()
@@ -32,37 +34,65 @@
-
-
- {{ item.impartCode + '.' + item.impartContent }}
-
-
- 是
- 否
-
-
-
-
+
+
+
+ {{ item.impartCode + '.' + item.impartContent }}
-
-
+
+ 是
+ 否
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.impartCode + '.' + item.impartContent }}
+
+
+
+
+
+
+
+
+
+
+
+
@@ -103,6 +133,9 @@ export default {
saleInsuredSex: '',
saleInsuredPersonAge: '',
saleInsuredPersonSex: '',
+ showFlag: false,
+ isShow: false,
+ isShows: false,
impartTypeNumber: {
'0': '投保人健康告知',
'2': '投保人财务告知',
@@ -111,7 +144,11 @@ export default {
'4': '投保人健康告知',
'5': '被保人健康告知',
'6': '投保人财务告知',
- '7': '被保人财务告知'
+ '7': '被保人财务告知',
+ '8': '投保人健康告知',
+ '10': '投保人财务告知',
+ '9': '被保人健康告知',
+ '11': '被保人财务告知'
}
}
},
@@ -130,7 +167,7 @@ export default {
this.saleInsuredAge = utilsAge.getAge(this.saleInsuredInfo.birthday, new Date())
this.saleInsuredSex = this.saleInsuredInfo.sex
//投被不同人取到年纪和性别去判断是是否显示内容
- this.saleInsuredPersonAge = utilsAge.getAge(this.saleInsuredPersonInfo.birthday, new Date())
+ this.saleInsuredPersonAge = this.saleInsuredPersonInfo.age
this.saleInsuredPersonSex = this.saleInsuredPersonInfo.sex
} else {
this.$toast(res.resultMessage)
@@ -138,7 +175,7 @@ export default {
})
// this.relationToAppnt = `1`
this.productCodes = JSON.parse(localStorage.chooseProductCodes)
- this.information()
+ //this.information()
},
methods: {
// 一键全否
@@ -148,6 +185,9 @@ export default {
that.impartDTOS.map(it => {
it.impartItemDTOS.map(itm => {
itm.impartAnswer = '1'
+ if (itm.impartCode == '2b') {
+ itm.impartAnswer = ''
+ }
// console.log(itm.impartAnswer)
// console.log(itm.show)
})
@@ -190,7 +230,21 @@ export default {
}
})
}
- })
+ // 被保人财务告知添加判断
+ if (item.impartType == 3 || item.impartType == 7 || item.impartType == 11) {
+ item.impartItemDTOS.map((items, index, array) => {
+ if (items.extra3) {
+ let obj = JSON.parse(items.extra3)
+ if (obj.age && obj.sex == '2') {
+ //小于18岁显示
+ if (that.saleInsuredPersonAge < Number(obj.age)) {
+ this.isShow = true
+ }
+ }
+ }
+ })
+ }
+ })
//去除数组里面的空字符串
that.impartDTOS.map(item => {
if (item.impartType == 0 || item.impartType == 4) {
@@ -214,14 +268,14 @@ export default {
})
},
// 单选改变时候
- change(item, val) {
+ change(item, val, impartCode, impartType) {
// console.log(item)
// console.log(val)
let that = this
if (val == '0') {
that.impartDTOS.map(it => {
it.impartItemDTOS.map(itm => {
- if (item == itm.extra2) {
+ if (item == itm.isSelect) {
// itm.isTrue = val
itm.show = true
}
@@ -231,13 +285,41 @@ export default {
} else {
that.impartDTOS.map(it => {
it.impartItemDTOS.map(itm => {
- if (item == itm.extra2) {
+ if (item == itm.isSelect) {
// itm.isTrue = val
itm.show = false
}
})
})
}
+ if (impartType == '3' || impartType == '7' || impartType == '11') {
+ if (impartCode == '2a') {
+ if (val == '0') {
+ this.showFlag = true
+ } else {
+ this.showFlag = false
+ }
+ that.impartDTOS.map(it => {
+ it.impartItemDTOS.map(itm => {
+ if (itm.impartCode == '2b') {
+ itm.impartAnswer = ''
+ }
+ })
+ })
+ }
+ }
+ },
+ formatDateTime() {
+ var date = new Date()
+ var y = date.getFullYear()
+ var m = date.getMonth() + 1
+ m = m < 10 ? '0' + m : m
+ var d = date.getDate()
+ d = d < 10 ? '0' + d : d
+ var h = date.getHours()
+ var minute = date.getMinutes()
+ var second = date.getSeconds()
+ return y + m + d + h + minute + second
},
// 获取告知消息,
information() {
@@ -253,7 +335,7 @@ export default {
if (res.result == '0') {
res.productImpartLstDTO.impartDTOS.map(item => {
item.impartItemDTOS.map(im => {
- // debugger
+ im.isSelect = this.formatDateTime() +Math.random().toString(36).substr(2)
im.impartAnswer = ''
if (im.questions) {
if (im.questions.length == '0') {
@@ -328,26 +410,26 @@ export default {
// let arr = []
that.impartDTOS.map(item => {
// 投保人健康告知
- if (item.impartType == '0' || item.impartType == '4') {
+ if (item.impartType == '0' || item.impartType == '4' || item.impartType == '8') {
item.impartItemDTOS.map(i => {
- delete i.extra2
+ delete i.isSelect
delete i.show
})
obj = item
return obj
- } else if (item.impartType == '2' || item.impartType == '6') {
+ } else if (item.impartType == '2' || item.impartType == '6' || item.impartType == '10') {
// 投保人财富
item.impartItemDTOS.map(i => {
- delete i.extra2
+ delete i.isSelect
delete i.show
})
// console.log(item.impartType)
financeImpartDTO = item
return financeImpartDTO
- } else if (item.impartType == '1' || item.impartType == '5') {
+ } else if (item.impartType == '1' || item.impartType == '5' || item.impartType == '9') {
// 被保人健康
item.impartItemDTOS.map(i => {
- delete i.extra2
+ delete i.isSelect
delete i.show
// if (i.impartCode == '14a') {
// i.questions.map(items => {
@@ -357,10 +439,10 @@ export default {
})
objInsured = item
return objInsured
- } else if (item.impartType == '3' || item.impartType == '7') {
+ } else if (item.impartType == '3' || item.impartType == '7' || item.impartType == '11') {
// 被保人财富
item.impartItemDTOS.map(i => {
- delete i.extra2
+ delete i.isSelect
delete i.show
})
financeImpart = item
@@ -373,7 +455,8 @@ export default {
orderType: 'IMPART_ORDER',
orderDTO: {
orderInfoDTO: {
- orderNo: window.localStorage.getItem('orderNo')
+ orderNo: window.localStorage.getItem('orderNo'),
+ productCode: this.$route.query.edit ? localStorage.productCode : JSON.parse(localStorage.trialList)[0].productCode
},
// 投保人
@@ -386,6 +469,7 @@ export default {
}
saveInformation(data).then(res => {
if (res.result == '0') {
+ localStorage.removeItem('changeCard')
that.$jump({
flag: 'h5',
extra: {
@@ -404,7 +488,8 @@ export default {
orderType: 'IMPART_ORDER',
orderDTO: {
orderInfoDTO: {
- orderNo: window.localStorage.getItem('orderNo')
+ orderNo: window.localStorage.getItem('orderNo'),
+ productCode: this.$route.query.edit ? localStorage.productCode : JSON.parse(localStorage.trialList)[0].productCode
},
// 投保人
@@ -418,6 +503,7 @@ export default {
}
saveInformation(data).then(res => {
if (res.result == '0') {
+ localStorage.removeItem('changeCard')
that.$jump({
flag: 'h5',
extra: {
@@ -436,7 +522,8 @@ export default {
orderType: 'IMPART_ORDER',
orderDTO: {
orderInfoDTO: {
- orderNo: window.localStorage.getItem('orderNo')
+ orderNo: window.localStorage.getItem('orderNo'),
+ productCode: this.$route.query.edit ? localStorage.productCode : JSON.parse(localStorage.trialList)[0].productCode
},
// 投保人
@@ -450,6 +537,7 @@ export default {
}
saveInformation(data).then(res => {
if (res.result == '0') {
+ localStorage.removeItem('changeCard')
that.$jump({
flag: 'h5',
extra: {
@@ -500,7 +588,6 @@ export default {
color: #4a90e2;
}
}
-
/deep/ .van-field__label {
width: 38%;
}
@@ -510,6 +597,9 @@ export default {
/deep/.van-collapse-item__content {
padding: 0;
}
+/deep/ .special .van-hairline--top-bottom:first-child::after {
+ border: none;
+}
.allFalse {
position: fixed;
overflow: hidden;
diff --git a/src/views/ebiz/sale/PayResult.vue b/src/views/ebiz/sale/PayResult.vue
index de9e4699a..cde97dfb3 100644
--- a/src/views/ebiz/sale/PayResult.vue
+++ b/src/views/ebiz/sale/PayResult.vue
@@ -37,6 +37,10 @@
重新支付
返回列表页
+
+ 重新支付
+ 更换卡号
+
@@ -49,7 +53,7 @@ export default {
// 保融收银台返回的支付流水号
paySeqNo: '',
// 接口返回数据前,不做页面渲染
- isReady: false,
+ isReady: true,
// 是否已重新获取支付状态。(首次进入本页,立即查询支付结果。如果是‘支付中’,两秒后再次(最后一次)再次获取一次支付状态。)
isReloaded: false,
// 结果原因
@@ -130,6 +134,19 @@ export default {
path: '/sale/payMent'
}
})
+ },
+ //更换卡号
+ changeCard() {
+ localStorage.setItem('changeCard', true)
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/AccountInformation'
+ },
+ routerInfo: {
+ path: '/sale/AccountInformation'
+ }
+ })
}
},
mounted() {
@@ -142,11 +159,11 @@ export default {
}
this.paySeqNo = this.$route.query.RdSeq
- if (!this.paySeqNo) {
- this.$toast({ message: '参数错误,缺少支付流水号‘RdSeq’查询参数', duration: 5000 })
- } else {
- this.queryPayState()
- }
+ // if (!this.paySeqNo) {
+ // this.$toast({ message: '参数错误,缺少支付流水号‘RdSeq’查询参数', duration: 5000 })
+ // } else {
+ // this.queryPayState()
+ // }
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''
diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue
index 0bf173c38..0dbae79af 100644
--- a/src/views/ebiz/sale/SignatureConfirmation.vue
+++ b/src/views/ebiz/sale/SignatureConfirmation.vue
@@ -18,7 +18,6 @@
-
@@ -27,14 +26,23 @@
以下内容需要您按照顺序阅读并签字确认:
-
-
{{ item.documentCode == '1' ? '需阅读' : '需签署' }}
+
+
需阅读
- {{ item.documentName }}
-
-
+ {{ appntSign.documentName }}
+
+
+
+
{{ item.documentCode == '1' ? '需阅读' : '需签署' }}
+
+ {{ item.documentName }}
+
+
+
+
+
点击【开始】按钮,进行相关操作
分享
@@ -53,7 +61,7 @@
size="normal"
class="w150"
plain
- :disabled="appntSignStatus == '3'"
+ :disabled="changeCard ? appntSign.documentStatus == '1' : appntSignStatus == '3'"
v-no-more-click="1000"
@click="start_ocr(saleInsuredPersonInfo.relationToAppnt == '1' ? '2' : '0')"
>开始
-
+
@@ -111,14 +119,23 @@
{{ appnt.name }}
以下内容需要您按照顺序阅读并签字确认:
-
-
{{ item.documentCode == '1' ? '需阅读' : '需签署' }}
+
+
需阅读
- {{ item.documentName }}
-
-
+ {{ appntSign.documentName }}
+
+
+
+
{{ item.documentCode == '1' ? '需阅读' : '需签署' }}
+
+ {{ item.documentName }}
+
+
+
+
+
点击【开始】按钮,进行相关操作
开始
-
@@ -245,7 +276,8 @@ export default {
idcardNumber: ''
},
appntSignStatus: '', //投保人电子签名状态
- insuredSignStatus: '' //被保人电子签名状态
+ insuredSignStatus: '', //被保人电子签名状态
+ changeCard: localStorage.changeCard
}
},
methods: {
@@ -261,7 +293,9 @@ export default {
window.localStorage.setItem('orderNo', this.$route.query.orderNo)
window.localStorage.setItem('relationToAppnt', this.$route.query.relationToAppnt)
window.localStorage.setItem('productCode', this.$route.query.productCode)
-
+ if (this.$route.query.changeCard && this.$route.query.changeCard != 'undefined') {
+ localStorage.setItem('changeCard', true)
+ }
if (this.$route.query.signInvalid) {
sessionStorage.setItem('signInvalid', this.$route.query.signInvalid)
}
@@ -279,17 +313,27 @@ export default {
}
this.airSign = sessionStorage.getItem('airSign')
this.shareCode = sessionStorage.getItem('shareCode')
+ this.changeCard = localStorage.getItem('changeCard')
this.relationToAppnt = this.$route.query.relationToAppnt
this.isShow = false
this.getOrderDetail().then(() => {
// console.log('this.appntSignStatus', this.appntSignStatus)
// console.log('this.appntSignStatus', this.appntSignStatus)
- if (this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0' || this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '2') {
+ console.log('this.appntSignStatus', this.appntSignStatus)
+ console.log('this.shareCode', this.shareCode)
+ console.log('this.changeCard', this.changeCard)
+ if (
+ (this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0') ||
+ (this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '2')
+ ) {
// this.$toast('签名成功,请联系业务员进行后续流程!')
Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' })
} else if (this.insuredSignStatus == '3' && sessionStorage.getItem('shareCode') == '1') {
Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' })
}
+ if (this.changeCard && this.appntSign.documentStatus == '1') {
+ Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' })
+ }
})
if (sessionStorage.shareCode == '1') {
console.log('进来被保人')
@@ -325,7 +369,7 @@ export default {
window.localStorage.setItem('sign-val', val)
window.localStorage.setItem('sign-appnt', JSON.stringify(that.appntSign))
if (val == '0' || val == '2') {
- //idtype为身份证和年纪小于18岁跳过人脸识别
+ //idtype不为身份证或年纪小于18岁跳过人脸识别
if (JSON.parse(this.$route.query.saleInsuredInfo).idType != '1' || JSON.parse(this.$route.query.saleInsuredInfo).age < '18') {
that.goUrl()
} else {
@@ -387,23 +431,27 @@ export default {
goUrl() {
let that = this
let path = ''
- if (localStorage.productCode == 'GFRS_M0003') {
- if (that.appntSign[0].documentStatus == 0) {
- path = 'insuranceInformation'
- } else if (that.appntSign[1].documentStatus == 2) {
- path = 'productTip'
- } else if (that.appntSign[2].documentStatus == 2) {
- path = 'InsuranceTip'
- } else if (that.appntSign[3].documentStatus == 2) {
- path = 'SignatureOfElectronic'
- }
+ if (that.changeCard) {
+ path = 'insuranceInformation'
} else {
- if (that.appntSign[0].documentStatus == 0) {
- path = 'insuranceInformation'
- } else if (that.appntSign[1].documentStatus == 2) {
- path = 'InsuranceTip'
- } else if (that.appntSign[2].documentStatus == 2) {
- path = 'SignatureOfElectronic'
+ if (localStorage.productCode == 'GFRS_M0003') {
+ if (that.appntSign[0].documentStatus == 0) {
+ path = 'insuranceInformation'
+ } else if (that.appntSign[1].documentStatus == 2) {
+ path = 'productTip'
+ } else if (that.appntSign[2].documentStatus == 2) {
+ path = 'InsuranceTip'
+ } else if (that.appntSign[3].documentStatus == 2) {
+ path = 'SignatureOfElectronic'
+ }
+ } else {
+ if (that.appntSign[0].documentStatus == 0) {
+ path = 'insuranceInformation'
+ } else if (that.appntSign[1].documentStatus == 2) {
+ path = 'InsuranceTip'
+ } else if (that.appntSign[2].documentStatus == 2) {
+ path = 'SignatureOfElectronic'
+ }
}
}
that.$jump({
@@ -461,12 +509,14 @@ export default {
'&signInvalid=' +
this.signInvalid +
'&productCode=' +
- localStorage.productCode
+ localStorage.productCode +
+ '&changeCard=' +
+ this.changeCard
)
EWebBridge.webCallAppInJs('bridge', {
flag: 'share',
extra: {
- title: `国富人寿电子投保单(${shareName})签字`,
+ title: this.changeCard ? '国富人寿修改银行卡号确认' : `国富人寿电子投保单(${shareName})签字`,
content: '签字进行',
url:
location.origin +
@@ -485,7 +535,9 @@ export default {
'&signInvalid=' +
this.signInvalid +
'&productCode=' +
- localStorage.productCode,
+ localStorage.productCode +
+ '&changeCard=' +
+ this.changeCard,
img: this.$assetsUrl + 'images/logo.png'
}
})
@@ -589,6 +641,20 @@ export default {
}
})
},
+ // 重新支付
+ rePayMent() {
+ // 再次支付 salelist为 0
+ localStorage.salelist = '0'
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/sale/payMent'
+ },
+ routerInfo: {
+ path: '/sale/payMent'
+ }
+ })
+ },
// 获取消息和阅读状态
getOrderDetail() {
let that = this
@@ -627,31 +693,39 @@ export default {
that.appnt = res.orderDTO.appntDTO
that.date = res.orderDTO.orderInfoDTO.appntDateLabel
res.orderDTO.ebizSignDTOS.map(item => {
- if (item.signType == '0') {
- that.appntSign.push(item) //投保
- that.addKey(item)
- } else if (item.signType == '1') {
- that.insuredSign.push(item) //被保
+ if (item.signType == '0' || item.signType == '2') {
+ if (!localStorage.changeCard) {
+ if (item.documentCode != '5') {
+ that.appntSign.push(item) //投保
+ that.addKey(item)
+ }
+ } else {
+ //阅读授权书
+ if (item.documentCode == '5') {
+ that.appntSign = item //投保
+ }
+ }
} else {
- that.appntSign.push(item) //本人
- that.addKey(item)
- }
- })
- //将投保人数组排序
- that.appntSign.sort(function(a, b) {
- return a.key - b.key
- })
- //获取投保和被保人电子投保单签字状态
- that.appntSign.map(item => {
- if (item.documentCode == '2') {
- that.appntSignStatus = item.documentStatus
- }
- })
- that.insuredSign.map(item => {
- if (item.documentCode == '2') {
- that.insuredSignStatus = item.documentStatus
+ that.insuredSign.push(item) //被保
}
})
+ if (!that.changeCard) {
+ //将投保人数组排序
+ that.appntSign.sort(function(a, b) {
+ return a.key - b.key
+ })
+ //获取投保和被保人电子投保单签字状态
+ that.appntSign.map(item => {
+ if (item.documentCode == '2') {
+ that.appntSignStatus = item.documentStatus
+ }
+ })
+ that.insuredSign.map(item => {
+ if (item.documentCode == '2') {
+ that.insuredSignStatus = item.documentStatus
+ }
+ })
+ }
resolve('success')
}
})
@@ -730,6 +804,7 @@ export default {
},
mounted() {
let that = this
+ document.title = this.changeCard ? '修改银行卡号确认' : '签名确认'
// 初始化
that.init()
// localStorage.orderNo = '19090510425500178912'
diff --git a/src/views/ebiz/sale/js/methods.js b/src/views/ebiz/sale/js/methods.js
index b2cda7c38..5bce49796 100644
--- a/src/views/ebiz/sale/js/methods.js
+++ b/src/views/ebiz/sale/js/methods.js
@@ -52,6 +52,7 @@ function closeBtn(that) {
* @param {*} type 1 投保人 2 被保人
*/
export function getIdentityInfo(that, data, type) {
+ console.log(data)
// 正面
if (data.name && data.name != '待识别') {
that.userInfo.name = data.name
@@ -68,6 +69,8 @@ export function getIdentityInfo(that, data, type) {
that.userInfo.certiexpiredate = `${data.endDate.substr(0, 4)}-${data.endDate.substr(5, 2)}-${data.endDate.substr(8, 2)}`
// that.userInfo.certiexpiredate = `${data.endDate.substr(0, 4)}-${data.endDate.substr(4, 2)}-${data.endDate.substr(6, 2)}`
that.effectiveDateTypeAble = true
+ that.idLimit = false
+ that.isRequired = true
} else {
// 勾选长期
that.userInfo.effectiveDateType = true
@@ -75,6 +78,9 @@ export function getIdentityInfo(that, data, type) {
that.effectiveDateTypeAble = false
// 证件截止日期不需要校验
that.certiexpiredateRequired = false
+ //截止日期不可编辑
+ that.idLimit = true
+ that.isRequired = false
}
}
that.isScan = false