【柳州生产问题】渠道判断有误, 柳州只有个险有,864502并且为个险渠道

This commit is contained in:
li.yuetong
2022-03-29 17:52:25 +08:00
parent cfce8dd2bb
commit c6ab6d5823
9 changed files with 30 additions and 13 deletions

View File

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