mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 12:26:44 +08:00
Merge branch 'feature/GFRS-1006【0423】国富人寿爱易保重大疾病保险产品开发' into dev
# Conflicts: # src/assets/js/business-common.js # src/assets/js/utils/validator.js # src/views/ebiz/sale/AddBeneficiaryInfo.vue # src/views/ebiz/sale/InsuredInfo.vue # src/views/ebiz/sale/InsuredPerson.vue # src/views/ebiz/sale/List.vue # src/views/ebiz/sale/SignatureConfirmation.vue
This commit is contained in:
@@ -511,6 +511,9 @@ export default {
|
|||||||
age,
|
age,
|
||||||
idNo: appntDTO.idNo,
|
idNo: appntDTO.idNo,
|
||||||
appntId: appntDTO.appntId,
|
appntId: appntDTO.appntId,
|
||||||
|
healthGrade: appntDTO.healthGrade,
|
||||||
|
lifeGrade: appntDTO.lifeGrade,
|
||||||
|
mobile: appntDTO.mobile,
|
||||||
occupationName: appntDTO.occupationName,
|
occupationName: appntDTO.occupationName,
|
||||||
occupationCode: appntDTO.occupationCode,
|
occupationCode: appntDTO.occupationCode,
|
||||||
marriage: appntDTO.marriage,
|
marriage: appntDTO.marriage,
|
||||||
|
|||||||
@@ -931,6 +931,11 @@ export default {
|
|||||||
shortName: '寿险',
|
shortName: '寿险',
|
||||||
name: '国富人寿国富栋梁定期寿险',
|
name: '国富人寿国富栋梁定期寿险',
|
||||||
code: 'GFRS_M0020'
|
code: 'GFRS_M0020'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
shortName: '重疾险',
|
||||||
|
name: '国富人寿爱易保重大疾病保险',
|
||||||
|
code: 'GFRSPRO_M0021'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// 职级
|
// 职级
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ const dutyGFRS_A0004Rules = {
|
|||||||
mainRisk: 'GFRS_M0005',
|
mainRisk: 'GFRS_M0005',
|
||||||
msg: '住院医疗提示:金额只能是0.5、1、1.5、2',
|
msg: '住院医疗提示:金额只能是0.5、1、1.5、2',
|
||||||
msg_1: '附加到国富人寿国富民惠医疗保险(2020版)最高基本保额不超过1万元。',
|
msg_1: '附加到国富人寿国富民惠医疗保险(2020版)最高基本保额不超过1万元。',
|
||||||
msg_2: '住院医疗提示:金额只能是0.5、1',
|
msg_2: '住院医疗提示:金额只能是0.5、1'
|
||||||
},
|
},
|
||||||
320206: {
|
320206: {
|
||||||
msg: '住院津贴提示:投保可选责任时,可选责任最低投保 50 元,且应为 10 元的整数倍'
|
msg: '住院津贴提示:投保可选责任时,可选责任最低投保 50 元,且应为 10 元的整数倍'
|
||||||
@@ -443,9 +443,9 @@ export default {
|
|||||||
item.calFactorLst.map(item2 => {
|
item.calFactorLst.map(item2 => {
|
||||||
if (item2.code == 'dutyGroup') {
|
if (item2.code == 'dutyGroup') {
|
||||||
item2.rules.map(item3 => {
|
item2.rules.map(item3 => {
|
||||||
console.log(item3);
|
console.log(item3)
|
||||||
if (item3.duty == '320205') {
|
if (item3.duty == '320205') {
|
||||||
item3.maxDutyAmt = "1"
|
item3.maxDutyAmt = '1'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -832,8 +832,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.nextStepFlag = false
|
this.nextStepFlag = false
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -204,9 +204,9 @@ import FieldDatePicter from '@/components/ebiz/FieldDatePicter'
|
|||||||
import OccupationPicker from '@/components/ebiz/occipation/OccupationPicker'
|
import OccupationPicker from '@/components/ebiz/occipation/OccupationPicker'
|
||||||
import DataDictionary from '@/assets/js/utils/data-dictionary'
|
import DataDictionary from '@/assets/js/utils/data-dictionary'
|
||||||
import areaList from '@/assets/js/utils/area'
|
import areaList from '@/assets/js/utils/area'
|
||||||
import { getOrderDetail } from '@/api/ebiz/sale/sale'
|
// import { getOrderDetail } from '@/api/ebiz/sale/sale'
|
||||||
import filter from '@/filters/index'
|
import filter from '@/filters/index'
|
||||||
import getAreaName from '@/assets/js/utils/get-area-name'
|
// import getAreaName from '@/assets/js/utils/get-area-name'
|
||||||
import utilsAge from '@/assets/js/utils/age'
|
import utilsAge from '@/assets/js/utils/age'
|
||||||
import IdentityCardScan from '@/components/ebiz/sale/IdentityCardScan'
|
import IdentityCardScan from '@/components/ebiz/sale/IdentityCardScan'
|
||||||
import CustomerPicker from '@/components/ebiz/customer/CustomerPicker'
|
import CustomerPicker from '@/components/ebiz/customer/CustomerPicker'
|
||||||
@@ -217,7 +217,7 @@ import { selectComp } from './js/methods'
|
|||||||
let relationToInsured = [
|
let relationToInsured = [
|
||||||
{ id: 2, text: '配偶' },
|
{ id: 2, text: '配偶' },
|
||||||
{ id: 3, text: '父母' },
|
{ id: 3, text: '父母' },
|
||||||
{ id: 4, text: '子女' },
|
{ id: 4, text: '子女' }
|
||||||
]
|
]
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -233,7 +233,7 @@ export default {
|
|||||||
[Picker.name]: Picker,
|
[Picker.name]: Picker,
|
||||||
[Area.name]: Area,
|
[Area.name]: Area,
|
||||||
[IdentityCardScan.name]: IdentityCardScan,
|
[IdentityCardScan.name]: IdentityCardScan,
|
||||||
[CustomerPicker.name]: CustomerPicker,
|
[CustomerPicker.name]: CustomerPicker
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -242,12 +242,12 @@ export default {
|
|||||||
sexRadio: [
|
sexRadio: [
|
||||||
{
|
{
|
||||||
label: '男',
|
label: '男',
|
||||||
value: '0',
|
value: '0'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '女',
|
label: '女',
|
||||||
value: '1',
|
value: '1'
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
currentPopupIndex: '',
|
currentPopupIndex: '',
|
||||||
relationToAppnt: '',
|
relationToAppnt: '',
|
||||||
@@ -294,7 +294,7 @@ export default {
|
|||||||
relationToInsured: '', //和被保险人的关系
|
relationToInsured: '', //和被保险人的关系
|
||||||
lifeGrade: '',
|
lifeGrade: '',
|
||||||
healthGrade: '',
|
healthGrade: '',
|
||||||
bnfType: '0', //身故受益人
|
bnfType: '0' //身故受益人
|
||||||
},
|
},
|
||||||
areaList: areaList,
|
areaList: areaList,
|
||||||
occupationShowPicker: false,
|
occupationShowPicker: false,
|
||||||
@@ -306,7 +306,7 @@ export default {
|
|||||||
// area: '',
|
// area: '',
|
||||||
// city: '',
|
// city: '',
|
||||||
// province: ''
|
// province: ''
|
||||||
saleInsuredPersonInfo: JSON.parse(localStorage.saleInsuredPersonInfo), //被保人信息
|
saleInsuredPersonInfo: JSON.parse(localStorage.saleInsuredPersonInfo) //被保人信息
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -370,15 +370,15 @@ export default {
|
|||||||
flag: 'goBack',
|
flag: 'goBack',
|
||||||
extra: {
|
extra: {
|
||||||
refresh: '1', //是否返回后刷新0:否,1:是
|
refresh: '1', //是否返回后刷新0:否,1:是
|
||||||
index: '-1',
|
index: '-1'
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'navigation',
|
flag: 'navigation',
|
||||||
extra: {
|
extra: {
|
||||||
title: '指定受益人信息',
|
title: '指定受益人信息',
|
||||||
hiddenRight: '1',
|
hiddenRight: '1'
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
if (this.currentPopupIndex == 1) {
|
if (this.currentPopupIndex == 1) {
|
||||||
this.customerShowPicker = false
|
this.customerShowPicker = false
|
||||||
@@ -391,8 +391,8 @@ export default {
|
|||||||
flag: 'navigation',
|
flag: 'navigation',
|
||||||
extra: {
|
extra: {
|
||||||
title: '指定受益人信息',
|
title: '指定受益人信息',
|
||||||
hiddenRight: '1',
|
hiddenRight: '1'
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
this.occupationShowPicker = false
|
this.occupationShowPicker = false
|
||||||
},
|
},
|
||||||
@@ -414,7 +414,7 @@ export default {
|
|||||||
} else if (pickerType == '4') {
|
} else if (pickerType == '4') {
|
||||||
this.columns = [
|
this.columns = [
|
||||||
{ id: 0, text: '有' },
|
{ id: 0, text: '有' },
|
||||||
{ id: 1, text: '无' },
|
{ id: 1, text: '无' }
|
||||||
]
|
]
|
||||||
} else if (pickerType == '5') {
|
} else if (pickerType == '5') {
|
||||||
this.columns = DataDictionary.taxIdentity
|
this.columns = DataDictionary.taxIdentity
|
||||||
@@ -600,8 +600,8 @@ export default {
|
|||||||
flag: 'navigation',
|
flag: 'navigation',
|
||||||
extra: {
|
extra: {
|
||||||
title: '指定受益人信息',
|
title: '指定受益人信息',
|
||||||
hiddenRight: '1',
|
hiddenRight: '1'
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
// let { customerName, customerSex } = data
|
// let { customerName, customerSex } = data
|
||||||
this.userInfo.name = data.customerName //用户名
|
this.userInfo.name = data.customerName //用户名
|
||||||
@@ -708,7 +708,7 @@ export default {
|
|||||||
title: '提示',
|
title: '提示',
|
||||||
message: '亲,请确认受益人与被保险人关系哦',
|
message: '亲,请确认受益人与被保险人关系哦',
|
||||||
confirmButtonText: '继续填写',
|
confirmButtonText: '继续填写',
|
||||||
cancelButtonText: '返回修改',
|
cancelButtonText: '返回修改'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -719,7 +719,7 @@ export default {
|
|||||||
title: '提示',
|
title: '提示',
|
||||||
message: '亲,请确认受益人与被保险人关系哦',
|
message: '亲,请确认受益人与被保险人关系哦',
|
||||||
confirmButtonText: '继续填写',
|
confirmButtonText: '继续填写',
|
||||||
cancelButtonText: '返回修改',
|
cancelButtonText: '返回修改'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -838,7 +838,7 @@ export default {
|
|||||||
let obj = {
|
let obj = {
|
||||||
'1': true,
|
'1': true,
|
||||||
'5': true,
|
'5': true,
|
||||||
'6': true,
|
'6': true
|
||||||
}
|
}
|
||||||
let idType = this.userInfo.idType
|
let idType = this.userInfo.idType
|
||||||
// 通过年龄 判断证件是否符合要求
|
// 通过年龄 判断证件是否符合要求
|
||||||
@@ -871,7 +871,7 @@ export default {
|
|||||||
// 非大陆人员按外籍人员
|
// 非大陆人员按外籍人员
|
||||||
let obj = {
|
let obj = {
|
||||||
'4': true,
|
'4': true,
|
||||||
'8': true,
|
'8': true
|
||||||
}
|
}
|
||||||
let idType = this.userInfo.idType
|
let idType = this.userInfo.idType
|
||||||
if (obj[idType] === undefined) {
|
if (obj[idType] === undefined) {
|
||||||
@@ -885,7 +885,7 @@ export default {
|
|||||||
beneficiaries = JSON.parse(localStorage.beneficiaryInfo)
|
beneficiaries = JSON.parse(localStorage.beneficiaryInfo)
|
||||||
// 收益份额不超过 100%
|
// 收益份额不超过 100%
|
||||||
let ratio = 0
|
let ratio = 0
|
||||||
beneficiaries.forEach((item) => {
|
beneficiaries.forEach(item => {
|
||||||
ratio += parseInt(item.bnfLot)
|
ratio += parseInt(item.bnfLot)
|
||||||
})
|
})
|
||||||
ratio += parseInt(this.userInfo.bnfLot)
|
ratio += parseInt(this.userInfo.bnfLot)
|
||||||
@@ -896,7 +896,7 @@ export default {
|
|||||||
|
|
||||||
if (this.userInfo.idNo != '') {
|
if (this.userInfo.idNo != '') {
|
||||||
// 受益人不能重复添加 (证件号码为基准)
|
// 受益人不能重复添加 (证件号码为基准)
|
||||||
let isDbAdd = beneficiaries.some((item) => {
|
let isDbAdd = beneficiaries.some(item => {
|
||||||
return item.idNo == this.userInfo.idNo
|
return item.idNo == this.userInfo.idNo
|
||||||
})
|
})
|
||||||
console.log(isDbAdd)
|
console.log(isDbAdd)
|
||||||
@@ -922,11 +922,11 @@ export default {
|
|||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
url: location.origin + '/#/sale/beneficiary',
|
url: location.origin + '/#/sale/beneficiary',
|
||||||
needRefresh: '1',
|
needRefresh: '1'
|
||||||
},
|
},
|
||||||
routerInfo: {
|
routerInfo: {
|
||||||
path: '/sale/beneficiary',
|
path: '/sale/beneficiary'
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$toast(this.$validator.errors.all()[0])
|
this.$toast(this.$validator.errors.all()[0])
|
||||||
@@ -1123,15 +1123,15 @@ export default {
|
|||||||
// } else {
|
// } else {
|
||||||
// this.idLimit = false
|
// this.idLimit = false
|
||||||
// }
|
// }
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
filters: {
|
filters: {
|
||||||
idToText: filter.idToText,
|
idToText: filter.idToText
|
||||||
},
|
},
|
||||||
beforeRouteLeave(to, from, next) {
|
beforeRouteLeave(to, from, next) {
|
||||||
document.body.style.backgroundColor = ''
|
document.body.style.backgroundColor = ''
|
||||||
next()
|
next()
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -630,6 +630,7 @@ export default {
|
|||||||
this.userInfo.effectiveDateType = insuredPersonInfo.effectiveDateType == 'false' ? false : true
|
this.userInfo.effectiveDateType = insuredPersonInfo.effectiveDateType == 'false' ? false : true
|
||||||
//设为联系地址
|
//设为联系地址
|
||||||
// this.userInfo.addressStatus = '0'
|
// this.userInfo.addressStatus = '0'
|
||||||
|
|
||||||
// if (this.$route.query.isShow) {
|
// if (this.$route.query.isShow) {
|
||||||
//户籍
|
//户籍
|
||||||
if (insuredPersonInfo.householdProvince.length) {
|
if (insuredPersonInfo.householdProvince.length) {
|
||||||
@@ -773,10 +774,7 @@ export default {
|
|||||||
} else if (pickerType == '3') {
|
} else if (pickerType == '3') {
|
||||||
this.columns = DataDictionary.degree
|
this.columns = DataDictionary.degree
|
||||||
} else if (pickerType == '4') {
|
} else if (pickerType == '4') {
|
||||||
this.columns = [
|
this.columns = [{ id: 0, text: '有' }, { id: 1, text: '无' }]
|
||||||
{ id: 0, text: '有' },
|
|
||||||
{ id: 1, text: '无' }
|
|
||||||
]
|
|
||||||
} else if (pickerType == '5') {
|
} else if (pickerType == '5') {
|
||||||
this.columns = DataDictionary.taxIdentity
|
this.columns = DataDictionary.taxIdentity
|
||||||
} else if (pickerType == '6') {
|
} else if (pickerType == '6') {
|
||||||
@@ -1055,7 +1053,7 @@ export default {
|
|||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'navigation',
|
flag: 'navigation',
|
||||||
extra: {
|
extra: {
|
||||||
title: '被保险人信息',
|
title: '被保人信息',
|
||||||
hiddenRight: '1'
|
hiddenRight: '1'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -1180,7 +1178,7 @@ export default {
|
|||||||
return this.$toast('亲,请确认被保险人学历哦~')
|
return this.$toast('亲,请确认被保险人学历哦~')
|
||||||
}
|
}
|
||||||
|
|
||||||
//投被保人关系是配偶
|
//投被保险人关系是配偶
|
||||||
if (this.userInfo.relationToAppnt == '2') {
|
if (this.userInfo.relationToAppnt == '2') {
|
||||||
//投保人或者被保险人不是已婚
|
//投保人或者被保险人不是已婚
|
||||||
if (this.appntMarriage != '1' || this.userInfo.marriage != '1') {
|
if (this.appntMarriage != '1' || this.userInfo.marriage != '1') {
|
||||||
|
|||||||
@@ -218,16 +218,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 短信验证 -->
|
<!-- 短信验证 -->
|
||||||
<van-dialog
|
<van-dialog v-model="show" title="提示" show-cancel-button @confirm="authConfirm(authCode)" @cancel="clearTimer">
|
||||||
v-model="show"
|
<p class="p10 fs14">为确保是您本人操作,短信验证码已发送至您手机号{{ encyCustomerMobile }},请您输入验证码以完成后续投保操作。</p>
|
||||||
title="提示"
|
|
||||||
show-cancel-button
|
|
||||||
@confirm="authConfirm(authCode)"
|
|
||||||
@cancel="clearTimer"
|
|
||||||
>
|
|
||||||
<p class="p10 fs14">
|
|
||||||
为确保是您本人操作,短信验证码已发送至您手机号{{ encyCustomerMobile }},请您输入验证码以完成后续投保操作。
|
|
||||||
</p>
|
|
||||||
<van-cell-group class="flex align-items-c pr5 mb15">
|
<van-cell-group class="flex align-items-c pr5 mb15">
|
||||||
<van-field maxlength="6" placeholder="请输入短信验证码" v-model="authCode" clearable label-width="0" />
|
<van-field maxlength="6" placeholder="请输入短信验证码" v-model="authCode" clearable label-width="0" />
|
||||||
<van-button type="danger" plain size="small" class="w160 p0" @click="getAuthCode" :disabled="codeDisabled" v-no-more-click="2000">{{
|
<van-button type="danger" plain size="small" class="w160 p0" @click="getAuthCode" :disabled="codeDisabled" v-no-more-click="2000">{{
|
||||||
@@ -235,7 +227,12 @@
|
|||||||
}}</van-button>
|
}}</van-button>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
</van-dialog>
|
</van-dialog>
|
||||||
<UploadImageFile :typeface="idcardData.typeface && (faceAuthCount.weixin < smsAuthNum)" :realName="idcardData.idcardName" :idno="idcardData.idcardNumber" @sendimage="sendimage">
|
<UploadImageFile
|
||||||
|
:typeface="idcardData.typeface && faceAuthCount.weixin < smsAuthNum"
|
||||||
|
:realName="idcardData.idcardName"
|
||||||
|
:idno="idcardData.idcardNumber"
|
||||||
|
@sendimage="sendimage"
|
||||||
|
>
|
||||||
</UploadImageFile>
|
</UploadImageFile>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -431,7 +428,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 获取消息和阅读状态
|
// 获取消息和阅读状态
|
||||||
realPeopelCheck() {
|
realPeopelCheck() {
|
||||||
let that = this
|
|
||||||
this.$toast.loading({
|
this.$toast.loading({
|
||||||
// 持续展示 toast
|
// 持续展示 toast
|
||||||
duration: 0,
|
duration: 0,
|
||||||
@@ -440,34 +436,34 @@ export default {
|
|||||||
loadingType: 'spinner',
|
loadingType: 'spinner',
|
||||||
message: '加载中……'
|
message: '加载中……'
|
||||||
})
|
})
|
||||||
let data = {};
|
let data = {}
|
||||||
this.authCode = null;
|
this.authCode = null
|
||||||
if("appnt" == this.operaFlag){
|
if ('appnt' == this.operaFlag) {
|
||||||
let appntData = JSON.parse(localStorage.saleInsuredInfo);
|
let appntData = JSON.parse(localStorage.saleInsuredInfo)
|
||||||
data = {
|
data = {
|
||||||
name: appntData.name,
|
name: appntData.name,
|
||||||
idType: appntData.idType,
|
idType: appntData.idType,
|
||||||
idNo: appntData.idNo,
|
idNo: appntData.idNo,
|
||||||
mobile: appntData.mobile
|
mobile: appntData.mobile
|
||||||
}
|
}
|
||||||
this.customerMobile = appntData.mobile;
|
this.customerMobile = appntData.mobile
|
||||||
this.encyCustomerMobile = this.customerMobile.replace(/^(\d{3})\d{4}(\d{4})$/,'$1****$2');
|
this.encyCustomerMobile = this.customerMobile.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
|
||||||
}else if("insured" == this.operaFlag){
|
} else if ('insured' == this.operaFlag) {
|
||||||
let insuredData = JSON.parse(localStorage.saleInsuredPersonInfo);
|
let insuredData = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||||
data = {
|
data = {
|
||||||
name: insuredData.name,
|
name: insuredData.name,
|
||||||
idType: insuredData.idType,
|
idType: insuredData.idType,
|
||||||
idNo: insuredData.idNo,
|
idNo: insuredData.idNo,
|
||||||
mobile: insuredData.mobile
|
mobile: insuredData.mobile
|
||||||
}
|
}
|
||||||
this.customerMobile = insuredData.mobile;
|
this.customerMobile = insuredData.mobile
|
||||||
this.encyCustomerMobile = this.customerMobile.replace(/^(\d{3})\d{4}(\d{4})$/,'$1****$2');
|
this.encyCustomerMobile = this.customerMobile.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
|
||||||
}
|
}
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
checkPhone(data).then(res => {
|
checkPhone(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
console.log(res);
|
console.log(res)
|
||||||
this.show = true;
|
this.show = true
|
||||||
} else {
|
} else {
|
||||||
Dialog.confirm({
|
Dialog.confirm({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
@@ -521,17 +517,17 @@ export default {
|
|||||||
//提交变更申请
|
//提交变更申请
|
||||||
async changeSubmit() {
|
async changeSubmit() {
|
||||||
if (null == this.sid) {
|
if (null == this.sid) {
|
||||||
this.$toast("请先进行发送短信验证码")
|
this.$toast('请先进行发送短信验证码')
|
||||||
return;
|
return
|
||||||
}
|
}
|
||||||
let res = await autchCodeCheck({
|
let res = await autchCodeCheck({
|
||||||
smsId: this.sid,
|
smsId: this.sid,
|
||||||
code: this.authCode
|
code: this.authCode
|
||||||
})
|
})
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
if("appnt" == this.operaFlag){
|
if ('appnt' == this.operaFlag) {
|
||||||
this.goUrl()
|
this.goUrl()
|
||||||
}else if("insured" == this.operaFlag){
|
} else if ('insured' == this.operaFlag) {
|
||||||
this.insuredUrl()
|
this.insuredUrl()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -560,8 +556,8 @@ export default {
|
|||||||
this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredInfo).name
|
this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredInfo).name
|
||||||
this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredInfo).idNo
|
this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredInfo).idNo
|
||||||
} else {
|
} else {
|
||||||
this.operaFlag = "appnt";
|
this.operaFlag = 'appnt'
|
||||||
this.realPeopelCheck();
|
this.realPeopelCheck()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -576,8 +572,8 @@ export default {
|
|||||||
this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredPersonInfo).name
|
this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredPersonInfo).name
|
||||||
this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredPersonInfo).idNo
|
this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredPersonInfo).idNo
|
||||||
} else {
|
} else {
|
||||||
this.operaFlag = "insured";
|
this.operaFlag = 'insured'
|
||||||
this.realPeopelCheck();
|
this.realPeopelCheck()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -598,7 +594,7 @@ export default {
|
|||||||
if (JSON.parse(data).state == '1') {
|
if (JSON.parse(data).state == '1') {
|
||||||
that.goUrl()
|
that.goUrl()
|
||||||
} else {
|
} else {
|
||||||
that.faceAuthCount.appnt++;
|
that.faceAuthCount.appnt++
|
||||||
if (this.faceAuthCount.appnt >= this.smsAuthNum) {
|
if (this.faceAuthCount.appnt >= this.smsAuthNum) {
|
||||||
this.operaFlag = 'appnt'
|
this.operaFlag = 'appnt'
|
||||||
this.realPeopelCheck()
|
this.realPeopelCheck()
|
||||||
@@ -606,8 +602,8 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.operaFlag = "appnt";
|
this.operaFlag = 'appnt'
|
||||||
this.realPeopelCheck();
|
this.realPeopelCheck()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -626,7 +622,7 @@ export default {
|
|||||||
if (JSON.parse(data).state == '1') {
|
if (JSON.parse(data).state == '1') {
|
||||||
that.insuredUrl()
|
that.insuredUrl()
|
||||||
} else {
|
} else {
|
||||||
that.faceAuthCount.insured++;
|
that.faceAuthCount.insured++
|
||||||
if (this.faceAuthCount.insured >= this.smsAuthNum) {
|
if (this.faceAuthCount.insured >= this.smsAuthNum) {
|
||||||
this.operaFlag = 'insured'
|
this.operaFlag = 'insured'
|
||||||
this.realPeopelCheck()
|
this.realPeopelCheck()
|
||||||
@@ -634,8 +630,8 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.operaFlag = "insured";
|
this.operaFlag = 'insured'
|
||||||
this.realPeopelCheck();
|
this.realPeopelCheck()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -921,7 +917,7 @@ export default {
|
|||||||
orderNo: window.localStorage.getItem('orderNo')
|
orderNo: window.localStorage.getItem('orderNo')
|
||||||
}
|
}
|
||||||
localStorage.setItem('riskName', '')
|
localStorage.setItem('riskName', '')
|
||||||
return new Promise((resolve) => {
|
return new Promise(resolve => {
|
||||||
getOrderDetail(data).then(res => {
|
getOrderDetail(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
//弹框展示是否有社保、赔付比例和免赔额信息
|
//弹框展示是否有社保、赔付比例和免赔额信息
|
||||||
@@ -937,7 +933,7 @@ export default {
|
|||||||
) {
|
) {
|
||||||
const message = '  ' + res.orderDTO.productDTO.special.content
|
const message = '  ' + res.orderDTO.productDTO.special.content
|
||||||
Dialog({
|
Dialog({
|
||||||
message: message.split("\\n").join("\n  "),
|
message: message.split('\\n').join('\n  '),
|
||||||
confirmButtonText: '本人已阅读并同意上述特别约定内容',
|
confirmButtonText: '本人已阅读并同意上述特别约定内容',
|
||||||
messageAlign: 'left'
|
messageAlign: 'left'
|
||||||
})
|
})
|
||||||
@@ -1109,7 +1105,7 @@ export default {
|
|||||||
this.goUrl()
|
this.goUrl()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.faceAuthCount.weixin++;
|
this.faceAuthCount.weixin++
|
||||||
if (this.faceAuthCount.weixin >= this.smsAuthNum) {
|
if (this.faceAuthCount.weixin >= this.smsAuthNum) {
|
||||||
if (window.sessionStorage.shareCode == '1') {
|
if (window.sessionStorage.shareCode == '1') {
|
||||||
this.operaFlag = 'insured'
|
this.operaFlag = 'insured'
|
||||||
|
|||||||
Reference in New Issue
Block a user