This commit is contained in:
2022-10-09 15:37:13 +08:00
10 changed files with 108 additions and 13 deletions
+24
View File
@@ -786,6 +786,30 @@ namespace FineUIPro.Web
}
#endregion
#region ASPX
/// <summary>
///
/// </summary>
/// <param name="bitValue"></param>
/// <returns></returns>
protected string GetIsPost(object bitValue)
{
string value = string.Empty;
if (bitValue != null)
{
if (bitValue.ToString() == "1" || Convert.ToBoolean(bitValue.ToString()))
{
value = "在职";
}
else
{
value = "离职";
}
}
return value;
}
#endregion
#region ASPX
/// <summary>
/// 获取项目状态的字面值,在 ASPX 中调用