|
|
|
@ -55,7 +55,7 @@ |
|
|
|
<div class="search-group3"> |
|
|
|
<div class="search-item"> |
|
|
|
<span class="form-label">注册时间</span> |
|
|
|
<el-date-picker v-model="searchDate" type="datetimerange" :shortcuts="shortcuts" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" /> |
|
|
|
<el-date-picker v-model="searchDate" type="datetimerange" :shortcuts="shortcuts" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" value-format="YYYY-MM-DD HH:mm:ss" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -135,33 +135,33 @@ onMounted(async () => { |
|
|
|
|
|
|
|
const shortcuts = [ |
|
|
|
{ |
|
|
|
text: '最近7天', |
|
|
|
text: "最近7天", |
|
|
|
value: () => { |
|
|
|
const end = new Date() |
|
|
|
const start = new Date() |
|
|
|
start.setDate(start.getDate() - 7) |
|
|
|
return [start, end] |
|
|
|
const end = new Date(); |
|
|
|
const start = new Date(); |
|
|
|
start.setDate(start.getDate() - 7); |
|
|
|
return [start, end]; |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: '最近1个月', |
|
|
|
text: "最近1个月", |
|
|
|
value: () => { |
|
|
|
const end = new Date() |
|
|
|
const start = new Date() |
|
|
|
start.setMonth(start.getMonth() - 1) |
|
|
|
return [start, end] |
|
|
|
const end = new Date(); |
|
|
|
const start = new Date(); |
|
|
|
start.setMonth(start.getMonth() - 1); |
|
|
|
return [start, end]; |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: '最近3个月', |
|
|
|
text: "最近3个月", |
|
|
|
value: () => { |
|
|
|
const end = new Date() |
|
|
|
const start = new Date() |
|
|
|
start.setMonth(start.getMonth() - 3) |
|
|
|
return [start, end] |
|
|
|
const end = new Date(); |
|
|
|
const start = new Date(); |
|
|
|
start.setMonth(start.getMonth() - 3); |
|
|
|
return [start, end]; |
|
|
|
}, |
|
|
|
}, |
|
|
|
] |
|
|
|
]; |
|
|
|
|
|
|
|
// 地区下拉框 |
|
|
|
const regionList = ref([]); |
|
|
|
@ -291,7 +291,7 @@ const resetBn = () => { |
|
|
|
searchForm.origin_id = ""; |
|
|
|
searchForm.user_role = ""; |
|
|
|
searchForm.country = ""; |
|
|
|
searchDate.value=[]; |
|
|
|
searchDate.value = []; |
|
|
|
|
|
|
|
currentPage.value = 1; |
|
|
|
pageSizeDM.value = 10; |
|
|
|
|