【新增电子投保单模板和贵州联系地址的需求】投保人,被保人,还有再次投保,客户列表,贵州联系地址

This commit is contained in:
li.yuetong
2022-03-24 21:33:58 +08:00
parent 4f7b3741df
commit ad4027dc41
4 changed files with 64 additions and 7 deletions

View File

@@ -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 = ''

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {