班组长不可删除,只能修改

This commit is contained in:
liang.chao 2025-07-22 09:05:38 +08:00
parent f74f19c235
commit 72ade4a49e
1 changed files with 6 additions and 4 deletions

View File

@ -123,10 +123,12 @@ function initTable() {
text += text +=
'<a lay-event="edit" style="color: #009688;cursor: pointer;font-size: 15px"' + '<a lay-event="edit" style="color: #009688;cursor: pointer;font-size: 15px"' +
' id="edit">编辑</a>'; ' id="edit">编辑</a>';
text += if (d.isTeamLeader == '否') {
'<a lay-event="del" style="color: #009688;cursor: pointer;font-size:' + text +=
' 15px;margin-left: 10px"' + '<a lay-event="del" style="color: #009688;cursor: pointer;font-size:' +
' id="del">删除</a>'; ' 15px;margin-left: 10px"' +
' id="del">删除</a>';
}
return text; return text;
}, },
}, },