20230918资质列表 加现场人员状态查询
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using BLL;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
@@ -40,6 +41,10 @@ namespace BLL
|
||||
{
|
||||
dropName.DataSource = HSSE_getCertificateType();
|
||||
}
|
||||
else if (groupId == Group_ProjectPersonStates)
|
||||
{
|
||||
dropName.DataSource = HSSE_getProjectPersonStates();
|
||||
}
|
||||
dropName.DataBind();
|
||||
if (isShowPlease)
|
||||
{
|
||||
@@ -74,7 +79,10 @@ namespace BLL
|
||||
{
|
||||
rblName.DataSource = HSSE_getContractType();
|
||||
}
|
||||
|
||||
else if (groupId == Group_ProjectPersonStates)
|
||||
{
|
||||
rblName.DataSource = HSSE_getProjectPersonStates();
|
||||
}
|
||||
rblName.DataBind();
|
||||
if (!string.IsNullOrEmpty(selectValue))
|
||||
{
|
||||
@@ -105,6 +113,10 @@ namespace BLL
|
||||
/// </summary>
|
||||
public const string Group_PersonType = "PersonType";
|
||||
/// <summary>
|
||||
/// 项目人员状态 组id
|
||||
/// </summary>
|
||||
public const string Group_ProjectPersonStates = "ProjectPersonStates";
|
||||
/// <summary>
|
||||
/// 合同类型 组id
|
||||
/// </summary>
|
||||
public const string Group_ContractType = "ContractType";
|
||||
@@ -330,6 +342,39 @@ namespace BLL
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 人员类型
|
||||
/// <summary>
|
||||
/// 人员类型 名称
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public static string HSSE_getProjectPersonStates(string value)
|
||||
{
|
||||
string name = string.Empty;
|
||||
var getType = HSSE_getProjectPersonStates().FirstOrDefault(x => x.Value == value);
|
||||
if (getType != null)
|
||||
{
|
||||
name = getType.Text;
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 人员类型
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static ListItem[] HSSE_getProjectPersonStates()
|
||||
{
|
||||
ListItem[] list = new ListItem[4];
|
||||
list[0] = new ListItem("在审", Const.ProjectPersonStates_0);
|
||||
list[1] = new ListItem("在岗", Const.ProjectPersonStates_1);
|
||||
list[2] = new ListItem("离岗", Const.ProjectPersonStates_2);
|
||||
list[3] = new ListItem("打回", Const.ProjectPersonStates_R);
|
||||
return list;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 合同类型
|
||||
/// <summary>
|
||||
/// 人员类型 名称
|
||||
|
||||
Reference in New Issue
Block a user