48 lines
1.2 KiB
TypeScript
48 lines
1.2 KiB
TypeScript
|
|
import DataTable from "@/components/data-table"
|
||
|
|
import Page from "@/components/page"
|
||
|
|
import type { CashOutItem } from "@/lib/models/cashOut"
|
||
|
|
|
||
|
|
export default function CashOutPage() {
|
||
|
|
return (
|
||
|
|
<Page>
|
||
|
|
<div className="bg-white rounded-lg p-4">
|
||
|
|
<h3 className="font-semibold text-lg">提现管理</h3>
|
||
|
|
<DataTable<CashOutItem>
|
||
|
|
data={[]}
|
||
|
|
status="done"
|
||
|
|
columns={[
|
||
|
|
{
|
||
|
|
accessorKey: "username",
|
||
|
|
header: "用户",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
accessorKey: "money",
|
||
|
|
header: "提现金额",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
accessorKey: "reason",
|
||
|
|
header: "提现理由",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
accessorKey: "alipay_account",
|
||
|
|
header: "支付宝账号",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
accessorKey: "remark",
|
||
|
|
header: "备注",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
accessorKey: "status",
|
||
|
|
header: "状态",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
accessorKey: "create_time",
|
||
|
|
header: "提现时间",
|
||
|
|
},
|
||
|
|
]}
|
||
|
|
/>
|
||
|
|
</div>
|
||
|
|
</Page>
|
||
|
|
)
|
||
|
|
}
|