소스 검색

youhua分页

liting2017 6 년 전
부모
커밋
6de2bf8455
4개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      src/js/newMenu/achievementList.js
  2. 1 1
      src/js/newMenu/adviserList.js
  3. 1 0
      src/js/newMenu/demandList.js
  4. 1 0
      src/js/newMenu/patentList.js

+ 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;