题库可查看全部
This commit is contained in:
parent
636f492969
commit
6cf0bedfdc
|
@ -51,15 +51,23 @@
|
|||
<a id="drtms" onclick="javascript:$('#drtmdg').dialog('open').window('center');" class="easyui-linkbutton"
|
||||
data-options="iconCls:'fa-upload',plain:true">导入试题</a>
|
||||
{% 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>
|
||||
|
||||
<table id="tmtable" style="height:100%;"></table>
|
||||
|
||||
</div>
|
||||
|
@ -271,6 +279,13 @@
|
|||
$.messager.alert('提示', '请选择一道题目!');
|
||||
}
|
||||
}
|
||||
$("#showAll").click(function () {
|
||||
if ($(this).prop("checked")) {
|
||||
alert("选中");
|
||||
} else {
|
||||
alert("没有选中");
|
||||
}
|
||||
});
|
||||
document.getElementById('drfile').onchange = function () {
|
||||
var fileObj = this.files[0];
|
||||
var url = 'drapi?a=question'
|
||||
|
|
Loading…
Reference in New Issue