Commit Graph

20 Commits

Author SHA1 Message Date
zpc
c11ba8aebd 21
Some checks are pending
continuous-integration/drone/push Build is running
2026-04-04 11:04:37 +08:00
zpc
7e260a1d57 feat(odf-uniapp): Refactor global background styling to use centralized page background
- Replace individual page background images with global page background in App.vue
- Update pages.json global styles to use transparent colors for navigation and backgrounds
- Remove redundant bg-image elements and styles from all page components
- Set global page background with login_bg.png image, cover sizing, and fixed attachment
- Simplify individual page styling by removing duplicate background color declarations
- Consolidate background management to single source of truth in App.vue for consistent theming
2026-04-04 00:20:24 +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
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
1bd5bc74ee app
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-31 11:38:35 +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
d34a795cc1 fix: 管理后台生产环境API改为nginx代理路径
Some checks are pending
continuous-integration/drone/push Build is running
- VITE_APP_BASE_API 从绝对地址改为 /prod-api/
- VITE_APP_SOCKET_API 改为 /msghub
- 通过nginx反向代理到odf-new-server:8888
2026-03-26 23:35:07 +08:00
zpc
ba09440728 bug 2026-03-26 10:00:23 +08:00
zpc
c021e982c6 bug 2026-03-26 10:00:15 +08:00
zpc
761db8ba4a 设置图片 2026-03-26 07:59:28 +08:00
zpc
eed3903906 21 2026-03-15 11:10:00 +08:00
zpc
a6eed689ea 21 2026-03-14 14:34:48 +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
b693ecd247 21 2026-03-10 19:28:08 +08:00
zpc
b5d4c1db44 21 2026-03-05 10:52:04 +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
3257099db1 feat: complete Flutter to UniApp rewrite 2026-03-03 11:47:35 +08:00