diff --git a/src/apps/AppIntegralAudit/AppIntegralAudit.vue b/src/apps/AppIntegralAudit/AppIntegralAudit.vue index 4eafad9a..4c821df0 100644 --- a/src/apps/AppIntegralAudit/AppIntegralAudit.vue +++ b/src/apps/AppIntegralAudit/AppIntegralAudit.vue @@ -74,15 +74,14 @@ export default { getList() { this.$http.post('/app/appvillagerintegraldeclare/list',null,{ params: { - current: 1, - size: 10, + current: this.current, description : this.keyword, applyIntegralType: this.applyIntegralType, auditType: this.tabIndex== 0 ? "" : this.tabIndex == 1 ? 0 : 1 } }).then(res => { if(res?.data){ - this.integralList = this.current > 1 ? [...this.integralList, ...res.data.records] : res.data.records + this.integralList = this.current > 1 ? [...this.integralList, ...res.data.records]:res.data.records this.$forceUpdate() this.flag = true } @@ -108,6 +107,10 @@ export default { onShow() { document.title = '积分审核' }, + onReachBottom() { + this.current ++, + this.getList() + } } diff --git a/src/apps/AppVillagersCircle/commentList.vue b/src/apps/AppVillagersCircle/commentList.vue index 6394c8ad..24986122 100644 --- a/src/apps/AppVillagersCircle/commentList.vue +++ b/src/apps/AppVillagersCircle/commentList.vue @@ -43,7 +43,6 @@ export default { tabIndex: '', showType: false, content: '', - // typeList: [], current: 1, topic: '', topicType: '', @@ -83,8 +82,7 @@ export default { getList() { this.$http.post('/app/appvillagercirclecomment/list',null,{ params: { - current: 1, - size: 10, + current: this.current, topic:this.topic, content: this.content, auditType: this.tabIndex==0? '': this.tabIndex==1? 0 : 1, @@ -92,7 +90,7 @@ export default { } }).then(res=>{ if(res?.data) { - this.data = this.current >1 ? [...this.data, ...this.res.data.records] : res.data.records + this.data = this.current >1 ? [...this.data, ...res.data.records]:res.data.records } }) }, @@ -104,6 +102,10 @@ export default { onShow() { document.title = '发布评论审核' }, + onReachBottom() { + this.current ++, + this.getList() + } } diff --git a/src/apps/AppVillagersCircle/infoList.vue b/src/apps/AppVillagersCircle/infoList.vue index 8da6b0cc..f67bccd8 100644 --- a/src/apps/AppVillagersCircle/infoList.vue +++ b/src/apps/AppVillagersCircle/infoList.vue @@ -72,15 +72,14 @@ export default { getList() { this.$http.post('app/appvillagercircleinfo/list',null,{ params: { - current: 1, - size: 10, + current: this.current, auditType: this.tabIndex == 0 ? '': this.tabIndex == 1 ? 0 : 1, topic: this.topic, content: this.content } }).then(res=>{ if(res?.data) { - this.villagerList = this.current >1 ? [...this.villagerList,...res.data.records] : res.data.records + this.villagerList = this.current >1 ? [...this.villagerList,...res.data.records]:res.data.records } }) }, @@ -100,6 +99,10 @@ export default { onShow() { document.title = '发布信息审核' }, + onReachBottom() { + this.current ++, + this.getList() + } } diff --git a/src/apps/AppWorkonline/Detail.vue b/src/apps/AppWorkonline/Detail.vue index a0f127ca..04221485 100644 --- a/src/apps/AppWorkonline/Detail.vue +++ b/src/apps/AppWorkonline/Detail.vue @@ -89,19 +89,22 @@