wanshenmean
2 天以前 5e851678cc02257bbbd179446de36082430ca5bc
分支
用户 wanshenmean <cathay_xy@163.com>
星期一, 四月 13, 2026 10:37 +0800
提交者 wanshenmean <cathay_xy@163.com>
星期一, 四月 13, 2026 15:12 +0800
提交5e851678cc02257bbbd179446de36082430ca5bc
目录 1d63e8dfd0217e254f1f565bbcfc40b5f30ad3b6 目录 | zip | gz
上一版本 7278264f027d62664a0209699d0f66a22fd06a8e 查看 | 对比
feat(MES): 添加Mes_Log扩展逻辑

- 添加 previewJson 辅助函数
- 添加行点击事件处理
- 添加 JSON 详情显示功能
- 调整高度为统计卡片预留空间

refactor(WMS): 重构日志模块并添加JSON查看功能

重构MES日志服务接口和实现,使用基础服务类继承
优化前端日志表格显示,添加JSON参数预览和详情查看功能
更新依赖项添加vue3-json-viewer用于JSON展示

fix(MES): 修正API路径

- 将 /Mes_Log/ 改为 /MesLog/
- 匹配后端控制器路由 /api/MesLog

feat(MES): 完成MES接口日志页面后端实现

- 添加 MesLogController 控制器
- POST /api/MesLog/page - 分页查询
- GET /api/MesLog/{id} - 详情查询
- GET /api/MesLog/statistics - 统计数据
- POST /api/MesLog/export - 导出CSV

- 添加 DTO 文件
- MesLogQueryDto - 查询请求参数
- MesLogStatisticsDto - 统计数据
- MesLogListItemDto - 列表项
- MesLogDetailDto - 详情

- 扩展 IMesLogService 接口
- GetPageAsync - 分页查询
- GetDetailAsync - 获取详情
- GetStatisticsAsync - 获取统计
- ExportAsync - 导出CSV

- 实现 MesLogService 服务方法

fix(MES): 修正MesLogStatistics组件导入路径

- 将 @/api/axios 改为 @/api/http.js
- 修复前端构建错误

feat(MES): 添加MES日志页面数据库配置

- 创建性能索引
- 添加菜单记录
- 添加数据字典(接口类型、状态)

feat(MES): 添加Mes_Log路由配置

- 添加 /Mes_Log 路由
- 指向 views/system/Mes_Log.vue

feat(MES): 添加Mes_Log日志页面

- 使用 view-grid 组件
- 集成统计卡片组件
- 配置搜索表单和列表列
- 支持多维度筛选

chore: 添加 .worktrees/ 到 .gitignore

docs: 修订MES日志页面实施计划 v0.3

- 添加 using System.Collections.Generic 到 MesLogStatisticsDto
- 添加 [Authorize] 属性到 MesLogController
- 修复 statistics API HTTP 方法(前端改用 GET)
- 修复前端 URL 为 /Mes_Log/(符合现有模式)
- 移除未使用的 MesJsonViewer 组件任务
- 修复 sortName 格式为 "Id"(符合现有模式)
- 更新路由配置步骤(指定插入位置)

docs: 规范审查通过 - MES接口日志页面设计文档 v0.3

- 所有 Round 1 问题(9个)已修复
- 所有 Round 2 问题(3个)已修复
- 无新增问题
- 文档状态更新为"已批准"

docs: 修订MES接口日志页面设计文档 v0.3

- 添加 TodayCount 属性到 MesLogStatisticsDto
- 添加 previewJson 辅助函数定义
- 添加剪贴板 API 降级方案(兼容 HTTP 环境)
- 修复统计卡片位置(view-grid 不支持 toolbar 插槽)

docs: 修订MES接口日志页面设计文档 v0.2

- 修复API路径为 /api/MesLog(符合现有规范)
- 添加字段映射说明(dateRange/elapsedRange 到 DTO)
- JSON查看器改用原生pre标签(无外部依赖)
- 统计卡片使用el-card自定义(兼容 Element Plus 2.2.14)
- 添加数据库索引创建脚本
- 移除冗余的服务注册步骤(IDependency自动注册)
- 添加自动刷新UX说明
- 更新导出功能使用框架内置方法

docs: 添加MES接口调用日志页面设计文档

- 后端API设计(分页查询、统计、导出接口)
- 前端页面设计(view-grid模式、统计卡片、JSON查看器)
- 数据字典和权限配置
- 实现步骤和技术要点
已添加15个文件
已删除4个文件
已修改14个文件
4110 ■■■■■ 文件已修改
Code/.gitignore 1 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/.omc/state/agent-replay-e24754b1-493a-48fb-9409-1ba4fbbf8fb3.jsonl 14 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/.omc/state/idle-notif-cooldown.json 2 ●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/.omc/state/last-tool-error.json 10 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/.omc/state/mission-state.json 106 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/.omc/state/subagent-tracking.json 51 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSClient/package.json 1 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSClient/pnpm-lock.yaml 44 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSClient/src/components/MesLogStatistics.vue 128 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSClient/src/extension/system/Mes_Log.jsx 116 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSClient/src/extension/system/Sys_Log.jsx 76 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSClient/src/router/viewGird.js 5 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSClient/src/views/system/Mes_Log.vue 149 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSClient/src/views/system/Sys_Log.vue 18 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/Database/Scripts/20260413_MesLogPage_Config.sql 189 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesLogService.cs 298 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs 2 ●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesLogDetailDto.cs 75 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesLogListItemDto.cs 55 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesLogQueryDto.cs 60 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesLogStatisticsDto.cs 50 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IMesLogService.cs 60 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_IMesService/IMesLogService.cs 28 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_IMesService/WIDESEA_IMesService.csproj 14 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_MesService/MesLogService.cs 95 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_MesService/WIDESEA_MesService.csproj 16 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Mes/Dt_MesApiLog.cs 2 ●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Mes/MesLogController.cs 116 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs 1 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetailController.cs 1 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.csproj 1 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/docs/superpowers/plans/2026-04-13-mes-api-log-page-plan.md 1430 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/docs/superpowers/specs/2026-04-13-mes-api-log-page-design.md 896 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史