diff --git a/src/views/accident/records/components/list.vue b/src/views/accident/records/components/list.vue index 2fa4053..4bd8c47 100644 --- a/src/views/accident/records/components/list.vue +++ b/src/views/accident/records/components/list.vue @@ -158,12 +158,13 @@ export default { if (dates != null && dates.length === 2) { this.searchForm.startTime = dates[0] this.searchForm.endTime = dates[1] + delete this.searchForm.incidentDates } const url = '/accident/page?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page requestFN(url, { ...this.searchForm }).then((data) => { this.listLoading = false this.varList = data.varList - this.total = data.page.totalResult + this.listQuery.total = data.page.totalResult }).catch((e) => { this.listLoading = false })