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

@@ -557,7 +557,7 @@ import {
listCourseLibrary,
listDepts,
listLibraryCourseQuestionBanks,
listMembers,
listAllTrainingMembers,
listQuestions,
offlineCourseLibraryItem,
removeCourseLibraryMaterial,
@@ -860,14 +860,15 @@ const loadAll = async () => {
try {
const [lib, m, d, cats, me] = await Promise.all([
listCourseLibrary({ page_size: 500 }),
listMembers({ page_size: 500 }).catch(() => null),
// 全量名册([2026-11-29 复测] 单页 500 截断会漏人,讲师/权限人员选择按全量)
listAllTrainingMembers().catch(() => []),
listDepts().catch(() => null),
fetchCourseCategories(),
// 本人档案:新增课程「所属部门」默认当前登录用户所在部门
getMyProfile().catch(() => null),
])
items.value = unwrap(lib)?.items || []
members.value = (m && unwrap(m)?.items) || []
members.value = m || []
depts.value = (d && unwrap(d)) || []
configCategories.value = cats
const meBody = me && unwrap(me)