From 6a6fb9d9e710edd418c0221de31dc71820f8b071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=96=8C=E6=9D=B0?= <> Date: Sun, 12 May 2024 22:58:42 +0800 Subject: [PATCH] ui --- src/components/report/PatientRegisterListNobtn.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/report/PatientRegisterListNobtn.vue b/src/components/report/PatientRegisterListNobtn.vue index 2bff490..1c279ee 100644 --- a/src/components/report/PatientRegisterListNobtn.vue +++ b/src/components/report/PatientRegisterListNobtn.vue @@ -231,6 +231,7 @@ export default { }, async load() { + this.loadOpts.skipCount++ await this.queryEvent() }, @@ -322,10 +323,7 @@ export default { // 报告查询 reportQuery() { console.log('reportQuery this.loadOpts',this.loadOpts) - if (this.loadOpts.skipCount != 0 && this.loadOpts.skipCount * this.loadOpts.maxResultCount >= this.loadOpts.totalCount) { - this.$message.info({ showClose: true, message: "数据已全部拉取!" }) - return - } + if (this.loadOpts.skipCount != 0 && this.loadOpts.skipCount * this.loadOpts.maxResultCount >= this.loadOpts.totalCount) return let body = { skipCount: this.loadOpts.skipCount, @@ -376,7 +374,7 @@ export default { this.patientRegister.prList = []; } this.patientRegister.prList = this.patientRegister.prList.concat(res.data.items) - this.loadOpts.skipCount++ + // this.loadOpts.skipCount++ } }) },