fix(leave/dorm): 打回重提、审批摘要与待办标题优化
修复请假/销假打回后空 flowCode 导致启动失败;审批弹窗展示请假摘要并去掉附件;待办标题短显请假/销假;点名 todaySummary 与楼栋关联脚本一并同步。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
de223a1f5a
commit
15ed3ec9fb
20 files changed
+1136
-320
No files matched your search
@@ -42,16 +42,23 @@
|
||||
|
||||
部署时需先执行该脚本,再发布后端与前端。
|
||||
|
||||
## 当天点名汇总(移动端首页)
|
||||
## 当天点名人数汇总(移动端)
|
||||
|
||||
接口:`GET /dormRollCall/dormRollCall/todaySummary`
|
||||
接口:`GET /dormRollCall/dormRollCall/todaySummary?buildingId=`(`buildingId` 可选)
|
||||
权限:`dormRollCall:dormRollCall:list1`
|
||||
|
||||
口径:
|
||||
口径(2026-10-21):
|
||||
|
||||
- **已点名寝室**:当前账号当天有效点名记录的去重房间数(同房多次取最新)
|
||||
- **未点名寝室**:管辖楼栋(宿舍管理员权限)∪ 当天已点过的楼栋 下可用房间 − 已点名
|
||||
- **请假 / 假期留宿 / 异常**:最新点名明细中状态 `1` / `4` / `2`,可点开看明细
|
||||
| 字段 | 含义 |
|
||||
|------|------|
|
||||
| `totalStudentCount` | 总人数:`xg_dorm_bed_student` 中 status=0 且有床位、有学生的在住人数 |
|
||||
| `checkedStudentCount` | 已点名人数:本日各寝室最新点名明细中有学生记录的去重人数 |
|
||||
| `leaveCount` / `holidayStayCount` / `absentCount` | 最新明细状态 `1` / `4` / `2`,并返回对应 `*Details` 名单 |
|
||||
|
||||
仅供移动端首页展示,不影响点名提交与 Web 列表。
|
||||
范围:
|
||||
|
||||
- **不传 buildingId**:全校(列表页「今日点名汇总」)
|
||||
- **传 buildingId**:指定楼栋(点名选房页红圈统计;请假/留宿/异常可点开本楼名单)
|
||||
|
||||
移动端刷新:列表页 `onShow`/筛选;选房页加载房间、单间点名提交后刷新本楼汇总。
|
||||
|
||||
Reference in new issue
Block a user