|
|
|
@@ -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"); |
|
|
|
|