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/frontend
haoliang cb3a6071bd 修复管理后台4个Bug + 改进Ping逻辑
Bug1(告警中心分页不工作): AlertPage.vue添加watch监听page.page和page.pageSize变化触发loadData

Bug2(仪表盘按钮报错): DashboardPage.vue为刷新配置/停止采集/启动采集添加ElMessage成功提示,导入ElMessage

Bug3(设备详情页数据不对): MachineService四个方法从返回空数据改为查询实际数据
- GetStatus: 从Machine entity的last_*字段获取实时状态
- GetTodayProduction: 从cnc_daily_production或cnc_production_segment查今日产量
- GetProductionTrend: 从cnc_daily_production或segment查7天趋势
- GetCollectRecords: 从cnc_collect_record查最近20条采集记录
- IMachineRepository新增4个方法声明,MachineRepository实现SQL查询

Bug4(产量报表员工筛选不正确):
- DailyProductionRepository.GetList添加WorkerId过滤(通过cnc_worker_machine关联表)
- ProductionController.GetSummary扩展参数接受startDate/endDate/machineId/workerId
- IProductionService/ProductionService.GetSummary签名同步更新

Ping逻辑改进: CollectWorker从Ping采集URL主机改为Ping每台机床IP地址
- 新增PingAllMachines()并行Ping所有机床IP,逐台更新在线状态
- 新增PingHost()执行单次ICMP Ping(超时2秒)
- 移除旧的PingAddress()(Ping URL主机)和UpdateMachineOnlineStatus()(批量更新)
4 days ago
..
e2e 补充冒烟测试:表格全列验证、分页、日期筛选、程序名筛选、API对账、下拉框字段映射、修正提交闭环 4 days ago
mock 添加Playwright浏览器UI测试(16个测试,3个模块批量删除+启用停用)并补充mock API端点 5 days ago
public feat(frontend): 初始化前端工程配置 1 week ago
scripts feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
src 修复管理后台4个Bug + 改进Ping逻辑 4 days ago
.gitignore feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
README.md feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
_screen_part1.vue feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
_screen_part2.vue feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
_screen_part3.vue feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
env.d.ts feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
gen-screen.cjs feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
gen1.cjs feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
gen2.cjs feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
gen3.cjs feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
generate-pages.cjs feat: 搭建VS2017解决方案骨架(8项目+前端文件夹),编译通过0错误 1 week ago
index.html 前端默认语言改为中文:html lang设为zh-CN,页面标题改为CNC机床数据采集系统 1 week ago
package-lock.json 添加Playwright浏览器UI测试(16个测试,3个模块批量删除+启用停用)并补充mock API端点 5 days ago
package.json 添加Playwright浏览器UI测试(16个测试,3个模块批量删除+启用停用)并补充mock API端点 5 days ago
playwright.config.ts 新增测试规范文档、冒烟测试脚本、AGENTS.md铁律第5/6条 4 days ago
tsconfig.app.json feat(frontend): 初始化前端工程配置 1 week ago
tsconfig.json feat(frontend): 初始化前端工程配置 1 week ago
tsconfig.node.json feat(frontend): 初始化前端工程配置 1 week ago
vite.config.ts 修复采集成功率计算bug、添加IIS localhost绑定和Vite proxy配置 4 days ago

README.md

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.