Commit Graph

33 Commits

Author SHA1 Message Date
zpc
1c1b9ef559 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-06 16:13:45 +08:00
zpc
7662935368 21 2026-04-06 14:14:48 +08:00
zpc
54b6d7fd20 21 2026-04-06 14:05:22 +08:00
zpc
dbd826636b 21 2026-04-06 13:50:38 +08:00
zpc
36eaad5674 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-06 12:16:16 +08:00
zpc
ea0e33ee5e 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-05 16:55:53 +08:00
zpc
a6c639dd43 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-05 16:51:24 +08:00
zpc
a32354f941 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-05 16:12:28 +08:00
zpc
4ac2cd85c4 feat(odf-ports): Add port side support for optical distribution frame ports
- Add PortSide property to distinguish between left (0) and right (1) sides of optical frames
- Implement row number parsing logic to handle both letter (A-C) and numeric formats
- Update port name generation to support both sides: letter format (A-1) for left side, numeric format (1-1) for right side
- Add RowNumberRaw property to capture raw input before parsing and conversion
- Add RowNumberDisplay property for display purposes while keeping RowNumber as internal numeric value
- Mark PortSide and RowNumber as ExcelIgnore to prevent export conflicts
- Clean up formatting inconsistencies in OdfPortsDto class
- Update port query logic to include PortSide in filtering criteria
- Enhance port creation to properly assign PortSide based on rack type and row format
2026-04-04 18:31:19 +08:00
zpc
5b2e4c6e1a 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-04 11:59:50 +08:00
zpc
fdf2388b3a 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-04 11:53:57 +08:00
zpc
c11ba8aebd 21
Some checks are pending
continuous-integration/drone/push Build is running
2026-04-04 11:04:37 +08:00
zpc
3da6b38d8e 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-04 00:01:36 +08:00
zpc
8e552ef6b5 feat(光缆故障): 重构导出逻辑,增加计算字段与增强故障时间展示
- 将导出数据从手动构建Dictionary改为直接使用DTO序列化,简化Controller逻辑
- 为OdfCableFaultExportDto添加ExcelColumnName属性实现声明式中文列映射
- 在导出前填充计算字段FaultTimesDisplay和DisplayMileage
- 将FaultTime和Mileage标记为ExcelIgnore,防止内部字段被导出
- Service层批量查询故障频次时间,并在分页结果中返回供前端使用
- 前端表格故障时间列增强展示,显示首次故障时间及额外频次时间列表
2026-04-03 11:24:48 +08:00
zpc
793c1dd691 feat(odf-cable-faults): Add mileage correction calculation to fault display
- Add calcDisplayMileage function to automatically apply mileage correction to displayed fault mileage
- Update fault list display in uniapp to show corrected mileage value
- Update fault list table in Vue admin to show corrected mileage using template slot
- Add CalcDisplayMileage method in OdfCableFaultsController for export functionality
- Ensure consistent mileage calculation across mobile, web, and export features
2026-04-03 11:11:48 +08:00
zpc
1e6c6cbf66 21
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2026-04-02 16:57:24 +08:00
zpc
5b0de386f1 feat(odf-v1021): Add optical box rack type support with dual-column layout
All checks were successful
continuous-integration/drone/push Build is passing
- Add migration script to introduce rack_type field (0=ODF, 1=optical box)
- Add RackType, LeftPortsCount, RightPortsCount properties to OdfRacks model and DTOs
- Add rack type selector and port count inputs to OdfRackForm component
- Display rack type labels in OdfRacks management table
- Add rack type badges to uni-app rack list cards
- Implement dual-column layout for optical box type in rack detail page with left/right port sections
- Add optical box port naming format (A-1, A-2, etc.) with row-based labeling
- Add visual distinction with background colors (left: #E3F2FD, right: #FFF3E0) and center divider
- Update import/export DTOs to support rack type and optical box port naming
- Mark all v1.0.2.1 tasks as completed
2026-04-02 16:40:09 +08:00
zpc
837ff4d4cc feat(odf-uniapp): Add mileage correction editing and export enhancements
Some checks are pending
continuous-integration/drone/push Build is running
- Add inline editing UI for mileage correction field in fault detail page
- Implement save/cancel buttons for mileage correction updates
- Add updateMileageCorrection API endpoint and service method
- Update App.vue global styles with page background color
- Enhance pages.json with backgroundColorTop and backgroundColorBottom
- Add MileageCorrectionDto for request validation
- Implement batch fault times retrieval for export functionality
- Add fault frequency time concatenation in export data
- Improve export data structure with complete fault history information
2026-03-31 15:51:07 +08:00
zpc
7f95973ce6 21
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-29 22:32:22 +08:00
zpc
7653c5fe2d 21 2026-03-29 22:29:12 +08:00
zpc
a5039edcbb feat: 添加表显里程矫正功能和故障频次管理
Some checks are pending
continuous-integration/drone/push Build is running
- 在故障添加页面新增表显里程矫正输入框
- 在故障详情页面显示表显里程矫正信息
- 实现故障频次增加功能,允许用户通过按钮增加故障发生频次
- 更新后端服务以支持故障频次的增减和相关数据的返回
2026-03-28 23:17:34 +08:00
zpc
389e434831 fix: 将 .env.production 加入 git 追踪以修复 CI/CD 打包缺少生产环境配置的问题
All checks were successful
continuous-integration/drone/push Build is passing
Made-with: Cursor
2026-03-28 02:06:54 +08:00
zpc
da9e903247 231
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-26 23:37:11 +08:00
zpc
c36006894f fix: 修复OdfCableFaults控制器编译错误
Some checks failed
continuous-integration/drone/push Build is failing
- 添加 MiniExcelLibs using(Stream.Query 扩展方法)
- 修复 dynamic 类型 lambda 表达式编译错误(cast to object)
2026-03-26 10:49:04 +08:00
zpc
9e44533d29 feat: 添加CI/CD配置和Docker部署文件
Some checks failed
continuous-integration/drone/push Build is failing
- 新增 .drone.yml 流水线配置(server/admin/web 三服务并行构建+部署)
- 新增 web/Dockerfile 和 web/nginx.conf(H5 Web Docker打包)
- 新增 docker-compose.yml(使用Harbor镜像部署)
- 新增 CI-CD部署文档.md
- 更新 server Dockerfile 基础镜像为内网Harbor地址
2026-03-26 10:39:01 +08:00
zpc
761db8ba4a 设置图片 2026-03-26 07:59:28 +08:00
zpc
2f5065118f fix: 故障详情图片/地点显示、提交按钮点击、导航唤起APP、故障列表自动刷新、图片存完整URL 2026-03-11 23:24:31 +08:00
zpc
6a12162705 fix: H5多项优化-返回按钮/布局/弹窗/兼容性/BASE_URL统一 2026-03-10 23:24:34 +08:00
zpc
b1168c4718 fix: 修复干线故障管理列表500错误 - OrderBy移至MergeTable之后避免SQL Server子查询排序限制 2026-03-10 15:33:07 +08:00
code@server
a20a6b869c fix: 修复编译错误 + 新增后台管理前端Docker部署配置
- OdfCheckinService: 添加 using Infrastructure 引入 CustomException
- OdfCableFaultsService: 修复匿名类型 ToPage 返回类型不匹配问题
- ZR.Vue: 新增 Dockerfile、nginx.conf、.env.production 用于Docker部署
2026-03-04 17:45:05 +08:00
zpc
343dd2d6ad 删除文件 2026-03-04 14:40:22 +08:00
zpc
7c4d7d5978 feat: ODF v1.0.2 功能更新 - 签到、干线故障、光缆管理、用户模块权限
数据库:
- 新增 odf_checkin/odf_cables/odf_cable_faults/odf_cable_fault_images/odf_user_modules 5张表
- 新增菜单权限和角色分配 SQL 脚本

后台 API (.NET/SqlSugar):
- 新增实体模型、DTO、Service、Controller (签到/光缆/故障/图片/用户模块)

前端 APP (UniApp):
- 新增 portal/checkin/trunk/cable/fault-list/fault-detail/fault-add/trunk-search/route-plan 9个页面
- 新增 permission/checkin/trunk 服务层
- 新增 navigation/watermark 工具函数

后台管理前端 (ZR.Vue):
- 新增光缆管理/干线故障管理/签到记录管理/用户模块权限 4个管理页面
- 新增对应 API 模块和表单组件
2026-03-04 14:08:48 +08:00
zpc
d50fd7ae9b 初始化 2026-03-02 18:13:36 +08:00