feat(admin): 新增后台提现审核与打款确认

This commit is contained in:
yml2213
2026-10-30 13:13:29 +08:00
parent a754a71f71
commit f2cc2bb857
10 changed files with 763 additions and 5 deletions
+6 -1
View File
@@ -83,6 +83,11 @@ const AdminRefundReviewPage = lazy(() =>
default: module.AdminRefundReviewPage,
}))
)
const AdminWithdrawalsPage = lazy(() =>
import('@/features/admin/AdminWithdrawalsPage').then(module => ({
default: module.AdminWithdrawalsPage,
}))
)
const AdminLayout = lazy(() =>
import('@/layouts/AdminLayout').then(module => ({ default: module.AdminLayout }))
)
@@ -93,7 +98,6 @@ const AdminSectionPlaceholder = lazy(() =>
const adminSections: Array<{ path: string; title: string; description: string }> = [
{ path: 'disputes', title: '申诉仲裁', description: '处理订单争议、证据与仲裁结果。' },
{ path: 'finance', title: '财务看板', description: '查看收入、退款、结算与资金趋势。' },
{ path: 'withdrawals', title: '提现审核', description: '审核提现申请与打款确认。' },
{ path: 'distribution/sites', title: '分销站点', description: '管理分站、规则、结算与站点钱包。' },
{ path: 'announcements', title: '公告管理', description: '维护主站与分站公告。' },
{ path: 'system-configs', title: '系统配置', description: '维护首页、发布、订单与支付配置。' },
@@ -134,6 +138,7 @@ export function AppRouter() {
<Route path="listings" element={<AdminListingsPage />} />
<Route path="listings/review" element={<AdminListingsPage mode="review" />} />
<Route path="users" element={<AdminUsersPage />} />
<Route path="withdrawals" element={<AdminWithdrawalsPage />} />
{adminSections.map(section => (
<Route
key={section.path}