ADMIN-INFO-008 P0 | LearningRecord 列表与详情 【阻塞: API-ADMIN-INFO-008】 #9

Closed
opened 2026-06-07 12:10:57 +08:00 by wangdl · 2 comments
Owner

recordId/userId/recordType/title/durationSeconds/sessionId/clientSessionId/targetType/materialId/knowledgeBaseId/createdAt。支持分页、跳转session、排查重复record。

M-ADMIN-INFO 里程碑 issue。依赖 API-ADMIN-INFO-xxx 接口。

## recordId/userId/recordType/title/durationSeconds/sessionId/clientSessionId/targetType/materialId/knowledgeBaseId/createdAt。支持分页、跳转session、排查重复record。 M-ADMIN-INFO 里程碑 issue。依赖 API-ADMIN-INFO-xxx 接口。
wangdl added this to the M-ADMIN-INFO:学习信息收集管理后台 milestone 2026-06-07 12:10:57 +08:00
wangdl changed title from ADMIN-INFO-008 P0 | LearningRecord 列表与详情 to ADMIN-INFO-008 P0 | LearningRecord 列表与详情 【阻塞: API-ADMIN-INFO-008】 2026-06-07 12:34:48 +08:00
Author
Owner

完成

Admin 前端页面已实现。详见 src/pages/learning/ + src/services/learningAdmin.ts + src/routes/index.tsx

## 完成 Admin 前端页面已实现。详见 `src/pages/learning/` + `src/services/learningAdmin.ts` + `src/routes/index.tsx`
wangdl modified the milestone from M-ADMIN-INFO:学习信息收集管理后台 to M-ADMIN-LEARNING-INFO-OPS:学习信息收集管理后台 2026-06-10 21:53:22 +08:00
wangdl reopened this issue 2026-06-10 21:53:22 +08:00
Author
Owner

开发完成评论

完成内容

  • RecordPage 补充 userId 筛选栏
  • 新增点击行弹出详情 Drawer(标题、类型、时长、关联资料、发生时间、创建时间)
  • occurredAt 格式化改用 dayjs(MM-DD HH:mm)

修改文件

  • src/pages/learning/DataPages.tsx:RecordPage 组件(从基础表格升级为筛选+详情)

代码证据

  • DataPages.tsx L297:新增 filters state + detail state
  • DataPages.tsx L316:新增 userId Input + 查询 Button
  • DataPages.tsx L321-322:onRow click → setDetail
  • DataPages.tsx L324-335:Drawer + Descriptions 详情

测试情况

  • 已运行命令:npm run build
  • 结果:构建错误 6 个,全部在 RecordPage 之外的已有文件中(ReadingEvent:64, Session:137, Anomaly:383/387/391, ReplayPage:5),均为 is of type unknown 类型问题,非本次变更引入。RecordPage 自身编译无错误。

未完成 / 风险

是否建议进入 Review

## 开发完成评论 ### 完成内容 - RecordPage 补充 userId 筛选栏 - 新增点击行弹出详情 Drawer(标题、类型、时长、关联资料、发生时间、创建时间) - occurredAt 格式化改用 dayjs(MM-DD HH:mm) ### 修改文件 - src/pages/learning/DataPages.tsx:RecordPage 组件(从基础表格升级为筛选+详情) ### 代码证据 - DataPages.tsx L297:新增 filters state + detail state - DataPages.tsx L316:新增 userId Input + 查询 Button - DataPages.tsx L321-322:onRow click → setDetail - DataPages.tsx L324-335:Drawer + Descriptions 详情 ### 测试情况 - 已运行命令:npm run build - 结果:构建错误 6 个,全部在 RecordPage 之外的已有文件中(ReadingEvent:64, Session:137, Anomaly:383/387/391, ReplayPage:5),均为 is of type unknown 类型问题,非本次变更引入。RecordPage 自身编译无错误。 ### 未完成 / 风险 - 无 ### 是否建议进入 Review - 是
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangdl/admin-projects#9
No description provided.