列表修改

This commit is contained in:
2020-06-09 20:11:02 +08:00
parent 5e7214345f
commit f48ab07f2f
6 changed files with 13 additions and 17 deletions

View File

@ -14,8 +14,6 @@ $(function(){initGrid();})
<div id="ztreeMenuContent" class="ztreeMenuContent">
<ul id="dropDownTree" class="ztree" style="margin-top:0; width:250px; height: 300px;"></ul>
</div>
<input type='text' id='key' placeholder='规则标题'/>
<button class="btn btn-primary" onclick='javascript:loadGrid()'><i class='fa fa-search'></i>查询</button>
<div style='clear:both'></div>
</div>
<div class='wst-grid'>

View File

@ -14,8 +14,6 @@ $(function(){initGrid();})
<div id="ztreeMenuContent" class="ztreeMenuContent">
<ul id="dropDownTree" class="ztree" style="margin-top:0; width:250px; height: 300px;"></ul>
</div>
<input type='text' id='key' placeholder='规则标题'/>
<button class="btn btn-primary" onclick='javascript:loadGrid()'><i class='fa fa-search'></i>查询</button>
<div style='clear:both'></div>
</div>
<div class='wst-grid'>

View File

@ -6,17 +6,17 @@ function initGrid(){
if(val == 1) return '代快付';
else return '代慢付'
}},
{title:'金额', name:'title' ,width:200,renderer: function(val,item,rowIndex){
{title:'金额', name:'num' ,width:200,renderer: function(val,item,rowIndex){
if(item.changeType!=1){
val = '-'+val;
}
return "¥"+val;
}},
{title:'创建时间', name:'create_time' ,width:120,sortable:true},
{title:'时间', name:'createTime' ,width:120,sortable:true},
];
mmg = $('.mmg').mmGrid({height: h-85,indexCol: true, cols: cols,method:'POST',checkCol:true,multiSelect:true,
url: WST.U('admin/logSysData/pageQuery?type=1'), fullWidthRows: true, autoLoad: true,remoteSort: true,
mmg = $('.mmg').mmGrid({height: h-85,indexCol: true, cols: cols,method:'POST',checkCol:false,multiSelect:true,
url: WST.U('admin/log_sys_data/pageQuery','type=1'), fullWidthRows: true, autoLoad: true,remoteSort: true,
plugins: [
$('#pg').mmPaginator({})
]

View File

@ -6,17 +6,17 @@ function initGrid(){
if(val == 1) return '代快付';
else return '代慢付'
}},
{title:'金额', name:'title' ,width:200,renderer: function(val,item,rowIndex){
{title:'金额', name:'num' ,width:200,renderer: function(val,item,rowIndex){
if(item.changeType!=1){
val = '-'+val;
}
return "¥"+val;
}},
{title:'创建时间', name:'create_time' ,width:120,sortable:true},
{title:'时间', name:'createTime' ,width:120,sortable:true},
];
mmg = $('.mmg').mmGrid({height: h-85,indexCol: true, cols: cols,method:'POST',checkCol:true,multiSelect:true,
url: WST.U('admin/logSysData/pageQuery?type=2'), fullWidthRows: true, autoLoad: true,remoteSort: true,
mmg = $('.mmg').mmGrid({height: h-85,indexCol: true, cols: cols,method:'POST',checkCol:false,multiSelect:true,
url: WST.U('admin/log_sys_data/pageQuery','type=2'), fullWidthRows: true, autoLoad: true,remoteSort: true,
plugins: [
$('#pg').mmPaginator({})
]