haoliang
|
1600570b60
|
仪表盘优化:修复采集服务状态判断、去掉切削总时、数字保留两位小数、产量排行增加排序和TOP N
|
2 months ago |
haoliang
|
eedf5fa8be
|
fix: 修复前端类型错误(CollectorStatus重复声明、serviceStatusLabel位置);修复CI配置SDK版本;新增上线回滚文档
|
2 months ago |
haoliang
|
e9802a195d
|
feat(cnc-service): add Windows service status checker, integrate into dashboard status, enhance startup flow; stage4 plan initialized; add frontend typings and dashboard view updates; add test scaffold for WindowsServiceChecker
|
2 months ago |
haoliang
|
dfc18fabb5
|
设备管理联调:修复brandId缺失、batchToggle改逐个toggle、详情页添加4个子API端点
- 前端:新增/编辑机床时传递brandId字段
- 前端:启停切换改为逐个调用PUT /admin/machine/{id}/toggle
- 前端:详情页API调用从query参数改为RESTful路径参数
- 后端:新增4个详情页API(status/production-today/production-trend/collect-records)
- 后端:新增3个DTO(MachineTodayProdItem/MachineTrendItem/MachineCollectRecordItem)
- 后端:更新MachineStatusResponse字段以匹配前端展示需求
|
2 months ago |
haoliang
|
126154fc7b
|
IIS部署准备:csproj输出到bin\ + 前端build输出到admin + 修复全部TS类型错误
- CncWebApi.csproj: OutputPath改为bin\,AppendTargetFrameworkToOutputPath=false
- .gitignore: 排除src/CncWebApi/admin/目录
- vite.config.ts: build.outDir指向../src/CncWebApi/admin
- deploy-admin.ps1: 一键编译后端+前端部署脚本
- request.ts: 类型安全封装,返回Promise<ApiResponse<T>>
- types/index.ts: 扩展Machine/Alert/OperationLog/ScreenCard/CollectAddress/MachineStatus字段
- 修复11个页面文件的TS类型错误(vue-tsc 0错误)
|
2 months ago |
haoliang
|
dd583c73bb
|
fix(dashboard): 车间产量对比改为平均单机产量,消除机床数量差异
柱状图显示每台机床平均产量(件/台),tooltip显示总产量+机床数
Ultraworked with Sisyphus
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
|
2 months ago |
haoliang
|
8b52b3d872
|
feat(dashboard): 仪表盘增强 — 新增统计卡片+图表+告警列表
新增: 采集成功率/切削总时/运行机床/数据缺失 统计卡片
新增: 产量趋势折线图(近7天) + 车间产量对比柱状图 + 机床状态分布饼图
新增: 最新告警列表(5条)
新增: 4个Mock API + ECharts PieChart/Legend按需导入
Ultraworked with Sisyphus
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
|
2 months ago |
haoliang
|
9a99b926ac
|
feat(frontend): 实现16个页面源码(13模块)
管理后台: 登录/仪表盘/设备/品牌/采集地址/员工/产量/告警/系统设置/操作日志/大屏配置
大屏看板: 全屏数据展示页
包含: 路由/Mock路由镜像/axios封装/全局样式/TypeScript类型定义/ECharts按需导入/PageHeader组件
Ultraworked with Sisyphus
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
|
2 months ago |