mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 16:16:45 +08:00
双录调整
This commit is contained in:
@@ -750,6 +750,10 @@
|
|||||||
if (this.chooseProducts.length == 0) {
|
if (this.chooseProducts.length == 0) {
|
||||||
return this.$toast('请添加产品')
|
return this.$toast('请添加产品')
|
||||||
}
|
}
|
||||||
|
if(!this.isElecCont) {
|
||||||
|
this.$toast('请选择保单形式')
|
||||||
|
return false
|
||||||
|
}
|
||||||
//重新校验该产品是否需要为协同单位
|
//重新校验该产品是否需要为协同单位
|
||||||
let flagCompany = await riskRules.checkCompany(this.chooseProducts[0].riskCode, JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).workcompany, JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).isAsync,this)
|
let flagCompany = await riskRules.checkCompany(this.chooseProducts[0].riskCode, JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).workcompany, JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).isAsync,this)
|
||||||
if (flagCompany && localStorage.isFrom != 'proposal') {
|
if (flagCompany && localStorage.isFrom != 'proposal') {
|
||||||
@@ -817,6 +821,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(this.manageComCode == '45') {
|
||||||
|
if(this.appntDTO.age >= 60) {
|
||||||
|
showFlag = true
|
||||||
|
}
|
||||||
|
}
|
||||||
if (showFlag) {
|
if (showFlag) {
|
||||||
this.thisdoubledialogshow = true
|
this.thisdoubledialogshow = true
|
||||||
} else {
|
} else {
|
||||||
@@ -961,35 +970,6 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async showTipForDoubleRecord() {
|
|
||||||
//判断投保人年龄是否大于等于60岁
|
|
||||||
let showFlag = false
|
|
||||||
let age = this.appntDTO.birthday?utilsAge.getAge(this.appntDTO.birthday, new Date()):this.appntDTO.age
|
|
||||||
if (this.manageComCode == '52') {
|
|
||||||
this.chooseProducts.map(item => {
|
|
||||||
if (item.insuYearFlag == 'A' || (item.insuYearFlag == 'Y' && item.insuYear != '1')) {
|
|
||||||
showFlag = true
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
if(showFlag){
|
|
||||||
let doubleRecordRes = await getDoubleRecordProductLst({})
|
|
||||||
if(doubleRecordRes.result == 0){
|
|
||||||
if(doubleRecordRes.content && doubleRecordRes.content.length != 0){
|
|
||||||
doubleRecordRes.content.forEach(items=>{
|
|
||||||
this.chooseProducts.map(item => {
|
|
||||||
if (item.riskCode == items ) {
|
|
||||||
showFlag = true
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return showFlag
|
|
||||||
},
|
|
||||||
nextPageShow() {
|
nextPageShow() {
|
||||||
let thismyurl = ''
|
let thismyurl = ''
|
||||||
if (this.$route.query.orderNo) {
|
if (this.$route.query.orderNo) {
|
||||||
@@ -1001,11 +981,6 @@
|
|||||||
localStorage.fromAddBeneficiaryInfo = ''
|
localStorage.fromAddBeneficiaryInfo = ''
|
||||||
localStorage.removeItem('applicant')
|
localStorage.removeItem('applicant')
|
||||||
if(this.isFrom == 'sale') {
|
if(this.isFrom == 'sale') {
|
||||||
if(!this.isElecCont) {
|
|
||||||
this.$toast('请选择保单形式')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
let params = {
|
let params = {
|
||||||
orderNO: this.$route.query.orderNo,
|
orderNO: this.$route.query.orderNo,
|
||||||
isElecCont: this.isElecCont
|
isElecCont: this.isElecCont
|
||||||
@@ -1030,18 +1005,6 @@
|
|||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// this.$jump({
|
|
||||||
// flag: 'h5',
|
|
||||||
// extra: {
|
|
||||||
// forbidSwipeBack: '1',
|
|
||||||
// url: location.origin + '/#' + thismyurl,
|
|
||||||
// needRefresh: '1'
|
|
||||||
// },
|
|
||||||
// routerInfo: {
|
|
||||||
// path: thismyurl
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
|
|||||||
@@ -1487,26 +1487,10 @@
|
|||||||
this.$CacheUtils.setLocItem('orderNo', resultData.orderNo)
|
this.$CacheUtils.setLocItem('orderNo', resultData.orderNo)
|
||||||
// localStorage.insuredDetail = JSON.stringify(this.userInfo)
|
// localStorage.insuredDetail = JSON.stringify(this.userInfo)
|
||||||
// 添加提示
|
// 添加提示
|
||||||
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
// let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||||
if (age >= 60 && this.manageComCode == '45') {
|
// if (age >= 60 && this.manageComCode == '45') {
|
||||||
this.thisdoubledialogshow = true
|
// this.thisdoubledialogshow = true
|
||||||
// this.$dialog
|
// } else {
|
||||||
// .alert({
|
|
||||||
// message: '根据监管要求,本单需要您配合对销售过程进行录音录像!',
|
|
||||||
// confirmButtonColor: '#000000',
|
|
||||||
// })
|
|
||||||
// .then(() => {
|
|
||||||
// this.$jump({
|
|
||||||
// flag: 'h5',
|
|
||||||
// extra: {
|
|
||||||
// url: location.origin + `/#/sale/insuredPerson?${str}` + '&orderNo=' + resultData.orderNo,
|
|
||||||
// },
|
|
||||||
// routerInfo: {
|
|
||||||
// path: `/sale/insuredPerson?${str}` + '&orderNo=' + resultData.orderNo,
|
|
||||||
// },
|
|
||||||
// })
|
|
||||||
// })
|
|
||||||
} else {
|
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
@@ -1516,7 +1500,7 @@
|
|||||||
path: `/sale/insuredPerson?${this.thismystr}` + '&orderNo=' + this.thismyorderNo,
|
path: `/sale/insuredPerson?${this.thismystr}` + '&orderNo=' + this.thismyorderNo,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
// }
|
||||||
} else {
|
} else {
|
||||||
this.$toast(resultData.resultMessage)
|
this.$toast(resultData.resultMessage)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user