fix(bug修复):1.如图四所示创建月度计划选择课程管理中的课程时下拉数据只能拉出自己部门课程
deploy-hxtesting / build-and-deploy (push) Successful in 1m12s
deploy-hxtesting / build-and-deploy (push) Successful in 1m12s
2.创建月度培训计划时选择课程默认展示出来的课程信息要能支持修改相关课件信息,及上传课件、试题,(修改上传后需要课长签核) 3.创建好月度计划培训后填写了授课地点但发布时一直提示如图2、3所示! 4.年度、月度培训计划列表中数据要按按计划培训时间来倒序排,创建月度计划培训时计划培训时间默认未授课培训月份!
This commit is contained in:
1 parent
102d94e6c8
commit
f88fce3673
5 files changed
+304
-12
No files matched your search
@@ -88,6 +88,14 @@ func (h *Handler) ListCourseLibrary(c *gin.Context) {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if q.Scope == "plan" {
|
||||
// scope=plan(000163)创建月度计划选课口径:月培训计划维护角色(人事/课长/
|
||||
// 经理/讲师)可选全部部门的课程,不再按本部门收窄;纯学员/无维护角色
|
||||
// 调用方保持原数据范围,不放大数据可见性。
|
||||
if !h.requireRoles(c, types.TrainingRoleHR, types.TrainingRoleSupervisor, types.TrainingRoleLecturer) {
|
||||
return
|
||||
}
|
||||
q.DeptID, q.RelatedUserID = "", ""
|
||||
} else {
|
||||
q.DeptID, q.RelatedUserID = h.callerCourseLibraryScope(c)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user