20240305 开车HSE管理
This commit is contained in:
parent
f227bbeba2
commit
8fec129c11
|
@ -0,0 +1,159 @@
|
|||
update Sys_Menu set MenuName='开车危险源清单' where MenuId='1648A5CD-CF78-418B-9CF1-6325C353BDB8'
|
||||
update Sys_Menu set MenuName='施工开车交叉期间作业许可' where MenuId='18F5914D-A5DF-44F9-BE04-9EA8908BA3C8'
|
||||
go
|
||||
|
||||
DROP TABLE [dbo].[DriverHse_HseHazard]
|
||||
GO
|
||||
|
||||
CREATE TABLE [dbo].[DriverHse_HseHazard](
|
||||
[HseHazardId] [nvarchar](50) NOT NULL,
|
||||
[ProjectId] [nvarchar](50) NOT NULL,
|
||||
[Code] [nvarchar](50) NOT NULL,
|
||||
[WorkArea] [nvarchar](50) NULL,
|
||||
[IdentificationDate] [datetime] NULL,
|
||||
[ControlHeaderMan] [nvarchar](50) NULL,
|
||||
[Remark] [nvarchar](500) NULL,
|
||||
[AttachUrl] [nvarchar](2000) NULL,
|
||||
CONSTRAINT [PK_DriverHse_HseHazard] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[HseHazardId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[DriverHse_HseHazard] WITH CHECK ADD CONSTRAINT [FK_DriverHse_HseHazard_Base_Project] FOREIGN KEY([ProjectId])
|
||||
REFERENCES [dbo].[Base_Project] ([ProjectId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[DriverHse_HseHazard] CHECK CONSTRAINT [FK_DriverHse_HseHazard_Base_Project]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard', @level2type=N'COLUMN',@level2name=N'HseHazardId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard', @level2type=N'COLUMN',@level2name=N'ProjectId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard', @level2type=N'COLUMN',@level2name=N'Code'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目区域' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard', @level2type=N'COLUMN',@level2name=N'WorkArea'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'辨识时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard', @level2type=N'COLUMN',@level2name=N'IdentificationDate'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'控制责任人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard', @level2type=N'COLUMN',@level2name=N'ControlHeaderMan'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard', @level2type=N'COLUMN',@level2name=N'Remark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'附件' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard', @level2type=N'COLUMN',@level2name=N'AttachUrl'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'开车危险源清单' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseHazard'
|
||||
GO
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[Base_TestRunLicenseType](
|
||||
[LicenseTypeId] [nvarchar](50) NOT NULL,
|
||||
[LicenseTypeCode] [nvarchar](50) NULL,
|
||||
[LicenseTypeName] [nvarchar](50) NULL,
|
||||
[TemplateUrl] [nvarchar](500) NULL,
|
||||
[Remark] [nvarchar](500) NULL,
|
||||
CONSTRAINT [PK_Base_TestRunLicenseType] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[LicenseTypeId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_TestRunLicenseType', @level2type=N'COLUMN',@level2name=N'LicenseTypeId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作业类别编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_TestRunLicenseType', @level2type=N'COLUMN',@level2name=N'LicenseTypeCode'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作业类别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_TestRunLicenseType', @level2type=N'COLUMN',@level2name=N'LicenseTypeName'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模板路径' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_TestRunLicenseType', @level2type=N'COLUMN',@level2name=N'TemplateUrl'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_TestRunLicenseType', @level2type=N'COLUMN',@level2name=N'Remark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作业类别及模板' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_TestRunLicenseType'
|
||||
GO
|
||||
|
||||
drop table DriverHse_HseLicense
|
||||
go
|
||||
CREATE TABLE [dbo].[DriverHse_HseLicense](
|
||||
[HseLicenseId] [nvarchar](50) NOT NULL,
|
||||
[ProjectId] [nvarchar](50) NOT NULL,
|
||||
[Code] [nvarchar](50) NOT NULL,
|
||||
[LicenseTypeId] [nvarchar](50) NULL,
|
||||
[ApplyUnit] [nvarchar](50) NULL,
|
||||
[ApplyMan] [nvarchar](50) NULL,
|
||||
[HeaderMan] [nvarchar](50) NULL,
|
||||
[WorkAddress] [nvarchar](50) NULL,
|
||||
[WorkContents] [nvarchar](500) NULL,
|
||||
[Remark] [nvarchar](500) NULL,
|
||||
CONSTRAINT [PK_DriverHse_HseLicense] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[HseLicenseId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[DriverHse_HseLicense] WITH CHECK ADD CONSTRAINT [FK_DriverHse_HseLicense_Base_Project] FOREIGN KEY([ProjectId])
|
||||
REFERENCES [dbo].[Base_Project] ([ProjectId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[DriverHse_HseLicense] CHECK CONSTRAINT [FK_DriverHse_HseLicense_Base_Project]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[DriverHse_HseLicense] WITH CHECK ADD CONSTRAINT [FK_DriverHse_HseLicense_Base_TestRunLicenseType] FOREIGN KEY([LicenseTypeId])
|
||||
REFERENCES [dbo].[Base_TestRunLicenseType] ([LicenseTypeId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[DriverHse_HseLicense] CHECK CONSTRAINT [FK_DriverHse_HseLicense_Base_TestRunLicenseType]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'HseLicenseId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'ProjectId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'序号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'Code'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作业类别' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'LicenseTypeId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'ApplyUnit'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'ApplyMan'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作业负责人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'HeaderMan'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作业地点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'WorkAddress'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作业内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'WorkContents'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense', @level2type=N'COLUMN',@level2name=N'Remark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'开车作业票管理表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DriverHse_HseLicense'
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
|
@ -166,6 +166,7 @@
|
|||
<Compile Include="BaseInfo\SpecialEquipmentService.cs" />
|
||||
<Compile Include="BaseInfo\SpecialSchemeTypeService.cs" />
|
||||
<Compile Include="BaseInfo\SteelService.cs" />
|
||||
<Compile Include="BaseInfo\TestRunLicenseTypeService.cs" />
|
||||
<Compile Include="BaseInfo\TrainLevelService.cs" />
|
||||
<Compile Include="BaseInfo\TrainTypeService.cs" />
|
||||
<Compile Include="BaseInfo\TransferMajorService.cs" />
|
||||
|
|
|
@ -0,0 +1,98 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 作业类别及模板
|
||||
/// </summary>
|
||||
public class TestRunLicenseTypeService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取作业类别及模板
|
||||
/// </summary>
|
||||
/// <param name="licenseTypeId"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.Base_TestRunLicenseType GetLicenseTypeById(string licenseTypeId)
|
||||
{
|
||||
return Funs.DB.Base_TestRunLicenseType.FirstOrDefault(e => e.LicenseTypeId == licenseTypeId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加作业类别及模板
|
||||
/// </summary>
|
||||
/// <param name="testRunLicenseType"></param>
|
||||
public static void AddTestRunLicenseType(Model.Base_TestRunLicenseType testRunLicenseType)
|
||||
{
|
||||
Model.Base_TestRunLicenseType newTestRunLicenseType = new Model.Base_TestRunLicenseType
|
||||
{
|
||||
LicenseTypeId = testRunLicenseType.LicenseTypeId,
|
||||
LicenseTypeCode = testRunLicenseType.LicenseTypeCode,
|
||||
LicenseTypeName = testRunLicenseType.LicenseTypeName,
|
||||
Remark = testRunLicenseType.Remark,
|
||||
TemplateUrl = testRunLicenseType.TemplateUrl
|
||||
};
|
||||
Funs.DB.Base_TestRunLicenseType.InsertOnSubmit(newTestRunLicenseType);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改作业类别及模板
|
||||
/// </summary>
|
||||
/// <param name="testRunLicenseType"></param>
|
||||
public static void UpdateTestRunLicenseType(Model.Base_TestRunLicenseType testRunLicenseType)
|
||||
{
|
||||
Model.Base_TestRunLicenseType newTestRunLicenseType = Funs.DB.Base_TestRunLicenseType.FirstOrDefault(e => e.LicenseTypeId == testRunLicenseType.LicenseTypeId);
|
||||
if (newTestRunLicenseType != null)
|
||||
{
|
||||
newTestRunLicenseType.LicenseTypeCode = testRunLicenseType.LicenseTypeCode;
|
||||
newTestRunLicenseType.LicenseTypeName = testRunLicenseType.LicenseTypeName;
|
||||
newTestRunLicenseType.Remark = testRunLicenseType.Remark;
|
||||
newTestRunLicenseType.TemplateUrl = testRunLicenseType.TemplateUrl;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除作业类别及模板
|
||||
/// </summary>
|
||||
/// <param name="licenseTypeId"></param>
|
||||
public static void DeleteTestRunLicenseTypeById(string licenseTypeId)
|
||||
{
|
||||
Model.Base_TestRunLicenseType newTestRunLicenseType = Funs.DB.Base_TestRunLicenseType.FirstOrDefault(e => e.LicenseTypeId == licenseTypeId);
|
||||
if (newTestRunLicenseType!=null)
|
||||
{
|
||||
CommonService.DeleteAttachFileById(licenseTypeId);//删除附件
|
||||
Funs.DB.Base_TestRunLicenseType.DeleteOnSubmit(newTestRunLicenseType);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取作业类型下拉列表项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Model.Base_TestRunLicenseType> GetTestRunLicenseTypeList()
|
||||
{
|
||||
return (from x in Funs.DB.Base_TestRunLicenseType orderby x.LicenseTypeCode select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 作业类型下拉框
|
||||
/// </summary>
|
||||
/// <param name="dropName">下拉框名字</param>
|
||||
/// <param name="projectId">项目id</param>
|
||||
/// <param name="isShowPlease">是否显示请选择</param>
|
||||
public static void InitLicenseTypeDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
|
||||
{
|
||||
dropName.DataValueField = "LicenseTypeId";
|
||||
dropName.DataTextField = "LicenseTypeName";
|
||||
dropName.DataSource = GetTestRunLicenseTypeList();
|
||||
dropName.DataBind();
|
||||
if (isShowPlease)
|
||||
{
|
||||
Funs.FineUIPleaseSelect(dropName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5429,6 +5429,7 @@ namespace BLL
|
|||
/// 项目完工总结
|
||||
/// </summary>
|
||||
public const string CompleteSummaryMenuId = "AA88BD56-E0B4-4B9C-9238-3F48EA59C50A";
|
||||
|
||||
#endregion
|
||||
|
||||
#region 进度管理
|
||||
|
|
|
@ -26,14 +26,9 @@ namespace BLL
|
|||
newHseHazard.HseHazardId = hseHazard.HseHazardId;
|
||||
newHseHazard.ProjectId = hseHazard.ProjectId;
|
||||
newHseHazard.Code = hseHazard.Code;
|
||||
newHseHazard.UnitWorkId = hseHazard.UnitWorkId;
|
||||
newHseHazard.WorkArea = hseHazard.WorkArea;
|
||||
newHseHazard.UnitHead = hseHazard.UnitHead;
|
||||
newHseHazard.Supervisor = hseHazard.Supervisor;
|
||||
newHseHazard.Hazards = hseHazard.Hazards;
|
||||
newHseHazard.Harm = hseHazard.Harm;
|
||||
newHseHazard.PreventiveMeasures = hseHazard.PreventiveMeasures;
|
||||
newHseHazard.Darificaiton = hseHazard.Darificaiton;
|
||||
newHseHazard.IdentificationDate = hseHazard.IdentificationDate;
|
||||
newHseHazard.ControlHeaderMan = hseHazard.ControlHeaderMan;
|
||||
newHseHazard.AttachUrl = hseHazard.AttachUrl;
|
||||
newHseHazard.Remark = hseHazard.Remark;
|
||||
Funs.DB.DriverHse_HseHazard.InsertOnSubmit(newHseHazard);
|
||||
|
@ -49,16 +44,10 @@ namespace BLL
|
|||
Model.DriverHse_HseHazard newHseHazard = Funs.DB.DriverHse_HseHazard.FirstOrDefault(e => e.HseHazardId == hseHazard.HseHazardId);
|
||||
if (newHseHazard != null)
|
||||
{
|
||||
newHseHazard.ProjectId = hseHazard.ProjectId;
|
||||
newHseHazard.Code = hseHazard.Code;
|
||||
newHseHazard.UnitWorkId = hseHazard.UnitWorkId;
|
||||
newHseHazard.WorkArea = hseHazard.WorkArea;
|
||||
newHseHazard.UnitHead = hseHazard.UnitHead;
|
||||
newHseHazard.Supervisor = hseHazard.Supervisor;
|
||||
newHseHazard.Hazards = hseHazard.Hazards;
|
||||
newHseHazard.Harm = hseHazard.Harm;
|
||||
newHseHazard.PreventiveMeasures = hseHazard.PreventiveMeasures;
|
||||
newHseHazard.Darificaiton = hseHazard.Darificaiton;
|
||||
newHseHazard.IdentificationDate = hseHazard.IdentificationDate;
|
||||
newHseHazard.ControlHeaderMan = hseHazard.ControlHeaderMan;
|
||||
newHseHazard.AttachUrl = hseHazard.AttachUrl;
|
||||
newHseHazard.Remark = hseHazard.Remark;
|
||||
Funs.DB.SubmitChanges();
|
||||
|
|
|
@ -31,18 +31,12 @@ namespace BLL
|
|||
newHseLicense.HseLicenseId = hseLicense.HseLicenseId;
|
||||
newHseLicense.ProjectId = hseLicense.ProjectId;
|
||||
newHseLicense.Code = hseLicense.Code;
|
||||
newHseLicense.UnitWorkId = hseLicense.UnitWorkId;
|
||||
newHseLicense.WorkArea = hseLicense.WorkArea;
|
||||
newHseLicense.WorkContents = hseLicense.WorkContents;
|
||||
newHseLicense.WorkDate = hseLicense.WorkDate;
|
||||
newHseLicense.UnitHead = hseLicense.UnitHead;
|
||||
newHseLicense.ApplyMan = hseLicense.ApplyMan;
|
||||
newHseLicense.LicenseTypeId = hseLicense.LicenseTypeId;
|
||||
newHseLicense.ApplyUnit = hseLicense.ApplyUnit;
|
||||
newHseLicense.WorkTicket = hseLicense.WorkTicket;
|
||||
newHseLicense.WorkTicketCode = hseLicense.WorkTicketCode;
|
||||
newHseLicense.Detection = hseLicense.Detection;
|
||||
newHseLicense.Guardian = hseLicense.Guardian;
|
||||
newHseLicense.WorkEnd = hseLicense.WorkEnd;
|
||||
newHseLicense.ApplyMan = hseLicense.ApplyMan;
|
||||
newHseLicense.HeaderMan = hseLicense.HeaderMan;
|
||||
newHseLicense.WorkAddress = hseLicense.WorkAddress;
|
||||
newHseLicense.WorkContents = hseLicense.WorkContents;
|
||||
newHseLicense.Remark = hseLicense.Remark;
|
||||
Funs.DB.DriverHse_HseLicense.InsertOnSubmit(newHseLicense);
|
||||
Funs.DB.SubmitChanges();
|
||||
|
@ -57,20 +51,13 @@ namespace BLL
|
|||
Model.DriverHse_HseLicense newHseLicense = Funs.DB.DriverHse_HseLicense.FirstOrDefault(e => e.HseLicenseId == hseLicense.HseLicenseId);
|
||||
if (newHseLicense != null)
|
||||
{
|
||||
newHseLicense.ProjectId = hseLicense.ProjectId;
|
||||
newHseLicense.Code = hseLicense.Code;
|
||||
newHseLicense.UnitWorkId = hseLicense.UnitWorkId;
|
||||
newHseLicense.WorkArea = hseLicense.WorkArea;
|
||||
newHseLicense.WorkContents = hseLicense.WorkContents;
|
||||
newHseLicense.WorkDate = hseLicense.WorkDate;
|
||||
newHseLicense.UnitHead = hseLicense.UnitHead;
|
||||
newHseLicense.ApplyMan = hseLicense.ApplyMan;
|
||||
//newHseLicense.LicenseTypeId = hseLicense.LicenseTypeId;
|
||||
newHseLicense.ApplyUnit = hseLicense.ApplyUnit;
|
||||
newHseLicense.WorkTicket = hseLicense.WorkTicket;
|
||||
newHseLicense.WorkTicketCode = hseLicense.WorkTicketCode;
|
||||
newHseLicense.Detection = hseLicense.Detection;
|
||||
newHseLicense.Guardian = hseLicense.Guardian;
|
||||
newHseLicense.WorkEnd = hseLicense.WorkEnd;
|
||||
newHseLicense.ApplyMan = hseLicense.ApplyMan;
|
||||
newHseLicense.HeaderMan = hseLicense.HeaderMan;
|
||||
newHseLicense.WorkAddress = hseLicense.WorkAddress;
|
||||
newHseLicense.WorkContents = hseLicense.WorkContents;
|
||||
newHseLicense.Remark = hseLicense.Remark;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
@ -85,6 +72,7 @@ namespace BLL
|
|||
Model.DriverHse_HseLicense newHseLicense = Funs.DB.DriverHse_HseLicense.FirstOrDefault(e => e.HseLicenseId == hseLicenseId);
|
||||
if (newHseLicense != null)
|
||||
{
|
||||
CommonService.DeleteAttachFileById(hseLicenseId);//删除附件
|
||||
Funs.DB.DriverHse_HseLicense.DeleteOnSubmit(newHseLicense);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
|
|
@ -1,636 +0,0 @@
|
|||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:执行超时已过期。完成操作之前已超时或服务器未响应。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.ExecuteReader()
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
|
||||
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
|
||||
在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
|
||||
在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
|
||||
在 FineUIPro.Web.common.main_new.Page_Load(Object sender, EventArgs e) 位置 E:\2023公司项目\五环新\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\common\main_new.aspx.cs:行号 67
|
||||
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||
在 System.EventHandler.Invoke(Object sender, EventArgs e)
|
||||
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||
在 System.Web.UI.Control.LoadRecursive()
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
----错误类型:Win32Exception
|
||||
----错误信息:
|
||||
----等待的操作过时。
|
||||
----错误堆栈:
|
||||
出错时间:02/02/2024 11:24:03
|
||||
出错文件:http://localhost:8579/common/main_new.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/02/2024 11:24:12
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))select * from Transfer_Piping C
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\2023公司项目\五环新\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.Transfer.Piping.BindGrid() 位置 E:\2023公司项目\五环新\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Transfer\Piping.aspx.cs:行号 58
|
||||
在 FineUIPro.Web.Transfer.Piping.Page_Load(Object sender, EventArgs e) 位置 E:\2023公司项目\五环新\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Transfer\Piping.aspx.cs:行号 24
|
||||
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||
在 System.EventHandler.Invoke(Object sender, EventArgs e)
|
||||
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||
在 System.Web.UI.Control.LoadRecursive()
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/04/2024 10:42:45
|
||||
出错文件:http://localhost:8579/Transfer/Piping.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/04/2024 10:42:45
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204
|
||||
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181
|
||||
出错时间:02/05/2024 18:19:34
|
||||
出错时间:02/05/2024 18:19:34
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228
|
||||
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046
|
||||
出错时间:02/05/2024 18:19:34
|
||||
出错时间:02/05/2024 18:19:34
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220
|
||||
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942
|
||||
出错时间:02/05/2024 18:19:34
|
||||
出错时间:02/05/2024 18:19:34
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020
|
||||
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884
|
||||
出错时间:02/05/2024 18:19:34
|
||||
出错时间:02/05/2024 18:19:34
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204
|
||||
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181
|
||||
出错时间:02/05/2024 20:19:33
|
||||
出错时间:02/05/2024 20:19:33
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228
|
||||
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046
|
||||
出错时间:02/05/2024 20:19:33
|
||||
出错时间:02/05/2024 20:19:33
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220
|
||||
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942
|
||||
出错时间:02/05/2024 20:19:33
|
||||
出错时间:02/05/2024 20:19:34
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020
|
||||
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884
|
||||
出错时间:02/05/2024 20:19:34
|
||||
出错时间:02/05/2024 20:19:34
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:21:55
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:21:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:21:58
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:21:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:21:59
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:21:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:21:59
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:21:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:21:59
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:21:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:21:59
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:21:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:21:59
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:21:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:21:59
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:21:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:The argument cannot be null or empty string.
|
||||
参数名: fileName
|
||||
错误堆栈:
|
||||
在 .(String , String )
|
||||
在 Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
|
||||
在 Aspose.Words.Document..ctor(String fileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.btnDonwLoadTrainRecords_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 276
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/05/2024 22:22:00
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/05/2024 22:22:00
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:FileNotFoundException
|
||||
错误信息:未能找到文件“E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\File\Word\TestRun\生产人员培训执行情况报告.doc”。
|
||||
错误堆栈:
|
||||
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
|
||||
在 System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
|
||||
在 System.IO.File.Copy(String sourceFileName, String destFileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.PageManager1_CustomEvent(Object sender, CustomEventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 300
|
||||
在 FineUIPro.PageManager.OnCustomEvent(CustomEventArgs e)
|
||||
在 (PageManager , CustomEventArgs )
|
||||
在 FineUIPro.PageManager.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/06/2024 13:59:32
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/06/2024 13:59:32
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:IOException
|
||||
错误信息:文件“E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\File\Word\TestRun\生产人员培训执行情况报告34869bac-dbd1-41b8-a43a-b6db3daf7aed.doc”已经存在。
|
||||
错误堆栈:
|
||||
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
|
||||
在 System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
|
||||
在 System.IO.File.Copy(String sourceFileName, String destFileName)
|
||||
在 FineUIPro.Web.TestRun.PersonTrain.TrainRecords.PageManager1_CustomEvent(Object sender, CustomEventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\PersonTrain\TrainRecords.aspx.cs:行号 264
|
||||
在 FineUIPro.PageManager.OnCustomEvent(CustomEventArgs e)
|
||||
在 (PageManager , CustomEventArgs )
|
||||
在 FineUIPro.PageManager.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:02/06/2024 14:24:27
|
||||
出错文件:http://localhost:8579/TestRun/PersonTrain/TrainRecords.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:02/06/2024 14:24:27
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2180
|
||||
出错时间:02/21/2024 13:01:51
|
||||
出错时间:02/21/2024 13:01:51
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2045
|
||||
出错时间:02/21/2024 13:01:51
|
||||
出错时间:02/21/2024 13:01:51
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1941
|
||||
出错时间:02/21/2024 13:01:51
|
||||
出错时间:02/21/2024 13:01:51
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:ArgumentException
|
||||
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||
参数名: via
|
||||
错误堆栈:
|
||||
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1883
|
||||
出错时间:02/21/2024 13:01:51
|
||||
出错时间:02/21/2024 13:01:51
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
|
||||
动火作业许可证
|
||||
中国五环工程有限公司 NO:18063-XXXX(单位简称)-
|
||||
XXXX(装置代码)-顺序号-C
|
||||
|申请单位 | |作业负责人 | |
|
||||
|动火地点 | |动火方式 | |
|
||||
|作业内容 | |
|
||||
|动火级别 |二级动火( ) 一级动火( ) 特殊动火( ) |
|
||||
|动火人员姓 | |
|
||||
|名 | |
|
||||
|作业危害分析: |
|
||||
|主 要 安 全 措 施 |打√|确认人 |
|
||||
|作业|施工人员作业前对动火作业进行工作危害分析。 | | |
|
||||
|负责| | | |
|
||||
|人确| | | |
|
||||
|认 | | | |
|
||||
| |动火点周围易燃物已清除。 | | |
|
||||
| |电焊回路线应接在焊件上,把线不得穿过下水井或与其他设| | |
|
||||
| |备搭接。 | | |
|
||||
| |乙炔气瓶(禁止卧放)、氧气瓶与动火点的距离不得少于10| | |
|
||||
| |米。 | | |
|
||||
| |高处作业(2米以上)须采取防火花飞溅措施,大于5级风禁| | |
|
||||
| |止动火。 | | |
|
||||
| |动火点周围(最小半径15米)的下水井、地漏、地沟、电缆| | |
|
||||
| |沟等已清除易燃物,并已采取覆盖、铺砂、水封等手段隔离| | |
|
||||
| |。 | | |
|
||||
|相关|动火设备内部的物料清理干净,经蒸汽吹扫、水洗、置换等| | |
|
||||
|管理|措施处理合格。 | | |
|
||||
|人员| | | |
|
||||
|确认| | | |
|
||||
| |断开与动火设备相连的所有管线,加盲板( )块。 | | |
|
||||
| |罐区内动火点同一围堰内和防火间距内无脱水作业。 | | |
|
||||
| |动火点内部介质、周围大气环境采样分析合格,达到动火作| | |
|
||||
| |业条件。 | | |
|
||||
| |配备消防蒸汽带( )根,灭火器( )个,铁锨( )把, | | |
|
||||
| |石棉布( )块。 | | |
|
||||
|审核|其他补充安全措施: | |
|
||||
|人员| | |
|
||||
|填写| | |
|
||||
|作业单位负 | |
|
||||
|责人 | |
|
||||
|总承包商 |专业工程师 | |
|
||||
| |开车工程师 | |
|
||||
| |施工经理 | |
|
||||
| |开车经理 | |
|
||||
| |HSE经理 | |
|
||||
|完工验收时 | 年 月 日 时 |监护人签名关闭 | |
|
||||
|间 | 分 | | |
|
|
@ -0,0 +1,124 @@
|
|||
施工开车交叉期间盲板抽堵作业许可证
|
||||
中国五环工程有限公司 NO:18063-XXXX(单位简称)-XXXX(装置代码)-顺序号-C
|
||||
申请单位
|
||||
|
||||
申请人
|
||||
|
||||
设备管道名称
|
||||
介质
|
||||
温度
|
||||
压力
|
||||
盲板
|
||||
作业方式
|
||||
作业人
|
||||
监护人
|
||||
|
||||
|
||||
|
||||
|
||||
材质
|
||||
规格
|
||||
编号
|
||||
堵
|
||||
抽
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
作业负责人
|
||||
|
||||
涉及的其他特殊作业
|
||||
|
||||
盲板位置图及编号:
|
||||
危害分析:盲板抽堵后若阀门误操作后可能有什么风险?盲板抽堵作业有什么风险?
|
||||
序号
|
||||
安全措施
|
||||
打√
|
||||
确认人
|
||||
1
|
||||
拆装多个盲板时,应按盲板位置图及盲板编号,由作业负责人统一指挥,监护人全程监护,每个抽堵盲板处应设标牌表明盲板位置。
|
||||
|
||||
|
||||
2
|
||||
在有毒介质的管道、设备上作业时,作业人员穿戴适合的防护用具。
|
||||
|
||||
|
||||
3
|
||||
在强腐蚀性介质的管道、设备上作业时,作业人员已采取防止酸碱灼伤的措施。
|
||||
|
||||
|
||||
4
|
||||
介质温度较高、可能造成烫伤的情况下,作业人员已采取防烫措施。
|
||||
|
||||
|
||||
5
|
||||
易燃易爆场所,作业人员穿防静电工作服、工作鞋;作业时使用防爆灯具和防爆工具,禁止用铁器敲打管线、法兰等。
|
||||
|
||||
|
||||
6
|
||||
在有毒介质的管道、设备上作业时,尽可能降低系统压力,作业点应为常压;气体温度应小于60℃;作业人员严禁正对危险有害物质(能量)可能突出的方向,作好个人防护。
|
||||
|
||||
|
||||
7
|
||||
盲板材质要适宜,厚度应经强度计算,高压盲板应经探伤合格,盲板应有一个或两个手柄,便于辨识、抽堵,应选用与之相配的垫片。
|
||||
|
||||
|
||||
8
|
||||
易燃易爆场所,距作业地点30m内无其他动火作业。
|
||||
|
||||
|
||||
9
|
||||
同一管道上不同时进行两处以上的盲板抽堵作业。
|
||||
|
||||
|
||||
10
|
||||
上述措施已对作业人员进行交底和安全教育。
|
||||
|
||||
|
||||
11
|
||||
其他安全措施:
|
||||
|
||||
|
||||
责任单位
|
||||
审批意见
|
||||
盲板抽堵作业确认验收情况
|
||||
作业单位负责人
|
||||
|
||||
|
||||
总承包商
|
||||
开车工程师
|
||||
|
||||
|
||||
|
||||
开车经理
|
||||
|
||||
|
||||
|
||||
HSE工程师
|
||||
|
||||
|
||||
完工验收时间
|
||||
年 月 日 时
|
||||
监护人验证关闭
|
||||
|
||||
注:此作业票有效期不超过24小时。
|
|
@ -0,0 +1,56 @@
|
|||
|
||||
受限空间作业许可证
|
||||
中国五环工程有限公司 NO:18063-XXXX(单位简称)-
|
||||
XXXX(装置代码)-顺序号-C
|
||||
|申请单位 | |作业负责人| |
|
||||
|作业地点 | |作业内容 | |
|
||||
|作业人 | |监护人 | |
|
||||
|通风类型 | |原有工艺介质 | |
|
||||
|采样分析 |分析项目 |
|
||||
|作业危害分析: |
|
||||
|序号|主 要 安 全 措 施 |打√ |确认人 |
|
||||
|作业|已进行工作危害分析和安全技术交底,个人防护用品齐全有 | | |
|
||||
|负责|效,随身携带气体检测仪。 | | |
|
||||
|人确| | | |
|
||||
|认 | | | |
|
||||
| |使用安全电压( )伏,救生绳( )条、气防设备( | | |
|
||||
| |)个。 | | |
|
||||
| |监护人全程监护,与作业人通讯方式:对讲机( )定时喊 | | |
|
||||
| |话( )其他: | | |
|
||||
| |检查受限空间进出口通道,不得有阻碍人员进出的障碍物。 | | |
|
||||
| |设备已打开通风孔进行自然通风,温度适宜人员作业;氧含 | | |
|
||||
| |量不足时应强制通风或佩戴空气呼吸器,严禁通纯氧或富氧 | | |
|
||||
| |空气。 | | |
|
||||
| |进入可能存在高热、高湿及各类腐蚀性作业空间,作业人员 | | |
|
||||
| |采取防护措施,必须配备相应的个人防护用品。 | | |
|
||||
| |存在交叉作业时,设安全梯或安全平台,层间设防坠物伤害 | | |
|
||||
| |的安全措施,人员系安全带。 | | |
|
||||
| |人员进出受限空间登记,关闭人孔前进行确认。 | | |
|
||||
| |作业暂停期间阻断受限空间入口并设置禁止进入标识 | | |
|
||||
|作业|受限空间气体分析合格,达到进入作业条件。 | | |
|
||||
|单位| | | |
|
||||
|相关| | | |
|
||||
|管理| | | |
|
||||
|人员| | | |
|
||||
|确认| | | |
|
||||
| |存有工艺介质的设备已经过置换、吹扫、蒸煮, | | |
|
||||
| |所有与受限空间有联系的阀门管线已加盲板隔离,列出盲板清| | |
|
||||
| |单,落实抽堵盲板责任人。 | | |
|
||||
| |带转动的设备进行有效锁定,已切断电源,挂“禁止合闸”标 | | |
|
||||
| |志牌,设专人监护。 | | |
|
||||
| |检查受限空间内部已具备作业条件,清罐时(无需用/已采用| | |
|
||||
| |)防爆工具 | | |
|
||||
| |受过培训的救援人员及呼吸器、担架等应急准备 | | |
|
||||
|审核|其他安全补充措施: | |
|
||||
|人员| | |
|
||||
|填写| | |
|
||||
|作业单位负责| |
|
||||
|人 | |
|
||||
|总承包商 |专业工程 | |
|
||||
| |师 | |
|
||||
| |开车工程 | |
|
||||
| |师 | |
|
||||
| |施工经理 | |
|
||||
| |开车经理 | |
|
||||
| |HSE经理 | |
|
||||
|完工验收 |年 月 日 时 分|监护人验证关闭 | |
|
|
@ -0,0 +1,48 @@
|
|||
|
||||
试车区域作业许可证(非特殊作业)
|
||||
中国五环工程有限公司 NO:18063-XXXX(单位简称)-
|
||||
XXXX(装置代码)-顺序号-C
|
||||
|申请单位 | |作业负责人 | |
|
||||
|作业地点 | |作业材料、使用工| |
|
||||
| | |具 | |
|
||||
|作业内容 | |
|
||||
|作业人员姓 | |监护人姓名 | |
|
||||
|名 | | | |
|
||||
| | |监护人工种 | |
|
||||
|作业时间 |年 月 日 时 分 至 年 月 日 时 |
|
||||
| |分 |
|
||||
|作业危害分析: |
|
||||
|主 要 安 全 措 施 |打√|确认人 |
|
||||
|作业|施工是否会产生火花,若是,是否有相应防起火措施。 | | |
|
||||
|负责| | | |
|
||||
|人确| | | |
|
||||
|认 | | | |
|
||||
| |作业人员知晓周围危险源并知晓应急疏散通道。 | | |
|
||||
| |已告知作业人员禁止进入危险区域。 | | |
|
||||
| | | | |
|
||||
| | | | |
|
||||
| | | | |
|
||||
|相关|作业交底到位。 | | |
|
||||
|管理| | | |
|
||||
|人员| | | |
|
||||
|确认| | | |
|
||||
| |有专人监护。 | | |
|
||||
| |配备消防蒸汽带( )根,灭火器( )个,铁锨( )把, | | |
|
||||
| |石棉布( )块。 | | |
|
||||
| | | | |
|
||||
| | | | |
|
||||
|审核|其他补充安全措施: | |
|
||||
|人员| | |
|
||||
|填写| | |
|
||||
|作业单位负 | |
|
||||
|责人 | |
|
||||
|总承包商 |专业工程师 | |
|
||||
| |开车工程师 | |
|
||||
| |施工经理 | |
|
||||
| |开车经理 | |
|
||||
| |HSE经理 | |
|
||||
|完工验收时 | 年 月 日 时 |监护人签名关闭 | |
|
||||
|间 | 分 | | |
|
||||
|
||||
|
||||
注:此作业票有效期不超过24小时。
|
|
@ -1724,6 +1724,7 @@
|
|||
<Content Include="TestRun\DriverHse\HseMeasureEdit.aspx" />
|
||||
<Content Include="TestRun\DriverHse\RoadMap.aspx" />
|
||||
<Content Include="TestRun\DriverHse\RoadMapEdit.aspx" />
|
||||
<Content Include="TestRun\DriverHse\TestRunLicenseTypeEdit.aspx" />
|
||||
<Content Include="TestRun\DriverPrepare\ConStudyEdit.aspx" />
|
||||
<Content Include="TestRun\DriverPrepare\DriverDataEdit.aspx" />
|
||||
<Content Include="TestRun\DriverPrepare\DriverDataTypeEdit.aspx" />
|
||||
|
@ -15575,6 +15576,13 @@
|
|||
<Compile Include="TestRun\DriverHse\RoadMapEdit.aspx.designer.cs">
|
||||
<DependentUpon>RoadMapEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TestRun\DriverHse\TestRunLicenseTypeEdit.aspx.cs">
|
||||
<DependentUpon>TestRunLicenseTypeEdit.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TestRun\DriverHse\TestRunLicenseTypeEdit.aspx.designer.cs">
|
||||
<DependentUpon>TestRunLicenseTypeEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TestRun\DriverPrepare\ConStudy.aspx.cs">
|
||||
<DependentUpon>ConStudy.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress>false</Use64BitIISExpress>
|
||||
<IISExpressSSLPort />
|
||||
|
|
|
@ -4,23 +4,23 @@
|
|||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>开车风险源识别</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>开车危险源清单</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="开车风险源识别" EnableCollapse="true"
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="开车危险源清单" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="HseHazardId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="HseHazardId" AllowSorting="true" SortField="Code"
|
||||
SortDirection="ASC" OnSort="Grid1_Sort" EnableColumnLines="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" EnableTextSelection="True" OnRowCommand="Grid1_RowCommand" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpUnitWorkId" runat="server" Label="装置/工序" LabelAlign="Right"></f:DropDownList>
|
||||
<f:TextBox ID="txtCode" runat="server" Label="编号" LabelAlign="Right"></f:TextBox>
|
||||
<f:Button ID="btnSearch" Icon="SystemSearch" ToolTip="搜索"
|
||||
EnablePostBack="true" runat="server" OnClick="btnSearch_Click">
|
||||
</f:Button>
|
||||
|
@ -31,38 +31,29 @@
|
|||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:TemplateField ColumnID="tfPageIndex" Width="55px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:RenderField ColumnID="Code" DataField="Code"
|
||||
FieldType="String" HeaderText="序号" HeaderTextAlign="Center" Width="55px" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="UnitWorkName" DataField="UnitWorkName"
|
||||
FieldType="String" HeaderText="装置/工序" HeaderTextAlign="Center" Width="120px">
|
||||
FieldType="String" HeaderText="编号" HeaderTextAlign="Center" Width="250px" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkArea" DataField="WorkArea"
|
||||
FieldType="String" HeaderText="位置/区域" HeaderTextAlign="Center" Width="150px">
|
||||
FieldType="String" HeaderText="项目区域" HeaderTextAlign="Center" Width="220px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="UnitHead" DataField="UnitHead"
|
||||
FieldType="String" HeaderText="装置负责人" HeaderTextAlign="Center" Width="120px">
|
||||
<f:RenderField ColumnID="IdentificationDate" DataField="IdentificationDate"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="辨识时间" HeaderTextAlign="Center" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Supervisor" DataField="Supervisor"
|
||||
FieldType="String" HeaderText="监督人" HeaderTextAlign="Center" Width="110px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Hazards" DataField="Hazards"
|
||||
FieldType="String" HeaderText="危险源" HeaderTextAlign="Center" Width="110px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Harm" DataField="Harm"
|
||||
FieldType="String" HeaderText="危害" HeaderTextAlign="Center" Width="150px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="PreventiveMeasures" DataField="PreventiveMeasures"
|
||||
FieldType="String" HeaderText="预防措施" HeaderTextAlign="Center" Width="180px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Darificaiton" DataField="Darificaiton"
|
||||
FieldType="String" HeaderText="交底/告知" HeaderTextAlign="Center" Width="200px">
|
||||
<f:RenderField ColumnID="ControlHeaderMan" DataField="ControlHeaderMan"
|
||||
FieldType="String" HeaderText="控制责任人" HeaderTextAlign="Center" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Remark" DataField="Remark"
|
||||
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
|
||||
TextAlign="Center" ToolTip="附件查看" Icon="Find"/>
|
||||
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
|
@ -83,7 +74,7 @@
|
|||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="开车风险源识别" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
<f:Window ID="Window1" Title="开车危险源清单" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||
Width="1000px" Height="400px">
|
||||
</f:Window>
|
||||
|
|
|
@ -17,7 +17,6 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
GetButtonPower();
|
||||
BindGrid();
|
||||
btnNew.OnClientClick = Window1.GetShowReference("HseHazardEdit.aspx") + "return false;";
|
||||
BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
@ -26,28 +25,22 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
//加载列表
|
||||
public void BindGrid()
|
||||
{
|
||||
string strSql = @"SELECT driver.HseHazardId,
|
||||
driver.ProjectId,
|
||||
driver.Code,
|
||||
driver.WorkArea,
|
||||
driver.UnitHead,
|
||||
driver.Supervisor,
|
||||
driver.Hazards,
|
||||
driver.Harm,
|
||||
driver.PreventiveMeasures,
|
||||
driver.Darificaiton,
|
||||
driver.AttachUrl,
|
||||
driver.Remark,
|
||||
driver.UnitWorkId,
|
||||
UnitWork.UnitWorkName"
|
||||
+ @" FROM DriverHse_HseHazard AS driver "
|
||||
+ @" LEFT JOIN WBS_UnitWork AS UnitWork ON UnitWork.UnitWorkId = driver.UnitWorkId WHERE driver.ProjectId=@projectId";
|
||||
string strSql = @"SELECT hseHazard.HseHazardId,
|
||||
hseHazard.ProjectId,
|
||||
hseHazard.Code,
|
||||
hseHazard.WorkArea,
|
||||
hseHazard.IdentificationDate,
|
||||
hseHazard.ControlHeaderMan,
|
||||
hseHazard.Remark,
|
||||
hseHazard.AttachUrl"
|
||||
+ @" FROM DriverHse_HseHazard AS hseHazard "
|
||||
+ @" WHERE hseHazard.ProjectId=@projectId";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
|
||||
if (!string.IsNullOrEmpty(this.drpUnitWorkId.SelectedValue) && this.drpUnitWorkId.SelectedValue != BLL.Const._Null)
|
||||
if (!string.IsNullOrEmpty(this.txtCode.Text.Trim()))
|
||||
{
|
||||
strSql += " AND driver.UnitWorkId=@unitWorkId";
|
||||
listStr.Add(new SqlParameter("@unitWorkId", this.drpUnitWorkId.SelectedValue));
|
||||
strSql += " AND hseHazard.Code like @code";
|
||||
listStr.Add(new SqlParameter("@code", "%" + this.txtCode.Text.Trim() + "%"));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
|
|
@ -58,13 +58,13 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
protected global::FineUIPro.Toolbar ToolSearch;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitWorkId 控件。
|
||||
/// txtCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitWorkId;
|
||||
protected global::FineUIPro.TextBox txtCode;
|
||||
|
||||
/// <summary>
|
||||
/// btnSearch 控件。
|
||||
|
@ -84,6 +84,15 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
/// <summary>
|
||||
/// lblPageIndex 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPageIndex;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -36,41 +36,23 @@
|
|||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCode" runat="server" Label="序号" LabelAlign="Right" LabelWidth="120px" MaxLength="50" Required="true" ShowRedStar="true">
|
||||
<f:TextBox ID="txtCode" runat="server" Label="编号" LabelAlign="Right" LabelWidth="120px" MaxLength="50" Required="true" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
<f:DropDownList ID="drpUnitWorkId" runat="server" Label="装置/工序" LabelAlign="Right" LabelWidth="120px" Required="true" ShowRedStar="true"></f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWorkArea" runat="server" Label="位置/区域" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtUnitHead" runat="server" Label="装置负责人" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
<f:TextBox ID="txtWorkArea" runat="server" Label="项目区域" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtSupervisor" runat="server" Label="监督人" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtHazards" runat="server" Label="危险源" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
<f:DatePicker ID="txtIdentificationDate" runat="server" Label="辨识时间" LabelAlign="Right" LabelWidth="120px"></f:DatePicker>
|
||||
<f:TextBox ID="txtControlHeaderMan" runat="server" Label="控制责任人" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtHarm" runat="server" Label="危害" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtPreventiveMeasures" runat="server" Label="预防措施" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtDarificaiton" runat="server" Label="交底/告知" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="120px" MaxLength="500">
|
||||
</f:TextBox>
|
||||
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="120px" MaxLength="500">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow runat="server">
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
//BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
|
@ -24,18 +24,10 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
if (data != null)
|
||||
{
|
||||
this.hdId.Text = id;
|
||||
this.txtCode.Text = data.Code;
|
||||
if (!string.IsNullOrEmpty(data.UnitWorkId))
|
||||
{
|
||||
this.drpUnitWorkId.SelectedValue = data.UnitWorkId;
|
||||
}
|
||||
this.txtCode.Text = data.Code;
|
||||
this.txtWorkArea.Text = data.WorkArea;
|
||||
this.txtUnitHead.Text = data.UnitHead;
|
||||
this.txtSupervisor.Text = data.Supervisor;
|
||||
this.txtHazards.Text = data.Hazards;
|
||||
this.txtHarm.Text = data.Harm;
|
||||
this.txtPreventiveMeasures.Text = data.PreventiveMeasures;
|
||||
this.txtDarificaiton.Text = data.Darificaiton;
|
||||
this.txtIdentificationDate.Text = data.IdentificationDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.IdentificationDate) : "";
|
||||
this.txtControlHeaderMan.Text = data.ControlHeaderMan;
|
||||
this.txtRemark.Text = data.Remark;
|
||||
}
|
||||
}
|
||||
|
@ -67,22 +59,12 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.drpUnitWorkId.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择装置/工序!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
string id = Request.Params["id"];
|
||||
Model.DriverHse_HseHazard newData = new Model.DriverHse_HseHazard();
|
||||
newData.Code = this.txtCode.Text.Trim();
|
||||
newData.WorkArea = this.txtWorkArea.Text.Trim();
|
||||
newData.UnitHead = this.txtUnitHead.Text.Trim();
|
||||
newData.UnitWorkId = this.drpUnitWorkId.SelectedValue;
|
||||
newData.Supervisor = this.txtSupervisor.Text.Trim();
|
||||
newData.Hazards = this.txtHazards.Text.Trim();
|
||||
newData.Harm = this.txtHarm.Text.Trim();
|
||||
newData.PreventiveMeasures = this.txtPreventiveMeasures.Text.Trim();
|
||||
newData.Darificaiton = this.txtDarificaiton.Text.Trim();
|
||||
newData.IdentificationDate =Funs.GetNewDateTime(this.txtIdentificationDate.Text.Trim());
|
||||
newData.ControlHeaderMan = this.txtControlHeaderMan.Text.Trim();
|
||||
newData.Remark = this.txtRemark.Text.Trim();
|
||||
newData.ProjectId = this.CurrUser.LoginProjectId;
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
|
|
|
@ -111,15 +111,6 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCode;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitWorkId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitWorkId;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkArea 控件。
|
||||
/// </summary>
|
||||
|
@ -130,58 +121,22 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
protected global::FineUIPro.TextBox txtWorkArea;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitHead 控件。
|
||||
/// txtIdentificationDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitHead;
|
||||
protected global::FineUIPro.DatePicker txtIdentificationDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtSupervisor 控件。
|
||||
/// txtControlHeaderMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSupervisor;
|
||||
|
||||
/// <summary>
|
||||
/// txtHazards 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHazards;
|
||||
|
||||
/// <summary>
|
||||
/// txtHarm 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHarm;
|
||||
|
||||
/// <summary>
|
||||
/// txtPreventiveMeasures 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtPreventiveMeasures;
|
||||
|
||||
/// <summary>
|
||||
/// txtDarificaiton 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtDarificaiton;
|
||||
protected global::FineUIPro.TextBox txtControlHeaderMan;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark 控件。
|
||||
|
@ -190,7 +145,7 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRemark;
|
||||
protected global::FineUIPro.TextArea txtRemark;
|
||||
|
||||
/// <summary>
|
||||
/// Panel3 控件。
|
||||
|
|
|
@ -4,105 +4,106 @@
|
|||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>开车作业票管理</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>施工开车交叉期间作业许可</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
|
||||
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" OnCustomEvent="PageManager1_CustomEvent"/>
|
||||
<f:Panel ID="Panel1" CssClass="blockpanel" Margin="5px" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="开车作业票管理" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="HseLicenseId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="HseLicenseId" AllowSorting="true" SortField="Code"
|
||||
SortDirection="ASC" OnSort="Grid1_Sort" EnableColumnLines="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" EnableTextSelection="True" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpUnitWorkId" runat="server" Label="装置/工序" LabelAlign="Right"></f:DropDownList>
|
||||
<f:Button ID="btnSearch" Icon="SystemSearch" ToolTip="搜索"
|
||||
EnablePostBack="true" runat="server" OnClick="btnSearch_Click">
|
||||
</f:Button>
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnNew" Icon="Add" ToolTip="新增" EnablePostBack="false" runat="server" Hidden="true">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RenderField ColumnID="Code" DataField="Code"
|
||||
FieldType="String" HeaderText="序号" HeaderTextAlign="Center" Width="55px" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="UnitWorkName" DataField="UnitWorkName"
|
||||
FieldType="String" HeaderText="装置/工序" HeaderTextAlign="Center" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkArea" DataField="WorkArea"
|
||||
FieldType="String" HeaderText="位置/区域" HeaderTextAlign="Center" Width="150px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkContents" DataField="WorkContents"
|
||||
FieldType="String" HeaderText="作业内容" HeaderTextAlign="Center" Width="180px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkDate" DataField="WorkDate"
|
||||
FieldType="Date" Renderer="Date" HeaderText="作业时间" HeaderTextAlign="Center" Width="110px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="UnitHead" DataField="UnitHead"
|
||||
FieldType="String" HeaderText="装置负责人" HeaderTextAlign="Center" Width="110px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ApplyMan" DataField="ApplyMan"
|
||||
FieldType="String" HeaderText="申请作业人" HeaderTextAlign="Center" Width="110px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ApplyUnit" DataField="ApplyUnit"
|
||||
FieldType="String" HeaderText="申请作业单位" HeaderTextAlign="Center" Width="180px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkTicket" DataField="WorkTicket"
|
||||
FieldType="String" HeaderText="作业票" HeaderTextAlign="Center" Width="160px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkTicketCode" DataField="WorkTicketCode"
|
||||
FieldType="String" HeaderText="作业票编号" HeaderTextAlign="Center" Width="160px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Detection" DataField="Detection"
|
||||
FieldType="String" HeaderText="检测、防护" HeaderTextAlign="Center" Width="200px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Guardian" DataField="Guardian"
|
||||
FieldType="String" HeaderText="监护人" HeaderTextAlign="Center" Width="100px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkEnd" DataField="WorkEnd"
|
||||
FieldType="String" HeaderText="作业结束" HeaderTextAlign="Center" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Remark" DataField="Remark"
|
||||
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px" >
|
||||
</f:RenderField>
|
||||
<%--<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
|
||||
TextAlign="Center" ToolTip="附件查看" Icon="Find"/>--%>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="10" Value="10" />
|
||||
<f:ListItem Text="15" Value="15" />
|
||||
<f:ListItem Text="20" Value="20" />
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
<f:ListItem Text="所有行" Value="100000" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
<f:Panel runat="server" ID="Panel2" RegionPosition="Left" RegionSplit="true" EnableCollapse="true"
|
||||
Width="300px" Title="作业类别" ShowBorder="true" ShowHeader="false" Layout="Region"
|
||||
BodyPadding="1px">
|
||||
<Items>
|
||||
<f:Tree ID="tvDataTypeInit" EnableCollapse="true" ShowHeader="false" ShowBorder="true"
|
||||
OnNodeCommand="tvDataTypeInit_NodeCommand" AutoLeafIdentification="true"
|
||||
runat="server">
|
||||
<Listeners>
|
||||
<f:Listener Event="beforenodecontextmenu" Handler="onTreeNodeContextMenu" />
|
||||
</Listeners>
|
||||
</f:Tree>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Panel runat="server" ID="Panel4" RegionPosition="Center" Layout="Fit"
|
||||
Title="中间面板" ShowBorder="true" ShowHeader="false" BodyPadding="10px">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="施工开车交叉期间作业许可" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="HseLicenseId" AllowCellEditing="true" EnableColumnLines="true" ClicksToEdit="2" DataIDField="HseLicenseId" AllowSorting="true" SortField="Code"
|
||||
SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableTextSelection="True" OnRowCommand="Grid1_RowCommand" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtCode" Label="编号" LabelAlign="Right"></f:TextBox>
|
||||
<f:Button ID="btnSearch" Icon="SystemSearch"
|
||||
EnablePostBack="true" runat="server" OnClick="btnSearch_Click">
|
||||
</f:Button>
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnNew" Icon="Add" ToolTip="新增" OnClick="btnNew_Click" runat="server" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnDownLoad" Icon="DiskDownload" ToolTip="下载模板" runat="server" Hidden="true" OnClick="btnDownLoad_Click" EnableAjaxLoading="false" ></f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RenderField ColumnID="Code" DataField="Code"
|
||||
FieldType="String" HeaderText="编号" HeaderTextAlign="Center" Width="180px" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ApplyUnit" DataField="ApplyUnit"
|
||||
FieldType="String" HeaderText="申请单位" HeaderTextAlign="Center" Width="220px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="ApplyMan" DataField="ApplyMan"
|
||||
FieldType="String" HeaderText="申请人" HeaderTextAlign="Center" Width="100px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="HeaderMan" DataField="HeaderMan"
|
||||
FieldType="String" HeaderText="作业负责人" HeaderTextAlign="Center" Width="100px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkAddress" DataField="WorkAddress"
|
||||
FieldType="String" HeaderText="作业地点" HeaderTextAlign="Center" Width="110px">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="WorkContents" DataField="WorkContents"
|
||||
FieldType="String" HeaderText="作业内容" HeaderTextAlign="Center" Width="110px" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField ColumnID="Remark" DataField="Remark"
|
||||
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
|
||||
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="10" Value="10" />
|
||||
<f:ListItem Text="15" Value="15" />
|
||||
<f:ListItem Text="20" Value="20" />
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
<f:ListItem Text="所有行" Value="100000" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="开车作业票管理" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
<f:Window ID="Window1" Title="施工开车交叉期间作业许可" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||
Width="1000px" Height="600px">
|
||||
Width="900px" Height="520px">
|
||||
</f:Window>
|
||||
<%--<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
<f:Window ID="Window2" Title="作业类别及模板" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||
Width="600px" Height="380px">
|
||||
</f:Window>
|
||||
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>--%>
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<Items>
|
||||
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Text="修改" Icon="Pencil" OnClick="btnMenuModify_Click">
|
||||
|
@ -112,15 +113,36 @@
|
|||
</f:MenuButton>
|
||||
</Items>
|
||||
</f:Menu>
|
||||
<f:Menu ID="Menu2" runat="server">
|
||||
<Items>
|
||||
<f:MenuButton ID="btnMenuAdd" EnablePostBack="true" runat="server" Text="新增" Icon="Add" OnClick="btnMenuAdd_Click" Hidden="true">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuModify2" EnablePostBack="true" runat="server" Text="修改" Icon="Pencil" OnClick="btnMenuModify2_Click" Hidden="true">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDel2" EnablePostBack="true" runat="server" Icon="Delete" Text="删除" ConfirmText="确定删除类别及其下所有内容吗?"
|
||||
OnClick="btnMenuDel2_Click" Hidden="true">
|
||||
</f:MenuButton>
|
||||
</Items>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
var menuID2 = '<%= Menu2.ClientID %>';
|
||||
var currentNodeId;
|
||||
var currentNodeId;
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onTreeNodeContextMenu(event, nodeId) {
|
||||
currentNodeId = nodeId;
|
||||
F(menuID2).show();
|
||||
return false;
|
||||
}
|
||||
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}
|
||||
|
||||
function reloadGrid() {
|
||||
__doPostBack(null, 'reloadGrid');
|
||||
}
|
||||
|
|
|
@ -3,54 +3,92 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace FineUIPro.Web.TestRun.DriverHse
|
||||
{
|
||||
public partial class HseLicense : PageBase
|
||||
{
|
||||
#region 加载
|
||||
#region 加载页面
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
GetButtonPower();
|
||||
BindGrid();
|
||||
btnNew.OnClientClick = Window1.GetShowReference("HseLicenseEdit.aspx") + "return false;";
|
||||
BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
InitTree();//加载类别树
|
||||
}
|
||||
}
|
||||
|
||||
#region 绑定资料库类别
|
||||
/// <summary>
|
||||
/// 绑定资料库树节点
|
||||
/// </summary>
|
||||
private void InitTree()
|
||||
{
|
||||
this.tvDataTypeInit.Nodes.Clear();
|
||||
TreeNode node = new TreeNode();
|
||||
node.Text = "作业类别";
|
||||
node.NodeID = "0";
|
||||
node.Expanded = true;
|
||||
this.tvDataTypeInit.Nodes.Add(node);
|
||||
var types = BLL.TestRunLicenseTypeService.GetTestRunLicenseTypeList();
|
||||
foreach (var q in types)
|
||||
{
|
||||
TreeNode newNode = new TreeNode();
|
||||
newNode.ToolTip = q.LicenseTypeName;
|
||||
newNode.Text = q.LicenseTypeName;
|
||||
newNode.NodeID = q.LicenseTypeId;
|
||||
newNode.EnableExpandEvent = true;
|
||||
newNode.EnableClickEvent = true;
|
||||
node.Nodes.Add(newNode);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region 树点击事件
|
||||
/// <summary>
|
||||
/// 资料库类别树点击事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void tvDataTypeInit_NodeCommand(object sender, TreeCommandEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 数据绑定
|
||||
//加载列表
|
||||
/// <summary>
|
||||
/// 数据绑定
|
||||
/// </summary>
|
||||
public void BindGrid()
|
||||
{
|
||||
string strSql = @"SELECT driver.HseLicenseId,
|
||||
driver.ProjectId,
|
||||
driver.Code,
|
||||
driver.WorkArea,
|
||||
driver.WorkContents,
|
||||
driver.WorkDate,
|
||||
driver.UnitHead,
|
||||
driver.ApplyMan,
|
||||
driver.LicenseTypeId,
|
||||
driver.ApplyUnit,
|
||||
driver.WorkTicket,
|
||||
driver.WorkTicketCode,
|
||||
driver.Detection,
|
||||
driver.Guardian,
|
||||
driver.WorkEnd,
|
||||
driver.ApplyMan,
|
||||
driver.HeaderMan,
|
||||
driver.WorkAddress,
|
||||
driver.WorkContents,
|
||||
driver.Remark,
|
||||
driver.UnitWorkId,
|
||||
UnitWork.UnitWorkName"
|
||||
+ @" FROM DriverHse_HseLicense AS driver "
|
||||
+ @" LEFT JOIN WBS_UnitWork AS UnitWork ON UnitWork.UnitWorkId = driver.UnitWorkId WHERE driver.ProjectId=@projectId";
|
||||
TestRunLicenseType.LicenseTypeName"
|
||||
+ @" FROM DriverHse_HseLicense AS driver "
|
||||
+ @" LEFT JOIN Base_TestRunLicenseType AS TestRunLicenseType ON TestRunLicenseType.LicenseTypeId = driver.LicenseTypeId WHERE driver.ProjectId=@projectId";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
|
||||
if (!string.IsNullOrEmpty(this.drpUnitWorkId.SelectedValue) && this.drpUnitWorkId.SelectedValue != BLL.Const._Null)
|
||||
if (!string.IsNullOrEmpty(this.tvDataTypeInit.SelectedNodeID))
|
||||
{
|
||||
strSql += " AND driver.UnitWorkId=@unitWorkId";
|
||||
listStr.Add(new SqlParameter("@unitWorkId", this.drpUnitWorkId.SelectedValue));
|
||||
strSql += " AND driver.LicenseTypeId=@licenseTypeId";
|
||||
listStr.Add(new SqlParameter("@licenseTypeId", this.tvDataTypeInit.SelectedNodeID));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtCode.Text.Trim()))
|
||||
{
|
||||
strSql += " AND driver.Code like @code";
|
||||
listStr.Add(new SqlParameter("@code", "%" + this.txtCode.Text.Trim() + "%"));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
@ -97,8 +135,12 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
}
|
||||
#endregion
|
||||
|
||||
#region 搜索
|
||||
//搜索按钮事件
|
||||
#region 查询
|
||||
/// <summary>
|
||||
/// 查询
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
|
@ -113,10 +155,96 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
/// <param name="e"></param>
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
InitTree();
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 维护类别
|
||||
/// <summary>
|
||||
/// 增加类别
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
//string id = this.tvDataTypeInit.SelectedNodeID;
|
||||
//if (!string.IsNullOrEmpty(id))
|
||||
//{
|
||||
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("TestRunLicenseTypeEdit.aspx?type={1}", "add", "编辑 - ")));
|
||||
//}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改类别
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuModify2_Click(object sender, EventArgs e)
|
||||
{
|
||||
string id = this.tvDataTypeInit.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(id) && id != "0")
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("TestRunLicenseTypeEdit.aspx?licenseTypeId={0}&type={1}", id, "edit", "编辑 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择类别", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除类别
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuDel2_Click(object sender, EventArgs e)
|
||||
{
|
||||
string id = this.tvDataTypeInit.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(id) && id != "0")
|
||||
{
|
||||
Model.Base_TestRunLicenseType testRunLicenseType = BLL.TestRunLicenseTypeService.GetLicenseTypeById(id);
|
||||
if (testRunLicenseType != null)
|
||||
{
|
||||
BLL.TestRunLicenseTypeService.DeleteTestRunLicenseTypeById(id);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择类别", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
InitTree();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 增加按钮
|
||||
/// <summary>
|
||||
/// 增加
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.tvDataTypeInit.SelectedNode != null)
|
||||
{
|
||||
if (this.tvDataTypeInit.SelectedNodeID != "0")
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("HseLicenseEdit.aspx?licenseTypeId={0}", this.tvDataTypeInit.SelectedNode.NodeID, "新增 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择类别!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择树节点!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 编辑
|
||||
protected void btnMenuModify_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -143,11 +271,16 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("HseLicenseEdit.aspx?id={0}", Grid1.SelectedRowID, "编辑 - ")));
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("HseLicenseEdit.aspx?hseLicenseId={0}", Grid1.SelectedRowID, "编辑 - ")));
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 删除
|
||||
/// <summary>
|
||||
/// 右键删除
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length > 0)
|
||||
|
@ -155,8 +288,8 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
var info = BLL.HseLicenseService.GetHseLicenseById(rowID);
|
||||
if (info != null)
|
||||
var hseLicense = BLL.HseLicenseService.GetHseLicenseById(rowID);
|
||||
if (hseLicense != null)
|
||||
{
|
||||
BLL.HseLicenseService.DeleteHseLicenseById(rowID);
|
||||
}
|
||||
|
@ -173,14 +306,14 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
//protected void Grid1_RowCommand(object sender, GridCommandEventArgs e)
|
||||
//{
|
||||
//string id = Grid1.DataKeys[e.RowIndex][0].ToString();
|
||||
//if (e.CommandName == "AttachUrl")
|
||||
//{
|
||||
// PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/DriverHse/HseLicense&menuId={1}", id, BLL.Const.HseLicenseMenuId)));
|
||||
//}
|
||||
//}
|
||||
protected void Grid1_RowCommand(object sender, GridCommandEventArgs e)
|
||||
{
|
||||
string id = Grid1.DataKeys[e.RowIndex][0].ToString();
|
||||
if (e.CommandName == "AttachUrl")
|
||||
{
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/DriverHse/HseLicense&menuId={1}", id, BLL.Const.HseLicenseMenuId)));
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 权限设置
|
||||
|
@ -194,19 +327,80 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
{
|
||||
if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||
{
|
||||
this.btnDownLoad.Hidden = false;
|
||||
this.btnNew.Hidden = false;
|
||||
this.btnMenuAdd.Hidden = false;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnModify))
|
||||
{
|
||||
this.btnDownLoad.Hidden = false;
|
||||
this.btnMenuModify.Hidden = false;
|
||||
this.btnMenuModify2.Hidden = false;
|
||||
this.Grid1.EnableRowDoubleClickEvent = true;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||
{
|
||||
this.btnMenuDel.Hidden = false;
|
||||
this.btnMenuDel2.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 下载模板
|
||||
protected void btnDownLoad_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.tvDataTypeInit.SelectedNode != null)
|
||||
{
|
||||
if (this.tvDataTypeInit.SelectedNodeID != "0")
|
||||
{
|
||||
Model.AttachFile attachFile = BLL.AttachFileService.GetAttachFile(this.tvDataTypeInit.SelectedNodeID, BLL.Const.HseLicenseMenuId);
|
||||
if (attachFile != null)
|
||||
{
|
||||
PageContext.RegisterStartupScript(Confirm.GetShowReference("是否确认下载作业类别模板?", String.Empty, MessageBoxIcon.Question, PageManager1.GetCustomEventReference(false, "Confirm_OK"), PageManager1.GetCustomEventReference("Confirm_Cancel")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("模板不存在,请先上传模板!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择类别!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择树节点!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 下载导入模板
|
||||
/// </summary>
|
||||
protected void PageManager1_CustomEvent(object sender, CustomEventArgs e)
|
||||
{
|
||||
if (e.EventArgument == "Confirm_OK")
|
||||
{
|
||||
string rootPath = Server.MapPath("~/");
|
||||
string initTemplatePath = string.Empty;
|
||||
string uploadfilepath = string.Empty;
|
||||
Model.AttachFile attachFile = BLL.AttachFileService.GetAttachFile(this.tvDataTypeInit.SelectedNodeID, BLL.Const.HseLicenseMenuId);
|
||||
|
||||
initTemplatePath = attachFile.AttachUrl;
|
||||
uploadfilepath = rootPath + initTemplatePath;
|
||||
string fileName = Path.GetFileName(initTemplatePath);
|
||||
FileInfo info = new FileInfo(uploadfilepath);
|
||||
long fileSize = info.Length;
|
||||
Response.Clear();
|
||||
Response.ContentType = "application/x-zip-compressed";
|
||||
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
|
||||
Response.AddHeader("Content-Length", fileSize.ToString());
|
||||
Response.TransmitFile(uploadfilepath, 0, fileSize);
|
||||
Response.Flush();
|
||||
Response.Close();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -39,6 +39,33 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel2;
|
||||
|
||||
/// <summary>
|
||||
/// tvDataTypeInit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tree tvDataTypeInit;
|
||||
|
||||
/// <summary>
|
||||
/// Panel4 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel4;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
|
@ -58,13 +85,13 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
protected global::FineUIPro.Toolbar ToolSearch;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitWorkId 控件。
|
||||
/// txtCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitWorkId;
|
||||
protected global::FineUIPro.TextBox txtCode;
|
||||
|
||||
/// <summary>
|
||||
/// btnSearch 控件。
|
||||
|
@ -84,6 +111,15 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
/// <summary>
|
||||
/// btnDownLoad 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDownLoad;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
|
@ -120,6 +156,24 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
/// <summary>
|
||||
/// Window2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window2;
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window WindowAtt;
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
|
@ -146,5 +200,41 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDel;
|
||||
|
||||
/// <summary>
|
||||
/// Menu2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu2;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuAdd 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuAdd;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuModify2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuModify2;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDel2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDel2;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>编辑开车作业票管理</title>
|
||||
<title>编辑施工开车交叉期间作业许可</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
|
@ -36,9 +36,26 @@
|
|||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCode" runat="server" Label="序号" LabelAlign="Right" LabelWidth="120px" MaxLength="50" Required="true" ShowRedStar="true">
|
||||
<f:TextBox ID="txtCode" runat="server" Label="编号" LabelAlign="Right" LabelWidth="120px" MaxLength="50" Required="true" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtLicenseTypeName" runat="server" Label="作业类型" LabelAlign="Right" LabelWidth="120px" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtApplyMan" runat="server" Label="申请人" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtHeaderMan" runat="server" Label="作业负责人" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtWorkAddress" runat="server" Label="作业地点" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:DropDownList ID="drpUnitWorkId" runat="server" Label="装置/工序" LabelAlign="Right" LabelWidth="120px" Required="true" ShowRedStar="true"></f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
|
@ -47,52 +64,13 @@
|
|||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWorkArea" runat="server" Label="作业区域" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:DatePicker ID="txtWorkDate" runat="server" Label="作业时间" LabelAlign="Right" LabelWidth="120px"></f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUnitHead" runat="server" Label="装置负责人" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtApplyMan" runat="server" Label="申请作业人" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请作业单位" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtWorkTicket" runat="server" Label="作业票" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWorkTicketCode" runat="server" Label="作业票编号" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtDetection" runat="server" Label="检测、防护" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtGuardian" runat="server" Label="监护人" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtWorkEnd" runat="server" Label="作业结束" LabelAlign="Right" LabelWidth="120px" MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="120px" MaxLength="500">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<%--<f:FormRow runat="server">
|
||||
<f:FormRow runat="server">
|
||||
<Items>
|
||||
<f:Panel ID="Panel3" Width="300px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
|
||||
<Items>
|
||||
|
@ -104,7 +82,7 @@
|
|||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:FormRow>--%>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</f:ContentPanel>
|
||||
|
|
|
@ -15,34 +15,31 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
string licenseTypeId = Request.Params["licenseTypeId"];
|
||||
string hseLicenseId = Request.Params["hseLicenseId"];
|
||||
if (!string.IsNullOrEmpty(hseLicenseId))
|
||||
{
|
||||
Model.DriverHse_HseLicense data = BLL.HseLicenseService.GetHseLicenseById(id);
|
||||
Model.DriverHse_HseLicense data = BLL.HseLicenseService.GetHseLicenseById(hseLicenseId);
|
||||
if (data != null)
|
||||
{
|
||||
this.hdId.Text = id;
|
||||
this.hdId.Text = hseLicenseId;
|
||||
this.txtCode.Text = data.Code;
|
||||
if (!string.IsNullOrEmpty(data.UnitWorkId))
|
||||
if (!string.IsNullOrEmpty(data.LicenseTypeId))
|
||||
{
|
||||
this.drpUnitWorkId.SelectedValue = data.UnitWorkId;
|
||||
this.txtLicenseTypeName.Text = BLL.TestRunLicenseTypeService.GetLicenseTypeById(data.LicenseTypeId).LicenseTypeName;
|
||||
}
|
||||
this.txtWorkContents.Text = data.WorkContents;
|
||||
this.txtWorkArea.Text = data.WorkArea;
|
||||
this.txtWorkDate.Text = data.WorkDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.WorkDate) : "";
|
||||
this.txtUnitHead.Text = data.UnitHead;
|
||||
this.txtApplyMan.Text = data.ApplyMan;
|
||||
this.txtApplyUnit.Text = data.ApplyUnit;
|
||||
this.txtWorkTicket.Text = data.WorkTicket;
|
||||
this.txtWorkTicketCode.Text = data.WorkTicketCode;
|
||||
this.txtDetection.Text = data.Detection;
|
||||
this.txtGuardian.Text = data.Guardian;
|
||||
this.txtWorkEnd.Text = data.WorkEnd;
|
||||
this.txtApplyMan.Text = data.ApplyMan;
|
||||
this.txtHeaderMan.Text = data.HeaderMan;
|
||||
this.txtWorkAddress.Text = data.WorkAddress;
|
||||
this.txtWorkContents.Text = data.WorkContents;
|
||||
this.txtRemark.Text = data.Remark;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtLicenseTypeName.Text = BLL.TestRunLicenseTypeService.GetLicenseTypeById(licenseTypeId).LicenseTypeName;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
@ -53,14 +50,14 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
//protected void btnAttach_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录
|
||||
// {
|
||||
// this.hdId.Text = SQLHelper.GetNewID(typeof(Model.DriverHse_HseLicense));
|
||||
// }
|
||||
// PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverHse/HseLicense&menuId={1}", this.hdId.Text, BLL.Const.HseLicenseMenuId)));
|
||||
//}
|
||||
protected void btnAttach_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.DriverHse_HseLicense));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverHse/HseLicense&menuId={1}", this.hdId.Text, BLL.Const.HseLicenseMenuId)));
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存
|
||||
|
@ -71,35 +68,25 @@ namespace FineUIPro.Web.TestRun.DriverHse
|
|||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.drpUnitWorkId.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择装置/工序!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
string id = Request.Params["id"];
|
||||
string licenseTypeId = Request.Params["licenseTypeId"];
|
||||
string hseLicenseId = Request.Params["hseLicenseId"];
|
||||
Model.DriverHse_HseLicense newData = new Model.DriverHse_HseLicense();
|
||||
newData.Code = this.txtCode.Text.Trim();
|
||||
newData.WorkArea = this.txtWorkArea.Text.Trim();
|
||||
newData.WorkContents = this.txtWorkContents.Text.Trim();
|
||||
newData.WorkDate = Funs.GetNewDateTime(this.txtWorkDate.Text.Trim());
|
||||
newData.UnitHead = this.txtUnitHead.Text.Trim();
|
||||
newData.UnitWorkId = this.drpUnitWorkId.SelectedValue;
|
||||
newData.ApplyMan = this.txtApplyMan.Text.Trim();
|
||||
newData.ApplyUnit = this.txtApplyUnit.Text.Trim();
|
||||
newData.WorkTicket = this.txtWorkTicket.Text.Trim();
|
||||
newData.WorkTicketCode = this.txtWorkTicketCode.Text.Trim();
|
||||
newData.Detection = this.txtDetection.Text.Trim();
|
||||
newData.Guardian = this.txtGuardian.Text.Trim();
|
||||
newData.WorkEnd = this.txtWorkEnd.Text.Trim();
|
||||
newData.ApplyMan = this.txtApplyMan.Text.Trim();
|
||||
newData.HeaderMan = this.txtHeaderMan.Text.Trim();
|
||||
newData.WorkAddress = this.txtWorkAddress.Text.Trim();
|
||||
newData.WorkContents = this.txtWorkContents.Text.Trim();
|
||||
newData.Remark = this.txtRemark.Text.Trim();
|
||||
newData.ProjectId = this.CurrUser.LoginProjectId;
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
if (!string.IsNullOrEmpty(hseLicenseId))
|
||||
{
|
||||
newData.HseLicenseId = id;
|
||||
newData.HseLicenseId = hseLicenseId;
|
||||
BLL.HseLicenseService.UpdateHseLicense(newData);
|
||||
}
|
||||
else
|
||||
{
|
||||
newData.LicenseTypeId = licenseTypeId;
|
||||
if (!string.IsNullOrEmpty(this.hdId.Text))
|
||||
{
|
||||
newData.HseLicenseId = this.hdId.Text.Trim();
|
||||
|
|
|
@ -112,58 +112,13 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
protected global::FineUIPro.TextBox txtCode;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitWorkId 控件。
|
||||
/// txtLicenseTypeName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitWorkId;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkContents 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtWorkContents;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkArea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkArea;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtWorkDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitHead 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitHead;
|
||||
|
||||
/// <summary>
|
||||
/// txtApplyMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtApplyMan;
|
||||
protected global::FineUIPro.TextBox txtLicenseTypeName;
|
||||
|
||||
/// <summary>
|
||||
/// txtApplyUnit 控件。
|
||||
|
@ -175,49 +130,40 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
protected global::FineUIPro.TextBox txtApplyUnit;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkTicket 控件。
|
||||
/// txtApplyMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkTicket;
|
||||
protected global::FineUIPro.TextBox txtApplyMan;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkTicketCode 控件。
|
||||
/// txtHeaderMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkTicketCode;
|
||||
protected global::FineUIPro.TextBox txtHeaderMan;
|
||||
|
||||
/// <summary>
|
||||
/// txtDetection 控件。
|
||||
/// txtWorkAddress 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtDetection;
|
||||
protected global::FineUIPro.TextBox txtWorkAddress;
|
||||
|
||||
/// <summary>
|
||||
/// txtGuardian 控件。
|
||||
/// txtWorkContents 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtGuardian;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkEnd 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkEnd;
|
||||
protected global::FineUIPro.TextArea txtWorkContents;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark 控件。
|
||||
|
@ -228,6 +174,33 @@ namespace FineUIPro.Web.TestRun.DriverHse {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRemark;
|
||||
|
||||
/// <summary>
|
||||
/// Panel3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel3;
|
||||
|
||||
/// <summary>
|
||||
/// lblAttach 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lblAttach;
|
||||
|
||||
/// <summary>
|
||||
/// btnAttach 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttach;
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -0,0 +1,72 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestRunLicenseTypeEdit.aspx.cs" Inherits="FineUIPro.Web.TestRun.DriverHse.TestRunLicenseTypeEdit" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>编辑作业类别及模板</title>
|
||||
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow runat="server">
|
||||
<Items>
|
||||
<f:TextBox ID="txtCode" runat="server" Label="编号"
|
||||
Required="true" MaxLength="50" ShowRedStar="true" LabelWidth="110px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtName" runat="server" Label="作业类别"
|
||||
Required="true" MaxLength="50" ShowRedStar="true" LabelWidth="110px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRemark" runat="server" Label="备注" MaxLength="500" LabelWidth="110px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow runat="server">
|
||||
<Items>
|
||||
<f:Panel ID="Panel3" Width="300px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
|
||||
<Items>
|
||||
<f:Label ID="lblAttach" runat="server" Label="上传附件"
|
||||
LabelWidth="120px">
|
||||
</f:Label>
|
||||
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:HiddenField ID="hdAttachUrl" runat="server">
|
||||
</f:HiddenField>
|
||||
<f:HiddenField ID="hdId" runat="server"></f:HiddenField>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1" OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<%--<f:Button ID="btnClose" EnablePostBack="false"
|
||||
runat="server" Icon="SystemClose">
|
||||
</f:Button>--%>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
</form>
|
||||
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,87 @@
|
|||
using BLL;
|
||||
using System;
|
||||
|
||||
namespace FineUIPro.Web.TestRun.DriverHse
|
||||
{
|
||||
public partial class TestRunLicenseTypeEdit : PageBase
|
||||
{
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 页面加载
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//this.btnClose.OnClientClick = WindowAtt.GetHideReference();
|
||||
string id = Request.Params["licenseTypeId"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
Model.Base_TestRunLicenseType data = BLL.TestRunLicenseTypeService.GetLicenseTypeById(id);
|
||||
if (data != null)
|
||||
{
|
||||
this.hdId.Text = id;
|
||||
this.txtCode.Text = data.LicenseTypeCode;
|
||||
this.txtName.Text = data.LicenseTypeName;
|
||||
this.txtRemark.Text = data.Remark;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 附件上传
|
||||
/// <summary>
|
||||
/// 附件上传
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnAttach_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.Base_TestRunLicenseType));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverHse/TestRunLicenseType&menuId={1}", this.hdId.Text, BLL.Const.HseLicenseMenuId)));
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存
|
||||
/// <summary>
|
||||
/// 保存按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
string id = Request.Params["licenseTypeId"];
|
||||
Model.Base_TestRunLicenseType newData = new Model.Base_TestRunLicenseType();
|
||||
newData.LicenseTypeCode = this.txtCode.Text.Trim();
|
||||
newData.LicenseTypeName = this.txtName.Text.Trim();
|
||||
newData.Remark = this.txtRemark.Text.Trim();
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
newData.LicenseTypeId = id;
|
||||
BLL.TestRunLicenseTypeService.UpdateTestRunLicenseType(newData);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.hdId.Text))
|
||||
{
|
||||
newData.LicenseTypeId = this.hdId.Text.Trim();
|
||||
}
|
||||
else
|
||||
{
|
||||
newData.LicenseTypeId = SQLHelper.GetNewID(typeof(Model.Base_TestRunLicenseType));
|
||||
this.hdId.Text = newData.LicenseTypeId;
|
||||
}
|
||||
BLL.TestRunLicenseTypeService.AddTestRunLicenseType(newData);
|
||||
}
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
141
SGGL/FineUIPro.Web/TestRun/DriverHse/TestRunLicenseTypeEdit.aspx.designer.cs
generated
Normal file
141
SGGL/FineUIPro.Web/TestRun/DriverHse/TestRunLicenseTypeEdit.aspx.designer.cs
generated
Normal file
|
@ -0,0 +1,141 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.TestRun.DriverHse {
|
||||
|
||||
|
||||
public partial class TestRunLicenseTypeEdit {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// txtCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtName;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRemark;
|
||||
|
||||
/// <summary>
|
||||
/// Panel3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel3;
|
||||
|
||||
/// <summary>
|
||||
/// lblAttach 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lblAttach;
|
||||
|
||||
/// <summary>
|
||||
/// btnAttach 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttach;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// hdAttachUrl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdAttachUrl;
|
||||
|
||||
/// <summary>
|
||||
/// hdId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdId;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window WindowAtt;
|
||||
}
|
||||
}
|
|
@ -12,7 +12,7 @@
|
|||
<appSettings>
|
||||
<!--连接字符串-->
|
||||
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
|
||||
<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
|
||||
<add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
|
||||
<!--系统名称-->
|
||||
<add key="SystemName" value="智慧施工管理信息系统V1.0"/>
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
|
||||
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
|
||||
</httpHandlers>
|
||||
<compilation debug="false" targetFramework="4.6.1"/>
|
||||
<compilation debug="true" targetFramework="4.6.1"/>
|
||||
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000"/>
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
|
||||
|
|
|
@ -23,11 +23,14 @@
|
|||
</TreeNode>
|
||||
<TreeNode id="8EB88D36-5B13-4F41-8FE8-D66BCA08439D" Text="开车方案管理" NavigateUrl=""><TreeNode id="CAA63693-5D41-4018-9FF7-AAB311E6D8E0" Text="开车方案管理" NavigateUrl="TestRun/DriverScheme.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
<TreeNode id="2BF9C16D-536F-4F89-AA59-49ED1A1A164C" Text="开车进度管理" NavigateUrl=""><TreeNode id="BC860C85-B224-48A6-B207-D7042BB71088" Text="开车进度管理" NavigateUrl="TestRun/DriverProgress.aspx"></TreeNode>
|
||||
<TreeNode id="2BF9C16D-536F-4F89-AA59-49ED1A1A164C" Text="开车进度管理" NavigateUrl=""><TreeNode id="EE7E37CA-384F-41B3-BAEE-89CBD9954AB3" Text="预试车进度" NavigateUrl="TestRun/Report/PreRunSchedule.aspx"></TreeNode>
|
||||
<TreeNode id="9ACDF513-BD63-48F5-BFA3-B9B1B7FA19E1" Text="试车进度" NavigateUrl="TestRun/Report/TestRunSchedule.aspx"></TreeNode>
|
||||
<TreeNode id="3D554109-D95F-4051-8A6C-5616A7A95C94" Text="首页进度设置" NavigateUrl="TestRun/Report/ScheduleSetUp.aspx"></TreeNode>
|
||||
<TreeNode id="BC860C85-B224-48A6-B207-D7042BB71088" Text="开车进度管理" NavigateUrl="TestRun/DriverProgress.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
<TreeNode id="4C6A8C24-6E2E-401A-90E1-128FAA1B8AA8" Text="开车HSE管理" NavigateUrl=""><TreeNode id="568F061C-5BD2-40B1-86E5-C49C2057AD9B" Text="开车HSE措施方案" NavigateUrl="TestRun/DriverHse/HseMeasure.aspx"></TreeNode>
|
||||
<TreeNode id="1648A5CD-CF78-418B-9CF1-6325C353BDB8" Text="开车风险源识别" NavigateUrl="TestRun/DriverHse/HseHazard.aspx"></TreeNode>
|
||||
<TreeNode id="18F5914D-A5DF-44F9-BE04-9EA8908BA3C8" Text="开车作业票管理" NavigateUrl="TestRun/DriverHse/HseLicense.aspx"></TreeNode>
|
||||
<TreeNode id="1648A5CD-CF78-418B-9CF1-6325C353BDB8" Text="开车危险源清单" NavigateUrl="TestRun/DriverHse/HseHazard.aspx"></TreeNode>
|
||||
<TreeNode id="18F5914D-A5DF-44F9-BE04-9EA8908BA3C8" Text="施工开车交叉期间作业许可" NavigateUrl="TestRun/DriverHse/HseLicense.aspx"></TreeNode>
|
||||
<TreeNode id="02866B09-CEB3-42E0-870C-B81187FB0079" Text="开车安全线路图" NavigateUrl="TestRun/DriverHse/RoadMap.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
<TreeNode id="CA46AEF2-D058-433B-BDE3-760015337ED4" Text="开车物资材料管理" NavigateUrl=""><TreeNode id="1C6B597D-0FB7-404A-8512-6FCD53EE2552" Text="开车物资计划" NavigateUrl="TestRun/DriverGoods/GoodsPlan.aspx"></TreeNode>
|
||||
|
|
2334
SGGL/Model/Model.cs
2334
SGGL/Model/Model.cs
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
|
|
Loading…
Reference in New Issue