角色岗位禁用显示置灰

pull/22/head
RuoYi 2018-07-30 10:31:40 +08:00
parent 06e25ac4a3
commit 95b5b12c4d
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@
<label class="col-sm-3 control-label">岗位:</label>
<div class="col-sm-8">
<select id="post" name="post" class="form-control select2-hidden-accessible" multiple="">
<option th:each="post:${posts}" th:value="${post.postId}" th:text="${post.postName}"></option>
<option th:each="post:${posts}" th:value="${post.postId}" th:text="${post.postName}" th:disabled="${post.status == '1'}"></option>
</select>
</div>