Commit Graph

6 Commits

Author SHA1 Message Date
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
c11ba8aebd 21
Some checks are pending
continuous-integration/drone/push Build is running
2026-04-04 11:04:37 +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
7653c5fe2d 21 2026-03-29 22:29:12 +08:00
zpc
761db8ba4a 设置图片 2026-03-26 07:59:28 +08:00
zpc
d50fd7ae9b 初始化 2026-03-02 18:13:36 +08:00