提交代码

This commit is contained in:
2023-09-21 15:54:21 +08:00
parent a274f30199
commit fe3341b8cc
51 changed files with 4488 additions and 515 deletions
File diff suppressed because it is too large Load Diff
+4
View File
@@ -3299,6 +3299,10 @@ namespace BLL
/// 作废
/// </summary>
public const string State_C = "-2";
/// <summary>
/// 关闭提交
/// </summary>
public const string State_6 = "6";
#endregion
#region 文档流程定义
@@ -16,13 +16,15 @@ namespace BLL
/// <returns></returns>
public static ListItem[] drpStatesItem()
{
ListItem[] list = new ListItem[6];
//修改日期,增加关闭审核中
ListItem[] list = new ListItem[7];
list[0] = new ListItem("全部", Const._Null);
list[1] = new ListItem("待提交", Const.State_0);
list[2] = new ListItem("审核中", Const.State_1);
list[3] = new ListItem("作业中", Const.State_2);
list[4] = new ListItem("已关闭", Const.State_3);
list[5] = new ListItem("已取消", Const.State_R);
list[4] = new ListItem("关闭审核中", Const.State_6);
list[5] = new ListItem("已关闭", Const.State_3);
list[6] = new ListItem("已取消", Const.State_R);
return list;
}
@@ -25,7 +25,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -90,29 +90,111 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
@@ -150,3 +232,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -89,6 +89,10 @@
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -100,6 +104,7 @@
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -111,10 +116,105 @@
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
@@ -150,13 +150,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
@@ -167,6 +167,15 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -176,6 +185,168 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -26,7 +26,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -343,7 +343,7 @@ namespace FineUIPro.Web.HSSE.License
Bookmark bookmarkWorkDepth = doc.Range.Bookmarks["WorkDepth"];//作业原因
if (bookmarkWorkDepth != null)
{
if (getElectricity != null)
if (getElectricity.Reason != null)
{
bookmarkWorkDepth.Text = getElectricity.Reason;
@@ -92,32 +92,113 @@
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
@@ -155,3 +236,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -90,6 +90,10 @@ namespace FineUIPro.Web.HSSE.License
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -101,6 +105,7 @@ namespace FineUIPro.Web.HSSE.License
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -112,10 +117,105 @@ namespace FineUIPro.Web.HSSE.License
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
@@ -150,13 +150,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
@@ -167,6 +167,15 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -176,6 +185,168 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -25,7 +25,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -86,31 +86,111 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
@@ -139,3 +219,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -94,6 +94,10 @@
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -105,6 +109,7 @@
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -116,10 +121,105 @@
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
+173 -2
View File
@@ -141,13 +141,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
@@ -158,6 +158,15 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -167,6 +176,168 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -25,7 +25,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -100,30 +100,111 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
@@ -152,3 +233,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -91,6 +91,10 @@
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -102,6 +106,7 @@
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -113,10 +118,105 @@
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
@@ -168,13 +168,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
@@ -185,6 +185,15 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -194,6 +203,168 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -25,7 +25,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -94,32 +94,113 @@
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
@@ -149,3 +230,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -93,6 +93,10 @@
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -104,6 +108,7 @@
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -115,10 +120,105 @@
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
@@ -168,13 +168,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
@@ -185,6 +185,15 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -194,6 +203,168 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -25,7 +25,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -114,32 +114,113 @@
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
@@ -178,3 +259,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -117,6 +117,10 @@
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -128,6 +132,7 @@
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -139,10 +144,105 @@
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
@@ -195,13 +195,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
@@ -212,6 +212,15 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -221,6 +230,168 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -25,7 +25,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -82,23 +82,26 @@
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
@@ -106,7 +109,7 @@
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="总包单位安全人员意见:">
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
@@ -114,24 +117,28 @@
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="总包单位专业工程师意见:">
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
@@ -139,87 +146,50 @@
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="总包单位施工经理意见:">
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label5" runat="server" >
</f:Label>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm5" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="监理单位意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion5" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label9" runat="server" >
</f:Label>
<f:Label ID="txtName5" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Label ID="txtTime5" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm6" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="业主单位意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion6" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label12" runat="server" >
</f:Label>
<f:Label ID="txtName6" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Label ID="txtTime6" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">
@@ -247,3 +217,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -87,6 +87,10 @@
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -98,6 +102,7 @@
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -109,13 +114,23 @@
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
@@ -127,13 +142,24 @@
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
@@ -145,13 +171,24 @@
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
@@ -163,46 +200,19 @@
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
var getF5 = getFlows.FirstOrDefault(x => x.SortIndex == 5);
if (getF5 != null)
{
this.txtForm5.Title = getF5.AuditFlowName + ":";
if (getF5.OperaterTime.HasValue)
{
if (getF5.IsAgree == true)
{
this.txtOpinion5.Text = "同意。";
}
else
{
this.txtOpinion5.Text = getF5.Opinion;
}
this.txtName5.Text = UserService.GetUserNameByUserId(getF5.OperaterId);
this.txtTime5.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF5.OperaterTime);
}
}
var getF6 = getFlows.FirstOrDefault(x => x.SortIndex == 6);
if (getF6 != null)
{
this.txtForm6.Title = getF6.AuditFlowName + ":";
if (getF6.OperaterTime.HasValue)
{
if (getF6.IsAgree == true)
{
this.txtOpinion6.Text = "同意。";
}
else
{
this.txtOpinion6.Text = getF6.Opinion;
}
this.txtName6.Text = UserService.GetUserNameByUserId(getF6.OperaterId);
this.txtTime6.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF6.OperaterTime);
}
}
}
}
#endregion
+87 -139
View File
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.License {
public partial class NightWorkView {
namespace FineUIPro.Web.HSSE.License
{
public partial class NightWorkView
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// lbLicenseCode 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbLicenseCode;
/// <summary>
/// txtApplyUnit 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
/// <summary>
/// txtWorkPalce 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkPalce;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// txtWorkLeader 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkLeader;
/// <summary>
/// txtSafeLeader 控件。
/// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSafeLeader;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtForm1 控件。
/// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm1;
/// <summary>
/// txtOpinion1 控件。
/// </summary>
@@ -137,16 +139,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
/// </summary>
@@ -155,7 +157,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
@@ -182,16 +193,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// Label1 控件。
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
@@ -200,7 +211,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
@@ -209,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
@@ -218,7 +238,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
@@ -227,16 +247,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// Label2 控件。
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
@@ -245,7 +265,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
@@ -254,7 +283,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
@@ -263,7 +292,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
@@ -272,16 +301,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// Label5 控件。
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
@@ -290,7 +319,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
@@ -299,97 +337,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtForm5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm5;
/// <summary>
/// txtOpinion5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion5;
/// <summary>
/// Label9 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label9;
/// <summary>
/// txtName5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName5;
/// <summary>
/// txtTime5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime5;
/// <summary>
/// txtForm6 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm6;
/// <summary>
/// txtOpinion6 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion6;
/// <summary>
/// Label12 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label12;
/// <summary>
/// txtName6 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName6;
/// <summary>
/// txtTime6 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime6;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -398,7 +346,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCance;
/// <summary>
/// txtClose 控件。
/// </summary>
@@ -407,7 +355,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClose;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -416,7 +364,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -425,7 +373,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -25,7 +25,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -83,32 +83,113 @@
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
@@ -137,3 +218,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -93,6 +93,10 @@
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -104,6 +108,7 @@
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -115,10 +120,105 @@
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
@@ -132,13 +132,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
@@ -149,6 +149,15 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -158,6 +167,168 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -25,7 +25,7 @@
EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:DropDownList>
<f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
<f:RadioButtonList ID="drpStates" runat="server" Width="450px"
<f:RadioButtonList ID="drpStates" runat="server" Width="650px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
@@ -96,32 +96,113 @@
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="施工单位安全人员意见:">
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商施工经理意见:">
<Rows>
<f:FormRow>
<f:FormRow >
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:Label ID="Label6" runat="server" >
</f:Label>
<f:HyperLink ID="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="分包商HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环施工经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink3" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
@@ -159,3 +240,15 @@
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>
@@ -90,6 +90,10 @@
#endregion
#region 获取审核记录信息
public string FlowOperateId1;
public string FlowOperateId2;
public string FlowOperateId3;
public string FlowOperateId4;
/// <summary>
///
/// </summary>
@@ -101,6 +105,7 @@
var getF1 = getFlows.FirstOrDefault(x => x.SortIndex == 1);
if (getF1 != null)
{
FlowOperateId1 = getF1.FlowOperateId;
this.txtForm1.Title = getF1.AuditFlowName + ":";
if (getF1.OperaterTime.HasValue)
{
@@ -112,10 +117,105 @@
{
this.txtOpinion1.Text = getF1.Opinion;
}
this.txtName1.Text = UserService.GetUserNameByUserId(getF1.OperaterId);
if (!string.IsNullOrEmpty(getF1.SignatureUrl))
{
this.Image1.ImageUrl = "~/" + getF1.SignatureUrl;
}
var signUser1 = UserService.GetUserByUserId(getF1.OperaterId);
if (signUser1 != null)
{
this.txtName1.Text = signUser1.UserName;
}
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
FlowOperateId2 = getF2.FlowOperateId;
this.txtForm2.Title = getF2.AuditFlowName + ":";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
if (!string.IsNullOrEmpty(getF2.SignatureUrl))
{
this.Image2.ImageUrl = "~/" + getF2.SignatureUrl;
}
var signUser2 = UserService.GetUserByUserId(getF2.OperaterId);
if (signUser2 != null)
{
this.txtName2.Text = signUser2.UserName;
}
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
FlowOperateId3 = getF3.FlowOperateId;
this.txtForm3.Title = getF3.AuditFlowName + ":";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
if (!string.IsNullOrEmpty(getF3.SignatureUrl))
{
this.Image3.ImageUrl = "~/" + getF3.SignatureUrl;
}
var signUser3 = UserService.GetUserByUserId(getF3.OperaterId);
if (signUser3 != null)
{
this.txtName3.Text = signUser3.UserName;
}
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
FlowOperateId4 = getF4.FlowOperateId;
this.txtForm4.Title = getF4.AuditFlowName + ":";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
if (!string.IsNullOrEmpty(getF4.SignatureUrl))
{
this.Image4.ImageUrl = "~/" + getF4.SignatureUrl;
}
var signUser4 = UserService.GetUserByUserId(getF4.OperaterId);
if (signUser4 != null)
{
this.txtName4.Text = signUser4.UserName;
}
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
@@ -159,13 +159,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// HyperLink2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
protected global::FineUIPro.HyperLink HyperLink2;
/// <summary>
/// txtName1 控件。
@@ -176,6 +176,15 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// Image1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@@ -185,6 +194,168 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.Label txtTime1;
/// <summary>
/// txtForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm2;
/// <summary>
/// txtOpinion2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion2;
/// <summary>
/// HyperLink1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <summary>
/// Image2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image2;
/// <summary>
/// txtTime2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime2;
/// <summary>
/// txtForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm3;
/// <summary>
/// txtOpinion3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion3;
/// <summary>
/// HyperLink3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink3;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <summary>
/// Image3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image3;
/// <summary>
/// txtTime3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime3;
/// <summary>
/// txtForm4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm4;
/// <summary>
/// txtOpinion4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion4;
/// <summary>
/// HyperLink4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HyperLink HyperLink4;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// Image4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Image Image4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtTime4;
/// <summary>
/// txtCance 控件。
/// </summary>
@@ -517,5 +517,10 @@ namespace Model
get;
set;
}
/// <summary>
/// 审核人id
/// </summary>
public string OperaterId { get; set; }
}
}