diff --git a/WebContent/WEB-INF/jsp/pc/activity/activityList.jsp b/WebContent/WEB-INF/jsp/pc/activity/activityList.jsp
index bb31e17..d1271f0 100644
--- a/WebContent/WEB-INF/jsp/pc/activity/activityList.jsp
+++ b/WebContent/WEB-INF/jsp/pc/activity/activityList.jsp
@@ -78,16 +78,14 @@
function initData(queryObj) {
$.get("/zzhnc/article/getArticlesList", queryObj, function(data) {
- data = data.data;
+ var data = data.data;
console.log(data)
-
- var str = "";
+ $("#tablelist").html("");
if(data.rows.length < 1) {
$(".nodata").show();
- $("#page").hide();
} else {
$(".nodata").hide();
- $("#page").show();
+ var str = "";
for(var i = 0; i < data.rows.length; i++) {
str += '
' +
'' + ((data.page - 1) * data.pageSize + i + 1) + ' | ' +
@@ -100,25 +98,24 @@
'' +
'
';
}
- }
-
- $("#tablelist").html(str);
- toNull_G();
-
- laypage.render({
- elem: 'page',
- count: data.total,
- limit: queryObj.pagesize,
- curr: queryObj.page,
- skip: true,
- jump: function(obj, first) {
- if(!first) {
- queryObj.page = obj.curr
- initData(queryObj);
+ $("#tablelist").html(str);
+ form.render();
+ toNull_G();
+ laypage.render({
+ elem: 'page',
+ count: data.total,
+ limit: queryObj.pagesize,
+ curr: queryObj.page,
+ skip: true,
+ jump: function(obj, first) {
+ if(!first) {
+ queryObj.page = obj.curr
+ initData(queryObj);
+ }
}
+ })
+ }
- }
- });
})
}
diff --git a/WebContent/WEB-INF/jsp/pc/autoresponse/autoresponse.jsp b/WebContent/WEB-INF/jsp/pc/autoresponse/autoresponse.jsp
index c63b58f..ec72d53 100644
--- a/WebContent/WEB-INF/jsp/pc/autoresponse/autoresponse.jsp
+++ b/WebContent/WEB-INF/jsp/pc/autoresponse/autoresponse.jsp
@@ -13,14 +13,15 @@