feat(培训课程相关调整):1.培训计划中的形式”线上/线下“与课程中的”线上/线下“独立字段!,培训计划中是指线上培训还是线下培训,课程中是指该课程是线上课还是线下课,两者不能共用相互独立!
deploy-hxtesting / build-and-deploy (push) Successful in 1m18s
deploy-hxtesting / build-and-deploy (push) Successful in 1m18s
2.创建课程时课程默认是”线上“,发布课程时必须要有课件! 3.课程管理中的课件上传预览下载交互样式,按维护”试题“交互样式风格来!列表中增加一列”试题“,列表中”试题“、”课件“按实际情况只展示”有/无“即可!
This commit is contained in:
1 parent
ea0524c445
commit
9950a28346
13 files changed
+769
-169
No files matched your search
@@ -474,6 +474,8 @@ export interface TrainingLibraryCourse {
|
||||
creator_id?: string
|
||||
/** 创建人姓名(联查 users 只读;导入/新增时落 creator_id 后带出) */
|
||||
creator_name?: string
|
||||
/** 关联题库数(联查只读;列表「试题」有/无展示) */
|
||||
question_bank_count?: number
|
||||
created_at?: string
|
||||
updated_at?: string
|
||||
}
|
||||
@@ -526,6 +528,12 @@ export const attachCourseLibraryMaterialFromKb = (id: string, payload: { knowled
|
||||
export const downloadCourseLibraryMaterial = (id: string) =>
|
||||
getDown(`${base}/course-library/${enc(id)}/material/file`)
|
||||
|
||||
/** 移除课件原始文件/知识库挂接(名称登记保留;课件变更即回待核验)。 */
|
||||
export const removeCourseLibraryMaterial = (id: string) =>
|
||||
post<{ success: boolean; data: TrainingLibraryCourse }>(
|
||||
`${base}/course-library/${enc(id)}/material/remove`,
|
||||
)
|
||||
|
||||
export const listSessions = (query?: ListQuery) =>
|
||||
get<{ success: boolean; data: TrainingCourseSession[] }>(`${base}/sessions`, { params: query })
|
||||
|
||||
|
||||
Reference in new issue
Block a user