feat(admin): 整合财务模块导航为侧边栏子菜单与顶部联动Tab

- 侧边栏收敛:将散落在运营分组下的销售毛利、商品与成本、钱包管理、收支明细整合入「财务」二级子菜单,并支持智能展开与角色权限隔离
- 顶部导航联动:新增 FinanceSubNav 通用组件,在销售毛利、商品与成本中心、钱包管理、收支明细 4 个页面顶部统一提供一键切换 Tab
- 语义规范化:将原“财务”流水页面标题明确为“收支明细”,消除模块与页面的命名歧义
- 验证方式:npm run check 全量检查通过(Prettier、ESLint、tsc、单测 100% 通过),构建产物已同步至运行容器并验证路由与交互
This commit is contained in:
yml2213
2026-10-25 20:39:11 +08:00
parent eaffae4af0
commit dfc01db4ae
10 changed files with 203 additions and 75 deletions
+5 -1
View File
@@ -188,7 +188,11 @@ export function apiGet<T>(url: string, params?: Record<string, unknown>, options
return request<T>({ method: 'GET', url, params, ...options })
}
export function apiGetBlob(url: string, params?: Record<string, unknown>, options?: RequestOptions) {
export function apiGetBlob(
url: string,
params?: Record<string, unknown>,
options?: RequestOptions,
) {
return http.request<Blob, Blob>({
method: 'GET',
url,