mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 21:16:43 +08:00
Merge branch 'feature/GFRS-2265【待确定】个险-惠企保重大疾病保险' into dev
# Conflicts: # src/views/ebiz/product/ProductDetail.vue
This commit is contained in:
@@ -102,12 +102,8 @@ export default {
|
||||
localStorage.chooseProductCodes = '' //置空所选险种
|
||||
let path = `/sale/insuredInfo`
|
||||
let flagPermission = true
|
||||
if (this.$route.params.productDetailCode == 'GFRSPRO_M0024') {
|
||||
flagPermission = await riskRules.getProductSellPermissionList('GFRS_M0024', this)
|
||||
let specilFlag = '1'
|
||||
path = `${path}?specilFlag=${specilFlag}`
|
||||
} else if(this.$route.params.productDetailCode == 'GFRSPRO_M0040'){
|
||||
flagPermission = await riskRules.getProductSellPermissionList('GFRS_M0040', this)
|
||||
if (this.$route.params.productDetailCode == 'GFRSPRO_M0024' || this.$route.params.productDetailCode == 'GFRSPRO_M0040') {
|
||||
flagPermission = await riskRules.getProductSellPermissionList(this.$route.params.productDetailCode, this)
|
||||
let specilFlag = '1'
|
||||
path = `${path}?specilFlag=${specilFlag}`
|
||||
} else {
|
||||
|
||||
@@ -286,10 +286,12 @@ export default {
|
||||
return Toast.fail('暂不支持组合产品转投保')
|
||||
}
|
||||
}
|
||||
let permissionRiskCode ;
|
||||
let flag = item.insuredDTOs[0].riskDTOLst.some(v => {
|
||||
permissionRiskCode = v.riskCode;
|
||||
return v.riskCode == 'GFRS_M0024' || v.riskCode == 'GFRS_M0040'
|
||||
})
|
||||
if (flag && (await riskRules.getProductSellPermissionList('GFRS_M0024', this))) {
|
||||
if (flag && (await riskRules.getProductSellPermissionList(permissionRiskCode, this))) {
|
||||
return this.$toast('抱歉,您没有该产品的销售权限!')
|
||||
}
|
||||
// let flag = item.insuredDTOs[0].riskDTOLst.some(v => {
|
||||
|
||||
Reference in New Issue
Block a user