From 8062274b39ad6cadc2ef642be1192e61d3e2bae9 Mon Sep 17 00:00:00 2001 From: shanao Date: Thu, 12 Sep 2024 17:32:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=A8=E9=83=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/accident/records/components/list.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 })