数据字典是否默认字段获取调整

This commit is contained in:
RuoYi
2019-07-09 18:43:12 +08:00
parent 9e67d8272e
commit 6c47f48e06
14 changed files with 30 additions and 14 deletions

View File

@ -44,7 +44,7 @@
<label class="col-sm-3 control-label">用户状态:</label>
<div class="col-sm-8">
<div class="radio-box" th:each="dict : ${@dict.getType('sys_normal_disable')}">
<input type="radio" th:id="${dict.dictCode}" name="status" th:value="${dict.dictValue}" th:checked="${dict.isDefault == 'Y' ? true : false}">
<input type="radio" th:id="${dict.dictCode}" name="status" th:value="${dict.dictValue}" th:checked="${dict.default}">
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
</div>
</div>