角色岗位禁用显示置灰

This commit is contained in:
RuoYi
2018-07-30 10:29:02 +08:00
parent 7d74dfd0f4
commit 06e25ac4a3
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@
<label class="col-sm-3 control-label">角色:</label>
<div class="col-sm-8">
<label th:each="role:${roles}" class="checkbox-inline i-checks">
<input name="role" type="checkbox" th:value="${role.roleId}" th:text="${role.roleName}">
<input name="role" type="checkbox" th:value="${role.roleId}" th:text="${role.roleName}" th:disabled="${role.status == '1'}">
</label>
</div>
</div>