mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 16:16:45 +08:00
【柳州生产问题】渠道判断有误, 柳州只有个险有,864502并且为个险渠道
This commit is contained in:
@@ -306,7 +306,8 @@ export default {
|
|||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
//获取代理人管理机构 52贵州 45广西
|
//获取代理人管理机构 52贵州 45广西
|
||||||
this.manageComCode = await riskRules.getAgentInfoFunc(this)
|
let dataReturn = await riskRules.getAgentInfoFunc(this)
|
||||||
|
this.manageComCode = dataReturn.manageComCode
|
||||||
if(this.manageComCode == '45'){
|
if(this.manageComCode == '45'){
|
||||||
areaLists.province_list = {
|
areaLists.province_list = {
|
||||||
450000: '广西壮族自治区'
|
450000: '广西壮族自治区'
|
||||||
|
|||||||
@@ -170,12 +170,18 @@ export default {
|
|||||||
},
|
},
|
||||||
//查看代理人信息
|
//查看代理人信息
|
||||||
getAgentInfoFunc(that) {
|
getAgentInfoFunc(that) {
|
||||||
let flag = ''
|
let flag = {}
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
getAgentInfo({}).then(
|
getAgentInfo({}).then(
|
||||||
res => {
|
res => {
|
||||||
if (res.result == 0) {
|
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 {
|
} else {
|
||||||
that.$toast(res.resultMessage)
|
that.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -173,7 +173,8 @@ export default {
|
|||||||
that.appntSign = JSON.parse(window.localStorage.getItem('sign-appnt'))
|
that.appntSign = JSON.parse(window.localStorage.getItem('sign-appnt'))
|
||||||
}
|
}
|
||||||
//获取代理人管理机构 52贵州 45广西
|
//获取代理人管理机构 52贵州 45广西
|
||||||
// this.manageComCode = await riskRules.getAgentInfoFunc(this)
|
// let dataReturn = await riskRules.getAgentInfoFunc(this)
|
||||||
|
// this.manageComCode = dataReturn.manageComCode
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
@@ -470,7 +470,8 @@ export default {
|
|||||||
}, 100)
|
}, 100)
|
||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
//获取代理人管理机构 52贵州 45广西
|
//获取代理人管理机构 52贵州 45广西
|
||||||
this.manageComCode = await riskRules.getAgentInfoFunc(this)
|
let dataReturn = await riskRules.getAgentInfoFunc(this)
|
||||||
|
this.manageComCode = dataReturn.manageComCode
|
||||||
if(this.manageComCode == '45'){
|
if(this.manageComCode == '45'){
|
||||||
areaLists.province_list = {
|
areaLists.province_list = {
|
||||||
450000: '广西壮族自治区'
|
450000: '广西壮族自治区'
|
||||||
|
|||||||
@@ -174,7 +174,8 @@ export default {
|
|||||||
that.appntSign = JSON.parse(window.localStorage.getItem('sign-appnt'))
|
that.appntSign = JSON.parse(window.localStorage.getItem('sign-appnt'))
|
||||||
}
|
}
|
||||||
//获取代理人管理机构 52贵州 45广西
|
//获取代理人管理机构 52贵州 45广西
|
||||||
// this.manageComCode = await riskRules.getAgentInfoFunc(this)
|
// let dataReturn = await riskRules.getAgentInfoFunc(this)
|
||||||
|
// this.manageComCode = dataReturn.manageComCode
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { RadioGroup, Radio, Dialog, NoticeBar } from 'vant'
|
import { RadioGroup, Radio, Dialog, NoticeBar } from 'vant'
|
||||||
import { saveInformation, getOrderDetail } from '@/api/ebiz/sale/sale'
|
import { saveInformation, getOrderDetail } from '@/api/ebiz/sale/sale'
|
||||||
|
import riskRules from '@/views/ebiz/common/risk-rules'
|
||||||
import config from '@/config'
|
import config from '@/config'
|
||||||
// import axios from 'axios'
|
// import axios from 'axios'
|
||||||
export default {
|
export default {
|
||||||
@@ -72,7 +72,8 @@ export default {
|
|||||||
pdfUrl: '',
|
pdfUrl: '',
|
||||||
src: location.origin + '/pdfjs/web/viewer.html?file=',
|
src: location.origin + '/pdfjs/web/viewer.html?file=',
|
||||||
tipsPolicyUrl: '',
|
tipsPolicyUrl: '',
|
||||||
flagLiuZhou: '' // 当前代理人是否属于柳州代理人的标志,此变量的值为'true'或'false'
|
flagLiuZhou: '', // 当前代理人是否属于柳州代理人的标志,此变量的值为'true'或'false'
|
||||||
|
branchTypeVal:'' // 当前代理人渠道
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -81,10 +82,13 @@ export default {
|
|||||||
[Dialog.name]: Dialog,
|
[Dialog.name]: Dialog,
|
||||||
[NoticeBar.name]: NoticeBar
|
[NoticeBar.name]: NoticeBar
|
||||||
},
|
},
|
||||||
mounted() {
|
async mounted() {
|
||||||
let that = this
|
let that = this
|
||||||
that.timeOut()
|
that.timeOut()
|
||||||
document.body.style.backgroundColor = '#fff'
|
document.body.style.backgroundColor = '#fff'
|
||||||
|
// 当前代理人渠道--个险渠道,中介渠道
|
||||||
|
let dataReturn = await riskRules.getAgentInfoFunc(this)
|
||||||
|
this.branchTypeVal = dataReturn.branchTypeVal
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
if (!this.isWeixin) {
|
if (!this.isWeixin) {
|
||||||
@@ -220,7 +224,7 @@ export default {
|
|||||||
// 截取代理人机构号的前六位,用于去判断是否属于柳州代理人
|
// 截取代理人机构号的前六位,用于去判断是否属于柳州代理人
|
||||||
let str = res.orderDTO.recmdDTO.managerOrg.substr(0, 6)
|
let str = res.orderDTO.recmdDTO.managerOrg.substr(0, 6)
|
||||||
// 如果属于
|
// 如果属于
|
||||||
if (str === '864502') {
|
if (str === '864502' && this.branchTypeVal == 'G') {
|
||||||
that.flagLiuZhou = true
|
that.flagLiuZhou = true
|
||||||
} else {
|
} else {
|
||||||
that.flagLiuZhou = false
|
that.flagLiuZhou = false
|
||||||
|
|||||||
@@ -614,7 +614,8 @@ export default {
|
|||||||
// 筛选按钮的点击事件
|
// 筛选按钮的点击事件
|
||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
//获取代理人管理机构 52贵州 45广西
|
//获取代理人管理机构 52贵州 45广西
|
||||||
this.manageComCode = await riskRules.getAgentInfoFunc(this)
|
let dataReturn = await riskRules.getAgentInfoFunc(this)
|
||||||
|
this.manageComCode = dataReturn.manageComCode
|
||||||
if(this.manageComCode == '45'){
|
if(this.manageComCode == '45'){
|
||||||
areaLists.province_list = {
|
areaLists.province_list = {
|
||||||
450000: '广西壮族自治区'
|
450000: '广西壮族自治区'
|
||||||
|
|||||||
@@ -765,7 +765,8 @@ export default {
|
|||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
// // document.body.style.backgroundColor = '#F5F5F5'
|
// // document.body.style.backgroundColor = '#F5F5F5'
|
||||||
//获取代理人管理机构 52贵州 45广西
|
//获取代理人管理机构 52贵州 45广西
|
||||||
this.manageComCode = await riskRules.getAgentInfoFunc(this)
|
let dataReturn = await riskRules.getAgentInfoFunc(this)
|
||||||
|
this.manageComCode = dataReturn.manageComCode
|
||||||
if(this.manageComCode == '45'){
|
if(this.manageComCode == '45'){
|
||||||
areaLists.province_list = {
|
areaLists.province_list = {
|
||||||
450000: '广西壮族自治区'
|
450000: '广西壮族自治区'
|
||||||
|
|||||||
@@ -184,7 +184,8 @@ export default {
|
|||||||
this.queryPayState()
|
this.queryPayState()
|
||||||
}
|
}
|
||||||
//获取代理人管理机构 52贵州 45广西
|
//获取代理人管理机构 52贵州 45广西
|
||||||
this.manageComCode = await riskRules.getAgentInfoFunc(this)
|
let dataReturn = await riskRules.getAgentInfoFunc(this)
|
||||||
|
this.manageComCode = dataReturn.manageComCode
|
||||||
},
|
},
|
||||||
beforeRouteLeave(to, from, next) {
|
beforeRouteLeave(to, from, next) {
|
||||||
document.body.style.backgroundColor = ''
|
document.body.style.backgroundColor = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user