修复全部问题
parent
270d0d3c86
commit
8062274b39
|
@ -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 + '¤tPage=' + this.listQuery.page
|
const url = '/accident/page?showCount=' + this.listQuery.limit + '¤tPage=' + 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
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue