master
20918 12 months ago
parent 37c1757812
commit aa4f589bb2

@ -20,7 +20,7 @@
</li> </li>
<li> <li>
<label>试题类型:</label> <label>试题类型:</label>
<select name="tyep" th:with="type=${@dict.getType('td_question_type')}"> <select name="type" th:with="type=${@dict.getType('td_question_type')}">
<option value="">所有</option> <option value="">所有</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
@ -48,7 +48,7 @@
<script th:inline="javascript"> <script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:examnum:edit')}]]; var editFlag = [[${@permission.hasPermi('system:examnum:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:examnum:remove')}]]; var removeFlag = [[${@permission.hasPermi('system:examnum:remove')}]];
var tyepDatas = [[${@dict.getType('td_question_type')}]]; var typeDatas = [[${@dict.getType('td_question_type')}]];
var prefix = ctx + "system/examnum"; var prefix = ctx + "system/examnum";
$(function() { $(function() {
@ -88,10 +88,10 @@
title: '单位名称' title: '单位名称'
}, },
{ {
field: 'tyep', field: 'type',
title: '试题类型', title: '试题类型',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.selectDictLabel(tyepDatas, value); return $.table.selectDictLabel(typeDatas, value);
} }
}, },
{ {

Loading…
Cancel
Save