Commit d1b8939c by Lin

fix: 时间传参修改

1 parent 51ef7c1e
...@@ -598,10 +598,7 @@ ...@@ -598,10 +598,7 @@
searchStartDate, searchStartDate,
"YYYY-MM-DD HH:mm:ss" "YYYY-MM-DD HH:mm:ss"
) )
this.searchFormSearch.endDate = Util.dateFormate( this.searchFormSearch.endDate = Util.dateFormate(searchEndDate, "YYYY-MM-DD") + " 23:59:59"
searchEndDate,
"YYYY-MM-DD HH:mm:ss"
)
} }
delete this.searchFormSearch.createdDate delete this.searchFormSearch.createdDate
resolve() resolve()
......
...@@ -339,6 +339,7 @@ ...@@ -339,6 +339,7 @@
if (this.searchFormSearch.createTime) { if (this.searchFormSearch.createTime) {
this.searchFormSearch.startDate = Util.dateFormate(this.searchFormSearch.createTime[0], 'YYYY-MM-DD HH:mm:ss') this.searchFormSearch.startDate = Util.dateFormate(this.searchFormSearch.createTime[0], 'YYYY-MM-DD HH:mm:ss')
this.searchFormSearch.endDate = Util.dateFormate(this.searchFormSearch.createTime[1], 'YYYY-MM-DD') + ' 23:59:59' this.searchFormSearch.endDate = Util.dateFormate(this.searchFormSearch.createTime[1], 'YYYY-MM-DD') + ' 23:59:59'
delete this.searchFormSearch.createTime
} else { } else {
delete this.searchFormSearch.startDate delete this.searchFormSearch.startDate
delete this.searchFormSearch.endDate delete this.searchFormSearch.endDate
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!