This commit is contained in:
1 parent
381dd60bea
commit
f55447a8f8
5 files changed
+17
No files matched your search
@@ -58,6 +58,8 @@ export interface OrgListQuery {
|
||||
module_key?: string
|
||||
dept_id?: string
|
||||
keyword?: string
|
||||
/** 在职口径(000167):true 时仅保留成员管理在职人员(状态 1-5),过滤离职/退休 */
|
||||
on_duty?: boolean
|
||||
page?: number
|
||||
page_size?: number
|
||||
}
|
||||
|
||||
@@ -589,6 +589,7 @@ watch(pickerUserIds, (ids) => {
|
||||
})
|
||||
|
||||
// 员工列表:module_key='training' 联查职称角色展示;keyword 按姓名/工号/部门过滤。
|
||||
// on_duty 只保留成员管理在职人员(1-5),离职/退休不再出现在员工档案。
|
||||
// 分页循环拉全量(page_size=500 单页会把最早建档的员工截断,分页器误显「共500条」)。
|
||||
const loadEmployees = async () => {
|
||||
loading.value = true
|
||||
@@ -596,6 +597,7 @@ const loadEmployees = async () => {
|
||||
employees.value = await listAllOrgEmployees({
|
||||
module_key: ORG_MODULE_TRAINING,
|
||||
keyword: keyword.value.trim() || undefined,
|
||||
on_duty: true,
|
||||
})
|
||||
} finally {
|
||||
loading.value = false
|
||||
|
||||
Reference in new issue
Block a user