详细筛选加上重置
This commit is contained in:
parent
1bd6748a21
commit
9a805efd6e
|
@ -1301,6 +1301,7 @@ class Checktask(models.Model):
|
||||||
userlist = models.CharField(max_length=200,null=True,)#检查人列表
|
userlist = models.CharField(max_length=200,null=True,)#检查人列表
|
||||||
zxstate = models.IntegerField(default=1)#1同时执行,2一个执行就执行
|
zxstate = models.IntegerField(default=1)#1同时执行,2一个执行就执行
|
||||||
taskstate = models.IntegerField(default=1)#是否暂停,1运行,2暂停
|
taskstate = models.IntegerField(default=1)#是否暂停,1运行,2暂停
|
||||||
|
|
||||||
class Checkjob(models.Model):
|
class Checkjob(models.Model):
|
||||||
id=models.AutoField(primary_key=True)#主键
|
id=models.AutoField(primary_key=True)#主键
|
||||||
checktask=models.ForeignKey(Checktask,on_delete=models.CASCADE)#关联任务表
|
checktask=models.ForeignKey(Checktask,on_delete=models.CASCADE)#关联任务表
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:44px;text-align:center;padding:4px">
|
<div id='southdiv' data-options="region:'south'" style="height:44px;text-align:center;padding:4px">
|
||||||
<a id="yhsearch" onclick="yhsearch()">查询</a>
|
<a id="yhsearch" onclick="yhsearch()">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -143,7 +144,14 @@
|
||||||
$('#jobtab').datagrid('load', querydata);
|
$('#jobtab').datagrid('load', querydata);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchyhff').form('clear')
|
||||||
|
$('#jobtab').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#jobtab').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
function addcheckrw() {
|
function addcheckrw() {
|
||||||
var row = $('#jobtab').datagrid('getSelected');
|
var row = $('#jobtab').datagrid('getSelected');
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="font-weight: bold;">检查时间:</td>
|
<td style="font-weight: bold;">提交时间:</td>
|
||||||
<td>{{jctime}}</td>
|
<td>{{jctime}}</td>
|
||||||
<td style="font-weight: bold;">整改时间:</td>
|
<td style="font-weight: bold;">整改时间:</td>
|
||||||
<td>{{zgtime}}</td>
|
<td>{{zgtime}}</td>
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="ylsearch" onclick="ylsearch()">查询</a>
|
<a id="ylsearch" onclick="ylsearch()">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -262,6 +263,14 @@
|
||||||
$('#sdg_yl').dialog('close')
|
$('#sdg_yl').dialog('close')
|
||||||
$('#yltable').datagrid('load', querydata);
|
$('#yltable').datagrid('load', querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchylff').form('clear')
|
||||||
|
$('#yltable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#yltable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,7 @@
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="xjsearch" onclick="xjsearch()" class="easyui-linkbutton"
|
<a id="xjsearch" onclick="xjsearch()" class="easyui-linkbutton"
|
||||||
data-options="iconCls: 'fa-search'">查询</a>
|
data-options="iconCls: 'fa-search'">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -99,6 +100,14 @@
|
||||||
$("#sdg_xj").dialog("close");
|
$("#sdg_xj").dialog("close");
|
||||||
$('#xjtable').datagrid('load', querydata);
|
$('#xjtable').datagrid('load', querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchxjff').form('clear')
|
||||||
|
$('#xjtable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#xjtable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
$('#xjtable').datagrid({
|
$('#xjtable').datagrid({
|
||||||
url: '',
|
url: '',
|
||||||
rownumbers: true,
|
rownumbers: true,
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="xjsearch" onclick="xjsearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
<a id="xjsearch" onclick="xjsearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -87,6 +88,14 @@
|
||||||
$("#sdg_xj").dialog("close");
|
$("#sdg_xj").dialog("close");
|
||||||
$('#xjtable').datagrid('load',querydata);
|
$('#xjtable').datagrid('load',querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchxjff').form('clear')
|
||||||
|
$('#xjtable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#xjtable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
$('#xjtable').datagrid({
|
$('#xjtable').datagrid({
|
||||||
url: '',
|
url: '',
|
||||||
rownumbers: true,
|
rownumbers: true,
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="wssearch" onclick="wssearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
<a id="wssearch" onclick="wssearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,6 +81,14 @@
|
||||||
$("#sdg_ws").dialog("close");
|
$("#sdg_ws").dialog("close");
|
||||||
$('#wstable').datagrid('load',querydata);
|
$('#wstable').datagrid('load',querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchwsff').form('clear')
|
||||||
|
$('#wstable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#wstable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
$('#wstable').datagrid({
|
$('#wstable').datagrid({
|
||||||
url: '',
|
url: '',
|
||||||
rownumbers: true,
|
rownumbers: true,
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="tzsearch" onclick="tzsearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
<a id="tzsearch" onclick="tzsearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -62,6 +63,14 @@
|
||||||
$("#sdg_tz").dialog("close");
|
$("#sdg_tz").dialog("close");
|
||||||
$('#tztable').datagrid('load',querydata);
|
$('#tztable').datagrid('load',querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchtzff').form('clear')
|
||||||
|
$('#tztable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#tztable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
$('#tztable').datagrid({
|
$('#tztable').datagrid({
|
||||||
url: '',
|
url: '',
|
||||||
rownumbers: true,
|
rownumbers: true,
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="gcsearch" onclick="gcsearch()" class="easyui-linkbutton"
|
<a id="gcsearch" onclick="gcsearch()" class="easyui-linkbutton"
|
||||||
data-options="iconCls: 'fa-search'">查询</a>
|
data-options="iconCls: 'fa-search'">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -93,6 +94,14 @@
|
||||||
$("#sdg_gc").dialog("close");
|
$("#sdg_gc").dialog("close");
|
||||||
$('#gctable').datagrid('load', querydata);
|
$('#gctable').datagrid('load', querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchgcff').form('clear')
|
||||||
|
$('#gctable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#gctable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
$('#gctable').datagrid({
|
$('#gctable').datagrid({
|
||||||
url: '',
|
url: '',
|
||||||
rownumbers: true,
|
rownumbers: true,
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="zysearch" onclick="zysearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
<a id="zysearch" onclick="zysearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -73,6 +74,14 @@
|
||||||
$("#sdg_zy").dialog("close");
|
$("#sdg_zy").dialog("close");
|
||||||
$('#zytable').datagrid('load',querydata);
|
$('#zytable').datagrid('load',querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchzyff').form('clear')
|
||||||
|
$('#zytable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#zytable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
$('#zytable').datagrid({
|
$('#zytable').datagrid({
|
||||||
url: '',
|
url: '',
|
||||||
rownumbers: true,
|
rownumbers: true,
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="jysearch" onclick="jysearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
<a id="jysearch" onclick="jysearch()" class="easyui-linkbutton" data-options="iconCls: 'fa-search'">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -64,6 +65,14 @@
|
||||||
$("#sdg_jy").dialog("close");
|
$("#sdg_jy").dialog("close");
|
||||||
$('#jytable').datagrid('load',querydata);
|
$('#jytable').datagrid('load',querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchjyff').form('clear')
|
||||||
|
$('#jytable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#jytable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
$('#jytable').datagrid({
|
$('#jytable').datagrid({
|
||||||
url: '',
|
url: '',
|
||||||
rownumbers: true,
|
rownumbers: true,
|
||||||
|
@ -186,4 +195,5 @@
|
||||||
$.messager.alert('提示', '请选择一行数据!')
|
$.messager.alert('提示', '请选择一行数据!')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
|
@ -11,6 +11,7 @@
|
||||||
</select>
|
</select>
|
||||||
<a onclick="javascript:$('#sdg_px').dialog('open')" class="easyui-linkbutton"
|
<a onclick="javascript:$('#sdg_px').dialog('open')" class="easyui-linkbutton"
|
||||||
data-options="iconCls: 'fa-search',plain:true">详细筛选</a>
|
data-options="iconCls: 'fa-search',plain:true">详细筛选</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{% load myfilter %}
|
{% load myfilter %}
|
||||||
|
@ -50,6 +51,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
<div id='southdiv' data-options="region:'south'" style="height:46px;text-align:center;padding:6px">
|
||||||
<a id="pxsearch" onclick="pxsearch()">查询</a>
|
<a id="pxsearch" onclick="pxsearch()">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -238,6 +240,14 @@
|
||||||
$('#sdg_px').dialog('close')
|
$('#sdg_px').dialog('close')
|
||||||
$('#pxtable').datagrid('load', querydata);
|
$('#pxtable').datagrid('load', querydata);
|
||||||
}
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchpxff').form('clear')
|
||||||
|
$('#pxtable').datagrid('options').queryParams = {
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#pxtable').datagrid('load');
|
||||||
|
|
||||||
|
}
|
||||||
function exportpxword() {
|
function exportpxword() {
|
||||||
|
|
||||||
var row = $('#pxtable').datagrid('getSelected');
|
var row = $('#pxtable').datagrid('getSelected');
|
||||||
|
|
|
@ -64,6 +64,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='southdiv' data-options="region:'south'" style="height:44px;text-align:center;padding:4px">
|
<div id='southdiv' data-options="region:'south'" style="height:44px;text-align:center;padding:4px">
|
||||||
<a id="yhsearch" onclick="yhsearch()">查询</a>
|
<a id="yhsearch" onclick="yhsearch()">查询</a>
|
||||||
|
<a id="searchreset" onclick="reset()" class="easyui-linkbutton">重置</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -306,6 +307,14 @@
|
||||||
$('#sdg_yh').dialog('close')
|
$('#sdg_yh').dialog('close')
|
||||||
$('#yhtable').datagrid('load', querydata);
|
$('#yhtable').datagrid('load', querydata);
|
||||||
|
|
||||||
|
}
|
||||||
|
function reset() {
|
||||||
|
$('#searchyhff').form('clear')
|
||||||
|
$('#yhtable').datagrid('options').queryParams={
|
||||||
|
a:'listall'
|
||||||
|
}
|
||||||
|
$('#yhtable').datagrid('load');
|
||||||
|
|
||||||
}
|
}
|
||||||
function exportyhexcel() {
|
function exportyhexcel() {
|
||||||
var querydata = $('#searchyhff').serializeJSON();
|
var querydata = $('#searchyhff').serializeJSON();
|
||||||
|
|
Loading…
Reference in New Issue