feat: 佣金提现和备注功能

This commit is contained in:
2025-09-16 04:51:27 -07:00
parent 5db1e8b15a
commit 6c40fde269
2 changed files with 28 additions and 9 deletions
@@ -59,6 +59,25 @@ export default function Page() {
accessorKey: 'title',
header: t('title'),
},
{
accessorKey: 'status',
header: t('status.0'),
cell: ({ row }) => (
<span
className={cn(
'flex items-center gap-2 before:block before:size-1.5 before:animate-pulse before:rounded-full before:ring-2 before:ring-opacity-50',
{
'before:bg-rose-500 before:ring-rose-500': row.original.status === 1,
'before:bg-yellow-500 before:ring-yellow-500': row.original.status === 2,
'before:bg-green-500 before:ring-green-500': row.original.status === 3,
'before:bg-zinc-500 before:ring-zinc-500': row.original.status === 4,
},
)}
>
{row.original.status === 4 ? t(`status.${row.original.status}`) : t(`status.1`)}
</span>
),
},
{
accessorKey: 'user_id',
header: t('user'),
@@ -70,7 +89,7 @@ export default function Page() {
cell: ({ row }) => formatDate(row.getValue('updated_at')),
},
]}
/* params={[
/*params={[
{
key: 'status',
placeholder: t('status.0'),