feat(前端): 会话列表: `今日`

dev/voice
Lei OT 6 months ago
parent 89a7b03084
commit 58dca13d3d

@ -7,6 +7,7 @@ import { FilterIcon } from '@/components/Icons';
const otypes = [
{ label: 'All', value: '', labelValue: '' },
{ value: 'istoday@1', labelValue: '1', label: '今日' },
...OrderLabelDefaultOptions.filter((o) =>
[240003, 240002].includes(o.value),
).map((o) => ({ ...o, labelValue: o.value, value: `label@${o.value}` })),

@ -70,6 +70,7 @@ const Conversations = () => {
olabel: otypeC === 'label' ? otypeV : '',
ostate: otypeC === 'state' ? otypeV : '',
intour: otypeC === 'intour' ? otypeV : '',
istoday: otypeC === 'istoday' ? otypeV : '',
session_enable: activeList ? 1 : 0,
lastpagetime: current ?
dayjs(current).add(1, 'minutes').format('YYYY-MM-DDTHH:mm:ss')

Loading…
Cancel
Save