feat(web): A5 操作日志与运行日志页

按用户选定实现操作日志列表 / 详情(方案 A)与运行日志(方案 C);多条件筛选、真实游标分页、字段级 diff / 完整原始 JSON、560 导出抽屉(轮询 / 历史 / 签名下载)、只读与权限控制;侧栏「审计日志」更名「操作日志」、「客户字段」更名「字段管理」并新增「运行日志」;1024 关键列适配。
This commit is contained in:
Stev_Wang committed 2026-11-04 16:27:29 +08:00
1 parent 6bdda6ec62
commit a5933a286e
30 files changed
+4867 -6

No files matched your search

+11
View File
@@ -24,6 +24,9 @@ export const ROUTES = {
customerFields: '/system/customer-fields/approvals',
dicts: '/system/dicts',
dictDetail: '/system/dicts/:type',
auditLogs: '/system/audit-logs',
auditLogDetail: '/system/audit-logs/:id',
runLogs: '/system/logs',
settings: '/system/settings',
},
unauthorized: '/401',
@@ -51,6 +54,9 @@ export type RoutePath =
| typeof ROUTES.system.customerFields
| typeof ROUTES.system.dicts
| typeof ROUTES.system.dictDetail
| typeof ROUTES.system.auditLogs
| typeof ROUTES.system.auditLogDetail
| typeof ROUTES.system.runLogs
| typeof ROUTES.system.settings
| typeof ROUTES.unauthorized
| typeof ROUTES.forbidden
@@ -77,6 +83,11 @@ export function dictDetailPath(typeCode: string): string {
return `${ROUTES.system.dicts}/${encodeURIComponent(typeCode)}`;
}
/** 操作日志详情深链:`/system/audit-logs/{id}` */
export function auditLogDetailPath(logId: string): string {
return `${ROUTES.system.auditLogs}/${encodeURIComponent(logId)}`;
}
/** 新建客户(四步向导) */
export function customerNewPath(): string {
return ROUTES.system.customerNew;