Init Repo

This commit is contained in:
root
2019-09-06 23:53:10 +08:00
commit f0ef89dfbb
7905 changed files with 914138 additions and 0 deletions

View File

@ -0,0 +1,25 @@
var mmg;
function initGrid(){
var h = WST.pageHeight();
var cols = [
{title:'名称', name:'name', width: 100},
{title:'描述', name:'hookRemarks', width: 100},
{title:'对应插件', name:'addons' ,width:70, align:'center'}
];
mmg = $('.mmg').mmGrid({height: h-85,indexCol: true, cols: cols,method:'POST',
url: WST.U('admin/hooks/pageQuery'), fullWidthRows: true, autoLoad: true,
plugins: [
$('#pg').mmPaginator({})
]
});
}
//查询
function hooksQuery(){
var query = WST.getParams('.query');
query.page = 1;
mmg.load(query);
}