Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.3.2^2
zouap 4 years ago
parent
commit
7c0347a43d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      public/home/search.js

+ 2
- 1
public/home/search.js View File

@@ -147,6 +147,7 @@ function displayResult(tableName,page,jsonResult,onlyReturnNum,keyword){
console.log("set total num." + tableName);
totalPage =Math.ceil(jsonResult.Total/pageSize);
totalNum = jsonResult.Total;
setPage(page);
}
}
@@ -528,7 +529,7 @@ function page(current){
//function doSearch(tableName,keyword,page,pageSize=15,onlyReturnNum=true,sortBy="",OnlySearchLabel=false){
currentPage=current;
doSearch(currentSearchTableName,currentSearchKeyword,current,pageSize,false,currentSearchSortBy,OnlySearchLabel);
setPage(currentPage);
}
function nextPage(){


Loading…
Cancel
Save