From ad4027dc4139d77e6a963a425e294b12ad93ad11 Mon Sep 17 00:00:00 2001
From: "li.yuetong"
Date: Thu, 24 Mar 2022 21:33:58 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E7=94=B5=E5=AD=90?=
=?UTF-8?q?=E6=8A=95=E4=BF=9D=E5=8D=95=E6=A8=A1=E6=9D=BF=E5=92=8C=E8=B4=B5?=
=?UTF-8?q?=E5=B7=9E=E8=81=94=E7=B3=BB=E5=9C=B0=E5=9D=80=E7=9A=84=E9=9C=80?=
=?UTF-8?q?=E6=B1=82=E3=80=91=E6=8A=95=E4=BF=9D=E4=BA=BA=EF=BC=8C=E8=A2=AB?=
=?UTF-8?q?=E4=BF=9D=E4=BA=BA=EF=BC=8C=E8=BF=98=E6=9C=89=E5=86=8D=E6=AC=A1?=
=?UTF-8?q?=E6=8A=95=E4=BF=9D=EF=BC=8C=E5=AE=A2=E6=88=B7=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=EF=BC=8C=E8=B4=B5=E5=B7=9E=E8=81=94=E7=B3=BB=E5=9C=B0=E5=9D=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/ebiz/customer/formBlock.vue | 19 +++++++++++++++++--
.../ebiz/insureAgain/InsureInformation.vue | 19 +++++++++++++++++--
src/views/ebiz/sale/InsuredInfo.vue | 17 +++++++++++++++--
src/views/ebiz/sale/InsuredPerson.vue | 16 +++++++++++++++-
4 files changed, 64 insertions(+), 7 deletions(-)
diff --git a/src/components/ebiz/customer/formBlock.vue b/src/components/ebiz/customer/formBlock.vue
index cd88743a6..7c2ca1c45 100644
--- a/src/components/ebiz/customer/formBlock.vue
+++ b/src/components/ebiz/customer/formBlock.vue
@@ -212,6 +212,7 @@ import getAreaName, { getCensusName } from '@/assets/js/utils/getAreaNameForSale
import idNoCheck from '@/assets/js/utils/idNoCheck'
import { idToData } from '@/views/ebiz/customer/js/verification'
import filter from '@/filters/index'
+import riskRules from '@/views/ebiz/common/risk-rules'
export default {
name: 'formBlock',
@@ -272,7 +273,8 @@ export default {
label: '无',
value: '1'
}
- ]
+ ],
+ manageComCode:''//代理人管理机构 52贵州 45广西
}
},
watch: {
@@ -301,7 +303,20 @@ export default {
filters: {
idToText: filter.idToText
},
- mounted() {},
+ async mounted() {
+ //获取代理人管理机构 52贵州 45广西
+ this.manageComCode = await riskRules.getAgentInfoFunc(this)
+ if(this.manageComCode == '52'){
+ areaLists.province_list = {
+ 520000: '贵州省'
+ }
+ }else{
+ areaLists.province_list = {
+ 450000: '广西壮族自治区'
+ }
+ }
+ this.areaLists = areaLists
+ },
methods: {
selectClick() {
let title = ''
diff --git a/src/views/ebiz/insureAgain/InsureInformation.vue b/src/views/ebiz/insureAgain/InsureInformation.vue
index 8b42a223e..c2e9a592c 100644
--- a/src/views/ebiz/insureAgain/InsureInformation.vue
+++ b/src/views/ebiz/insureAgain/InsureInformation.vue
@@ -354,6 +354,8 @@ import SelectBankName from '@/components/ebiz/account/SelectBankName'
import areaList from '@/assets/js/utils/area'
import occupationList from '@/components/ebiz/occipation/data/occupation'
import { idToData } from './js/verification'
+import riskRules from '@/views/ebiz/common/risk-rules'
+
export default {
name: 'InsureInformation',
@@ -452,19 +454,32 @@ export default {
areaLists: areaLists, //地址信息
occupationShowPicker: false, //职业类别
occupationName: '',
- occupationCode: ''
+ occupationCode: '',
+ manageComCode:''//代理人管理机构 52贵州 45广西
}
},
created() {
this.getReAppntPolicy()
},
- mounted() {
+ async mounted() {
setTimeout(() => {
window.EWebBridge.webCallAppInJs('webview_left_button', {
intercept: '1'
})
}, 100)
window.appCallBack = this.appCallBack
+ //获取代理人管理机构 52贵州 45广西
+ this.manageComCode = await riskRules.getAgentInfoFunc(this)
+ if(this.manageComCode == '52'){
+ areaLists.province_list = {
+ 520000: '贵州省'
+ }
+ }else{
+ areaLists.province_list = {
+ 450000: '广西壮族自治区'
+ }
+ }
+ this.areaLists = areaLists
},
methods: {
setBankArea(areaInfo) {
diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue
index 5a6ddcaef..7b964254e 100644
--- a/src/views/ebiz/sale/InsuredInfo.vue
+++ b/src/views/ebiz/sale/InsuredInfo.vue
@@ -397,8 +397,8 @@ import idNoCheck from '@/assets/js/utils/idNoCheck'
import beforeDate from '@/assets/js/utils/getBeforeDate.js'
import { idToData } from './js/verification'
import { selectComp, getIdentityInfo } from './js/methods'
-
import SearchField from '@/components/common/SearchField'
+import riskRules from '@/views/ebiz/common/risk-rules'
export default {
name: 'insuredInfo',
@@ -534,6 +534,7 @@ export default {
idLimit: false, //证件起止日期是否只读
salePageFlag: '1',
userWorkcompanys: [], //单位数据
+ manageComCode:''//代理人管理机构 52贵州 45广西
}
},
created() {
@@ -601,7 +602,7 @@ export default {
this.$CacheUtils.setLocItem('saleInsuredInfo', '')
}
},
- mounted() {
+ async mounted() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
@@ -611,6 +612,18 @@ export default {
}, 100)
// 筛选按钮的点击事件
window.appCallBack = this.appCallBack
+ //获取代理人管理机构 52贵州 45广西
+ this.manageComCode = await riskRules.getAgentInfoFunc(this)
+ if(this.manageComCode == '52'){
+ areaLists.province_list = {
+ 520000: '贵州省'
+ }
+ }else{
+ areaLists.province_list = {
+ 450000: '广西壮族自治区'
+ }
+ }
+ this.areaLists = areaLists
},
methods: {
workcompanys(list) {
diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue
index 1fa342190..74b0e5bb9 100644
--- a/src/views/ebiz/sale/InsuredPerson.vue
+++ b/src/views/ebiz/sale/InsuredPerson.vue
@@ -462,6 +462,7 @@ import { idToData } from './js/verification'
import { selectComp, getIdentityInfo } from './js/methods'
import IndexBar from '@/components/ebiz/sale/IndexBar'
import SearchField from '@/components/common/SearchField'
+import riskRules from '@/views/ebiz/common/risk-rules'
export default {
name: 'insuredInfo',
@@ -603,6 +604,7 @@ export default {
idLimit: false, //证件起止日期是否只读
salePageFlag: '2',
userWorkcompanys:[],//单位数据
+ manageComCode:''//代理人管理机构 52贵州 45广西
}
},
created() {
@@ -751,7 +753,7 @@ export default {
localStorage.setItem('salePageFlag', this.salePageFlag)
}
},
- mounted() {
+ async mounted() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
@@ -761,6 +763,18 @@ export default {
}, 100)
window.appCallBack = this.appCallBack
// // document.body.style.backgroundColor = '#F5F5F5'
+ //获取代理人管理机构 52贵州 45广西
+ this.manageComCode = await riskRules.getAgentInfoFunc(this)
+ if(this.manageComCode == '52'){
+ areaLists.province_list = {
+ 520000: '贵州省'
+ }
+ }else{
+ areaLists.province_list = {
+ 450000: '广西壮族自治区'
+ }
+ }
+ this.areaLists = areaLists
},
methods: {
workcompanys(list) {