From 4c18da414aac1aa6d454103b69fb431613ff26bb Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Fri, 22 Dec 2023 15:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E4=BF=9D=E4=BA=BA=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=BB=A3=E7=90=86=E4=BA=BA=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/GBC/home.vue | 3 -- src/views/ebiz/common/risk-rules.js | 1 + src/views/ebiz/sale/InsuredInfo.vue | 52 +++++++++++++++++++---------- 3 files changed, 35 insertions(+), 21 deletions(-) diff --git a/src/views/GBC/home.vue b/src/views/GBC/home.vue index 2d781c3cc..f495f8ac5 100644 --- a/src/views/GBC/home.vue +++ b/src/views/GBC/home.vue @@ -174,9 +174,6 @@ export default { }) }, goDetail(data){ - if(data.route == '/sale/list'){ - window.sessionStorage.setItem('isFrom','GBCsale') - } this.$jump({ flag: 'h5', extra: { diff --git a/src/views/ebiz/common/risk-rules.js b/src/views/ebiz/common/risk-rules.js index 1970da185..1badef4f7 100644 --- a/src/views/ebiz/common/risk-rules.js +++ b/src/views/ebiz/common/risk-rules.js @@ -196,6 +196,7 @@ export default { if (res.result == 0) { flag.manageComCode = res.manageComCode ? res.manageComCode.substring(2, 4) : '' flag.jobNo = res.jobNo + flag.branchType = res.branchType // branchType N1、1代表个险渠道 和 N5、5 代表中介渠道,N代表内勤 if (res.branchType == 'N1' || res.branchType == '1') { flag.branchTypeVal = 'G' diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index 1801bdd61..d5ba3788e 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -3,18 +3,18 @@ - +

项目信息

- - - - - - + + + + + +

基本信息

- + - + { // eslint-disable-next-line no-undef EWebBridge.webCallAppInJs('webview_left_button', { @@ -694,6 +704,8 @@ //获取代理人管理机构 52贵州 45广西 let dataReturn = await riskRules.getAgentInfoFunc(this) this.manageComCode = dataReturn.manageComCode + this.branchType = dataReturn.branchType + // this. if(this.manageComCode == '45'){ areaLists.province_list = { 450000: '广西壮族自治区' @@ -706,6 +718,10 @@ this.areaValue = '520000' } this.areaLists = areaLists + if(this.branchType == '13') { + this.gbcProjectDetail() + this.getDepartmentByProjectNo() + } }, methods: { getDepartmentByProjectNo(){ @@ -1416,7 +1432,7 @@ } this.thismystr = '' params.orderDTO.appntDTO = this.userInfo - if(this.isFrom == 'GBCsale'){ + if(this.branchType == '13'){ params.orderDTO.ebizOrderGbcRelDTO = { projectCode: this.projectDTO.projectCode, departmentCode: this.projectDTO.departmentCode