修改作业许可

This commit is contained in:
高飞 2023-09-13 08:31:05 +08:00
parent de3763f245
commit 2a4772c921
28 changed files with 1874 additions and 3916 deletions

View File

@ -0,0 +1,34 @@
--ÉêÇëÈËÇ©Ãû
ALTER TABLE License_FireWork
ADD SignatureUrl nvarchar(500) null;
ALTER TABLE License_LimitedSpace
ADD SignatureUrl nvarchar(500) null;
ALTER TABLE License_BreakGround
ADD SignatureUrl nvarchar(500) null;
ALTER TABLE License_HeightWork
ADD SignatureUrl nvarchar(500) null;
ALTER TABLE License_LiftingWork
ADD SjName nvarchar(50) null;
ALTER TABLE License_LiftingWork
ADD SjPhone nvarchar(100) null;
ALTER TABLE License_LiftingWork
ADD SignatureUrl nvarchar(500) null;
ALTER TABLE License_OpenCircuit
ADD SignatureUrl nvarchar(500) null;
ALTER TABLE License_RadialWork
ADD SignatureUrl nvarchar(500) null;
ALTER TABLE License_Electricity
ADD SignatureUrl nvarchar(500) null;
ALTER TABLE License_NightWork
ADD SignatureUrl nvarchar(500) null;

View File

@ -62,7 +62,8 @@ namespace BLL
WorkAreaId = x.WorkAreaId,
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
Reason = x.Reason,
FireLevel = x.FireLevel
FireLevel = x.FireLevel,
SignatureUrl=x.SignatureUrl
}).FirstOrDefault();
}
#endregion
@ -109,6 +110,7 @@ namespace BLL
FireWatchManName = x.FireWatchManName,
WorkLeaderName = x.WorkLeaderName,
WorkLeaderTel = x.WorkLeaderTel,
SignatureUrl = x.SignatureUrl
}).FirstOrDefault();
}
#endregion
@ -157,6 +159,7 @@ namespace BLL
TestDate = string.Format("{0:yyyy-MM-dd HH:mm}", x.TestDate),
TestPerson = x.TestPerson,
VenStep = x.VenStep,
SignatureUrl = x.SignatureUrl
}).FirstOrDefault();
}
#endregion
@ -203,6 +206,7 @@ namespace BLL
WorkAreaId = x.WorkAreaId,
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
SignatureUrl = x.SignatureUrl
}).FirstOrDefault();
}
#endregion
@ -246,6 +250,7 @@ namespace BLL
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
Reason = x.Reason,
FireWatchManName = x.FireWatchManName,
SignatureUrl = x.SignatureUrl
}).FirstOrDefault();
}
#endregion
@ -288,6 +293,7 @@ namespace BLL
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
Reason = x.Reason,
FireWatchManName = x.FireWatchManName,
SignatureUrl = x.SignatureUrl
}).FirstOrDefault();
}
#endregion
@ -330,6 +336,7 @@ namespace BLL
AttachUrl = db.AttachFile.First(z => z.ToKeyId == x.NightWorkId).AttachUrl.Replace('\\', '/'),
States = x.States,
OldLicenseId = x.OldLicenseId,
SignatureUrl = x.SignatureUrl
}).FirstOrDefault();
}
#endregion
@ -377,6 +384,9 @@ namespace BLL
WorkLeaderTel = x.WorkLeaderTel,
QzgName = x.QzgName,
QzgPhone = x.QzgPhone,
SignatureUrl = x.SignatureUrl,
SjPhone=x.SjPhone,
SjName=x.SjName
}).FirstOrDefault();
}
#endregion
@ -421,7 +431,8 @@ namespace BLL
Reason = x.Reason,
FireWatchManName = x.FireWatchManName,
WorkLeaderName=x.WorkLeaderName,
WorkLeaderTel=x.WorkLeaderTel
WorkLeaderTel=x.WorkLeaderTel,
SignatureUrl = x.SignatureUrl
}).FirstOrDefault();
}
#endregion
@ -513,7 +524,8 @@ namespace BLL
WorkAreaId = x.WorkAreaId,
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
Reason=x.Reason,
FireLevel=x.FireLevel
FireLevel=x.FireLevel,
SignatureUrl = x.SignatureUrl
}).ToList();
}
#endregion
@ -558,6 +570,7 @@ namespace BLL
FireWatchManName=x.FireWatchManName,
WorkLeaderName=x.WorkLeaderName,
WorkLeaderTel=x.WorkLeaderTel,
SignatureUrl = x.SignatureUrl
}).ToList();
}
@ -605,7 +618,7 @@ namespace BLL
TestDate= string.Format("{0:yyyy-MM-dd HH:mm}", x.TestDate),
TestPerson=x.TestPerson,
VenStep=x.VenStep,
SignatureUrl = x.SignatureUrl
@ -655,7 +668,7 @@ namespace BLL
WorkAreaId = x.WorkAreaId,
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
SignatureUrl = x.SignatureUrl
}).ToList();
}
#endregion
@ -697,7 +710,7 @@ namespace BLL
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
Reason=x.Reason,
FireWatchManName=x.FireWatchManName,
SignatureUrl = x.SignatureUrl
}).ToList();
}
#endregion
@ -738,7 +751,7 @@ namespace BLL
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
Reason=x.Reason,
FireWatchManName=x.FireWatchManName,
SignatureUrl = x.SignatureUrl
}).ToList();
}
#endregion
@ -781,6 +794,7 @@ namespace BLL
NextManId = x.NextManId,
NextManName = db.Sys_User.First(u => u.UserId == x.NextManId).UserName,
States = x.States,
SignatureUrl = x.SignatureUrl
}).ToList();
}
#endregion
@ -828,7 +842,7 @@ namespace BLL
WorkLeaderTel=x.WorkLeaderTel,
QzgName=x.QzgName,
QzgPhone=x.QzgPhone,
SignatureUrl = x.SignatureUrl
}).ToList();
}
#endregion
@ -872,7 +886,7 @@ namespace BLL
FireWatchManName = x.FireWatchManName,
WorkLeaderName=x.WorkLeaderName,
WorkLeaderTel=x.WorkLeaderTel,
SignatureUrl = x.SignatureUrl
}).ToList();
}
#endregion
@ -952,7 +966,7 @@ namespace BLL
WorkAreaId = x.WorkAreaId,
WorkAreaName = UnitWorkService.GetUnitWorkName(x.WorkAreaId),
Reason = x.Reason,
FireLevel = x.FireLevel
FireLevel = x.FireLevel,
}).ToList();
if (getFireWork.Count() > 0)
{
@ -1378,7 +1392,8 @@ namespace BLL
WorkAreaId=newItem.WorkAreaId,
Reason=newItem.Reason,
FireLevel=newItem.FireLevel
FireLevel=newItem.FireLevel,
SignatureUrl = newItem.SignatureUrl
};
if (newItem.States == Const.State_0)
@ -1433,6 +1448,7 @@ namespace BLL
updateFireWork.WorkAreaId = newItem.WorkAreaId;
updateFireWork.Reason = newItem.Reason;
updateFireWork.FireLevel = newItem.FireLevel;
updateFireWork.SignatureUrl = newItem.SignatureUrl;
}
updateFireWork.States = newFireWork.States;
}
@ -1470,7 +1486,7 @@ namespace BLL
FireWatchManName=newItem.FireWatchManName,
WorkLeaderName=newItem.WorkLeaderName,
WorkLeaderTel=newItem.WorkLeaderTel,
SignatureUrl = newItem.SignatureUrl
};
if (newItem.States == Const.State_0)
@ -1528,6 +1544,7 @@ namespace BLL
updateHeightWork.FireWatchManName = newItem.FireWatchManName;
updateHeightWork.WorkLeaderName = newItem.WorkLeaderName;
updateHeightWork.WorkLeaderTel = newItem.WorkLeaderTel;
updateHeightWork.SignatureUrl = newItem.SignatureUrl;
}
updateHeightWork.States = newHeightWork.States;
}
@ -1565,7 +1582,8 @@ namespace BLL
TestResult=newItem.TestResult,
TestDate= Funs.GetNewDateTime(newItem.TestDate),
TestPerson=newItem.TestPerson,
VenStep=newItem.VenStep
VenStep=newItem.VenStep,
SignatureUrl=newItem.SignatureUrl
};
if (newItem.States == Const.State_0)
{
@ -1616,13 +1634,14 @@ namespace BLL
updateLimitedSpace.NextManId = newLimitedSpace.NextManId;
updateLimitedSpace.States = newLimitedSpace.States;
updateLimitedSpace.LimitedDescribe = newItem.LimitedDescribe;
updateLimitedSpace.IsBoolOther = newItem.IsBoolOther;
updateLimitedSpace.IsBoolHarmfulGas = newItem.IsBoolHarmfulGas;
updateLimitedSpace.TestResult = newItem.TestResult;
updateLimitedSpace.LimitedDescribe = newLimitedSpace.LimitedDescribe;
updateLimitedSpace.IsBoolOther = newLimitedSpace.IsBoolOther;
updateLimitedSpace.IsBoolHarmfulGas = newLimitedSpace.IsBoolHarmfulGas;
updateLimitedSpace.TestResult = newLimitedSpace.TestResult;
updateLimitedSpace.TestDate = Funs.GetNewDateTime(newItem.TestDate);
updateLimitedSpace.TestPerson = newItem.TestPerson;
updateLimitedSpace.VenStep = newItem.VenStep;
updateLimitedSpace.TestPerson = newLimitedSpace.TestPerson;
updateLimitedSpace.VenStep = newLimitedSpace.VenStep;
updateLimitedSpace.SignatureUrl = newLimitedSpace.SignatureUrl;
}
updateLimitedSpace.States = newLimitedSpace.States;
}
@ -1657,7 +1676,8 @@ namespace BLL
NextManId = newItem.NextManId,
States = newItem.States,
WorkAreaId=newItem.WorkAreaId
WorkAreaId = newItem.WorkAreaId,
SignatureUrl = newItem.SignatureUrl
};
if (newItem.States == Const.State_0)
{
@ -1710,7 +1730,8 @@ namespace BLL
updateRadialWork.WatchManContact = newRadialWork.WatchManContact;
updateRadialWork.NextManId = newRadialWork.NextManId;
updateRadialWork.States = newRadialWork.States;
updateRadialWork.WorkAreaId = newItem.WorkAreaId;
updateRadialWork.WorkAreaId = newRadialWork.WorkAreaId;
updateRadialWork.SignatureUrl = newRadialWork.SignatureUrl;
}
updateRadialWork.States = newRadialWork.States;
}
@ -1742,9 +1763,10 @@ namespace BLL
NextManId = newItem.NextManId,
States = newItem.States,
WorkAreaId=newItem.WorkAreaId,
Reason=newItem.Reason,
FireWatchManName=newItem.FireWatchManName,
WorkAreaId = newItem.WorkAreaId,
Reason = newItem.Reason,
FireWatchManName = newItem.FireWatchManName,
SignatureUrl = newItem.SignatureUrl
};
if (newItem.States == Const.State_0)
@ -1796,9 +1818,10 @@ namespace BLL
updateOpenCircuit.NextManId = newOpenCircuit.NextManId;
updateOpenCircuit.States = newOpenCircuit.States;
updateOpenCircuit.WorkAreaId = newItem.WorkAreaId;
updateOpenCircuit.Reason = newItem.Reason;
updateOpenCircuit.FireWatchManName = newItem.FireWatchManName;
updateOpenCircuit.WorkAreaId = newOpenCircuit.WorkAreaId;
updateOpenCircuit.Reason = newOpenCircuit.Reason;
updateOpenCircuit.FireWatchManName = newOpenCircuit.FireWatchManName;
updateOpenCircuit.SignatureUrl = newOpenCircuit.SignatureUrl;
}
updateOpenCircuit.States = newOpenCircuit.States;
}
@ -1829,9 +1852,10 @@ namespace BLL
NextManId = newItem.NextManId,
States = newItem.States,
WorkAreaId=newItem.WorkAreaId,
Reason=newItem.Reason,
FireWatchManName=newItem.FireWatchManName
WorkAreaId = newItem.WorkAreaId,
Reason = newItem.Reason,
FireWatchManName = newItem.FireWatchManName,
SignatureUrl = newItem.SignatureUrl
};
if (newItem.States == Const.State_0)
{
@ -1881,9 +1905,10 @@ namespace BLL
updateBreakGround.NextManId = newBreakGround.NextManId;
updateBreakGround.States = newBreakGround.States;
updateBreakGround.WorkAreaId = newItem.WorkAreaId;
updateBreakGround.Reason = newItem.Reason;
updateBreakGround.FireWatchManName = newItem.FireWatchManName;
updateBreakGround.WorkAreaId = newBreakGround.WorkAreaId;
updateBreakGround.Reason = newBreakGround.Reason;
updateBreakGround.FireWatchManName = newBreakGround.FireWatchManName;
updateBreakGround.SignatureUrl = newBreakGround.SignatureUrl;
}
updateBreakGround.States = newBreakGround.States;
}
@ -1916,6 +1941,7 @@ namespace BLL
CloseTime = Funs.GetNewDateTime(newItem.CloseTime),
NextManId = newItem.NextManId,
States = newItem.States,
SignatureUrl = newItem.SignatureUrl
};
if (newItem.States == Const.State_0)
{
@ -1967,6 +1993,7 @@ namespace BLL
updateNightWork.SafeLeaderTel = newItem.SafeLeaderTel;
updateNightWork.NextManId = newNightWork.NextManId;
updateNightWork.States = newNightWork.States;
updateNightWork.SignatureUrl = newItem.SignatureUrl;
}
updateNightWork.States = newNightWork.States;
}
@ -1998,13 +2025,16 @@ namespace BLL
NextManId = newItem.NextManId,
States = newItem.States,
WorkAreaId=newItem.WorkAreaId,
LiftingHeight=newItem.LiftingHeight,
FireWatchManName=newItem.FireWatchManName,
WorkLeaderName=newItem.WorkLeaderName,
WorkLeaderTel=newItem.WorkLeaderTel,
QzgName=newItem.QzgName,
QzgPhone=newItem.QzgPhone,
WorkAreaId = newItem.WorkAreaId,
LiftingHeight = newItem.LiftingHeight,
FireWatchManName = newItem.FireWatchManName,
WorkLeaderName = newItem.WorkLeaderName,
WorkLeaderTel = newItem.WorkLeaderTel,
QzgName = newItem.QzgName,
QzgPhone = newItem.QzgPhone,
SignatureUrl = newItem.SignatureUrl,
SjName=newItem.SjName,
SjPhone=newItem.SjPhone
};
if (newItem.States == Const.State_0)
@ -2056,13 +2086,16 @@ namespace BLL
updateLiftingWork.NextManId = newLiftingWork.NextManId;
updateLiftingWork.States = newLiftingWork.States;
updateLiftingWork.WorkAreaId = newItem.WorkAreaId;
updateLiftingWork.LiftingHeight = newItem.LiftingHeight;
updateLiftingWork.FireWatchManName = newItem.FireWatchManName;
updateLiftingWork.WorkLeaderName = newItem.WorkLeaderName;
updateLiftingWork.WorkLeaderTel = newItem.WorkLeaderTel;
updateLiftingWork.QzgName = newItem.QzgName;
updateLiftingWork.QzgPhone = newItem.QzgPhone;
updateLiftingWork.WorkAreaId = newLiftingWork.WorkAreaId;
updateLiftingWork.LiftingHeight = newLiftingWork.LiftingHeight;
updateLiftingWork.FireWatchManName = newLiftingWork.FireWatchManName;
updateLiftingWork.WorkLeaderName = newLiftingWork.WorkLeaderName;
updateLiftingWork.WorkLeaderTel = newLiftingWork.WorkLeaderTel;
updateLiftingWork.QzgName = newLiftingWork.QzgName;
updateLiftingWork.QzgPhone = newLiftingWork.QzgPhone;
updateLiftingWork.SignatureUrl = newLiftingWork.SignatureUrl;
updateLiftingWork.SjName = newLiftingWork.SjName;
updateLiftingWork.SjPhone = newLiftingWork.SjPhone;
}
updateLiftingWork.States = newLiftingWork.States;
}
@ -2098,7 +2131,8 @@ namespace BLL
Reason = newItem.Reason,
FireWatchManName = newItem.FireWatchManName,
WorkLeaderName= newItem.WorkLeaderName,
WorkLeaderTel = newItem.WorkLeaderTel
WorkLeaderTel = newItem.WorkLeaderTel,
SignatureUrl=newItem.SignatureUrl
};
if (newItem.States == Const.State_0)
{
@ -2148,12 +2182,12 @@ namespace BLL
updateElectricity.NextManId = newElectricity.NextManId;
updateElectricity.States = newElectricity.States;
updateElectricity.WorkAreaId = newItem.WorkAreaId;
updateElectricity.Reason = newItem.Reason;
updateElectricity.FireWatchManName = newItem.FireWatchManName;
updateElectricity.WorkLeaderName = newItem.WorkLeaderName;
updateElectricity.WorkLeaderTel = newItem.WorkLeaderTel;
updateElectricity.WorkAreaId = newElectricity.WorkAreaId;
updateElectricity.Reason = newElectricity.Reason;
updateElectricity.FireWatchManName = newElectricity.FireWatchManName;
updateElectricity.WorkLeaderName = newElectricity.WorkLeaderName;
updateElectricity.WorkLeaderTel = newElectricity.WorkLeaderTel;
updateElectricity.SignatureUrl = newElectricity.SignatureUrl;
}
updateElectricity.States = newElectricity.States;

View File

@ -35,15 +35,21 @@
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="申请人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkDepth" runat="server" Label="开挖深度" Readonly="true" LabelWidth="120px">
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtReason" runat="server" Label="动土作业原因" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
@ -70,13 +76,13 @@
HeaderText="序号" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="200px" ColumnID="SafetyMeasures" DataField="SafetyMeasures" FieldType="String"
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
HeaderText="动土作业安全措施" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认执行" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="确认" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="不适用" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
</Columns>
</f:Grid>
@ -105,121 +111,9 @@
</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="总包单位安全人员意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<f:Label ID="txtTime2" runat="server" Text="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</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 >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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="总包单位施工经理意见:">
<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>
</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>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">

View File

@ -46,9 +46,12 @@
{
this.lbLicenseCode.Text = getBreakGround.LicenseCode;
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getBreakGround.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getBreakGround.ApplyManId);
//this.txtApplyManName.Text = UserService.GetUserNameByUserId(getBreakGround.ApplyManId);
txtWorkAreaName.Text = UnitWorkService.GetUnitWorkName(getBreakGround.WorkAreaId);
this.txtWorkPalce.Text = getBreakGround.WorkPalce;
this.txtWorkDepth.Text = getBreakGround.WorkDepth;
//this.txtWorkDepth.Text = getBreakGround.WorkDepth;
txtFireWatchManName.Text = getBreakGround.FireWatchManName;
txtReason.Text = getBreakGround.Reason;
if (getBreakGround.ValidityStartTime.HasValue)
{
this.txtWorkDate.Text = getBreakGround.ValidityStartTime.Value.ToString("f") + " 至 ";
@ -112,96 +115,96 @@
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
this.txtForm2.Title = getF2.AuditFlowName + "";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
this.txtForm3.Title = getF3.AuditFlowName + "";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
this.txtForm4.Title = getF4.AuditFlowName + "";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
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);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
// this.txtForm2.Title = getF2.AuditFlowName + "";
// if (getF2.OperaterTime.HasValue)
// {
// if (getF2.IsAgree == true)
// {
// this.txtOpinion2.Text = "同意。";
// }
// else
// {
// this.txtOpinion2.Text = getF2.Opinion;
// }
// this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
// this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
// }
//}
//var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
//if (getF3 != null)
//{
// this.txtForm3.Title = getF3.AuditFlowName + "";
// if (getF3.OperaterTime.HasValue)
// {
// if (getF3.IsAgree == true)
// {
// this.txtOpinion3.Text = "同意。";
// }
// else
// {
// this.txtOpinion3.Text = getF3.Opinion;
// }
// this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
// this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
// }
//}
//var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
//if (getF4 != null)
//{
// this.txtForm4.Title = getF4.AuditFlowName + "";
// if (getF4.OperaterTime.HasValue)
// {
// if (getF4.IsAgree == true)
// {
// this.txtOpinion4.Text = "同意。";
// }
// else
// {
// this.txtOpinion4.Text = getF4.Opinion;
// }
// this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
// 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
@ -211,7 +214,7 @@
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '适用' ELSE '不适用' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '合格' ELSE '不合格' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
+ @" FROM License_LicenseItem AS L "
+ @" LEFT JOIN Sys_User AS U ON L.ConfirmManId =U.UserId"
+ @" WHERE L.DataId ='" + this.BreakGroundId +"'";

View File

@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.License {
public partial class BreakGroundView {
namespace FineUIPro.Web.HSSE.License
{
public partial class BreakGroundView
{
/// <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>
/// lbImageUrl 控件。
/// </summary>
@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbImageUrl;
/// <summary>
/// txtApplyUnit 控件。
/// </summary>
@ -65,16 +67,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// txtWorkAreaName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
protected global::FineUIPro.TextBox txtWorkAreaName;
/// <summary>
/// txtWorkPalce 控件。
/// </summary>
@ -83,16 +85,25 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkPalce;
/// <summary>
/// txtWorkDepth 控件。
/// txtFireWatchManName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDepth;
protected global::FineUIPro.TextBox txtFireWatchManName;
/// <summary>
/// txtReason 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtReason;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
@ -101,7 +112,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtForm1 控件。
/// </summary>
@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm1;
/// <summary>
/// txtOpinion1 控件。
/// </summary>
@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// </summary>
@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
/// <summary>
/// txtName1 控件。
/// </summary>
@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@ -164,232 +175,7 @@ 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>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <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>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <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>
/// Label5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </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 +184,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCance;
/// <summary>
/// txtClose 控件。
/// </summary>
@ -407,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClose;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@ -416,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// lbTemp 控件。
/// </summary>
@ -425,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbTemp;
/// <summary>
/// btnAttachUrl 控件。
/// </summary>
@ -434,7 +220,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@ -443,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>
@ -452,7 +238,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// WindowAtt 控件。
/// </summary>

View File

@ -36,33 +36,42 @@
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="申请人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtReason" runat="server" Label="作业原因" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkDate" runat="server" Label="有效期限" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容、机具及安全措施" Readonly="true" LabelWidth="120px">
<f:TextBox ID="txtReason" runat="server" Label="用电作业原因" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="检查措施" EnableCollapse="true"
<f:TextBox ID="txtWorkLeaderName" runat="server" Label="安装人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkDate" runat="server" Label="作业起止时间" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<%-- <f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容、机具及安全措施" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="临时用电作业安全措施" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="LicenseItemId" EnableColumnLines="true"
DataIDField="LicenseItemId" AllowSorting="true" SortField="SortIndex"
SortDirection="ASC" AllowPaging="false" >
@ -74,10 +83,10 @@
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认执行" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="确认" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="不适用" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
</Columns>
</f:Grid>
@ -106,121 +115,10 @@
</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="总包单位安全人员意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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 >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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="总包单位施工经理意见:">
<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>
</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>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">

View File

@ -46,7 +46,7 @@ namespace FineUIPro.Web.HSSE.License
{
this.lbLicenseCode.Text = getElectricity.LicenseCode;
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getElectricity.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getElectricity.ApplyManId);
//this.txtApplyManName.Text = UserService.GetUserNameByUserId(getElectricity.ApplyManId);
this.txtWorkPalce.Text = getElectricity.WorkPalce;
this.txtReason.Text = getElectricity.Reason;
if (getElectricity.ValidityStartTime.HasValue)
@ -57,7 +57,7 @@ namespace FineUIPro.Web.HSSE.License
this.txtWorkDate.Text += getElectricity.ValidityEndTime.Value.ToString("f");
}
}
this.txtWorkMeasures.Text = getElectricity.WorkMeasures;
//this.txtWorkMeasures.Text = getElectricity.WorkMeasures;
if (!string.IsNullOrEmpty(getElectricity.CancelManId))
{
this.txtCance.Text = UserService.GetUserNameByUserId(getElectricity.CancelManId) + ";取消时间:"
@ -76,6 +76,10 @@ namespace FineUIPro.Web.HSSE.License
+ string.Format("{0:yyyy-MM-dd HH:mm}", getElectricity.CloseTime) + "。";
}
}
txtWorkAreaName.Text = UnitWorkService.GetUnitWorkName(getElectricity.WorkAreaId);
txtWorkLeaderName.Text = getElectricity.WorkLeaderName;
txtFireWatchManName.Text = getElectricity.FireWatchManName;
}
}
// 绑定表格
@ -112,96 +116,96 @@ namespace FineUIPro.Web.HSSE.License
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
this.txtForm2.Title = getF2.AuditFlowName + "";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
this.txtForm3.Title = getF3.AuditFlowName + "";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
this.txtForm4.Title = getF4.AuditFlowName + "";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
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);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
// this.txtForm2.Title = getF2.AuditFlowName + "";
// if (getF2.OperaterTime.HasValue)
// {
// if (getF2.IsAgree == true)
// {
// this.txtOpinion2.Text = "同意。";
// }
// else
// {
// this.txtOpinion2.Text = getF2.Opinion;
// }
// this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
// this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
// }
//}
//var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
//if (getF3 != null)
//{
// this.txtForm3.Title = getF3.AuditFlowName + "";
// if (getF3.OperaterTime.HasValue)
// {
// if (getF3.IsAgree == true)
// {
// this.txtOpinion3.Text = "同意。";
// }
// else
// {
// this.txtOpinion3.Text = getF3.Opinion;
// }
// this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
// this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
// }
//}
//var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
//if (getF4 != null)
//{
// this.txtForm4.Title = getF4.AuditFlowName + "";
// if (getF4.OperaterTime.HasValue)
// {
// if (getF4.IsAgree == true)
// {
// this.txtOpinion4.Text = "同意。";
// }
// else
// {
// this.txtOpinion4.Text = getF4.Opinion;
// }
// this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
// 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

View File

@ -69,13 +69,13 @@ namespace FineUIPro.Web.HSSE.License
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// txtWorkAreaName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
protected global::FineUIPro.TextBox txtWorkAreaName;
/// <summary>
/// txtWorkPalce 控件。
@ -95,6 +95,24 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.TextBox txtReason;
/// <summary>
/// txtWorkLeaderName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkLeaderName;
/// <summary>
/// txtFireWatchManName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtFireWatchManName;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
@ -104,15 +122,6 @@ namespace FineUIPro.Web.HSSE.License
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -167,231 +176,6 @@ 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>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <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>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <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>
/// Label5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </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>

View File

@ -29,15 +29,23 @@
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="申请人" Readonly="true" LabelWidth="120px">
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtReason" runat="server" Label="动火原因" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监火人员" Readonly="true" LabelWidth="120px">
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtFireLevel" runat="server" Label="动火作业级别" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人员" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
@ -47,12 +55,12 @@
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<%-- <f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容、机具及安全措施" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="检查措施" EnableCollapse="true"
@ -64,13 +72,13 @@
HeaderText="序号" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="200px" ColumnID="SafetyMeasures" DataField="SafetyMeasures" FieldType="String"
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
HeaderText="动火作业安全措施" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认执行" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="确认" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="不适用" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
</Columns>
</f:Grid>
@ -99,121 +107,11 @@
</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="总包单位安全人员意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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 >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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="总包单位施工经理意见:">
<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>
</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>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">

View File

@ -46,7 +46,10 @@
{
this.lbLicenseCode.Text = getFireWork.LicenseCode;
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getFireWork.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getFireWork.ApplyManId);
//this.txtApplyManName.Text = UserService.GetUserNameByUserId(getFireWork.ApplyManId);
txtWorkAreaName.Text = UnitWorkService.GetUnitWorkName(getFireWork.WorkAreaId);
txtReason.Text = getFireWork.Reason;
txtFireLevel.Text = getFireWork.FireLevel;
this.txtWorkPalce.Text = getFireWork.WorkPalce;
string name = getFireWork.FireWatchManName;
if (string.IsNullOrEmpty(getFireWork.FireWatchManName))
@ -62,7 +65,7 @@
this.txtWorkDate.Text += getFireWork.ValidityEndTime.Value.ToString("f");
}
}
this.txtWorkMeasures.Text = getFireWork.WorkMeasures;
//this.txtWorkMeasures.Text = getFireWork.WorkMeasures;
if (!string.IsNullOrEmpty(getFireWork.CancelManId))
{
this.txtCance.Text = UserService.GetUserNameByUserId(getFireWork.CancelManId) + ";取消时间:"
@ -117,96 +120,96 @@
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
this.txtForm2.Title = getF2.AuditFlowName + "";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
this.txtForm3.Title = getF3.AuditFlowName + "";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
this.txtForm4.Title = getF4.AuditFlowName + "";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
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);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
// this.txtForm2.Title = getF2.AuditFlowName + "";
// if (getF2.OperaterTime.HasValue)
// {
// if (getF2.IsAgree == true)
// {
// this.txtOpinion2.Text = "同意。";
// }
// else
// {
// this.txtOpinion2.Text = getF2.Opinion;
// }
// this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
// this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
// }
//}
//var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
//if (getF3 != null)
//{
// this.txtForm3.Title = getF3.AuditFlowName + "";
// if (getF3.OperaterTime.HasValue)
// {
// if (getF3.IsAgree == true)
// {
// this.txtOpinion3.Text = "同意。";
// }
// else
// {
// this.txtOpinion3.Text = getF3.Opinion;
// }
// this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
// this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
// }
//}
//var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
//if (getF4 != null)
//{
// this.txtForm4.Title = getF4.AuditFlowName + "";
// if (getF4.OperaterTime.HasValue)
// {
// if (getF4.IsAgree == true)
// {
// this.txtOpinion4.Text = "同意。";
// }
// else
// {
// this.txtOpinion4.Text = getF4.Opinion;
// }
// this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
// 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
@ -216,7 +219,7 @@
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '适用' ELSE '不适用' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '合格' ELSE '不合格' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
+ @" FROM License_LicenseItem AS L "
+ @" LEFT JOIN Sys_User AS U ON L.ConfirmManId =U.UserId"
+ @" WHERE L.DataId ='" + this.FireWorkId +"'";

View File

@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.License {
public partial class FireWorkView {
namespace FineUIPro.Web.HSSE.License
{
public partial class FireWorkView
{
/// <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,16 +58,25 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// txtWorkAreaName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
protected global::FineUIPro.TextBox txtWorkAreaName;
/// <summary>
/// txtReason 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtReason;
/// <summary>
/// txtWorkPalce 控件。
/// </summary>
@ -74,7 +85,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkPalce;
/// <summary>
/// txtFireLevel 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtFireLevel;
/// <summary>
/// txtFireWatchManName 控件。
/// </summary>
@ -83,7 +103,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtFireWatchManName;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
@ -92,16 +112,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtForm1 控件。
/// </summary>
@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm1;
/// <summary>
/// txtOpinion1 控件。
/// </summary>
@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// </summary>
@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
/// <summary>
/// txtName1 控件。
/// </summary>
@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@ -155,232 +166,7 @@ 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>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <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>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <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>
/// Label5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </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>
@ -389,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCance;
/// <summary>
/// txtClose 控件。
/// </summary>
@ -398,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClose;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@ -407,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@ -416,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>

View File

@ -29,18 +29,35 @@
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="申请人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkType" runat="server" Label="作业类型" Readonly="true" LabelWidth="120px">
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkLeaderName" runat="server" Label="负责人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkHeight" runat="server" Label="作业点高度" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkType" runat="server" Label="作业类型" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkDate" runat="server" Label="有效期限" Readonly="true" LabelWidth="120px">
@ -49,8 +66,7 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容及安全措施" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
@ -70,13 +86,13 @@
HeaderText="序号" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="200px" ColumnID="SafetyMeasures" DataField="SafetyMeasures" FieldType="String"
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
HeaderText="高处作业安全措施" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认执行" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="确认" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="不适用" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
</Columns>
</f:Grid>
@ -105,121 +121,10 @@
</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="总包单位安全人员意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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 >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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="总包单位施工经理意见:">
<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>
</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>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">

View File

@ -46,9 +46,13 @@
{
this.lbLicenseCode.Text = getHeightWork.LicenseCode;
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getHeightWork.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getHeightWork.ApplyManId);
//this.txtApplyManName.Text = UserService.GetUserNameByUserId(getHeightWork.ApplyManId);
txtWorkAreaName.Text = UnitWorkService.GetUnitWorkName(getHeightWork.WorkAreaId);
this.txtWorkPalce.Text = getHeightWork.WorkPalce;
this.txtWorkType.Text = getHeightWork.WorkType;
txtWorkLeaderName.Text = getHeightWork.WorkLeaderName;
txtFireWatchManName.Text = getHeightWork.FireWatchManName;
txtWorkHeight.Text = getHeightWork.WorkHeight;
if (getHeightWork.ValidityStartTime.HasValue)
{
this.txtWorkDate.Text = getHeightWork.ValidityStartTime.Value.ToString("f") + " 至 ";
@ -113,96 +117,96 @@
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
this.txtForm2.Title = getF2.AuditFlowName + "";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
this.txtForm3.Title = getF3.AuditFlowName + "";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
this.txtForm4.Title = getF4.AuditFlowName + "";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
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);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
// this.txtForm2.Title = getF2.AuditFlowName + "";
// if (getF2.OperaterTime.HasValue)
// {
// if (getF2.IsAgree == true)
// {
// this.txtOpinion2.Text = "同意。";
// }
// else
// {
// this.txtOpinion2.Text = getF2.Opinion;
// }
// this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
// this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
// }
//}
//var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
//if (getF3 != null)
//{
// this.txtForm3.Title = getF3.AuditFlowName + "";
// if (getF3.OperaterTime.HasValue)
// {
// if (getF3.IsAgree == true)
// {
// this.txtOpinion3.Text = "同意。";
// }
// else
// {
// this.txtOpinion3.Text = getF3.Opinion;
// }
// this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
// this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
// }
//}
//var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
//if (getF4 != null)
//{
// this.txtForm4.Title = getF4.AuditFlowName + "";
// if (getF4.OperaterTime.HasValue)
// {
// if (getF4.IsAgree == true)
// {
// this.txtOpinion4.Text = "同意。";
// }
// else
// {
// this.txtOpinion4.Text = getF4.Opinion;
// }
// this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
// 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
@ -212,7 +216,7 @@
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '适用' ELSE '不适用' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '合格' ELSE '不合格' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
+ @" FROM License_LicenseItem AS L "
+ @" LEFT JOIN Sys_User AS U ON L.ConfirmManId =U.UserId"
+ @" WHERE L.DataId ='" + this.HeightWorkId +"'";

View File

@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.License {
public partial class HeightWorkView {
namespace FineUIPro.Web.HSSE.License
{
public partial class HeightWorkView
{
/// <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,16 +58,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// txtWorkAreaName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
protected global::FineUIPro.TextBox txtWorkAreaName;
/// <summary>
/// txtWorkPalce 控件。
/// </summary>
@ -74,25 +76,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkPalce;
/// <summary>
/// txtWorkType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkType;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
@ -101,7 +85,52 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// txtWorkLeaderName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkLeaderName;
/// <summary>
/// txtFireWatchManName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtFireWatchManName;
/// <summary>
/// txtWorkHeight 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkHeight;
/// <summary>
/// txtWorkType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkType;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// txtEquipmentTools 控件。
/// </summary>
@ -110,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtEquipmentTools;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -119,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtForm1 控件。
/// </summary>
@ -128,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm1;
/// <summary>
/// txtOpinion1 控件。
/// </summary>
@ -137,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// </summary>
@ -146,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
/// <summary>
/// txtName1 控件。
/// </summary>
@ -155,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@ -164,232 +193,7 @@ 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>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <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>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <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>
/// Label5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </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 +202,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCance;
/// <summary>
/// txtClose 控件。
/// </summary>
@ -407,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClose;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@ -416,7 +220,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@ -425,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>

View File

@ -29,14 +29,36 @@
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="申请人" Readonly="true" LabelWidth="120px">
<f:TextBox ID="txtSjName" runat="server" Label="吊车司机" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtQzgName" runat="server" Label="起重工" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点" Readonly="true" LabelWidth="120px">
<f:TextBox ID="txtWorkLeaderName" runat="server" Label="作业负责人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCraneCapacity" runat="server" Label="设备参数(重量、规格)" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtLiftingHeight" runat="server" Label="吊装高度" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkLevel" runat="server" Label="级别" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
@ -47,21 +69,11 @@
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCraneCapacity" runat="server" Label="起重机能力及索具规格" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="检查措施" EnableCollapse="true"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="起重吊装作业安全措施" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="LicenseItemId" EnableColumnLines="true"
DataIDField="LicenseItemId" AllowSorting="true" SortField="SortIndex"
SortDirection="ASC" AllowPaging="false" >
@ -73,10 +85,10 @@
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认执行" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="确认" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="不适用" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
</Columns>
</f:Grid>
@ -105,121 +117,11 @@
</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="总包单位安全人员意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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 >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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="总包单位施工经理意见:">
<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>
</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>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">

View File

@ -46,8 +46,8 @@
{
this.lbLicenseCode.Text = getLiftingWork.LicenseCode;
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getLiftingWork.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getLiftingWork.ApplyManId);
this.txtWorkPalce.Text = getLiftingWork.WorkPalce;
//this.txtApplyManName.Text = UserService.GetUserNameByUserId(getLiftingWork.ApplyManId);
//this.txtWorkPalce.Text = getLiftingWork.WorkPalce;
this.txtWorkLevel.Text = getLiftingWork.WorkLevel;
if (getLiftingWork.ValidityStartTime.HasValue)
{
@ -77,6 +77,12 @@
+ string.Format("{0:yyyy-MM-dd HH:mm}", getLiftingWork.CloseTime) + "。";
}
}
txtLiftingHeight.Text = getLiftingWork.LiftingHeight;
txtFireWatchManName.Text = getLiftingWork.FireWatchManName;
txtWorkLeaderName.Text = getLiftingWork.WorkLeaderName;
txtQzgName.Text = getLiftingWork.QzgName;
txtSjName.Text = getLiftingWork.SjName;
}
}
// 绑定表格
@ -113,96 +119,96 @@
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
this.txtForm2.Title = getF2.AuditFlowName + "";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
this.txtForm3.Title = getF3.AuditFlowName + "";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
this.txtForm4.Title = getF4.AuditFlowName + "";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
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);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
// this.txtForm2.Title = getF2.AuditFlowName + "";
// if (getF2.OperaterTime.HasValue)
// {
// if (getF2.IsAgree == true)
// {
// this.txtOpinion2.Text = "同意。";
// }
// else
// {
// this.txtOpinion2.Text = getF2.Opinion;
// }
// this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
// this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
// }
//}
//var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
//if (getF3 != null)
//{
// this.txtForm3.Title = getF3.AuditFlowName + "";
// if (getF3.OperaterTime.HasValue)
// {
// if (getF3.IsAgree == true)
// {
// this.txtOpinion3.Text = "同意。";
// }
// else
// {
// this.txtOpinion3.Text = getF3.Opinion;
// }
// this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
// this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
// }
//}
//var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
//if (getF4 != null)
//{
// this.txtForm4.Title = getF4.AuditFlowName + "";
// if (getF4.OperaterTime.HasValue)
// {
// if (getF4.IsAgree == true)
// {
// this.txtOpinion4.Text = "同意。";
// }
// else
// {
// this.txtOpinion4.Text = getF4.Opinion;
// }
// this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
// 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
@ -212,7 +218,7 @@
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '适用' ELSE '不适用' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '合格' ELSE '不合格' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
+ @" FROM License_LicenseItem AS L "
+ @" LEFT JOIN Sys_User AS U ON L.ConfirmManId =U.UserId"
+ @" WHERE L.DataId ='" + this.LiftingWorkId +"'";

View File

@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.License {
public partial class LiftingWorkView {
namespace FineUIPro.Web.HSSE.License
{
public partial class LiftingWorkView
{
/// <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,43 +58,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// txtSjName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
/// <summary>
/// txtWorkPalce 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkPalce;
/// <summary>
/// txtWorkLevel 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkLevel;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
protected global::FineUIPro.TextBox txtSjName;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
@ -101,7 +76,34 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// txtQzgName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtQzgName;
/// <summary>
/// txtWorkLeaderName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkLeaderName;
/// <summary>
/// txtFireWatchManName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtFireWatchManName;
/// <summary>
/// txtCraneCapacity 控件。
/// </summary>
@ -110,7 +112,34 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCraneCapacity;
/// <summary>
/// txtLiftingHeight 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtLiftingHeight;
/// <summary>
/// txtWorkLevel 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkLevel;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -119,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtForm1 控件。
/// </summary>
@ -128,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm1;
/// <summary>
/// txtOpinion1 控件。
/// </summary>
@ -137,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// </summary>
@ -146,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
/// <summary>
/// txtName1 控件。
/// </summary>
@ -155,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@ -164,232 +193,7 @@ 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>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <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>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <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>
/// Label5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </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 +202,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCance;
/// <summary>
/// txtClose 控件。
/// </summary>
@ -407,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClose;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@ -416,7 +220,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@ -425,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>

View File

@ -29,8 +29,8 @@
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="申请人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
@ -52,10 +52,44 @@
<f:TextBox ID="txtWorkDate" runat="server" Label="作业时间" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtLimitedDescribe" runat="server" Label="空间内介质描述" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtIsBoolOther" runat="server" Label="是否存在其他介质" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtIsBoolHarmfulGas" runat="server" Label="作业是否耗氧或产生其它有毒有害气体" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtTestResult" runat="server" Label="氧含量测试结果" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtTestDate" runat="server" Label="测试时间" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtTestPerson" runat="server" Label="测试人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtVenStep" runat="server" Label="通风措施" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="检查措施" EnableCollapse="true"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="受限空间作业安全措施" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="LicenseItemId" EnableColumnLines="true"
DataIDField="LicenseItemId" AllowSorting="true" SortField="SortIndex"
SortDirection="ASC" AllowPaging="false" >
@ -67,10 +101,10 @@
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认执行" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="确认" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="不适用" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
</Columns>
</f:Grid>
@ -99,121 +133,11 @@
</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="总包单位安全人员意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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 >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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="总包单位施工经理意见:">
<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>
</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>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">

View File

@ -46,8 +46,11 @@
{
this.lbLicenseCode.Text = getLimitedSpace.LicenseCode;
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getLimitedSpace.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getLimitedSpace.ApplyManId);
//this.txtApplyManName.Text = UserService.GetUserNameByUserId(getLimitedSpace.ApplyManId);
this.txtWorkPalce.Text = getLimitedSpace.WorkPalce;
txtWorkAreaName.Text = UnitWorkService.GetUnitWorkName(getLimitedSpace.WorkAreaId);
txtFireWatchManName.Text = getLimitedSpace.FireWatchManName;
txtLimitedDescribe.Text = getLimitedSpace.LimitedDescribe;
string name = getLimitedSpace.FireWatchManName;
if (string.IsNullOrEmpty(getLimitedSpace.FireWatchManName))
{
@ -63,6 +66,27 @@
}
}
this.txtWorkMeasures.Text = getLimitedSpace.WorkMeasures;
if (getLimitedSpace.IsBoolOther == true)
{
txtIsBoolOther.Text = "是";
}
else {
txtIsBoolOther.Text = "否";
}
if (getLimitedSpace.IsBoolHarmfulGas == true)
{
txtIsBoolHarmfulGas.Text = "是";
}
else
{
txtIsBoolHarmfulGas.Text = "否";
}
txtTestResult.Text = getLimitedSpace.TestResult;
txtTestDate.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getLimitedSpace.TestDate);
txtTestPerson.Text = getLimitedSpace.TestPerson;
txtVenStep.Text = getLimitedSpace.VenStep;
if (!string.IsNullOrEmpty(getLimitedSpace.CancelManId))
{
this.txtCance.Text = UserService.GetUserNameByUserId(getLimitedSpace.CancelManId) + ";取消时间:"
@ -81,6 +105,8 @@
+ string.Format("{0:yyyy-MM-dd HH:mm}", getLimitedSpace.CloseTime) + "。";
}
}
}
}
// 绑定表格
@ -117,96 +143,96 @@
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
this.txtForm2.Title = getF2.AuditFlowName + "";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
this.txtForm3.Title = getF3.AuditFlowName + "";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
this.txtForm4.Title = getF4.AuditFlowName + "";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
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);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
// this.txtForm2.Title = getF2.AuditFlowName + "";
// if (getF2.OperaterTime.HasValue)
// {
// if (getF2.IsAgree == true)
// {
// this.txtOpinion2.Text = "同意。";
// }
// else
// {
// this.txtOpinion2.Text = getF2.Opinion;
// }
// this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
// this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
// }
//}
//var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
//if (getF3 != null)
//{
// this.txtForm3.Title = getF3.AuditFlowName + "";
// if (getF3.OperaterTime.HasValue)
// {
// if (getF3.IsAgree == true)
// {
// this.txtOpinion3.Text = "同意。";
// }
// else
// {
// this.txtOpinion3.Text = getF3.Opinion;
// }
// this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
// this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
// }
//}
//var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
//if (getF4 != null)
//{
// this.txtForm4.Title = getF4.AuditFlowName + "";
// if (getF4.OperaterTime.HasValue)
// {
// if (getF4.IsAgree == true)
// {
// this.txtOpinion4.Text = "同意。";
// }
// else
// {
// this.txtOpinion4.Text = getF4.Opinion;
// }
// this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
// 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
@ -216,7 +242,7 @@
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '适用' ELSE '不适用' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '合格' ELSE '不合格' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
+ @" FROM License_LicenseItem AS L "
+ @" LEFT JOIN Sys_User AS U ON L.ConfirmManId =U.UserId"
+ @" WHERE L.DataId ='" + this.LimitedSpaceId +"'";

View File

@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.License {
public partial class LimitedSpaceView {
namespace FineUIPro.Web.HSSE.License
{
public partial class LimitedSpaceView
{
/// <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,16 +58,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// txtWorkAreaName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
protected global::FineUIPro.TextBox txtWorkAreaName;
/// <summary>
/// txtWorkPalce 控件。
/// </summary>
@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkPalce;
/// <summary>
/// txtFireWatchManName 控件。
/// </summary>
@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtFireWatchManName;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
@ -101,7 +103,70 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// txtLimitedDescribe 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtLimitedDescribe;
/// <summary>
/// txtIsBoolOther 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtIsBoolOther;
/// <summary>
/// txtIsBoolHarmfulGas 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtIsBoolHarmfulGas;
/// <summary>
/// txtTestResult 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTestResult;
/// <summary>
/// txtTestDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTestDate;
/// <summary>
/// txtTestPerson 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTestPerson;
/// <summary>
/// txtVenStep 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtVenStep;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -110,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtForm1 控件。
/// </summary>
@ -119,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm1;
/// <summary>
/// txtOpinion1 控件。
/// </summary>
@ -128,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// </summary>
@ -137,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
/// <summary>
/// txtName1 控件。
/// </summary>
@ -146,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@ -155,232 +220,7 @@ 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>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <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>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <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>
/// Label5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </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>
@ -389,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCance;
/// <summary>
/// txtClose 控件。
/// </summary>
@ -398,7 +238,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClose;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@ -407,7 +247,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// lbTemp 控件。
/// </summary>
@ -416,7 +256,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbTemp;
/// <summary>
/// btnAttachUrl 控件。
/// </summary>
@ -425,7 +265,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@ -434,7 +274,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>
@ -443,7 +283,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// WindowAtt 控件。
/// </summary>

View File

@ -29,39 +29,40 @@
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="申请人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容" Readonly="true" LabelWidth="120px">
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtReason" runat="server" Label="断路作业原因" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkDate" runat="server" Label="有效期限" Readonly="true" LabelWidth="120px">
<f:TextBox ID="txtWorkDate" runat="server" Label="作业起止时间" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtRoadName" runat="server" Label="占用道路名称" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<%-- <f:FormRow>
<Items>
<f:TextBox ID="txtSafeMeasures" runat="server" Label="安全措施及使用的工机具说明" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="检查措施" EnableCollapse="true"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="断路作业安全措施" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="LicenseItemId" EnableColumnLines="true"
DataIDField="LicenseItemId" AllowSorting="true" SortField="SortIndex"
SortDirection="ASC" AllowPaging="false" >
@ -73,10 +74,10 @@
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认执行" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="确认" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="不适用" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
</Columns>
</f:Grid>
@ -105,121 +106,10 @@
</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="总包单位安全人员意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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 >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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="总包单位施工经理意见:">
<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>
</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>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">

View File

@ -46,7 +46,7 @@
{
this.lbLicenseCode.Text = getOpenCircuit.LicenseCode;
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getOpenCircuit.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getOpenCircuit.ApplyManId);
//this.txtApplyManName.Text = UserService.GetUserNameByUserId(getOpenCircuit.ApplyManId);
this.txtWorkPalce.Text = getOpenCircuit.WorkPalce;
if (getOpenCircuit.ValidityStartTime.HasValue)
@ -57,9 +57,9 @@
this.txtWorkDate.Text += getOpenCircuit.ValidityEndTime.Value.ToString("f");
}
}
this.txtRoadName.Text = getOpenCircuit.RoadName;
this.txtSafeMeasures.Text = getOpenCircuit.SafeMeasures;
this.txtWorkMeasures.Text = getOpenCircuit.WorkMeasures;
//this.txtRoadName.Text = getOpenCircuit.RoadName;
//this.txtSafeMeasures.Text = getOpenCircuit.SafeMeasures;
//this.txtWorkMeasures.Text = getOpenCircuit.WorkMeasures;
if (!string.IsNullOrEmpty(getOpenCircuit.CancelManId))
{
this.txtCance.Text = UserService.GetUserNameByUserId(getOpenCircuit.CancelManId) + ";取消时间:"
@ -78,6 +78,11 @@
+ string.Format("{0:yyyy-MM-dd HH:mm}", getOpenCircuit.CloseTime) + "。";
}
}
txtWorkAreaName.Text = UnitWorkService.GetUnitWorkName(getOpenCircuit.WorkAreaId);
txtFireWatchManName.Text = getOpenCircuit.FireWatchManName;
txtReason.Text = getOpenCircuit.Reason;
}
}
// 绑定表格
@ -114,96 +119,96 @@
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
this.txtForm2.Title = getF2.AuditFlowName + "";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
this.txtForm3.Title = getF3.AuditFlowName + "";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
this.txtForm4.Title = getF4.AuditFlowName + "";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
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);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
// this.txtForm2.Title = getF2.AuditFlowName + "";
// if (getF2.OperaterTime.HasValue)
// {
// if (getF2.IsAgree == true)
// {
// this.txtOpinion2.Text = "同意。";
// }
// else
// {
// this.txtOpinion2.Text = getF2.Opinion;
// }
// this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
// this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
// }
//}
//var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
//if (getF3 != null)
//{
// this.txtForm3.Title = getF3.AuditFlowName + "";
// if (getF3.OperaterTime.HasValue)
// {
// if (getF3.IsAgree == true)
// {
// this.txtOpinion3.Text = "同意。";
// }
// else
// {
// this.txtOpinion3.Text = getF3.Opinion;
// }
// this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
// this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
// }
//}
//var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
//if (getF4 != null)
//{
// this.txtForm4.Title = getF4.AuditFlowName + "";
// if (getF4.OperaterTime.HasValue)
// {
// if (getF4.IsAgree == true)
// {
// this.txtOpinion4.Text = "同意。";
// }
// else
// {
// this.txtOpinion4.Text = getF4.Opinion;
// }
// this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
// 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
@ -213,7 +218,7 @@
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '适用' ELSE '不适用' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '合格' ELSE '不合格' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
+ @" FROM License_LicenseItem AS L "
+ @" LEFT JOIN Sys_User AS U ON L.ConfirmManId =U.UserId"
+ @" WHERE L.DataId ='" + this.OpenCircuitId +"'";

View File

@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.License {
public partial class OpenCircuitView {
namespace FineUIPro.Web.HSSE.License
{
public partial class OpenCircuitView
{
/// <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,16 +58,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// txtWorkAreaName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
protected global::FineUIPro.TextBox txtWorkAreaName;
/// <summary>
/// txtWorkPalce 控件。
/// </summary>
@ -74,16 +76,25 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkPalce;
/// <summary>
/// txtWorkMeasures 控件。
/// txtFireWatchManName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
protected global::FineUIPro.TextBox txtFireWatchManName;
/// <summary>
/// txtReason 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtReason;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
@ -92,25 +103,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// txtRoadName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtRoadName;
/// <summary>
/// txtSafeMeasures 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSafeMeasures;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -119,7 +112,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtForm1 控件。
/// </summary>
@ -128,7 +121,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm1;
/// <summary>
/// txtOpinion1 控件。
/// </summary>
@ -137,7 +130,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// </summary>
@ -146,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
/// <summary>
/// txtName1 控件。
/// </summary>
@ -155,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@ -164,232 +157,7 @@ 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>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <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>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <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>
/// Label5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </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 +166,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCance;
/// <summary>
/// txtClose 控件。
/// </summary>
@ -407,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClose;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@ -416,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@ -425,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>

View File

@ -29,10 +29,19 @@
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="140px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="申请人" Readonly="true" LabelWidth="140px">
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点(附影响区域平面图)" Readonly="true" LabelWidth="140px">
</f:TextBox>
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人姓名" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtRadialType" runat="server" Label="射线类型" Readonly="true" LabelWidth="140px">
@ -41,35 +50,32 @@
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWatchManContact" runat="server" Label="联系方式" Readonly="true" LabelWidth="140px">
</f:TextBox>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="安全距离" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkDate" runat="server" Label="作业时间" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点(附影响区域平面图)" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<%-- <f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="安全距离及受影响区域/单位" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人姓名" Readonly="true" LabelWidth="140px">
</f:TextBox>
<f:TextBox ID="txtWatchManContact" runat="server" Label="联系方式" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="检查措施" EnableCollapse="true"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="射线作业安全措施" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="LicenseItemId" EnableColumnLines="true"
DataIDField="LicenseItemId" AllowSorting="true" SortField="SortIndex"
SortDirection="ASC" AllowPaging="false" >
@ -81,10 +87,10 @@
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认执行" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="确认" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="不适用" HeaderTextAlign="Center" TextAlign="Left" >
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
</Columns>
</f:Grid>
@ -113,121 +119,10 @@
</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="总包单位安全人员意见:">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label ID="Label1" runat="server" >
</f:Label>
<f:Label ID="txtName2" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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 >
<Items>
<f:Label ID="Label2" runat="server" >
</f:Label>
<f:Label ID="txtName3" runat="server" Label="签字" LabelWidth="60px">
</f:Label>
<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="总包单位施工经理意见:">
<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>
</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>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">

View File

@ -46,12 +46,13 @@
{
this.lbLicenseCode.Text = getRadialWork.LicenseCode;
this.txtApplyUnit.Text = UnitService.GetUnitNameByUnitId(getRadialWork.ApplyUnitId);
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getRadialWork.ApplyManId);
//this.txtApplyManName.Text = UserService.GetUserNameByUserId(getRadialWork.ApplyManId);
this.txtRadialType.Text = getRadialWork.RadialType;
this.txtWorkLeader.Text = UserService.GetUserNameByUserId(getRadialWork.WorkLeaderId) + "/" + getRadialWork.WorkLeaderTel;
this.txtWorkPalce.Text = getRadialWork.WorkPalce;
this.txtFireWatchManName.Text = UserService.GetUserNameByUserId(getRadialWork.FireWatchManId);
this.txtWatchManContact.Text = getRadialWork.WatchManContact;
txtWorkAreaName.Text = UnitWorkService.GetUnitWorkName(getRadialWork.WorkAreaId);
if (getRadialWork.ValidityStartTime.HasValue)
{
this.txtWorkDate.Text = getRadialWork.ValidityStartTime.Value.ToString("f") + " 至 ";
@ -115,96 +116,96 @@
this.txtTime1.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF1.OperaterTime);
}
}
var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
if (getF2 != null)
{
this.txtForm2.Title = getF2.AuditFlowName + "";
if (getF2.OperaterTime.HasValue)
{
if (getF2.IsAgree == true)
{
this.txtOpinion2.Text = "同意。";
}
else
{
this.txtOpinion2.Text = getF2.Opinion;
}
this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
}
}
var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
if (getF3 != null)
{
this.txtForm3.Title = getF3.AuditFlowName + "";
if (getF3.OperaterTime.HasValue)
{
if (getF3.IsAgree == true)
{
this.txtOpinion3.Text = "同意。";
}
else
{
this.txtOpinion3.Text = getF3.Opinion;
}
this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
}
}
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
if (getF4 != null)
{
this.txtForm4.Title = getF4.AuditFlowName + "";
if (getF4.OperaterTime.HasValue)
{
if (getF4.IsAgree == true)
{
this.txtOpinion4.Text = "同意。";
}
else
{
this.txtOpinion4.Text = getF4.Opinion;
}
this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
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);
}
}
//var getF2 = getFlows.FirstOrDefault(x => x.SortIndex == 2);
//if (getF2 != null)
//{
// this.txtForm2.Title = getF2.AuditFlowName + "";
// if (getF2.OperaterTime.HasValue)
// {
// if (getF2.IsAgree == true)
// {
// this.txtOpinion2.Text = "同意。";
// }
// else
// {
// this.txtOpinion2.Text = getF2.Opinion;
// }
// this.txtName2.Text = UserService.GetUserNameByUserId(getF2.OperaterId);
// this.txtTime2.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF2.OperaterTime);
// }
//}
//var getF3 = getFlows.FirstOrDefault(x => x.SortIndex == 3);
//if (getF3 != null)
//{
// this.txtForm3.Title = getF3.AuditFlowName + "";
// if (getF3.OperaterTime.HasValue)
// {
// if (getF3.IsAgree == true)
// {
// this.txtOpinion3.Text = "同意。";
// }
// else
// {
// this.txtOpinion3.Text = getF3.Opinion;
// }
// this.txtName3.Text = UserService.GetUserNameByUserId(getF3.OperaterId);
// this.txtTime3.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF3.OperaterTime);
// }
//}
//var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
//if (getF4 != null)
//{
// this.txtForm4.Title = getF4.AuditFlowName + "";
// if (getF4.OperaterTime.HasValue)
// {
// if (getF4.IsAgree == true)
// {
// this.txtOpinion4.Text = "同意。";
// }
// else
// {
// this.txtOpinion4.Text = getF4.Opinion;
// }
// this.txtName4.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
// 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
@ -214,7 +215,7 @@
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '适用' ELSE '不适用' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
string strSql = @"SELECT LicenseItemId,DataId,SortIndex,SafetyMeasures,(CASE WHEN IsUsed = 1 THEN '合格' ELSE '不合格' END) AS NoUsedName,ConfirmManId,U.UserName AS ConfirmManName"
+ @" FROM License_LicenseItem AS L "
+ @" LEFT JOIN Sys_User AS U ON L.ConfirmManId =U.UserId"
+ @" WHERE L.DataId ='" + this.RadialWorkId +"'";

View File

@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.License {
public partial class RadialWorkView {
namespace FineUIPro.Web.HSSE.License
{
public partial class RadialWorkView
{
/// <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,43 +58,16 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyUnit;
/// <summary>
/// txtApplyManName 控件。
/// txtWorkAreaName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApplyManName;
/// <summary>
/// txtRadialType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtRadialType;
/// <summary>
/// txtWorkLeader 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkLeader;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
protected global::FineUIPro.TextBox txtWorkAreaName;
/// <summary>
/// txtWorkPalce 控件。
/// </summary>
@ -101,16 +76,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkPalce;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// txtFireWatchManName 控件。
/// </summary>
@ -119,7 +85,25 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtFireWatchManName;
/// <summary>
/// txtRadialType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtRadialType;
/// <summary>
/// txtWorkLeader 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkLeader;
/// <summary>
/// txtWatchManContact 控件。
/// </summary>
@ -128,7 +112,25 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWatchManContact;
/// <summary>
/// txtWorkMeasures 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkMeasures;
/// <summary>
/// txtWorkDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkDate;
/// <summary>
/// Grid1 控件。
/// </summary>
@ -137,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtForm1 控件。
/// </summary>
@ -146,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form txtForm1;
/// <summary>
/// txtOpinion1 控件。
/// </summary>
@ -155,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinion1;
/// <summary>
/// Label6 控件。
/// </summary>
@ -164,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label6;
/// <summary>
/// txtName1 控件。
/// </summary>
@ -173,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName1;
/// <summary>
/// txtTime1 控件。
/// </summary>
@ -182,232 +184,7 @@ 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>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtName2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName2;
/// <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>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// txtName3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName3;
/// <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>
/// Label5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label5;
/// <summary>
/// txtName4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtName4;
/// <summary>
/// txtTime4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </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>
@ -416,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCance;
/// <summary>
/// txtClose 控件。
/// </summary>
@ -425,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClose;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@ -434,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// lbTemp 控件。
/// </summary>
@ -443,7 +220,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbTemp;
/// <summary>
/// btnAttachUrl 控件。
/// </summary>
@ -452,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@ -461,7 +238,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>
@ -470,7 +247,7 @@ namespace FineUIPro.Web.HSSE.License {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// WindowAtt 控件。
/// </summary>

View File

@ -498,5 +498,24 @@ namespace Model
/// 起重工电话
/// </summary>
public string QzgPhone { get; set; }
/// <summary>
/// 司机姓名
/// </summary>
public string SjName { get; set; }
/// <summary>
/// 司机电话
/// </summary>
public string SjPhone { get; set; }
/// <summary>
/// 申请人签名
/// </summary>
public string SignatureUrl
{
get;
set;
}
}
}

View File

@ -206277,6 +206277,8 @@ namespace Model
private string _FireWatchManName;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -206337,6 +206339,8 @@ namespace Model
partial void OnReasonChanged();
partial void OnFireWatchManNameChanging(string value);
partial void OnFireWatchManNameChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_BreakGround()
@ -206829,6 +206833,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_BreakGround_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -207076,6 +207100,8 @@ namespace Model
private string _WorkLeaderTel;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -207140,6 +207166,8 @@ namespace Model
partial void OnWorkLeaderNameChanged();
partial void OnWorkLeaderTelChanging(string value);
partial void OnWorkLeaderTelChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_Electricity()
@ -207672,6 +207700,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_Electricity_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -208383,6 +208431,8 @@ namespace Model
private string _FireLevel;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -208447,6 +208497,8 @@ namespace Model
partial void OnReasonChanged();
partial void OnFireLevelChanging(string value);
partial void OnFireLevelChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_FireWork()
@ -208964,6 +209016,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_FireWork_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -209980,6 +210052,8 @@ namespace Model
private string _WorkLeaderTel;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -210048,6 +210122,8 @@ namespace Model
partial void OnWorkLeaderNameChanged();
partial void OnWorkLeaderTelChanging(string value);
partial void OnWorkLeaderTelChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_HeightWork()
@ -210620,6 +210696,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_HeightWork_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -212244,6 +212340,12 @@ namespace Model
private string _QzgPhone;
private string _SjName;
private string _SjPhone;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -212314,6 +212416,12 @@ namespace Model
partial void OnQzgNameChanged();
partial void OnQzgPhoneChanging(string value);
partial void OnQzgPhoneChanged();
partial void OnSjNameChanging(string value);
partial void OnSjNameChanged();
partial void OnSjPhoneChanging(string value);
partial void OnSjPhoneChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_LiftingWork()
@ -212906,6 +213014,66 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SjName", DbType="NVarChar(50)")]
public string SjName
{
get
{
return this._SjName;
}
set
{
if ((this._SjName != value))
{
this.OnSjNameChanging(value);
this.SendPropertyChanging();
this._SjName = value;
this.SendPropertyChanged("SjName");
this.OnSjNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SjPhone", DbType="NVarChar(100)")]
public string SjPhone
{
get
{
return this._SjPhone;
}
set
{
if ((this._SjPhone != value))
{
this.OnSjPhoneChanging(value);
this.SendPropertyChanging();
this._SjPhone = value;
this.SendPropertyChanged("SjPhone");
this.OnSjPhoneChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_LiftingWork_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -213161,6 +213329,8 @@ namespace Model
private string _VenStep;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -213235,6 +213405,8 @@ namespace Model
partial void OnTestPersonChanged();
partial void OnVenStepChanging(string value);
partial void OnVenStepChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_LimitedSpace()
@ -213852,6 +214024,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_LimitedSpace_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -214129,6 +214321,8 @@ namespace Model
private string _OldLicenseId;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -214193,6 +214387,8 @@ namespace Model
partial void OnNextManIdChanged();
partial void OnOldLicenseIdChanging(string value);
partial void OnOldLicenseIdChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_NightWork()
@ -214695,6 +214891,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_NightWork_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -215008,6 +215224,8 @@ namespace Model
private string _FireWatchManName;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -215070,6 +215288,8 @@ namespace Model
partial void OnReasonChanged();
partial void OnFireWatchManNameChanging(string value);
partial void OnFireWatchManNameChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_OpenCircuit()
@ -215582,6 +215802,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_OpenCircuit_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -215829,6 +216069,8 @@ namespace Model
private string _WorkAreaId;
private string _SignatureUrl;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@ -215897,6 +216139,8 @@ namespace Model
partial void OnOldLicenseIdChanged();
partial void OnWorkAreaIdChanging(string value);
partial void OnWorkAreaIdChanged();
partial void OnSignatureUrlChanging(string value);
partial void OnSignatureUrlChanged();
#endregion
public License_RadialWork()
@ -216439,6 +216683,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")]
public string SignatureUrl
{
get
{
return this._SignatureUrl;
}
set
{
if ((this._SignatureUrl != value))
{
this.OnSignatureUrlChanging(value);
this.SendPropertyChanging();
this._SignatureUrl = value;
this.SendPropertyChanged("SignatureUrl");
this.OnSignatureUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_RadialWork_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{