fix(课程管理):课程管理模块相关调整优化
deploy-hxtesting / build-and-deploy (push) Successful in 1m20s

1.”课程编号、课程名称、所属部门、说明、课程权限、分类、类型、线上/线下、讲师、时长、课件、试题、发布状态、创建时间、创建人“可滑动部分字段从左到右顺序”课程编号、课程名称、讲师、课件、试题、课程权限、分类、类型、线上/线下、时长、发布状态、创建时间、创建人、所属部门、说明“
2.增加一个字段适合人员作为备注字段承接”年培训计划“和”月培训计划“过来的”适合人员“信息只做展示用,支持用户自定义录入,
3.”课程权限“默认当前所示部门,“全部”选项放在下拉列最前面排在部门选项上面
4.列表右侧固定字段“状态”、“操作”宽度再收窄一些
5.审核时要校验“课程名称、所属部门、课程权限、课件”必填!所属部门默认当前录入人员所属部门支持修改,课程权限也是默认当前录入人员所属部门支持修改
This commit is contained in:
runny committed 2026-11-26 23:07:10 +08:00
1 parent 2f1cda34da
commit 0427a60bc3
13 files changed
+179 -49

No files matched your search

@@ -386,9 +386,11 @@ const onDemandCourseChange = (name: unknown) => {
const course = libraryCourses.value.find((c) => c.name === name)
if (!course) return
demandForm.value.category = course.category || ''
if (course.suitable_members) {
demandForm.value.post_scope = course.suitable_members
demandSuitableList.value = splitSuitable(course.suitable_members)
// 适合人员(000165):优先课程管理备注字段 post_scope,存量课程回退 suitable_members
const suitableValue = course.post_scope || course.suitable_members || ''
if (suitableValue) {
demandForm.value.post_scope = suitableValue
demandSuitableList.value = splitSuitable(suitableValue)
}
const lecturerValue = course.lecturer_id || course.lecturer_external || ''
if (lecturerValue) {