自主管理加分项

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
}
}