feat: complete platform administration pages

This commit is contained in:
2026-07-27 09:26:52 +08:00
parent 553648169e
commit 5ba0b47b8a
69 changed files with 584 additions and 35 deletions

View File

@@ -3,7 +3,7 @@ import { resourceApi } from './resource';
/** 平台角色、菜单、账号和工作台接口。 */
export type PlatformRole = { identity: string; role_code: string; name: string; data_scope: string; is_system: boolean; status: string };
export type PlatformMenu = { id: number; identity: string; parent_id: number; menu_code: string; name: string; icon: string; path: string; sort_no: number };
export type PlatformMenu = { identity: string; parent_identity?: string; menu_code: string; name: string; icon: string; path: string; sort_no: number };
export const platformApi = {
overview: () => request<Record<string, number>>('/dashboard/overview'),