【新增电子投保单模板和贵州联系地址的需求】贵州投保提示书相关

This commit is contained in:
li.yuetong
2022-03-24 17:54:18 +08:00
parent eac61575d1
commit 4f7b3741df
4 changed files with 61 additions and 27 deletions

View File

@@ -1,5 +1,6 @@
import { productCheck } from '@/api/ebiz/common/common'
import { getCompany } from '@/api/ebiz/sale/sale'
import { getAgentInfo } from '@/api/ebiz/my/my.js'
import CacheUtils from '@/assets/js/utils/cacheUtils'
import DataDictionary from '@/assets/js/utils/data-dictionary'
export default {
@@ -166,5 +167,24 @@ export default {
}
)
})
},
//查看代理人信息
getAgentInfoFunc(that) {
let flag = ''
return new Promise((resolve, reject) => {
getAgentInfo({}).then(
res => {
if (res.result == 0) {
flag = res.manageComCode.substring(2, 4)
} else {
that.$toast(res.resultMessage)
}
resolve(flag)
},
error => {
reject(true)
}
)
})
}
}