From ada042974b1e25590cf999195e88611432198071 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 19 May 2023 10:37:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B1=E6=96=87=E5=8D=95=E8=AF=8D=E9=94=99?= =?UTF-8?q?=E8=AF=AF=EF=BC=8C=E6=99=AE=E6=B3=95=E8=80=83=E8=AF=95=E5=88=86?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../conv/AppHealthReport/AppHealthReport.vue | 2 +- src/mods/conv/AppPhotoAlbum/AppPhotoAlbum.vue | 2 +- .../AppReturnHomeRegister.vue | 2 +- .../AppVillageActivity/AppVillageActivity.vue | 2 +- .../conv/AppVillagerDiscussion/VoteList.vue | 2 +- .../AppEnteringCommunity/AppPhotoAlbum.vue | 2 +- .../grid/AppHealthReport/AppHealthReport.vue | 2 +- .../AppReturnHomeRegister.vue | 2 +- .../AppEnteringCommunity/AppPhotoAlbum.vue | 2 +- .../AppGetewayRegister/AppGetewayRegister.vue | 2 +- .../AppHealthReport/AppHealthReport.vue | 2 +- .../AppReturnHomeRegister.vue | 2 +- .../AppVillageActivity/AppVillageActivity.vue | 2 +- .../AppLegalLearning/AppLegalLearning.vue | 18 +++++++++++++----- .../components/GeneralLawExam.vue | 14 +++++++++++--- .../components/OnlineClass.vue | 13 ++++++++----- .../AppVillageActivity/AppVillageActivity.vue | 2 +- src/project/tianfuxing/AppHome/Culture.vue | 2 +- src/project/tianfuxing/AppHome/PhotoReport.vue | 2 +- src/project/tianfuxing/AppHome/Ranking.vue | 2 +- src/project/tianfuxing/AppHome/StoreDetail.vue | 2 +- 21 files changed, 50 insertions(+), 31 deletions(-) diff --git a/src/mods/conv/AppHealthReport/AppHealthReport.vue b/src/mods/conv/AppHealthReport/AppHealthReport.vue index 4b2219b..2825da9 100644 --- a/src/mods/conv/AppHealthReport/AppHealthReport.vue +++ b/src/mods/conv/AppHealthReport/AppHealthReport.vue @@ -119,7 +119,7 @@ export default { } - diff --git a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue index de4e53e..e02838a 100644 --- a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue +++ b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue @@ -84,22 +84,30 @@ export default { testList: [], testId: '', studyDuration: '', + pages: 2 } }, computed: { ...mapState(['user']) }, methods: { + nextList() { + this.current ++ + this.getList() + }, getList() { + if(this.current > this.pages) return this.$instance.post(`/app/appexaminationinfo/listForXCX`, null, { params: { current: this.current, - size: 3000, + size: 10, title: this.title } }).then(res=> { if(res?.data) { - this.testList = res.data.records + // this.testList = res.data.records + this.testList = this.current==1? res.data.records: [...this.testList,...res.data.records] + this.pages = res.data.pages this.getStudyDuration() } }) @@ -186,7 +194,7 @@ export default { } -