自主管理加分项
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Web.UI.WebControls;
|
||||
using Microsoft.Office.Interop.Word;
|
||||
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public static class Enums
|
||||
{
|
||||
#region 培训考试
|
||||
|
||||
/// <summary>
|
||||
/// 培训效果
|
||||
/// </summary>
|
||||
public enum Outcome
|
||||
{
|
||||
掌握 = 0,
|
||||
熟悉 = 1,
|
||||
了解 = 2,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 培训效果
|
||||
/// </summary>
|
||||
public static Dictionary<string, int> OutcomeMap = new Dictionary<string, int>
|
||||
{
|
||||
{ "掌握" ,(int)Outcome.掌握},
|
||||
{ "熟悉" ,(int)Outcome.熟悉},
|
||||
{ "了解" ,(int)Outcome.了解}
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// 培训效果下拉框
|
||||
/// </summary>
|
||||
/// <param name="dropName"></param>
|
||||
/// <param name="isShowPlease"></param>
|
||||
public static void InitOutcomeDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
|
||||
{
|
||||
dropName.DataValueField = "Value";
|
||||
dropName.DataTextField = "Key";
|
||||
dropName.DataSource = OutcomeMap;
|
||||
dropName.DataBind();
|
||||
if (isShowPlease)
|
||||
{
|
||||
Funs.FineUIPleaseSelect(dropName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 检查重修计划类型
|
||||
/// </summary>
|
||||
public enum RetakeCourseType
|
||||
{
|
||||
日常巡检 = 1,
|
||||
专项检查 = 2,
|
||||
领导带班检查 = 3,
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user