@@ -329,7 +329,7 @@ | |||||
nextValid() { | nextValid() { | ||||
if (this.nextPageObj.pageSize < this.nextPageObj.num) { | if (this.nextPageObj.pageSize < this.nextPageObj.num) { | ||||
this.innerAudioContext.pause() | this.innerAudioContext.pause() | ||||
this.nextPageObj.pageSize = this.nextPageObj.pageSize + 1 | |||||
this.nextPageObj.pageSize++ | |||||
this.keyWordsMatching(this.nextPageObj) | this.keyWordsMatching(this.nextPageObj) | ||||
} else { | } else { | ||||
uni.showToast({ | uni.showToast({ | ||||
@@ -347,7 +347,7 @@ | |||||
}) | }) | ||||
} else { | } else { | ||||
this.innerAudioContext.pause() | this.innerAudioContext.pause() | ||||
this.nextPageObj.pageSize = this.nextPageObj.pageSize - 1 | |||||
this.nextPageObj.pageSize-- | |||||
this.keyWordsMatching(this.nextPageObj) | this.keyWordsMatching(this.nextPageObj) | ||||
} | } | ||||
}, | }, | ||||
@@ -326,7 +326,7 @@ | |||||
let newobj = res[0]; | let newobj = res[0]; | ||||
let obj = { | let obj = { | ||||
pageSize: index, | |||||
pageSize: index+1, | |||||
num: this.totalRecords, | num: this.totalRecords, | ||||
query: { | query: { | ||||
...this.nextPageObj | ...this.nextPageObj | ||||
@@ -335,7 +335,7 @@ | |||||
uni.setStorageSync('nextPageObj', JSON.stringify(obj)) | uni.setStorageSync('nextPageObj', JSON.stringify(obj)) | ||||
uni.navigateTo({ | uni.navigateTo({ | ||||
url: `/pages/center/prohibited/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}&index=${index+1}&isMerge=${res[0].merge}` | |||||
url: `/pages/center/prohibited/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}&index=${index}&isMerge=${res[0].merge}` | |||||
}) | }) | ||||
// if (res[0].merge == 0) { | // if (res[0].merge == 0) { | ||||