Commit 332ec86c authored by linxin's avatar linxin

add

parent 2ff081c9
...@@ -835,12 +835,14 @@ export default { ...@@ -835,12 +835,14 @@ export default {
vm.multiRoleList = res.lists vm.multiRoleList = res.lists
vm.type = '请输入业务经办员工代码' vm.type = '请输入业务经办员工代码'
vm.typeName = '业务经办人' vm.typeName = '业务经办人'
vm.bp_type_flag = true
if (res.lists.length === 0 || res.lists.length === 1) { if (res.lists.length === 0 || res.lists.length === 1) {
vm.hasMultiRole = false vm.hasMultiRole = false
} else if (res.lists.length === 2) { } else if (res.lists.length === 2) {
vm.hasMultiRole = true vm.hasMultiRole = true
} }
if (res.lists.length > 0) {
vm.bp_type_flag = true
}
} else { } else {
vm.hasMultiRole = false vm.hasMultiRole = false
} }
...@@ -856,7 +858,7 @@ export default { ...@@ -856,7 +858,7 @@ export default {
let res = await vm.hlsHttp.post(url, param) let res = await vm.hlsHttp.post(url, param)
if (res.result === 'S') { if (res.result === 'S') {
vm.hasPeople = true vm.hasPeople = true
vm.bp_type_flag = true // vm.bp_type_flag = true
return true return true
} else { } else {
vm.hasMultiRole = false vm.hasMultiRole = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment