You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
haoliang-net/docs/02-功能清单/管理后台/11-操作日志/00-操作日志-索引.md

45 lines
1.4 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 操作日志 索引
> 版本v1.0
> 最后更新2026-04-25
---
## 模块概述
查看产量修正审计日志和系统运行日志,只读不可编辑。
## 页面清单
| 页面编号 | 页面名称 | 路由 | 功能概述 |
|---------|---------|------|---------|
| 11-01 | 操作日志页面 | /log | 待设计 |
## 页面功能详情
### 11-01 操作日志页面
**路由**`/log`
**功能概述**双Tab只读查看——产量修正审计日志可导出+系统运行日志(含堆栈详情)
**功能列表**
| 功能编号 | 功能名称 | 触发条件 | 交互行为 | 涉及API |
|---------|---------|---------|---------|---------|
| F01 | 查询修正日志 | Tab1查询 | 重置page=1请求列表 | GET /api/admin/log/adjustment |
| F02 | 导出修正日志 | Tab1导出 | 下载Excel | GET /api/admin/log/adjustment/export |
| F03 | 查询系统日志 | Tab2查询 | 重置page=1请求列表 | GET /api/admin/log/system |
| F04 | 查看日志详情 | Tab2点击行 | 弹窗展示完整消息+堆栈+附加数据 | - (行数据已含) |
**业务规则**
- 全部只读,无编辑/删除操作
- 产量修正日志来源于cnc_production_adjustment审计表
- 系统运行日志来源于日志库log_system表按月分区
## 子目录/文件
| 编号 | 名称 | 类型 | 索引 |
|------|------|------|------|
| 11-01 | 操作日志页面 | 页面文件 | [11-01-操作日志页面.md](./11-01-操作日志页面.md) |
---