|
@@ -61,7 +61,7 @@ public class KuaishouProjectServiceImpl implements IKuaishouProjectService {
|
|
Long userId = kuaishouProject.getUserId();
|
|
Long userId = kuaishouProject.getUserId();
|
|
String roleKey = sysUserService.getRoleKeyByUserId(userId);
|
|
String roleKey = sysUserService.getRoleKeyByUserId(userId);
|
|
List<Long> userList;
|
|
List<Long> userList;
|
|
- if ("admin".equals(roleKey)) {
|
|
|
|
|
|
+ if ("admin".equals(roleKey) || "directorOperations".equals(roleKey)) {
|
|
//查看所有
|
|
//查看所有
|
|
userList = null;
|
|
userList = null;
|
|
} else if ("electricPin".equals(roleKey) || "facePin".equals(roleKey)) {
|
|
} else if ("electricPin".equals(roleKey) || "facePin".equals(roleKey)) {
|
|
@@ -75,7 +75,7 @@ public class KuaishouProjectServiceImpl implements IKuaishouProjectService {
|
|
} else if ("operations".equals(roleKey) || "operator".equals(roleKey)) {
|
|
} else if ("operations".equals(roleKey) || "operator".equals(roleKey)) {
|
|
//运营 运营专员
|
|
//运营 运营专员
|
|
kuaishouProject.setOperatorIdList(Arrays.asList(userId));
|
|
kuaishouProject.setOperatorIdList(Arrays.asList(userId));
|
|
- } else if ("operationsManager".equals(roleKey) || "directorOperations".equals(roleKey)) {
|
|
|
|
|
|
+ } else if ("operationsManager".equals(roleKey)) {
|
|
//运营经理、运营总监
|
|
//运营经理、运营总监
|
|
Long deptId = deptService.getDeptIdByUserId(userId);
|
|
Long deptId = deptService.getDeptIdByUserId(userId);
|
|
userList = deptService.getDeptUserListByDeptId(deptId);
|
|
userList = deptService.getDeptUserListByDeptId(deptId);
|