fix(培训课程):优化培训课程
This commit is contained in:
1 parent
e378e8b7fd
commit
aae041a0b4
19 files changed
+777
-188
No files matched your search
@@ -100,6 +100,17 @@ export interface OrgImportEmployee {
|
||||
export const importEmployees = (employees: OrgImportEmployee[]) =>
|
||||
post<{ success: boolean; data: { imported: number } }>(`${base}/employees/import`, { employees })
|
||||
|
||||
export interface OrgUpdateEmployee {
|
||||
dept_id: string
|
||||
post?: string
|
||||
/** 留空表示不变更 */
|
||||
status?: string
|
||||
}
|
||||
|
||||
/** 修改员工档案(部门必填;姓名/工号随平台账号,不在可编辑范围)。 */
|
||||
export const updateEmployee = (id: string, payload: OrgUpdateEmployee) =>
|
||||
put<{ success: boolean; data: OrgEmployee }>(`${base}/employees/${enc(id)}`, payload)
|
||||
|
||||
// ---- 模块角色绑定 ----
|
||||
|
||||
export const listModuleMembers = (moduleKey: OrgModuleKey) =>
|
||||
|
||||
Reference in new issue
Block a user