Commit 0ee3ccac by 胡悦

Merge branch 'master' of 192.168.3.233:glsx-web/glsx-oss-merchant-data

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