|
|
|
@ -15,7 +15,12 @@
|
|
|
|
|
<template #header>
|
|
|
|
|
<div class="flex">
|
|
|
|
|
<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>
|
|
|
|
|
</template>
|
|
|
|
|
<div class="chart chart-1"></div>
|
|
|
|
@ -126,8 +131,7 @@
|
|
|
|
|
if (unref(date1)) {
|
|
|
|
|
await store.dispatch('chatHome/loadSingle', {
|
|
|
|
|
systemId: unref(systemId),
|
|
|
|
|
start: new Date(unref(date1) + ' 00:00:00').getTime(),
|
|
|
|
|
end: new Date(unref(date1) + ' 23:59:59').getTime(),
|
|
|
|
|
days: unref(date1),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|