Commit f25caf73 by wangql

修改BUG

1 parent c9227d1b
...@@ -83,7 +83,10 @@ ...@@ -83,7 +83,10 @@
type="daterange" type="daterange"
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期"> end-placeholder="结束日期"
value-format="yyyy-MM-dd HH:mm:ss"
:default-time="['00:00:00', '23:59:59']"
>
</gl-date-picker> </gl-date-picker>
</gl-form-item> </gl-form-item>
</gl-form> </gl-form>
...@@ -120,7 +123,7 @@ export default { ...@@ -120,7 +123,7 @@ export default {
this.eventBus.$emit('reset') this.eventBus.$emit('reset')
this.times = [] this.times = []
resetSearch(this.searchParams) resetSearch(this.searchParams)
this.loadingGetList() // this.loadingGetList()
} }
} }
}, },
...@@ -226,8 +229,8 @@ export default { ...@@ -226,8 +229,8 @@ export default {
}, },
getList() { getList() {
if (this.times.length) { if (this.times.length) {
this.searchParams.startTime = this.times[0].format('yyyy-MM-dd HH:mm:ss') this.searchParams.startTime = this.times[0]
this.searchParams.endTime = this.times[1].format('yyyy-MM-dd HH:mm:ss') this.searchParams.endTime = this.times[1]
} }
const params = this.getParams() const params = this.getParams()
params.groupId = this.groupId params.groupId = this.groupId
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!