自主管理加分项

This commit is contained in:
2025-03-04 18:12:07 +08:00
parent 6b48da4eff
commit 5d3273f119
92 changed files with 3646 additions and 4595 deletions
+63
View File
@@ -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
}
}