This commit is contained in:
2023-07-24 14:49:45 +08:00
parent cfb16a4268
commit 3c141d8710
10 changed files with 161 additions and 122 deletions
+23
View File
@@ -34,6 +34,10 @@
{
dropName.DataSource = HSSE_getContractType();
}
else if (groupId == Group_CertificateType)
{
dropName.DataSource = HSSE_getCertificateType();
}
dropName.DataBind();
if (isShowPlease)
{
@@ -102,6 +106,11 @@
/// 合同类型 组id
/// </summary>
public const string Group_ContractType = "ContractType";
/// <summary>
/// 证书类型 组id
/// </summary>
public const string Group_CertificateType = "CertificateType";
#endregion
#region
@@ -348,6 +357,20 @@
list[2] = new ListItem("以完成一定工作量", "3");
return list;
}
/// <summary>
/// 证书类型
/// </summary>
/// <returns></returns>
public static ListItem[] HSSE_getCertificateType()
{
ListItem[] list = new ListItem[4];
list[0] = new ListItem("特岗", "1");
list[1] = new ListItem("安管", "2");
list[2] = new ListItem("特种设备", "3");
list[3] = new ListItem("其他", "-1");
return list;
}
#endregion
#endregion