Authored by 陶雨

修复公告管理列表不能翻页的bug

... ... @@ -52,7 +52,7 @@ var $ = require('jquery'),
toast:function(url, item, hint) {
var e = new common.edit("#baseform", {bucket: "yhb-img01"});
common.dialog.confirm(hint,
var dialog = common.dialog.confirm(hint,
common.util.__template($("#template").html(), item),
function() {
e.submit(url, function (option) {
... ... @@ -63,10 +63,12 @@ var $ = require('jquery'),
+ '","url":"' + $("#url").val() + '"}';
}
option.success=function() {
dialog.close();
g.reload();
};
option.error=function(){};
});
return false;
});
e.init();
... ...
... ... @@ -14,6 +14,8 @@ exports.res = [
method:'POST',
url: '/notice/getList',
params: [
{name: 'page', type: 'number'},
{name: 'size', type: 'number'},
{name: 'title', type: 'string'},
{name: 'position', type: 'Number'},
{name: 'showChannel', type: 'string'}
... ...