From 2a4772c9218c6c516b3716ab9e1b9e62cc907e5e Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Wed, 13 Sep 2023 08:31:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=9C=E4=B8=9A=E8=AE=B8?= =?UTF-8?q?=E5=8F=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DataBase/版本日志/SGGLDB_WH_2023-09-12.sql | 34 ++ SGGL/BLL/API/HSSE/APILicenseDataService.cs | 142 ++++--- .../HSSE/License/BreakGroundView.aspx | 134 +------ .../HSSE/License/BreakGroundView.aspx.cs | 189 ++++----- .../License/BreakGroundView.aspx.designer.cs | 302 +++------------ .../HSSE/License/ElectricityView.aspx | 160 ++------ .../HSSE/License/ElectricityView.aspx.cs | 188 ++++----- .../License/ElectricityView.aspx.designer.cs | 256 +------------ .../HSSE/License/FireWorkView.aspx | 138 +------ .../HSSE/License/FireWorkView.aspx.cs | 189 ++++----- .../License/FireWorkView.aspx.designer.cs | 306 +++------------ .../HSSE/License/HeightWorkView.aspx | 147 ++----- .../HSSE/License/HeightWorkView.aspx.cs | 188 ++++----- .../License/HeightWorkView.aspx.designer.cs | 342 ++++------------- .../HSSE/License/LiftingWorkView.aspx | 162 ++------ .../HSSE/License/LiftingWorkView.aspx.cs | 192 +++++----- .../License/LiftingWorkView.aspx.designer.cs | 358 ++++-------------- .../HSSE/License/LimitedSpaceView.aspx | 162 +++----- .../HSSE/License/LimitedSpaceView.aspx.cs | 210 +++++----- .../License/LimitedSpaceView.aspx.designer.cs | 350 +++++------------ .../HSSE/License/OpenCircuitView.aspx | 146 +------ .../HSSE/License/OpenCircuitView.aspx.cs | 195 +++++----- .../License/OpenCircuitView.aspx.designer.cs | 310 ++------------- .../HSSE/License/RadialWorkView.aspx | 165 ++------ .../HSSE/License/RadialWorkView.aspx.cs | 185 ++++----- .../License/RadialWorkView.aspx.designer.cs | 357 ++++------------- SGGL/Model/APIItem/HSSE/LicenseDataItem.cs | 19 + SGGL/Model/Model.cs | 264 +++++++++++++ 28 files changed, 1874 insertions(+), 3916 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_WH_2023-09-12.sql diff --git a/DataBase/版本日志/SGGLDB_WH_2023-09-12.sql b/DataBase/版本日志/SGGLDB_WH_2023-09-12.sql new file mode 100644 index 00000000..ae05b46e --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_2023-09-12.sql @@ -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; + diff --git a/SGGL/BLL/API/HSSE/APILicenseDataService.cs b/SGGL/BLL/API/HSSE/APILicenseDataService.cs index 7294d538..791344d5 100644 --- a/SGGL/BLL/API/HSSE/APILicenseDataService.cs +++ b/SGGL/BLL/API/HSSE/APILicenseDataService.cs @@ -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; diff --git a/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx b/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx index dbcddf7b..230a668b 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx +++ b/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx @@ -35,15 +35,21 @@ - - + + - + + + + + + + @@ -70,13 +76,13 @@ HeaderText="序号" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="动土作业安全措施" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true"> + HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" > @@ -105,121 +111,9 @@ - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx.cs b/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx.cs index e22d0a3b..1c90879e 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx.cs @@ -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 @@ /// 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 +"'"; diff --git a/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx.designer.cs index 1795599b..274e3fa4 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.License { - - - public partial class BreakGroundView { - +namespace FineUIPro.Web.HSSE.License +{ + + + public partial class BreakGroundView + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// lbLicenseCode 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbLicenseCode; - + /// /// lbImageUrl 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbImageUrl; - + /// /// txtApplyUnit 控件。 /// @@ -65,16 +67,16 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApplyUnit; - + /// - /// txtApplyManName 控件。 + /// txtWorkAreaName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtApplyManName; - + protected global::FineUIPro.TextBox txtWorkAreaName; + /// /// txtWorkPalce 控件。 /// @@ -83,16 +85,25 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkPalce; - + /// - /// txtWorkDepth 控件。 + /// txtFireWatchManName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtWorkDepth; - + protected global::FineUIPro.TextBox txtFireWatchManName; + + /// + /// txtReason 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtReason; + /// /// txtWorkDate 控件。 /// @@ -101,7 +112,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkDate; - + /// /// txtWorkMeasures 控件。 /// @@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkMeasures; - + /// /// Grid1 控件。 /// @@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// txtForm1 控件。 /// @@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form txtForm1; - + /// /// txtOpinion1 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtOpinion1; - + /// /// Label6 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label6; - + /// /// txtName1 控件。 /// @@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtName1; - + /// /// txtTime1 控件。 /// @@ -164,232 +175,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtTime1; - - /// - /// txtForm2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm2; - - /// - /// txtOpinion2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion2; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtName2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName2; - - /// - /// txtTime2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime2; - - /// - /// txtForm3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm3; - - /// - /// txtOpinion3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion3; - - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtName3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName3; - - /// - /// txtTime3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime3; - - /// - /// txtForm4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm4; - - /// - /// txtOpinion4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion4; - - /// - /// Label5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label5; - - /// - /// txtName4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName4; - - /// - /// txtTime4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime4; - - /// - /// txtForm5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm5; - - /// - /// txtOpinion5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion5; - - /// - /// Label9 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label9; - - /// - /// txtName5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName5; - - /// - /// txtTime5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime5; - - /// - /// txtForm6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm6; - - /// - /// txtOpinion6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion6; - - /// - /// Label12 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label12; - - /// - /// txtName6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName6; - - /// - /// txtTime6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime6; - + /// /// txtCance 控件。 /// @@ -398,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtCance; - + /// /// txtClose 控件。 /// @@ -407,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtClose; - + /// /// Toolbar1 控件。 /// @@ -416,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// lbTemp 控件。 /// @@ -425,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbTemp; - + /// /// btnAttachUrl 控件。 /// @@ -434,7 +220,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAttachUrl; - + /// /// ToolbarFill1 控件。 /// @@ -443,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnClose 控件。 /// @@ -452,7 +238,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnClose; - + /// /// WindowAtt 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx b/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx index 26a48405..f560f791 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx +++ b/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx @@ -36,33 +36,42 @@ - - + + - - - - - - - - - - - - - + - + + + + + + + + + + + + + <%-- + + + + + --%> + + + @@ -74,10 +83,10 @@ HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true"> + HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" > @@ -106,121 +115,10 @@ - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx.cs b/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx.cs index 557d14e9..74bdf22b 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx.cs @@ -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 diff --git a/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx.designer.cs index 586573d5..e663d772 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx.designer.cs @@ -69,13 +69,13 @@ namespace FineUIPro.Web.HSSE.License protected global::FineUIPro.TextBox txtApplyUnit; /// - /// txtApplyManName 控件。 + /// txtWorkAreaName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtApplyManName; + protected global::FineUIPro.TextBox txtWorkAreaName; /// /// txtWorkPalce 控件。 @@ -95,6 +95,24 @@ namespace FineUIPro.Web.HSSE.License /// protected global::FineUIPro.TextBox txtReason; + /// + /// txtWorkLeaderName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkLeaderName; + + /// + /// txtFireWatchManName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtFireWatchManName; + /// /// txtWorkDate 控件。 /// @@ -104,15 +122,6 @@ namespace FineUIPro.Web.HSSE.License /// protected global::FineUIPro.TextBox txtWorkDate; - /// - /// txtWorkMeasures 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkMeasures; - /// /// Grid1 控件。 /// @@ -167,231 +176,6 @@ namespace FineUIPro.Web.HSSE.License /// protected global::FineUIPro.Label txtTime1; - /// - /// txtForm2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm2; - - /// - /// txtOpinion2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion2; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtName2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName2; - - /// - /// txtTime2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime2; - - /// - /// txtForm3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm3; - - /// - /// txtOpinion3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion3; - - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtName3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName3; - - /// - /// txtTime3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime3; - - /// - /// txtForm4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm4; - - /// - /// txtOpinion4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion4; - - /// - /// Label5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label5; - - /// - /// txtName4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName4; - - /// - /// txtTime4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime4; - - /// - /// txtForm5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm5; - - /// - /// txtOpinion5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion5; - - /// - /// Label9 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label9; - - /// - /// txtName5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName5; - - /// - /// txtTime5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime5; - - /// - /// txtForm6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm6; - - /// - /// txtOpinion6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion6; - - /// - /// Label12 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label12; - - /// - /// txtName6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName6; - - /// - /// txtTime6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime6; - /// /// txtCance 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx b/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx index 247d5c16..c5cc62e5 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx +++ b/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx @@ -29,15 +29,23 @@ - + + + - + + + + + + + @@ -47,12 +55,12 @@ - + <%-- - + --%> + HeaderText="动火作业安全措施" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true"> + HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" > @@ -99,121 +107,11 @@ - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx.cs b/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx.cs index 08a8a821..00d96290 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx.cs @@ -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 @@ /// 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 +"'"; diff --git a/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx.designer.cs index fe8113a9..0eaeabc6 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/FireWorkView.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.License { - - - public partial class FireWorkView { - +namespace FineUIPro.Web.HSSE.License +{ + + + public partial class FireWorkView + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// lbLicenseCode 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbLicenseCode; - + /// /// txtApplyUnit 控件。 /// @@ -56,16 +58,25 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApplyUnit; - + /// - /// txtApplyManName 控件。 + /// txtWorkAreaName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtApplyManName; - + protected global::FineUIPro.TextBox txtWorkAreaName; + + /// + /// txtReason 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtReason; + /// /// txtWorkPalce 控件。 /// @@ -74,7 +85,16 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkPalce; - + + /// + /// txtFireLevel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtFireLevel; + /// /// txtFireWatchManName 控件。 /// @@ -83,7 +103,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtFireWatchManName; - + /// /// txtWorkDate 控件。 /// @@ -92,16 +112,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkDate; - - /// - /// txtWorkMeasures 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkMeasures; - + /// /// Grid1 控件。 /// @@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// txtForm1 控件。 /// @@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form txtForm1; - + /// /// txtOpinion1 控件。 /// @@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtOpinion1; - + /// /// Label6 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label6; - + /// /// txtName1 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtName1; - + /// /// txtTime1 控件。 /// @@ -155,232 +166,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtTime1; - - /// - /// txtForm2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm2; - - /// - /// txtOpinion2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion2; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtName2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName2; - - /// - /// txtTime2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime2; - - /// - /// txtForm3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm3; - - /// - /// txtOpinion3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion3; - - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtName3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName3; - - /// - /// txtTime3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime3; - - /// - /// txtForm4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm4; - - /// - /// txtOpinion4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion4; - - /// - /// Label5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label5; - - /// - /// txtName4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName4; - - /// - /// txtTime4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime4; - - /// - /// txtForm5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm5; - - /// - /// txtOpinion5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion5; - - /// - /// Label9 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label9; - - /// - /// txtName5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName5; - - /// - /// txtTime5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime5; - - /// - /// txtForm6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm6; - - /// - /// txtOpinion6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion6; - - /// - /// Label12 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label12; - - /// - /// txtName6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName6; - - /// - /// txtTime6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime6; - + /// /// txtCance 控件。 /// @@ -389,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtCance; - + /// /// txtClose 控件。 /// @@ -398,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtClose; - + /// /// Toolbar1 控件。 /// @@ -407,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// ToolbarFill1 控件。 /// @@ -416,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnClose 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx b/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx index 4a4caea2..a8597032 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx +++ b/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx @@ -29,18 +29,35 @@ - - + + - + + + + + + + + + + + + + + + + + + @@ -49,8 +66,7 @@ - - + @@ -70,13 +86,13 @@ HeaderText="序号" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="高处作业安全措施" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true"> + HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" > @@ -105,121 +121,10 @@ - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx.cs b/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx.cs index c3fd4e0d..3f521841 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx.cs @@ -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 @@ /// 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 +"'"; diff --git a/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx.designer.cs index f64cd080..9e34a8c0 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/HeightWorkView.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.License { - - - public partial class HeightWorkView { - +namespace FineUIPro.Web.HSSE.License +{ + + + public partial class HeightWorkView + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// lbLicenseCode 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbLicenseCode; - + /// /// txtApplyUnit 控件。 /// @@ -56,16 +58,16 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApplyUnit; - + /// - /// txtApplyManName 控件。 + /// txtWorkAreaName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtApplyManName; - + protected global::FineUIPro.TextBox txtWorkAreaName; + /// /// txtWorkPalce 控件。 /// @@ -74,25 +76,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkPalce; - - /// - /// txtWorkType 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkType; - - /// - /// txtWorkDate 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkDate; - + /// /// txtWorkMeasures 控件。 /// @@ -101,7 +85,52 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkMeasures; - + + /// + /// txtWorkLeaderName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkLeaderName; + + /// + /// txtFireWatchManName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtFireWatchManName; + + /// + /// txtWorkHeight 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkHeight; + + /// + /// txtWorkType 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkType; + + /// + /// txtWorkDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkDate; + /// /// txtEquipmentTools 控件。 /// @@ -110,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtEquipmentTools; - + /// /// Grid1 控件。 /// @@ -119,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// txtForm1 控件。 /// @@ -128,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form txtForm1; - + /// /// txtOpinion1 控件。 /// @@ -137,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtOpinion1; - + /// /// Label6 控件。 /// @@ -146,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label6; - + /// /// txtName1 控件。 /// @@ -155,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtName1; - + /// /// txtTime1 控件。 /// @@ -164,232 +193,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtTime1; - - /// - /// txtForm2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm2; - - /// - /// txtOpinion2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion2; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtName2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName2; - - /// - /// txtTime2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime2; - - /// - /// txtForm3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm3; - - /// - /// txtOpinion3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion3; - - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtName3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName3; - - /// - /// txtTime3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime3; - - /// - /// txtForm4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm4; - - /// - /// txtOpinion4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion4; - - /// - /// Label5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label5; - - /// - /// txtName4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName4; - - /// - /// txtTime4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime4; - - /// - /// txtForm5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm5; - - /// - /// txtOpinion5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion5; - - /// - /// Label9 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label9; - - /// - /// txtName5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName5; - - /// - /// txtTime5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime5; - - /// - /// txtForm6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm6; - - /// - /// txtOpinion6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion6; - - /// - /// Label12 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label12; - - /// - /// txtName6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName6; - - /// - /// txtTime6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime6; - + /// /// txtCance 控件。 /// @@ -398,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtCance; - + /// /// txtClose 控件。 /// @@ -407,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtClose; - + /// /// Toolbar1 控件。 /// @@ -416,7 +220,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// ToolbarFill1 控件。 /// @@ -425,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnClose 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx b/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx index aef591b6..2a140728 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx +++ b/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx @@ -29,14 +29,36 @@ - + + + + + + + + + - + + + + + + + + + + + + + + + @@ -47,21 +69,11 @@ - - - - - - - - - - - - + + - @@ -73,10 +85,10 @@ HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true"> + HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" > @@ -105,121 +117,11 @@ - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx.cs b/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx.cs index d5f08b5a..b4a0f1b3 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx.cs @@ -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 @@ /// 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 +"'"; diff --git a/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx.designer.cs index 3664c3fb..7c590340 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/LiftingWorkView.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.License { - - - public partial class LiftingWorkView { - +namespace FineUIPro.Web.HSSE.License +{ + + + public partial class LiftingWorkView + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// lbLicenseCode 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbLicenseCode; - + /// /// txtApplyUnit 控件。 /// @@ -56,43 +58,16 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApplyUnit; - + /// - /// txtApplyManName 控件。 + /// txtSjName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtApplyManName; - - /// - /// txtWorkPalce 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkPalce; - - /// - /// txtWorkLevel 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkLevel; - - /// - /// txtWorkDate 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkDate; - + protected global::FineUIPro.TextBox txtSjName; + /// /// txtWorkMeasures 控件。 /// @@ -101,7 +76,34 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkMeasures; - + + /// + /// txtQzgName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtQzgName; + + /// + /// txtWorkLeaderName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkLeaderName; + + /// + /// txtFireWatchManName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtFireWatchManName; + /// /// txtCraneCapacity 控件。 /// @@ -110,7 +112,34 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtCraneCapacity; - + + /// + /// txtLiftingHeight 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtLiftingHeight; + + /// + /// txtWorkLevel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkLevel; + + /// + /// txtWorkDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkDate; + /// /// Grid1 控件。 /// @@ -119,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// txtForm1 控件。 /// @@ -128,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form txtForm1; - + /// /// txtOpinion1 控件。 /// @@ -137,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtOpinion1; - + /// /// Label6 控件。 /// @@ -146,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label6; - + /// /// txtName1 控件。 /// @@ -155,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtName1; - + /// /// txtTime1 控件。 /// @@ -164,232 +193,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtTime1; - - /// - /// txtForm2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm2; - - /// - /// txtOpinion2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion2; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtName2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName2; - - /// - /// txtTime2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime2; - - /// - /// txtForm3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm3; - - /// - /// txtOpinion3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion3; - - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtName3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName3; - - /// - /// txtTime3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime3; - - /// - /// txtForm4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm4; - - /// - /// txtOpinion4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion4; - - /// - /// Label5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label5; - - /// - /// txtName4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName4; - - /// - /// txtTime4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime4; - - /// - /// txtForm5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm5; - - /// - /// txtOpinion5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion5; - - /// - /// Label9 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label9; - - /// - /// txtName5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName5; - - /// - /// txtTime5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime5; - - /// - /// txtForm6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm6; - - /// - /// txtOpinion6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion6; - - /// - /// Label12 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label12; - - /// - /// txtName6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName6; - - /// - /// txtTime6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime6; - + /// /// txtCance 控件。 /// @@ -398,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtCance; - + /// /// txtClose 控件。 /// @@ -407,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtClose; - + /// /// Toolbar1 控件。 /// @@ -416,7 +220,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// ToolbarFill1 控件。 /// @@ -425,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnClose 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx b/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx index 4e27c2be..4f956f95 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx +++ b/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx @@ -29,8 +29,8 @@ - - + + @@ -52,10 +52,44 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -67,10 +101,10 @@ HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true"> + HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" > @@ -99,121 +133,11 @@ - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx.cs b/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx.cs index 1946f21f..72989e02 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx.cs @@ -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 @@ /// 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 +"'"; diff --git a/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx.designer.cs index c5cafc68..93c73713 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/LimitedSpaceView.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.License { - - - public partial class LimitedSpaceView { - +namespace FineUIPro.Web.HSSE.License +{ + + + public partial class LimitedSpaceView + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// lbLicenseCode 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbLicenseCode; - + /// /// txtApplyUnit 控件。 /// @@ -56,16 +58,16 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApplyUnit; - + /// - /// txtApplyManName 控件。 + /// txtWorkAreaName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtApplyManName; - + protected global::FineUIPro.TextBox txtWorkAreaName; + /// /// txtWorkPalce 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkPalce; - + /// /// txtFireWatchManName 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtFireWatchManName; - + /// /// txtWorkMeasures 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkMeasures; - + /// /// txtWorkDate 控件。 /// @@ -101,7 +103,70 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkDate; - + + /// + /// txtLimitedDescribe 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtLimitedDescribe; + + /// + /// txtIsBoolOther 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtIsBoolOther; + + /// + /// txtIsBoolHarmfulGas 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtIsBoolHarmfulGas; + + /// + /// txtTestResult 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTestResult; + + /// + /// txtTestDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTestDate; + + /// + /// txtTestPerson 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTestPerson; + + /// + /// txtVenStep 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtVenStep; + /// /// Grid1 控件。 /// @@ -110,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// txtForm1 控件。 /// @@ -119,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form txtForm1; - + /// /// txtOpinion1 控件。 /// @@ -128,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtOpinion1; - + /// /// Label6 控件。 /// @@ -137,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label6; - + /// /// txtName1 控件。 /// @@ -146,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtName1; - + /// /// txtTime1 控件。 /// @@ -155,232 +220,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtTime1; - - /// - /// txtForm2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm2; - - /// - /// txtOpinion2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion2; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtName2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName2; - - /// - /// txtTime2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime2; - - /// - /// txtForm3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm3; - - /// - /// txtOpinion3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion3; - - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtName3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName3; - - /// - /// txtTime3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime3; - - /// - /// txtForm4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm4; - - /// - /// txtOpinion4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion4; - - /// - /// Label5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label5; - - /// - /// txtName4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName4; - - /// - /// txtTime4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime4; - - /// - /// txtForm5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm5; - - /// - /// txtOpinion5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion5; - - /// - /// Label9 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label9; - - /// - /// txtName5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName5; - - /// - /// txtTime5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime5; - - /// - /// txtForm6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm6; - - /// - /// txtOpinion6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion6; - - /// - /// Label12 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label12; - - /// - /// txtName6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName6; - - /// - /// txtTime6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime6; - + /// /// txtCance 控件。 /// @@ -389,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtCance; - + /// /// txtClose 控件。 /// @@ -398,7 +238,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtClose; - + /// /// Toolbar1 控件。 /// @@ -407,7 +247,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// lbTemp 控件。 /// @@ -416,7 +256,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbTemp; - + /// /// btnAttachUrl 控件。 /// @@ -425,7 +265,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAttachUrl; - + /// /// ToolbarFill1 控件。 /// @@ -434,7 +274,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnClose 控件。 /// @@ -443,7 +283,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnClose; - + /// /// WindowAtt 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx b/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx index 35b43d14..e35febcc 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx +++ b/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx @@ -29,39 +29,40 @@ - - + + - + + + + + + + - + - - - - - - - + + <%-- - + --%> - @@ -73,10 +74,10 @@ HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true"> + HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" > @@ -105,121 +106,10 @@ - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx.cs b/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx.cs index 0a79c868..7cdc55f1 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx.cs @@ -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 @@ /// 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 +"'"; diff --git a/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx.designer.cs index 49d422de..4b4810f0 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/OpenCircuitView.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.License { - - - public partial class OpenCircuitView { - +namespace FineUIPro.Web.HSSE.License +{ + + + public partial class OpenCircuitView + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// lbLicenseCode 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbLicenseCode; - + /// /// txtApplyUnit 控件。 /// @@ -56,16 +58,16 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApplyUnit; - + /// - /// txtApplyManName 控件。 + /// txtWorkAreaName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtApplyManName; - + protected global::FineUIPro.TextBox txtWorkAreaName; + /// /// txtWorkPalce 控件。 /// @@ -74,16 +76,25 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkPalce; - + /// - /// txtWorkMeasures 控件。 + /// txtFireWatchManName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtWorkMeasures; - + protected global::FineUIPro.TextBox txtFireWatchManName; + + /// + /// txtReason 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtReason; + /// /// txtWorkDate 控件。 /// @@ -92,25 +103,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkDate; - - /// - /// txtRoadName 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtRoadName; - - /// - /// txtSafeMeasures 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtSafeMeasures; - + /// /// Grid1 控件。 /// @@ -119,7 +112,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// txtForm1 控件。 /// @@ -128,7 +121,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form txtForm1; - + /// /// txtOpinion1 控件。 /// @@ -137,7 +130,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtOpinion1; - + /// /// Label6 控件。 /// @@ -146,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label6; - + /// /// txtName1 控件。 /// @@ -155,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtName1; - + /// /// txtTime1 控件。 /// @@ -164,232 +157,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtTime1; - - /// - /// txtForm2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm2; - - /// - /// txtOpinion2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion2; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtName2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName2; - - /// - /// txtTime2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime2; - - /// - /// txtForm3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm3; - - /// - /// txtOpinion3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion3; - - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtName3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName3; - - /// - /// txtTime3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime3; - - /// - /// txtForm4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm4; - - /// - /// txtOpinion4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion4; - - /// - /// Label5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label5; - - /// - /// txtName4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName4; - - /// - /// txtTime4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime4; - - /// - /// txtForm5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm5; - - /// - /// txtOpinion5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion5; - - /// - /// Label9 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label9; - - /// - /// txtName5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName5; - - /// - /// txtTime5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime5; - - /// - /// txtForm6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm6; - - /// - /// txtOpinion6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion6; - - /// - /// Label12 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label12; - - /// - /// txtName6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName6; - - /// - /// txtTime6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime6; - + /// /// txtCance 控件。 /// @@ -398,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtCance; - + /// /// txtClose 控件。 /// @@ -407,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtClose; - + /// /// Toolbar1 控件。 /// @@ -416,7 +184,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// ToolbarFill1 控件。 /// @@ -425,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnClose 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx b/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx index 9a0f1cb5..adbdf6ca 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx +++ b/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx @@ -29,10 +29,19 @@ - + + + + + + + + + + @@ -41,35 +50,32 @@ + + + + + + + + + - - - - - - - + + <%-- - - + - + --%> + + - - - - - - - - - @@ -81,10 +87,10 @@ HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true"> + HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" > + HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" > @@ -113,121 +119,10 @@ - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx.cs b/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx.cs index 59ae18e7..23e26957 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx.cs @@ -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 @@ /// 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 +"'"; diff --git a/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx.designer.cs index 4901bbd7..bad502ca 100644 --- a/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/License/RadialWorkView.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.License { - - - public partial class RadialWorkView { - +namespace FineUIPro.Web.HSSE.License +{ + + + public partial class RadialWorkView + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// lbLicenseCode 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbLicenseCode; - + /// /// txtApplyUnit 控件。 /// @@ -56,43 +58,16 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApplyUnit; - + /// - /// txtApplyManName 控件。 + /// txtWorkAreaName 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtApplyManName; - - /// - /// txtRadialType 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtRadialType; - - /// - /// txtWorkLeader 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkLeader; - - /// - /// txtWorkDate 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkDate; - + protected global::FineUIPro.TextBox txtWorkAreaName; + /// /// txtWorkPalce 控件。 /// @@ -101,16 +76,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWorkPalce; - - /// - /// txtWorkMeasures 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtWorkMeasures; - + /// /// txtFireWatchManName 控件。 /// @@ -119,7 +85,25 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtFireWatchManName; - + + /// + /// txtRadialType 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtRadialType; + + /// + /// txtWorkLeader 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkLeader; + /// /// txtWatchManContact 控件。 /// @@ -128,7 +112,25 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtWatchManContact; - + + /// + /// txtWorkMeasures 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkMeasures; + + /// + /// txtWorkDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtWorkDate; + /// /// Grid1 控件。 /// @@ -137,7 +139,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// txtForm1 控件。 /// @@ -146,7 +148,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form txtForm1; - + /// /// txtOpinion1 控件。 /// @@ -155,7 +157,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtOpinion1; - + /// /// Label6 控件。 /// @@ -164,7 +166,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label6; - + /// /// txtName1 控件。 /// @@ -173,7 +175,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtName1; - + /// /// txtTime1 控件。 /// @@ -182,232 +184,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label txtTime1; - - /// - /// txtForm2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm2; - - /// - /// txtOpinion2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion2; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtName2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName2; - - /// - /// txtTime2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime2; - - /// - /// txtForm3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm3; - - /// - /// txtOpinion3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion3; - - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtName3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName3; - - /// - /// txtTime3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime3; - - /// - /// txtForm4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm4; - - /// - /// txtOpinion4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion4; - - /// - /// Label5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label5; - - /// - /// txtName4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName4; - - /// - /// txtTime4 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime4; - - /// - /// txtForm5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm5; - - /// - /// txtOpinion5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion5; - - /// - /// Label9 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label9; - - /// - /// txtName5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName5; - - /// - /// txtTime5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime5; - - /// - /// txtForm6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Form txtForm6; - - /// - /// txtOpinion6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextArea txtOpinion6; - - /// - /// Label12 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label12; - - /// - /// txtName6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtName6; - - /// - /// txtTime6 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label txtTime6; - + /// /// txtCance 控件。 /// @@ -416,7 +193,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtCance; - + /// /// txtClose 控件。 /// @@ -425,7 +202,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtClose; - + /// /// Toolbar1 控件。 /// @@ -434,7 +211,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// lbTemp 控件。 /// @@ -443,7 +220,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbTemp; - + /// /// btnAttachUrl 控件。 /// @@ -452,7 +229,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAttachUrl; - + /// /// ToolbarFill1 控件。 /// @@ -461,7 +238,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnClose 控件。 /// @@ -470,7 +247,7 @@ namespace FineUIPro.Web.HSSE.License { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnClose; - + /// /// WindowAtt 控件。 /// diff --git a/SGGL/Model/APIItem/HSSE/LicenseDataItem.cs b/SGGL/Model/APIItem/HSSE/LicenseDataItem.cs index f6253ecf..f36217bc 100644 --- a/SGGL/Model/APIItem/HSSE/LicenseDataItem.cs +++ b/SGGL/Model/APIItem/HSSE/LicenseDataItem.cs @@ -498,5 +498,24 @@ namespace Model /// 起重工电话 /// public string QzgPhone { get; set; } + + /// + /// 司机姓名 + /// + public string SjName { get; set; } + + /// + /// 司机电话 + /// + public string SjPhone { get; set; } + + /// + /// 申请人签名 + /// + public string SignatureUrl + { + get; + set; + } } } diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index dd087494..18e05fd5 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -206277,6 +206277,8 @@ namespace Model private string _FireWatchManName; + private string _SignatureUrl; + private EntityRef _Base_Project; private EntityRef _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; private EntityRef _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; private EntityRef _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; private EntityRef _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; private EntityRef _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; private EntityRef _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; private EntityRef _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; private EntityRef _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; private EntityRef _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 {