查看所有题目功能完毕
This commit is contained in:
parent
cf9d681843
commit
1bd6748a21
|
@ -62,9 +62,10 @@
|
||||||
<option value="3">判断</option>
|
<option value="3">判断</option>
|
||||||
</select>
|
</select>
|
||||||
<input class="easyui-textbox" style="width:300px" name="title" data-options="prompt:'题干/分类名'"></input>
|
<input class="easyui-textbox" style="width:300px" name="title" data-options="prompt:'题干/分类名'"></input>
|
||||||
|
{% if request|has_permission:'b_question_showall' %}
|
||||||
<label>显示全部</label>
|
<label>显示全部</label>
|
||||||
<input type="checkbox" id="showAll" name="all" value="1">
|
<input type="checkbox" id="showAll" name="all" value="1">
|
||||||
|
{% endif %}
|
||||||
<a onclick="searchTm()" class="easyui-linkbutton" data-options="iconCls:'fa-search',plain:true">查询</a>
|
<a onclick="searchTm()" class="easyui-linkbutton" data-options="iconCls:'fa-search',plain:true">查询</a>
|
||||||
<a onclick="reset()" class="easyui-linkbutton"
|
<a onclick="reset()" class="easyui-linkbutton"
|
||||||
data-options="iconCls:'fa-undo',plain:true">重置</a>
|
data-options="iconCls:'fa-undo',plain:true">重置</a>
|
||||||
|
@ -361,7 +362,9 @@
|
||||||
}
|
}
|
||||||
function reset() {
|
function reset() {
|
||||||
$('#searchtmff').form('clear')
|
$('#searchtmff').form('clear')
|
||||||
$('#tmtable').datagrid('reload', {'tmlx':''})
|
var querydata = $('#searchtmff').serializeJSON();
|
||||||
|
querydata['tmlx'] = ''
|
||||||
|
$('#tmtable').datagrid('reload', querydata);
|
||||||
}
|
}
|
||||||
document.getElementById('drfile').onchange = function () {
|
document.getElementById('drfile').onchange = function () {
|
||||||
var fileObj = this.files[0];
|
var fileObj = this.files[0];
|
||||||
|
|
|
@ -19,10 +19,14 @@
|
||||||
<option value="3">判断</option>
|
<option value="3">判断</option>
|
||||||
</select>
|
</select>
|
||||||
<input class="easyui-textbox" style="width:300px" name="title" data-options="prompt:'题干/分类名'"></input>
|
<input class="easyui-textbox" style="width:300px" name="title" data-options="prompt:'题干/分类名'"></input>
|
||||||
|
{% load myfilter %}
|
||||||
|
{% if request|has_permission:'b_question_showall' %}
|
||||||
<label>显示全部</label>
|
<label>显示全部</label>
|
||||||
<input type="checkbox" id="showAll" name="all" value="1">
|
<input type="checkbox" id="showAll" name="all" value="1">
|
||||||
|
{% endif %}
|
||||||
<a onclick="searchTm()" class="easyui-linkbutton" data-options="iconCls:'fa-search',plain:true">查询</a>
|
<a onclick="searchTm()" class="easyui-linkbutton" data-options="iconCls:'fa-search',plain:true">查询</a>
|
||||||
|
<a onclick="reset()" class="easyui-linkbutton"
|
||||||
|
data-options="iconCls:'fa-undo',plain:true">重置</a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<table id="tmtable" style="height:100%;"></table>
|
<table id="tmtable" style="height:100%;"></table>
|
||||||
|
@ -56,6 +60,10 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
function reset() {
|
||||||
|
$('#searchtmff').form('clear')
|
||||||
|
$('#tmtable').datagrid('reload', {'tmlx':''})
|
||||||
|
}
|
||||||
$('#zjfltree').tree({
|
$('#zjfltree').tree({
|
||||||
url: 'api/questioncat?a=tree2',
|
url: 'api/questioncat?a=tree2',
|
||||||
animate: true,
|
animate: true,
|
||||||
|
|
Loading…
Reference in New Issue