mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 20:16:44 +08:00
【关于个险渠道协同产品专区系统开发需求的申请】如果是选择产品, 进入电子投保, 在主险列表能默认选中我在产品列表选择的产品
This commit is contained in:
@@ -200,13 +200,21 @@ export default {
|
||||
}
|
||||
this.list = resultData.content.mainRiskDTOS
|
||||
//------------------------专为惠企写死--begin---------------//
|
||||
if (this.list.length > 0 && this.specilFlag == '1' && localStorage.isFrom == 'sale') {
|
||||
// if (this.list.length > 0 && this.specilFlag == '1' && localStorage.isFrom == 'sale') {
|
||||
// this.result = this.list.find(v => {
|
||||
// return v.riskProductCode == 'GFRS_M0040'
|
||||
// })
|
||||
// }
|
||||
|
||||
// ------------------------专为惠企写死--end---------------//
|
||||
//如果是选择产品, 进入电子投保, 在主险列表能默认选中我在产品列表选择的产品
|
||||
if (this.list.length > 0) {
|
||||
console.log(localStorage.productCodeChooseFromList)
|
||||
this.result = this.list.find(v => {
|
||||
return v.riskProductCode == 'GFRS_M0040'
|
||||
return v.riskProductCode == localStorage.productCodeChooseFromList
|
||||
})
|
||||
}
|
||||
// ------------------------专为惠企写死--end---------------//
|
||||
|
||||
|
||||
if (this.list.length == 0) {
|
||||
this.$dialog({ message: '暂无可选产品!' }).then(() => {
|
||||
this.$jump({
|
||||
@@ -258,12 +266,19 @@ export default {
|
||||
}
|
||||
this.list = resultData.mainRiskDTOS
|
||||
//------------------------专为惠企写死--begin---------------//
|
||||
if (this.list.length > 0 && this.specilFlag == '1' && localStorage.isFrom == 'sale') {
|
||||
// if (this.list.length > 0 && this.specilFlag == '1' && localStorage.isFrom == 'sale') {
|
||||
// this.result = this.list.find(v => {
|
||||
// return v.riskProductCode == 'GFRS_M0040'
|
||||
// })
|
||||
// }
|
||||
// ------------------------专为惠企写死--end---------------//
|
||||
// 如果是选择产品, 进入电子投保, 在主险列表能默认选中我在产品列表选择的产品
|
||||
if (this.list.length > 0) {
|
||||
console.log(localStorage.productCodeChooseFromList)
|
||||
this.result = this.list.find(v => {
|
||||
return v.riskProductCode == 'GFRS_M0040'
|
||||
return v.riskProductCode == localStorage.productCodeChooseFromList
|
||||
})
|
||||
}
|
||||
// ------------------------专为惠企写死--end---------------//
|
||||
|
||||
if (this.list.length == 0) {
|
||||
this.$dialog({ message: '暂无可选产品!' }).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user