外包商组织架构 项目经理角色具有新增权限

This commit is contained in:
tqzhang 2025-01-22 17:30:36 +08:00
parent 8226b52ea1
commit 112d6adc43
1 changed files with 3 additions and 0 deletions

View File

@ -123,6 +123,9 @@ function initTreeTable() {
if(user.roleId == 7 && d.level == 4 && d.userName == user.nickname){
html += '<a lay-event="add" style="color: #009688;cursor: pointer;font-size: 15px" id="add">新增</a>';
}
if(user.roleId == 7 && d.level == 3 && d.userName == user.nickname){
html += '<a lay-event="add" style="color: #009688;cursor: pointer;font-size: 15px" id="add">新增</a>';
}
}
if (d.level === 5) {
if(user.roleId == 6 || user.roleId == 5){