mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 16:56:43 +08:00
电投流程调用销售权限接口,其他的渠道不调
This commit is contained in:
@@ -330,24 +330,31 @@ export default {
|
||||
this.$toast('请选择产品')
|
||||
return
|
||||
}
|
||||
let params = {
|
||||
productCode: this.result.riskProductCode,
|
||||
orderNo: this.$route.query.orderNo
|
||||
}
|
||||
riskLevelCheck(params).then(res => {
|
||||
if(res.result == 0) {
|
||||
if(res.saLevelMatch == "Y"){
|
||||
//置空产品
|
||||
localStorage.chooseProducts = ''
|
||||
//添加主险
|
||||
this.addMainRisk()
|
||||
if(localStorage.getItem('isFrom') == 'sale') {
|
||||
let params = {
|
||||
productCode: this.result.riskProductCode,
|
||||
orderNo: this.$route.query.orderNo
|
||||
}
|
||||
riskLevelCheck(params).then(res => {
|
||||
if(res.result == 0) {
|
||||
if(res.saLevelMatch == "Y"){
|
||||
//置空产品
|
||||
localStorage.chooseProducts = ''
|
||||
//添加主险
|
||||
this.addMainRisk()
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
})
|
||||
} else {
|
||||
//置空产品
|
||||
localStorage.chooseProducts = ''
|
||||
//添加主险
|
||||
this.addMainRisk()
|
||||
}
|
||||
},
|
||||
//储存主险
|
||||
async addMainRisk() {
|
||||
|
||||
Reference in New Issue
Block a user