fix(选人截断):员工名册超500人后选人下拉漏人 1.年度计划收集默认课长为空:批量导入后名册达702人,按创建时间倒序前500人里0名课长(37名课长排在500名之外) 2.手动推送/年度计划按人员搜索"刘义亮"提示暂无数据:其档案排在第701名,不在单页500条内 3.新增 listAllTrainingMembers 分页拉全量名册helper,统一替换7处 listMembers({page_size:500}) 单页截断:年度计划收集/需求导入讲师匹配/课程管理参加人员/培训签到/考试成绩/课程库/手动推送
deploy-hxtesting / build-and-deploy (push) Successful in 1m2s

This commit is contained in:
runny authored and testing committed 2026-11-29 14:50:33 +08:00
1 parent 61fb94744a
commit 4e071f9da0
7 files changed
+46 -25

No files matched your search

@@ -585,7 +585,7 @@ import {
listLecturers,
listLibraryCourseQuestionBanks,
listMaterials,
listMembers,
listAllTrainingMembers,
listQuestionBanks,
listSessions,
publishCourse,
@@ -1445,7 +1445,8 @@ const loadAll = async () => {
const [c, d, m, l, s, lib, banks] = await Promise.all([
listCourses({ page_size: 100 }),
listDepts(),
listMembers({ page_size: 500 }),
// 全量名册([2026-11-29 复测] 单页 500 截断,参加人员选择会漏老批次员工)
listAllTrainingMembers().catch(() => []),
listLecturers().catch(() => []),
listSessions({ year: 0, month: 0 }).catch(() => []),
// scope=plan(000163):创建月度计划选课口径 —— 维护角色可选全部部门课程,
@@ -1455,7 +1456,7 @@ const loadAll = async () => {
])
courses.value = unwrap(c)?.items || []
depts.value = unwrap(d) || []
members.value = unwrap(m)?.items || []
members.value = m || []
lecturers.value = (l && unwrap(l)) || []
sessions.value = (s && unwrap(s)) || []
libraryCourses.value = (lib && unwrap(lib)?.items) || []