From e1a4ddc8b575ab973df35fcc09d611bd1dce9a62 Mon Sep 17 00:00:00 2001
From: "li.yuetong"
Date: Tue, 29 Mar 2022 17:52:25 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9F=B3=E5=B7=9E=E7=94=9F=E4=BA=A7?=
=?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=91=E6=B8=A0=E9=81=93=E5=88=A4=E6=96=AD?=
=?UTF-8?q?=E6=9C=89=E8=AF=AF,=20=20=E6=9F=B3=E5=B7=9E=E5=8F=AA=E6=9C=89?=
=?UTF-8?q?=E4=B8=AA=E9=99=A9=E6=9C=89=EF=BC=8C864502=E5=B9=B6=E4=B8=94?=
=?UTF-8?q?=E4=B8=BA=E4=B8=AA=E9=99=A9=E6=B8=A0=E9=81=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/ebiz/customer/formBlock.vue | 3 ++-
src/views/ebiz/common/risk-rules.js | 10 ++++++++--
src/views/ebiz/insureAgain/InsuranceInformation.vue | 3 ++-
src/views/ebiz/insureAgain/InsureInformation.vue | 3 ++-
src/views/ebiz/sale/InsuranceInformation.vue | 3 ++-
src/views/ebiz/sale/InsuranceTip.vue | 12 ++++++++----
src/views/ebiz/sale/InsuredInfo.vue | 3 ++-
src/views/ebiz/sale/InsuredPerson.vue | 3 ++-
src/views/ebiz/sale/PayResult.vue | 3 ++-
9 files changed, 30 insertions(+), 13 deletions(-)
diff --git a/src/components/ebiz/customer/formBlock.vue b/src/components/ebiz/customer/formBlock.vue
index 2f7dd1e5d..f35678c8a 100644
--- a/src/components/ebiz/customer/formBlock.vue
+++ b/src/components/ebiz/customer/formBlock.vue
@@ -306,7 +306,8 @@ export default {
},
async mounted() {
//获取代理人管理机构 52贵州 45广西
- this.manageComCode = await riskRules.getAgentInfoFunc(this)
+ let dataReturn = await riskRules.getAgentInfoFunc(this)
+ this.manageComCode = dataReturn.manageComCode
if(this.manageComCode == '45'){
areaLists.province_list = {
450000: '广西壮族自治区'
diff --git a/src/views/ebiz/common/risk-rules.js b/src/views/ebiz/common/risk-rules.js
index 578438801..11e1076b3 100644
--- a/src/views/ebiz/common/risk-rules.js
+++ b/src/views/ebiz/common/risk-rules.js
@@ -170,12 +170,18 @@ export default {
},
//查看代理人信息
getAgentInfoFunc(that) {
- let flag = ''
+ let flag = {}
return new Promise((resolve, reject) => {
getAgentInfo({}).then(
res => {
if (res.result == 0) {
- flag = res.manageComCode.substring(2, 4)
+ flag.manageComCode = res.manageComCode.substring(2, 4)
+ // branchType N1、1代表个险渠道 和 N5、5 代表中介渠道,N代表内勤
+ if (res.branchType == 'N1' || res.branchType == '1') {
+ flag.branchTypeVal = 'G'
+ } else if (res.branchType == 'N5' || res.branchType == '5') {
+ flag.branchTypeVal = 'Z'
+ }
} else {
that.$toast(res.resultMessage)
}
diff --git a/src/views/ebiz/insureAgain/InsuranceInformation.vue b/src/views/ebiz/insureAgain/InsuranceInformation.vue
index 87eb98b6b..306822a76 100644
--- a/src/views/ebiz/insureAgain/InsuranceInformation.vue
+++ b/src/views/ebiz/insureAgain/InsuranceInformation.vue
@@ -173,7 +173,8 @@ export default {
that.appntSign = JSON.parse(window.localStorage.getItem('sign-appnt'))
}
//获取代理人管理机构 52贵州 45广西
- // this.manageComCode = await riskRules.getAgentInfoFunc(this)
+ // let dataReturn = await riskRules.getAgentInfoFunc(this)
+ // this.manageComCode = dataReturn.manageComCode
},
created() {
setTimeout(() => {
diff --git a/src/views/ebiz/insureAgain/InsureInformation.vue b/src/views/ebiz/insureAgain/InsureInformation.vue
index f18788588..b46c9b420 100644
--- a/src/views/ebiz/insureAgain/InsureInformation.vue
+++ b/src/views/ebiz/insureAgain/InsureInformation.vue
@@ -470,7 +470,8 @@ export default {
}, 100)
window.appCallBack = this.appCallBack
//获取代理人管理机构 52贵州 45广西
- this.manageComCode = await riskRules.getAgentInfoFunc(this)
+ let dataReturn = await riskRules.getAgentInfoFunc(this)
+ this.manageComCode = dataReturn.manageComCode
if(this.manageComCode == '45'){
areaLists.province_list = {
450000: '广西壮族自治区'
diff --git a/src/views/ebiz/sale/InsuranceInformation.vue b/src/views/ebiz/sale/InsuranceInformation.vue
index 167fa49f8..3c863a321 100644
--- a/src/views/ebiz/sale/InsuranceInformation.vue
+++ b/src/views/ebiz/sale/InsuranceInformation.vue
@@ -174,7 +174,8 @@ export default {
that.appntSign = JSON.parse(window.localStorage.getItem('sign-appnt'))
}
//获取代理人管理机构 52贵州 45广西
- // this.manageComCode = await riskRules.getAgentInfoFunc(this)
+ // let dataReturn = await riskRules.getAgentInfoFunc(this)
+ // this.manageComCode = dataReturn.manageComCode
},
created() {
setTimeout(() => {
diff --git a/src/views/ebiz/sale/InsuranceTip.vue b/src/views/ebiz/sale/InsuranceTip.vue
index fa2acaa9e..27eb8e72b 100644
--- a/src/views/ebiz/sale/InsuranceTip.vue
+++ b/src/views/ebiz/sale/InsuranceTip.vue
@@ -30,7 +30,7 @@