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
deploy-hxtesting / build-and-deploy (push) Successful in 1m2s
This commit is contained in:
1 parent
61fb94744a
commit
4e071f9da0
7 files changed
+46
-25
No files matched your search
@@ -193,7 +193,7 @@ import {
|
||||
getSignCode,
|
||||
getSignSummary,
|
||||
listCourses,
|
||||
listMembers,
|
||||
listAllTrainingMembers,
|
||||
listSessions,
|
||||
listSessionEvidence,
|
||||
listSignRecords,
|
||||
@@ -405,13 +405,13 @@ const loadAll = async () => {
|
||||
const [s, c, m] = await Promise.all([
|
||||
listSessions({ page_size: 200 }),
|
||||
listCourses({ page_size: 200 }),
|
||||
listMembers({ page_size: 500 }).catch(() => null),
|
||||
// 全量名册([2026-11-29 复测] 单页 500 截断会漏人,签到明细姓名映射按全量)
|
||||
listAllTrainingMembers().catch(() => []),
|
||||
])
|
||||
sessions.value = unwrap(s) || []
|
||||
courses.value = unwrap(c)?.items || []
|
||||
const memberItems = (m && unwrap(m)?.items) || []
|
||||
if (memberItems.length) {
|
||||
members.value = memberItems
|
||||
if (m?.length) {
|
||||
members.value = m
|
||||
const labels: Record<string, string> = {}
|
||||
for (const mem of members.value) {
|
||||
// 签到明细学员列(000165):「姓名 工号」,无姓名时回退工号
|
||||
|
||||
Reference in new issue
Block a user