|
|
@@ -286,9 +286,8 @@ export default {
|
|
|
this.getCustomerClassify();
|
|
|
// 当前客资归属人不是当前登录人和不是大区主管
|
|
|
let deptIds = JSON.parse(localStorage.getItem('deptIds'));
|
|
|
- // userDeptLevel用户部门等级字段,0-总部,1-公司,2-大区,3-销售部,4-业务员
|
|
|
- let userDeptLevel = localStorage.getItem('userDeptLevel');
|
|
|
- if (deptIds.indexOf(this.infoData.deptId) == -1 || userDeptLevel != 2) {
|
|
|
+ // regionUser:true-是大区主管 false-不是大区主管
|
|
|
+ if (deptIds.indexOf(this.infoData.deptId) == -1 && !response.data.regionUser) {
|
|
|
this.$dialog
|
|
|
.confirm({
|
|
|
title: '提示',
|