This commit is contained in:
2023-08-04 17:07:06 +08:00
133 changed files with 4486 additions and 1325 deletions
+1 -5
View File
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Tree>
<TreeNode id="BAC3D994-03A8-466C-8975-A31039998BCC" Text="施工进度统计" NavigateUrl="JDGL/Check/ProgressShow.aspx">
<TreeNode id="E23F0879-3E9F-4E7B-9A2D-EFF34798D629" Text="进度计划设置" NavigateUrl="JDGL/Check/PlanSet.aspx">
</TreeNode>
<TreeNode id="1172B112-2A12-4410-AD66-E5BA6B461475" Text="施工进度赢得值曲线" NavigateUrl="JDGL/Check/ProgressStatistics.aspx"></TreeNode>
<TreeNode id="4288426D-E49B-4E5D-A495-7E6A76F269B5" Text="周计划" NavigateUrl=""></TreeNode>
<TreeNode id="C75F0853-8A2B-4B32-83B7-509278D11957" Text="项目里程碑节点" NavigateUrl=""></TreeNode>
<TreeNode id="3550F422-E520-4962-9816-B691B0EE2865" Text="形象进度照片" NavigateUrl=""></TreeNode>
</Tree>
+63
View File
@@ -1347,5 +1347,68 @@ namespace FineUIPro.Web
return sb.ToString();
}
#endregion
public static ListItem[] GetCheckAcceptTypeList()
{
ListItem[] list = new ListItem[5];
list[0] = new ListItem("关键工序验收", "1");
list[1] = new ListItem("特殊过程验收", "2");
list[2] = new ListItem("隐蔽工程验收", "3");
list[3] = new ListItem("单位工程一次验收", "4");
list[4] = new ListItem("材料进场复验", "5");
return list;
}
public static string GetCheckAcceptTypeId(string CheckAcceptType)
{
string id = string.Empty;
if (!string.IsNullOrEmpty(CheckAcceptType))
{
var item = GetCheckAcceptTypeList().FirstOrDefault(x=>x.Text== CheckAcceptType);
if (item != null)
{
id = item.Value;
}
}
return id;
}
public static ListItem[] GetSubItemTypeList()
{
ListItem[] list = new ListItem[4];
list[0] = new ListItem("分部", "1");
list[1] = new ListItem("子分部", "2");
list[2] = new ListItem("分项", "3");
list[3] = new ListItem("子分项", "4");
return list;
}
public static string GetSubItemTypeId(string SubItemType)
{
string id = string.Empty;
if (!string.IsNullOrEmpty(SubItemType))
{
var item = GetSubItemTypeList().FirstOrDefault(x => x.Text == SubItemType);
if (item != null)
{
id = item.Value;
}
}
return id;
}
public static string GetSubItemTypeText(string SubItemType)
{
string id = string.Empty;
if (!string.IsNullOrEmpty(SubItemType))
{
var item = GetSubItemTypeList().FirstOrDefault(x => x.Value == SubItemType);
if (item != null)
{
id = item.Text;
}
}
return id;
}
}
}