From 6d86d4df7e6172df90f1d940a7c98848e45ba4da Mon Sep 17 00:00:00 2001 From: yml2213 Date: Sat, 31 Oct 2026 18:42:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor(admin-web):=20=E8=B4=A2=E5=8A=A1?= =?UTF-8?q?=E5=90=84=E9=A1=B5=E5=8E=BB=E6=8E=89=E5=A4=A7=E6=A0=87=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E7=BB=9F=E4=B8=80=E7=94=B1=E8=B4=A2=E5=8A=A1=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E6=A0=8F=E8=BF=9B=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 销售毛利 / 收支明细 / 商品与成本中心 / 履约渠道 移除 PageHeader 大标题块 - 与钱包管理、总账与对账保持一致(这两页本来就没有大标题) - 成本中心的「刷新」按钮并入统计口径行,功能位置不变 --- .../src/pages/admin/AdminFinancePage.tsx | 6 ----- .../admin/AdminFulfillmentChannelPage.tsx | 5 ---- .../src/pages/admin/AdminSalesProfitPage.tsx | 6 ----- .../admin/cost-center/CostCenterShell.tsx | 25 +++++++------------ 4 files changed, 9 insertions(+), 33 deletions(-) diff --git a/apps/frontend/src/pages/admin/AdminFinancePage.tsx b/apps/frontend/src/pages/admin/AdminFinancePage.tsx index 00592529..17f78bcb 100644 --- a/apps/frontend/src/pages/admin/AdminFinancePage.tsx +++ b/apps/frontend/src/pages/admin/AdminFinancePage.tsx @@ -18,7 +18,6 @@ import type { TableColumnsType } from 'antd' import { useState } from 'react' import { AdminRangePicker } from '@/components/admin/AdminDatePicker' -import PageHeader from '@/components/admin/PageHeader' import FinanceSubNav from '@/components/admin/FinanceSubNav' import dayjs from '@/lib/dayjs' import { @@ -162,11 +161,6 @@ export default function AdminFinancePage() { return (
- - - - - form={form} diff --git a/apps/frontend/src/pages/admin/cost-center/CostCenterShell.tsx b/apps/frontend/src/pages/admin/cost-center/CostCenterShell.tsx index a166a52a..66a855bf 100644 --- a/apps/frontend/src/pages/admin/cost-center/CostCenterShell.tsx +++ b/apps/frontend/src/pages/admin/cost-center/CostCenterShell.tsx @@ -24,7 +24,6 @@ import { } from 'antd' import { useQuery, useQueryClient } from '@tanstack/react-query' -import PageHeader from '@/components/admin/PageHeader' import FinanceSubNav from '@/components/admin/FinanceSubNav' import { usePersistedState } from '@/hooks/usePersistedState' import { fetchAdminCostCenterOptions, fetchAdminCostCenterOverview } from '@/services/admin' @@ -123,26 +122,20 @@ export default function CostCenterShell() { >
- } - onClick={refreshAll} - loading={overviewQuery.isFetching} - > - 刷新 - - } - /> - - + 统计口径 {scopeLabel} {scope !== 'all' ? ( (跟随上方来源筛选变化) ) : null} +