修改质量巡检流程
This commit is contained in:
parent
f3ad764dc8
commit
a3c6b69133
|
|
@ -142,9 +142,9 @@ namespace BLL
|
|||
{
|
||||
if (state == Const.CheckControl_Compile || state == Const.CheckControl_ReCompile) //无是否同意
|
||||
{
|
||||
ListItem[] lis = new ListItem[2];
|
||||
lis[0] = new ListItem("总包负责人审核", Const.CheckControl_Audit1);
|
||||
lis[1] = new ListItem("分包专业工程师回复", Const.CheckControl_Audit2);
|
||||
ListItem[] lis = new ListItem[1];
|
||||
//lis[0] = new ListItem("总包负责人审核", Const.CheckControl_Audit1);
|
||||
lis[0] = new ListItem("分包专业工程师回复", Const.CheckControl_Audit2);
|
||||
return lis;
|
||||
}
|
||||
else if (state == Const.CheckControl_Audit1)//有是否同意
|
||||
|
|
@ -156,9 +156,9 @@ namespace BLL
|
|||
}
|
||||
else if (state == Const.CheckControl_Audit2 || state == Const.CheckControl_ReCompile2)//无是否同意
|
||||
{
|
||||
ListItem[] lis = new ListItem[2];
|
||||
lis[0] = new ListItem("分包负责人审批", Const.CheckControl_Audit3);
|
||||
lis[1] = new ListItem("总包专业工程师确认", Const.CheckControl_Audit4);
|
||||
ListItem[] lis = new ListItem[1];
|
||||
//lis[0] = new ListItem("分包负责人审批", Const.CheckControl_Audit3);
|
||||
lis[0] = new ListItem("总包专业工程师确认", Const.CheckControl_Audit4);
|
||||
return lis;
|
||||
}
|
||||
else if (state == Const.CheckControl_Audit3)//有是否同意
|
||||
|
|
@ -170,10 +170,10 @@ namespace BLL
|
|||
}
|
||||
else if (state == Const.CheckControl_Audit4)//有是否同意
|
||||
{
|
||||
ListItem[] lis = new ListItem[3];
|
||||
lis[0] = new ListItem("总包负责人确认", Const.CheckControl_Audit5);//是 加载
|
||||
lis[1] = new ListItem("审批完成", Const.CheckControl_Complete);//是 加载
|
||||
lis[2] = new ListItem("分包专业工程师重新回复", Const.CheckControl_ReCompile2);//否加载
|
||||
ListItem[] lis = new ListItem[2];
|
||||
//lis[0] = new ListItem("总包负责人确认", Const.CheckControl_Audit5);//是 加载
|
||||
lis[0] = new ListItem("审批完成", Const.CheckControl_Complete);//是 加载
|
||||
lis[1] = new ListItem("分包专业工程师重新回复", Const.CheckControl_ReCompile2);//否加载
|
||||
return lis;
|
||||
}
|
||||
else if (state == Const.CheckControl_Audit5)//有是否同意
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjectName" runat="server" Readonly="true" Label="项目名称" LabelAlign="Right"
|
||||
MaxLength="50">
|
||||
>
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtDocCode" runat="server" Required="true" ShowRedStar="true" Label="编号" LabelAlign="Right"
|
||||
MaxLength="50">
|
||||
|
|
|
|||
|
|
@ -192,6 +192,10 @@ namespace FineUIPro.Web.CQMS.PersonManage
|
|||
rootNode.EnableClickEvent = true;
|
||||
this.tvControlItem.Nodes.Add(rootNode);
|
||||
var getWelders = (from x in Funs.DB.SitePerson_Person where x.ProjectId == this.CurrUser.LoginProjectId && x.WorkPostId == Const.WorkPost_Welder && x.States == Const.ProjectPersonStates_1 && x.UnitId == item.UnitId && x.WelderCode.Contains(txtQueryWelderCode.Text.Trim()) select x).ToList();
|
||||
if (!string.IsNullOrEmpty(txtQueryWelderCode.Text.Trim()))
|
||||
{
|
||||
getWelders = getWelders.Where(x => x.WelderCode.Contains(txtQueryWelderCode.Text.Trim())).ToList();
|
||||
}
|
||||
foreach (var sitem in getWelders)
|
||||
{
|
||||
TreeNode tn = new TreeNode();
|
||||
|
|
|
|||
Loading…
Reference in New Issue