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++ } }) },