修复全部问题

hyx_2024-10-30_new
shanao 2024-09-12 17:32:07 +08:00
parent 270d0d3c86
commit 8062274b39
1 changed files with 2 additions and 1 deletions

View File

@ -158,12 +158,13 @@ export default {
if (dates != null && dates.length === 2) { if (dates != null && dates.length === 2) {
this.searchForm.startTime = dates[0] this.searchForm.startTime = dates[0]
this.searchForm.endTime = dates[1] this.searchForm.endTime = dates[1]
delete this.searchForm.incidentDates
} }
const url = '/accident/page?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page const url = '/accident/page?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page
requestFN(url, { ...this.searchForm }).then((data) => { requestFN(url, { ...this.searchForm }).then((data) => {
this.listLoading = false this.listLoading = false
this.varList = data.varList this.varList = data.varList
this.total = data.page.totalResult this.listQuery.total = data.page.totalResult
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
}) })