提交代码
This commit is contained in:
1 parent
b5e6ca3cce
commit
40d4bcdc3a
5 files changed
+226
-10
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# 代码调整记录 2025-07-01
|
||||
|
||||
## 房间编号格式变更
|
||||
|
||||
### 调整时间
|
||||
2025-07-01 13:45:30
|
||||
|
||||
### 变更内容
|
||||
将宿舍房间编号格式从固定的"3+楼层+房间号"调整为"楼栋首字符+楼层+房间号"。
|
||||
|
||||
### 变更文件
|
||||
- `web/src/views/xgss/xsssfjgl/index.vue`
|
||||
|
||||
### 详细说明
|
||||
1. 原有格式为 `3${floor}${paddedRoomNumber}`,如3201表示2楼01号房
|
||||
2. 现调整为 `${buildingFirstChar}${floor}${paddedRoomNumber}`,如A201表示A栋2楼01号房
|
||||
3. 楼栋首字符通过 `selectedBuilding.value.label.charAt(0)` 获取
|
||||
|
||||
### 相关业务场景
|
||||
宿舍管理模块中的批量添加房间功能,现在能够更准确地反映不同楼栋的房间编号。
|
||||
|
||||
### 待优化事项
|
||||
- 考虑未来将房间编号规则配置化,以适应不同校区和宿舍楼的编号需求
|
||||
- 需要评估此变更对已有数据的影响,目前仅影响新添加的房间
|
||||
Reference in new issue
Block a user