Browse Source

youhua分页

liting2017 6 years ago
parent
commit
6de2bf8455

+ 1 - 0
src/js/newMenu/achievementList.js

@@ -221,6 +221,7 @@ $(function () {
                 $('.totalCount').html(`共${data.data.totalCount}条数据 ${thePageLength}页`)
                 var pageArr = [],
                     firstNo = 1,
+                    thePageNo=pageNo||1;
                     endNo = 5;
                 if (thePageNo > 3) {
                     firstNo = thePageNo - 2;

+ 1 - 1
src/js/newMenu/adviserList.js

@@ -113,7 +113,7 @@ $(function () {
                 $('.totalCount').html(`共${data.data.totalCount}条数据 ${thePageLength}页`)
                 var pageArr = [],
                     firstNo = 1,
-                    thePageNo=pageNo,
+                    thePageNo=pageNo||1,
                     endNo = 5;
                 if (thePageNo > 3) {
                     firstNo = thePageNo - 2;

+ 1 - 0
src/js/newMenu/demandList.js

@@ -220,6 +220,7 @@ $(function () {
                 $('.totalCount').html(`共${data.data.totalCount}条数据 ${thePageLength}页`)
                 var pageArr = [],
                     firstNo = 1,
+                    thePageNo=pageNo||1;
                     endNo = 5;
                 if (thePageNo > 3) {
                     firstNo = thePageNo - 2;

+ 1 - 0
src/js/newMenu/patentList.js

@@ -240,6 +240,7 @@ $(function () {
                 $('.totalCount').html(`共${data.data.totalCount}条数据 ${thePageLength}页`)
                 var pageArr = [],
                     firstNo = 1,
+                    thePageNo=pageNo||1;
                     endNo = 5;
                 if (thePageNo > 3) {
                     firstNo = thePageNo - 2;