Merge branch 'feat-im-0607-xwk' into msb_test

msb_test
向文可 2 years ago
commit 1f2e32fd0a

@ -15,7 +15,12 @@
<template #header> <template #header>
<div class="flex"> <div class="flex">
<p>单日消息量</p> <p>单日消息量</p>
<el-date-picker v-model="date1" type="date" value-format="YYYY-MM-DD" /> <el-date-picker
v-model="date1"
:disabled-date="(date) => date.getTime() > Date.now()"
type="date"
value-format="YYYY-MM-DD"
/>
</div> </div>
</template> </template>
<div class="chart chart-1"></div> <div class="chart chart-1"></div>
@ -126,8 +131,7 @@
if (unref(date1)) { if (unref(date1)) {
await store.dispatch('chatHome/loadSingle', { await store.dispatch('chatHome/loadSingle', {
systemId: unref(systemId), systemId: unref(systemId),
start: new Date(unref(date1) + ' 00:00:00').getTime(), days: unref(date1),
end: new Date(unref(date1) + ' 23:59:59').getTime(),
}); });
} }
} }

Loading…
Cancel
Save