罗斌杰 2 years ago
parent
commit
6a6fb9d9e7
  1. 8
      src/components/report/PatientRegisterListNobtn.vue

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

Loading…
Cancel
Save