|
|
@@ -36,7 +36,9 @@
|
|
|
{ label: '课程分类', key: 'typeID', type: 'select', placeholder: '请选择课程分类', clearable: true, options: dictStore.getDictWithCode('course_category') || [] },
|
|
|
{ label: '线路号', key: 'lineNo', type: 'select', placeholder: '请输入线路号', clearable: true, options: dictStore.getDictWithCode('course_line') || [] },
|
|
|
{ label: '运行图', key: 'runningMap', type: 'select', placeholder: '请输入运行图', clearable: true, options: dictStore.getDictWithCode('course_run_map') || [] },
|
|
|
- { label: '创建人', key: 'creator', type: 'input', placeholder: '请输入创建人', clearable: true }
|
|
|
+ { label: '创建人', key: 'creator', type: 'input', placeholder: '请输入创建人', clearable: true },
|
|
|
+ { label: '培训计划', key: 'PXSSID', type: 'select', placeholder: '请选择培训计划', clearable: true, options: [] },
|
|
|
+ { label: '学员名单', key: 'XYEMPID', type: 'select', placeholder: '请选择学员', clearable: true, options: [] }
|
|
|
])
|
|
|
|
|
|
const courseSearchHandle = async () => {
|
|
|
@@ -44,6 +46,30 @@
|
|
|
emit('search', courseFormData)
|
|
|
}
|
|
|
|
|
|
+ // // 培训计划
|
|
|
+ // export interface TrainPlanItem {
|
|
|
+ // PXSSID?: string /** 培训实施ID */
|
|
|
+ // PXSSMC?: string /** 培训实施名称 */
|
|
|
+ // PlanInfo?: {
|
|
|
+ // JXJHID?: string /** 计划ID */
|
|
|
+ // KMMC?: string /** 计划名称 */
|
|
|
+ // SDKCGUIDs?: string[] /** 培训课程GUID列表 */
|
|
|
+ // TESTKCGUIDs?: string[] /** 课程课程GUID列表 */
|
|
|
+ // }[] /** 计划信息 */
|
|
|
+ // }
|
|
|
+ // const trainPlanOptions = async () => {
|
|
|
+ // const { data } = await request.post<TrainPlanItem[]>('/course/tmsplan', {})
|
|
|
+ // }
|
|
|
+
|
|
|
+ // // 学员列表
|
|
|
+ // export interface StudentItem {
|
|
|
+ // XYEMPID: string /** 学员GUID */
|
|
|
+ // XYXM: string /** 学员姓名 */
|
|
|
+ // }
|
|
|
+ // const studentOptions = async () => {
|
|
|
+ // const { data } = await request.post<StudentItem[]>('/course/tmsplanstudent', { PXSSID: '' })
|
|
|
+ // }
|
|
|
+
|
|
|
defineExpose({
|
|
|
reset: () => {
|
|
|
courseSearchRef.value?.reset()
|