题库可查看全部
This commit is contained in:
parent
636f492969
commit
6cf0bedfdc
|
@ -52,14 +52,22 @@
|
||||||
data-options="iconCls:'fa-upload',plain:true">导入试题</a>
|
data-options="iconCls:'fa-upload',plain:true">导入试题</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<form id='searchtmff'>
|
||||||
|
<select name='type' style="width:100px" class="easyui-combobox" data-options="prompt:'题型'">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="1">单选</option>
|
||||||
|
<option value="2">多选</option>
|
||||||
|
<option value="3">判断</option>
|
||||||
|
</select>
|
||||||
|
<input class="easyui-textbox" style="width:300px" name="name" data-options="prompt:'题干'"></input>
|
||||||
|
<label>显示全部</label>
|
||||||
|
<input type="checkbox" id="showAll">
|
||||||
|
<a onclick="searchTm" class="easyui-linkbutton" data-options="iconCls:'fa-search',plain:true">查询</a>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table id="tmtable" style="height:100%;"></table>
|
<table id="tmtable" style="height:100%;"></table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -271,6 +279,13 @@
|
||||||
$.messager.alert('提示', '请选择一道题目!');
|
$.messager.alert('提示', '请选择一道题目!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$("#showAll").click(function () {
|
||||||
|
if ($(this).prop("checked")) {
|
||||||
|
alert("选中");
|
||||||
|
} else {
|
||||||
|
alert("没有选中");
|
||||||
|
}
|
||||||
|
});
|
||||||
document.getElementById('drfile').onchange = function () {
|
document.getElementById('drfile').onchange = function () {
|
||||||
var fileObj = this.files[0];
|
var fileObj = this.files[0];
|
||||||
var url = 'drapi?a=question'
|
var url = 'drapi?a=question'
|
||||||
|
|
Loading…
Reference in New Issue