Browse Source

提交代码。

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

+ 4
- 3
public/home/search.js View File

@@ -54,7 +54,7 @@ var currentSearchSortBy="";
var OnlySearchLabel=false;

function searchItem(type,sortType){
console.log("enter here.");
console.log("enter here 2.");
currentSearchKeyword = document.getElementById("keyword_input").value;
if(!isEmpty(currentSearchKeyword)){
currentPage = 1;
@@ -69,7 +69,7 @@ function searchItem(type,sortType){


function search(){
console.log("enter here.");
console.log("enter here 1.");
currentSearchKeyword = document.getElementById("keyword_input").value;
currentPage = 1;

@@ -561,7 +561,8 @@ function page(current){
if (isEmpty(pageData)){
return;
}
$('#page_total').text(pageData.Total);
console.log("currentPage=" + currentPage);
$('#page_total').text("共 " + pageData.Total + " 条");
if(currentPage > 1){
$('#startPage').removeClass("disabled");
$('#lastPage').removeClass("disabled");


Loading…
Cancel
Save