Commit ed807ccc authored by Smile's avatar Smile Committed by wux

会员等级页面查询修改

parent c5759907
......@@ -20,7 +20,7 @@
<el-form-item :label="$t('启用时间')">
<el-date-picker
v-model="dateRangeCreateTime"
type="datetimerange"
type="daterange"
:start-placeholder="$t('开始日期')"
value-format="yyyy-MM-dd"
:end-placeholder="$t('结束日期')"
......@@ -322,9 +322,13 @@ export default {
})
},
handleQuery() {
debugger
this.queryParams.pageNo = 1
let params = { ...this.queryParams }
this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime", false)
this.addDateRange(this.queryParams, [
this.dateRangeCreateTime[0] ? this.dateRangeCreateTime[0] + ' 00:00:00' : undefined,
this.dateRangeCreateTime[1] ? this.dateRangeCreateTime[1] + ' 23:59:59' : undefined,
])
getMemberLevelList(params).then((res) => {
this.loading = false
this.memberLevelList = res.data.list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment