From eeed5655dd62b7f32d100d9fe8daa78f88868e18 Mon Sep 17 00:00:00 2001 From: baijinyan Date: Fri, 2 Apr 2021 19:14:15 +0800 Subject: [PATCH] =?UTF-8?q?GFRS-2265=E3=80=90=E9=9C=80=E6=B1=82=E3=80=91?= =?UTF-8?q?=E4=B8=AA=E9=99=A9-=E6=83=A0=E4=BC=81=E4=BF=9D=E9=87=8D?= =?UTF-8?q?=E5=A4=A7=E7=96=BE=E7=97=85=E4=BF=9D=E9=99=A9=EF=BC=9A=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E5=8F=AF=E5=94=AE=E6=9D=83=E9=99=90=E4=BF=AE=E6=94=B9?= =?UTF-8?q?---=E6=8F=90=E4=BA=A4=E4=BA=BA=EF=BC=9A=E7=99=BD=E9=87=91?= =?UTF-8?q?=E5=B2=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/product/ProductDetail.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/ebiz/product/ProductDetail.vue b/src/views/ebiz/product/ProductDetail.vue index 4c9f66231..a905eb914 100644 --- a/src/views/ebiz/product/ProductDetail.vue +++ b/src/views/ebiz/product/ProductDetail.vue @@ -102,10 +102,14 @@ export default { localStorage.chooseProductCodes = '' //置空所选险种 let path = `/sale/insuredInfo` let flagPermission = true - if (this.$route.params.productDetailCode == 'GFRSPRO_M0024' || this.$route.params.productDetailCode == 'GFRSPRO_M0040') { + 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) + let specilFlag = '1' + path = `${path}?specilFlag=${specilFlag}` } else { flagPermission = false }