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 { } -