Commit e49c074d authored by duxinyuan's avatar duxinyuan

1

parent dd38ec4f
...@@ -219,10 +219,11 @@ define (['doT', 'text!temp/plNews_template_tpl.html','ckfinder','ckfinderStart', ...@@ -219,10 +219,11 @@ define (['doT', 'text!temp/plNews_template_tpl.html','ckfinder','ckfinderStart',
console.log('公告'); console.log('公告');
var temp = document.getElementById ('plNews_list_tpl').innerHTML; var temp = document.getElementById ('plNews_list_tpl').innerHTML;
var doTtmpl = doT.template (temp); var doTtmpl = doT.template (temp);
$ ("#users_list").html (doTtmpl (data.data)); $ ("#users_list").html (doTtmpl (data.data.list));
/*分页代码*/ /*分页代码*/
// alert(data.data.total)
add_page(data.data.total,pageNo,user.pageSize,user.getList); add_page(data.data.total,pageNo,user.pageSize,user.getList);
$("#total_page").html(data.data.total); // $("#total_page").html(data.data.total);
} }
}); });
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment