wonder
|
c1480f3219
|
feat(frontend): 将"资源管理"更名为"机器管理"
- 路由路径: resource/management → machine/management
- 路由名称: ResourceManagement → MachineManagement
- 页面标题: 资源管理 → 机器管理
- 侧边栏文案: 资源管理 → 机器管理
- 文件物理路径未改动(views/resource/Management.vue)
|
2026-07-17 15:46:03 +08:00 |
|
mac
|
f49b948023
|
Merge remote-tracking branch 'origin/main' into auth-login
|
2026-07-17 15:02:47 +08:00 |
|
mac
|
d264924d1e
|
feat: add business line permissions and Wayne namespace mapping
|
2026-07-17 15:02:18 +08:00 |
|
wonder
|
3842a81cb2
|
refactor(router): 统一前端路由命名与层级
## 背景
前端路由存在层级不一致、英文缩写混用、name 与 sidebar 文本不匹配等问题。
## 变更内容
- 统一使用全称命名(Mgmt → Management, Ops → Operation)
- 统一带前缀路径(/cluster → /infrastructure/cluster)
- 合并可观测性模块(/monitor、/alert → /observable/*)
- 修正 router name 与侧边栏中文标题对应关系
## 路由对照
- /tasks → /task/log (TaskLog)
- /resource/mgmt → /resource/management (ResourceManagement)
- /service/mgmt → /service/management (ServiceManagement)
- /audit/ops → /audit/operation (OperationAudit)
- /cluster → /infrastructure/cluster (InfrastructureCluster)
- /tenants → /business/quota (BusinessQuota)
- /monitor → /observable/monitoring (MonitoringDashboard)
- /alert → /observable/alert (AlertInformation)
- /subsystem/authz → /subsystem/authorization (SubsystemAuthorization)
|
2026-07-17 14:50:41 +08:00 |
|
wonder
|
b58e1d5c3c
|
refactor(monitor): 优化监控告警页面
- 监控页面标题改为监控看板
- 告警页面标题改为告警信息
- 告警页面删除告警通道面板
- 侧边栏导航文本同步更新
|
2026-07-17 14:11:09 +08:00 |
|
wonder
|
a9319e77b9
|
refactor(observable): 拆分监控告警为独立页面
- 侧边栏"监控/日志/告警"拆分为"监控"和"告警"两个导航项
- Monitor.vue 移除日志相关内容,保留 VictoriaMetrics 和 Zabbix 面板
- 新增 Alert.vue 告警页面,展示当前告警、告警通道、告警记录
- 路由新增 /alert 路径,meta.title 设为"告警"
|
2026-07-17 11:35:03 +08:00 |
|
wonder
|
8fc4b0e0fb
|
refactor(resource): 优化资源纳管子 Tab 命名
- 集群 / 容器池 → 集群与容器
- 业务线 / 配额 → 业务配额
- 同步更新侧边栏、路由 meta、页面标题
|
2026-07-17 11:23:41 +08:00 |
|
wonder
|
506752747d
|
feat(subsystem): 子系统导航增加可展开子 Tab 与详情页
- AppSidebar: 统一入口组下子系统导航改为可展开列表,展示 6 个子系统子 Tab
- 每个子 Tab 带功能描述前缀(如 多集群发布平台 Wayne)便于用户定位
- 新建 SubsystemDetail.vue 统一详情模板(统计卡片 + 门户卡片 + 打开按钮)
- 新增路由 /subsystem/detail/:name
- subsystem API mock 数据补充 label、domain、category 字段
- SubsystemCard 概览卡片同步显示 label + name 格式
|
2026-07-17 11:20:17 +08:00 |
|
wonder
|
a185fac1b2
|
feat(sidebar): 重组侧边栏导航结构
- 服务交付 → 业务交付:基础服务、任务中心
- 资源管理 → 资源纳管:资源管理(CMDB)、集群/容器池、业务线/配额
- 新增业务线/配额页面(Tenants.vue)
- 集群页面标题对齐为「集群 / 容器池」
|
2026-07-17 10:53:08 +08:00 |
|
mac
|
cafa8bc840
|
feat(auth): support local username login mode
|
2026-07-16 16:19:25 +08:00 |
|
mac
|
eb2621d914
|
feat(auth): complete sso subsystem integration
|
2026-07-16 15:52:56 +08:00 |
|
mac
|
81d2a8a60b
|
refactor(frontend): merge authserver web login
|
2026-07-15 14:47:42 +08:00 |
|
wonder
|
3de59c4fc2
|
feat(frontend): 对接后端统一响应格式,增强错误处理
- 新增 types/api.ts,定义 ApiResponse/PaginatedData 泛型类型和业务错误码常量
- 增强 request.ts 拦截器:提取后端错误信息、映射 HTTP 状态码和业务错误码为中文提示
- 为 auth/audit/subsystem API 添加泛型返回类型
- 为各视图添加 try/catch 防止未处理的 Promise 拒绝
|
2026-07-15 10:52:41 +08:00 |
|
wonder
|
84394f4674
|
feat(frontend): 添加基础设施模块
工具函数:
- utils/auth.ts,Token 存储、解析、过期校验
API 模块:
- api/request.ts,Axios 实例封装,请求/响应拦截器
状态管理:
- stores/auth.ts,认证状态管理(Pinia)
组合式函数:
- composables/useAuth.ts,认证逻辑封装
路由配置:
- router/index.ts,路由表定义、路由守卫(未登录重定向)
|
2026-07-14 15:39:19 +08:00 |
|