|
@@ -234,8 +234,14 @@
|
|
|
* @param:pageSize(每页条数)
|
|
|
* @param:organizeID(全局变量组织ID)
|
|
|
*/
|
|
|
- let params = {searchWord:this.searchInputVal,organizeId:this.organizeId,pageNum:1,pageSize:this.pageSize};
|
|
|
- this.OrderService.SearchOrderInfo(params).then(response =>{
|
|
|
+ this.OrderService.SearchOrderInfo(
|
|
|
+ {
|
|
|
+ searchWord:this.searchInputVal,
|
|
|
+ organizeId:this.organizeId,
|
|
|
+ pageNum:1,pageSize:this.pageSize,
|
|
|
+ }
|
|
|
+ )
|
|
|
+ .then(response =>{
|
|
|
this.isShowWrapper = true
|
|
|
this.showSkeleton = true
|
|
|
const _responseData = response.data.list;
|
|
@@ -271,8 +277,15 @@
|
|
|
},
|
|
|
getOnReachBottomData(index){//上拉加载
|
|
|
this.pageNum+=1
|
|
|
- let params = {searchWord:this.searchInputVal,userId:this.userID,pageNum:this.pageNum,pageSize:this.pageSize}
|
|
|
- this.OrderService.SearchOrderInfo(params).then(response =>{
|
|
|
+ this.OrderService.SearchOrderInfo(
|
|
|
+ {
|
|
|
+ searchWord:this.searchInputVal,
|
|
|
+ organizeId:this.organizeId,
|
|
|
+ pageNum:this.pageNum,
|
|
|
+ pageSize:this.pageSize,
|
|
|
+ }
|
|
|
+ )
|
|
|
+ .then(response =>{
|
|
|
let resData = response.data.list
|
|
|
this.hasNextPage = response.data.hasNextPage;
|
|
|
this.orderList = this.orderList.concat(resData)
|