版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

state:train_class_nav_multi

eg:

代码块
languagejson
themeEmacs
linenumberstrue
{
    "childs": [{
        "key": "Teaching_plan",
        "label": "授课计划",
        "sequence": 100,
        "parent_id": "class_id",
        "meta_state": "Teaching_plan_zb",
        "jump_state": "train_class_nav_multi",
        "model": "TrainPlan"
    }]
}

...

课程-课程小节页面

需配置:

(1)课程-课程详情页面base

代码块
languagejson
themeEmacs
linenumberstrue
{
    "childs": [{
            "key": "sub_course",
            "label": "课程小节",
            "parent_id": "session_id",
            "meta_state": "teacherCenter_trainClass",
            "model": "TrainSession",
            "sequence": 10,
            "jump_state": "train_class_sub_session_multi_list",
            "params": {
                "meta_state": "teacherCenter_trainClass",
                "model": "TrainSession",
                "session_id": "=STATE.params.id",
                "nav_state": "teacherCenter_attache"
            }
        }, {
            "key": "course",
            "meta_disabled": true
        },
        {
            "key": "online_course",
            "meta_disabled": true
        },
        {
            "key": "sign",
            "meta_disabled": true
        },
        {
            "key": "eval",
            "meta_disabled": true
        },
        {
            "key": "exam",
            "meta_disabled": true
        },
        {
            "key": "budget",
            "meta_disabled": true
        }
    ]
}


(2)培训班-课程目录base

代码块
languagejson
themeEmacs
linenumberstrue
{
    "childs": [{
        "key": "course_contents",
        "meta_state": "trainClass_subSession"
    }]
}

...

支持上传mp4、doc、docx、xls、xlsx、pptx、pdf、jpg、jpeg、png、bmp格式的文件,上传文件大小默认最大500M,可以在元数据配置中进行设置,系统最大限制上传大小为1G。(暂时不支持PPT格式,可以将其转成pptx、pdf格式后上传)

eg:

代码块
languagejson
themeEmacs
linenumberstrue
{
    "fields": [{
            "key": "tips",
            "options": {
                "default": "支持mp4、doc、docx、xls、xlsx、pptx, pdf、jpg、jpeg、png、bmp格式文件;\n大小不超过1GB"
            }
        },
        {
            "key": "course_index",
            "options": {
                "maxlength": 1000,
                "size": 1000,
                "tip": "大小不超过1000MB,支持mp4、doc、docx、xls、xlsx、pdf、jpg、jpeg、png、bmp格式文件"
            }
        }
    ]
}

...

TrainSignRecord.meta.list.teacherCenter.json


代码块
languagejson
themeEmacs
linenumberstrue
{
    "actions": [{
            "key": "new1",
            "label": "新增",
            "actions": [{
                    "key": "new",
                    "label": "新增内部人员",
                    "func": "=function(){SCOPE.createItem(true)}"
                },
                {
                    "key": "newOuter",
                    "label": "新增外部人员",
                    "func": "=function(){SCOPE.createItem(false)}"
                }
            ]
        },
        {
            "key": "new",
            "hide": true
        }
    ]
}

...

信息
title提示

1、如果实际花费超过预算总额,会有提示信息,但仍可继续添加实际花费

2、培训活动的预算费用审批通过后就不可维护了,实际费用仅在培训活动进行中,以及培训活动结束后可维护


15、人员信息管理中添加培训相关的子集

代码块
languagejson
themeEmacs
linenumberstrue
 {
      "key": "train_mentor",
      "model": "TrainMentoring",
      "label": "导师子集",
      "parent_id": "disciple_id",
      "icon": "icon-hcm-training",
      "view": "multi"
    },
    {
      "key": "train_mentoring",
      "model": "TrainMentoring",
      "label": "徒弟子集",
      "parent_id": "train_mentor.mentor_id",
      "icon": "icon-hcm-training",
      "view": "multi"
    },
    {
      "key": "teach_session",
      "model": "TrainSession",
      "label": "讲师授课子集",
      "parent_id": "teacher.employee_id",
      "icon": "icon-hcm-training",
      "view": "multi"
    },
    {
      "key": "online_session",
      "model": "TrainSessionStudent",
      "label": "在线学习子集",
      "parent_id": "employee_id",
      "icon": "icon-hcm-training",
      "view": "multi"
    }

...