hotfix:内外勤判断调整 --提交人:阳华祥

This commit is contained in:
yang.huaxiang
2020-11-27 10:59:00 +08:00
parent aa0b3e2c38
commit e28aa13d3e
2 changed files with 32 additions and 14 deletions

View File

@@ -126,7 +126,8 @@ export default {
async checkModelFilter() {
const agentInfoRes = await getCheckModelAgentInfo({})
if (agentInfoRes.result == 0) {
if (!/^N{1}/.test(agentInfoRes.branchType)) {
if (/^[0-9][0-9]*$/.test(agentInfoRes.branchType)) {
// 内勤 并且手机号码正确
this.checkModel.mobile = agentInfoRes.phoneNo
this.checkModel.show = true
this.isShowSms = false