增加项目使用情况汇总
This commit is contained in:
parent
79c5a301c5
commit
cfd069933e
|
@ -0,0 +1,153 @@
|
|||
--创建汇总表
|
||||
CREATE TABLE [dbo].[Inspection_Summary](
|
||||
[InspectionSummaryId] [nvarchar](50) NOT NULL,
|
||||
[InspectionSummaryMbId] [nvarchar](50) NULL,
|
||||
[ProjectId] [nvarchar](50) NULL,
|
||||
[SummeryResult] [nvarchar](50) NULL,
|
||||
[CompileDate] [datetime] NULL,
|
||||
[CompileDateMonth] [nvarchar](50) NULL,
|
||||
CONSTRAINT [PK_Inspection_Summary] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[InspectionSummaryId] 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
|
||||
|
||||
--创建模板表
|
||||
CREATE TABLE [dbo].[Inspection_SummaryMb](
|
||||
[InspectionSummaryMbId] [nvarchar](50) NOT NULL,
|
||||
[SNumber] [nvarchar](50) NULL,
|
||||
[ModuleName] [nvarchar](50) NULL,
|
||||
[MenuP] [nvarchar](50) NULL,
|
||||
[MenuC] [nvarchar](50) NULL,
|
||||
[SortId] [int] NULL,
|
||||
CONSTRAINT [PK_Inspection_SummaryMb] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[InspectionSummaryMbId] 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'Inspection_Summary', @level2type=N'COLUMN',@level2name=N'InspectionSummaryMbId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Inspection_Summary', @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'Inspection_Summary', @level2type=N'COLUMN',@level2name=N'SummeryResult'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Inspection_Summary', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成年月' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Inspection_Summary', @level2type=N'COLUMN',@level2name=N'CompileDateMonth'
|
||||
GO
|
||||
|
||||
--添加菜单各项目巡查汇总
|
||||
delete From sys_menu where menuid='EA413D2A-8D29-4DE2-932D-8511BB7F6CB2'
|
||||
insert into sys_menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
values('EA413D2A-8D29-4DE2-932D-8511BB7F6CB2','各项目巡查汇总','ZHGL/InspectionSummary/InspectionSummary.aspx',140,
|
||||
'0','Menu_ZHGL','1','1','1')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
--模板表数据
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'1', N'1.1', N'安全模块', N'人员信息', N'人员信息档案', 1)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'10', N'2.2', N'质量模块', N'WBS数据', N'WBS数据', 10)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'11', N'2.3', N'质量模块', N'综合管理', N'设备材料报验', 11)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'12', N'2.3', N'质量模块', N'综合管理', N'人员报验', 12)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'13', N'2.3', N'质量模块', N'综合管理', N'机具报验', 13)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'14', N'2.3', N'质量模块', N'综合管理', N'设计变更单管理', 14)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'15', N'2.3', N'质量模块', N'综合管理', N'施工方案管理', 15)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'16', N'2.3', N'质量模块', N'综合管理', N'设计交底管理', 16)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'17', N'2.3', N'质量模块', N'综合管理', N'NCR', 17)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'18', N'2.4', N'质量模块', N'质量报表管理', N'质量周报', 18)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'19', N'2.4', N'质量模块', N'质量报表管理', N'质量月报', 19)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'2', N'1.1', N'安全模块', N'人员信息', N'特种作业人员', 2)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'20', N'2.5', N'质量模块', N'过程控制管理', N'一次共检合格数', 20)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'21', N'2.5', N'质量模块', N'过程控制管理', N'总数', 21)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'22', N'2.5', N'质量模块', N'过程控制管理', N'一次共检合格合格率', 22)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'23', N'3', N'关键事项', N'关键事项', N'关键事项', 23)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'24', N'4.1', N'现场考勤', N'人脸考勤', N'人脸考勤', 24)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'25', N'4.2', N'现场考勤', N'集团实名制对接', N'集团实名制对接', 25)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'26', N'5', N'视频监控', N'视频监控', N'视频监控', 26)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'27', N'6', N'项目看板', N'项目看板', N'项目看板', 27)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'3', N'1.2', N'安全模块', N'安全巡检', N'安全巡检', 3)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'4', N'1.3', N'安全模块', N'会议', N'周例会', 4)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'5', N'1.3', N'安全模块', N'会议', N'月例会', 5)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'6', N'1.4', N'安全模块', N'作业票', N'作业票', 6)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'7', N'1.5', N'安全模块', N'工作报告', N'工程师日志', 7)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'8', N'1.5', N'安全模块', N'工作报告', N'HSE管理月报', 8)
|
||||
INSERT [dbo].[Inspection_SummaryMb] ([InspectionSummaryMbId], [SNumber], [ModuleName], [MenuP], [MenuC], [SortId]) VALUES (N'9', N'2.1', N'质量模块', N'质量巡检', N'质量巡检', 9)
|
||||
GO
|
||||
|
||||
|
||||
--为WBS_BreakdownProject增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON WBS_BreakdownProject (projectid)
|
||||
|
||||
--为Meeting_WeekMeeting 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Meeting_WeekMeeting (projectid)
|
||||
|
||||
--为Meeting_MonthMeeting 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Meeting_MonthMeeting (projectid)
|
||||
|
||||
--为Project_HSEDiary 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Project_HSEDiary (projectid)
|
||||
|
||||
--为Manager_ManagerWeek 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Manager_ManagerWeek (projectid)
|
||||
|
||||
--为Check_CheckControl 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Check_CheckControl (projectid)
|
||||
|
||||
--为Comprehensive_InspectionEquipment 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Comprehensive_InspectionEquipment (projectid)
|
||||
|
||||
--为Comprehensive_InspectionEquipment 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Comprehensive_InspectionPerson (projectid)
|
||||
|
||||
--为Comprehensive_InspectionMachine 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Comprehensive_InspectionMachine (projectid)
|
||||
|
||||
--为Comprehensive_DesignChangeOrder 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Comprehensive_DesignChangeOrder (projectid)
|
||||
|
||||
--为施工方案管理 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Comprehensive_GeneralPlanApproval (projectid)
|
||||
|
||||
--为Comprehensive_DesignDetails 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Comprehensive_DesignDetails (projectid)
|
||||
|
||||
--为Comprehensive_NCRManagement 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Comprehensive_NCRManagement (projectid)
|
||||
|
||||
--为Report_WeekAndMonthReport 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Report_WeekAndMonthReport (projectid)
|
||||
|
||||
--为Inspection_Summary 增加projectid索引
|
||||
CREATE INDEX index_projectid
|
||||
ON Inspection_Summary (projectid)
|
||||
|
||||
CREATE INDEX index_InspectionSummaryMbId
|
||||
ON Inspection_Summary (InspectionSummaryMbId)
|
|
@ -808,6 +808,7 @@
|
|||
<Compile Include="ZHGL\Information\MillionsMonthlyReportService.cs" />
|
||||
<Compile Include="ZHGL\Information\SafetyQuarterlyReportService.cs" />
|
||||
<Compile Include="ZHGL\Information\WorkSummaryReportService.cs" />
|
||||
<Compile Include="ZHGL\InspectionSummary\InspectionSummaryService.cs" />
|
||||
<Compile Include="ZHGL\Meeting\CompanySafetyMeetingService.cs" />
|
||||
<Compile Include="ZHGL\Meeting\CompanySpecialMeetingService.cs" />
|
||||
<Compile Include="ZHGL\Person\CompanyBranchPersonService.cs" />
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
/// <summary>
|
||||
/// 各项目巡查汇总
|
||||
/// </summary>
|
||||
namespace BLL
|
||||
{
|
||||
public class InspectionSummaryService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 批量添加
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void AddAll(List<Model.Inspection_Summary> list)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
db.Inspection_Summary.InsertAllOnSubmit(list);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改(暂无)
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void Update(Model.Inspection_Summary model)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.Inspection_Summary newmodel = db.Inspection_Summary.FirstOrDefault(e => e.InspectionSummaryId == model.InspectionSummaryId);
|
||||
if (newmodel != null)
|
||||
{
|
||||
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据年月删除
|
||||
/// </summary>
|
||||
/// <param name="CompileDateMonth"></param>
|
||||
public static void Delete(string CompileDateMonth)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
List<Model.Inspection_Summary> list = db.Inspection_Summary.Where(e => e.CompileDateMonth == CompileDateMonth).ToList();
|
||||
if (list.Count>0)
|
||||
{
|
||||
///删除编码表记录
|
||||
db.Inspection_Summary.DeleteAllOnSubmit(list);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -2401,3 +2401,256 @@
|
|||
出错时间:08/24/2023 15:20:00
|
||||
出错时间:08/24/2023 15:20:00
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:21
|
||||
出错时间:08/30/2023 10:54:21
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:21
|
||||
出错时间:08/30/2023 10:54:21
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:22
|
||||
出错时间:08/30/2023 10:54:22
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:22
|
||||
出错时间:08/30/2023 10:54:22
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:22
|
||||
出错时间:08/30/2023 10:54:22
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:23
|
||||
出错时间:08/30/2023 10:54:23
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:23
|
||||
出错时间:08/30/2023 10:54:23
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:23
|
||||
出错时间:08/30/2023 10:54:23
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:25
|
||||
出错时间:08/30/2023 10:54:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:25
|
||||
出错时间:08/30/2023 10:54:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:25
|
||||
出错时间:08/30/2023 10:54:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:25
|
||||
出错时间:08/30/2023 10:54:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:26
|
||||
出错时间:08/30/2023 10:54:26
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:26
|
||||
出错时间:08/30/2023 10:54:26
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:27
|
||||
出错时间:08/30/2023 10:54:27
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:28
|
||||
出错时间:08/30/2023 10:54:28
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:28
|
||||
出错时间:08/30/2023 10:54:28
|
||||
|
||||
|
|
|
@ -1859,6 +1859,7 @@
|
|||
<Content Include="ZHGL\Information\SafetyQuarterlyReportEdit.aspx" />
|
||||
<Content Include="ZHGL\Information\WorkSummaryReport.aspx" />
|
||||
<Content Include="ZHGL\Information\WorkSummaryReportEdit.aspx" />
|
||||
<Content Include="ZHGL\InspectionSummary\InspectionSummary.aspx" />
|
||||
<Content Include="ZHGL\ManagementReport\ReportRemind.aspx" />
|
||||
<Content Include="ZHGL\Meeting\CompanySafetyMeeting.aspx" />
|
||||
<Content Include="ZHGL\Meeting\CompanySafetyMeetingEdit.aspx" />
|
||||
|
@ -16442,6 +16443,13 @@
|
|||
<Compile Include="ZHGL\Information\WorkSummaryReportEdit.aspx.designer.cs">
|
||||
<DependentUpon>WorkSummaryReportEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ZHGL\InspectionSummary\InspectionSummary.aspx.cs">
|
||||
<DependentUpon>InspectionSummary.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ZHGL\InspectionSummary\InspectionSummary.aspx.designer.cs">
|
||||
<DependentUpon>InspectionSummary.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ZHGL\ManagementReport\ReportRemind.aspx.cs">
|
||||
<DependentUpon>ReportRemind.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
|
@ -0,0 +1,137 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InspectionSummary.aspx.cs" Inherits="FineUIPro.Web.ZHGL.InspectionSummary.InspectionSummary" %>
|
||||
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" OnCustomEvent="PageManager1_CustomEvent" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false" AutoScroll="true"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="各项目巡查汇总" EnableCollapse="false"
|
||||
runat="server" BoxFlex="1" DataKeyNames="InspectionSummaryId" AllowCellEditing="true"
|
||||
ClicksToEdit="2" DataIDField="InspectionSummaryId" AllowSorting="true" SortField="SortId"
|
||||
SortDirection="DESC" EnableColumnLines="true"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" IsFluid="true"
|
||||
EnableRowDoubleClickEvent="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
|
||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM" EmptyText="请选择年月"
|
||||
ID="drpCompileDateMonth" DisplayType="Month" ShowTodayButton="false" >
|
||||
</f:DatePicker>
|
||||
|
||||
<f:Button ID="btnNew" ToolTip="生成" Hidden="false" Text="生成" Icon="Add" runat="server"
|
||||
OnClick="btnNew_Juge" OnClientClick="refresh();">
|
||||
</f:Button>
|
||||
|
||||
<%-- <f:Button ID="btnGenerate" ToolTip="生成" Hidden="true" Text="生成" Icon="Add" runat="server"
|
||||
OnClick="btnNew_Click" OnClientClick="refresh();">
|
||||
</f:Button>--%>
|
||||
|
||||
<f:Button ID="btnSearch" runat="server" Icon="SystemSearch" ToolTip="查询" OnClientClick="refresh();" OnClick="btnSearch_Click">
|
||||
</f:Button>
|
||||
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false" >
|
||||
</f:Button>
|
||||
|
||||
|
||||
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RenderField Width="100px" ColumnID="SNumber" DataField="SNumber" SortField="SNumber"
|
||||
FieldType="String" HeaderText="序号" TextAlign="Left" HeaderTextAlign="Center" ID="SNumber" ShowToolTip="true">
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="150px" ColumnID="ModuleName" DataField="ModuleName"
|
||||
FieldType="String" HeaderText="模块" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
<f:GroupField Width="200px" HeaderText="功能菜单" TextAlign="Center" >
|
||||
<Columns>
|
||||
<f:BoundField Width="100px" ColumnID="MenuP" DataField="MenuP" HeaderText="菜单" />
|
||||
<f:BoundField Width="100px" DataField="MenuC" ColumnID="MenuC" HeaderText="说明" />
|
||||
</Columns>
|
||||
</f:GroupField>
|
||||
|
||||
|
||||
<%-- <f:GroupField Width="200px" HeaderText="项目1" TextAlign="Center" BoxFlex="1" ExpandUnusedSpace="true" MinWidth="150px">
|
||||
<Columns>
|
||||
<f:BoundField Width="100px" DataField="1" HeaderText="12331" />
|
||||
</Columns>
|
||||
</f:GroupField>--%>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="dataload" Handler="onGridDataLoad" />
|
||||
</Listeners>
|
||||
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<%--<f:Window ID="Window1" runat="server" Hidden="true" ShowHeader="true"
|
||||
IsModal="true" Target="Parent" EnableMaximize="true" EnableResize="true" OnClose="Window1_Close"
|
||||
Title="编辑安全数据" EnableIFrame="true" Height="650px"
|
||||
Width="1200px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnEdit_Click" EnablePostBack="true"
|
||||
Hidden="true" runat="server" Text="编辑" Icon="TableEdit" >
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnDelete_Click" EnablePostBack="true" Icon="Delete"
|
||||
Hidden="true" ConfirmText="删除选中行?" ConfirmTarget="Parent" runat="server" Text="删除">
|
||||
</f:MenuButton>
|
||||
</f:Menu>--%>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
<%-- var menuID = '<%= Menu1.ClientID %>';
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}--%>
|
||||
|
||||
//生成操作
|
||||
function geneRate() {
|
||||
$('[id$="_btnGenerate"]').click();
|
||||
}
|
||||
|
||||
function reloadGrid() {
|
||||
__doPostBack(null, 'reloadGrid');
|
||||
}
|
||||
|
||||
$(function () {
|
||||
console.log($('[id$="_SNumber"]'))
|
||||
})
|
||||
|
||||
var Form1ClientID = '<%= Grid1.ClientID %>';
|
||||
|
||||
|
||||
function refresh() {
|
||||
var form1 = F(Form1ClientID);
|
||||
form1.showLoading();
|
||||
|
||||
}
|
||||
|
||||
function CloseRefresh() {
|
||||
var form1 = F(Form1ClientID);
|
||||
form1.hideLoading();
|
||||
|
||||
}
|
||||
|
||||
function onGridDataLoad(event) {
|
||||
this.mergeColumns(['SNumber']);
|
||||
this.mergeColumns(['ModuleName']);
|
||||
this.mergeColumns(['MenuP']);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because it is too large
Load Diff
107
SGGL/FineUIPro.Web/ZHGL/InspectionSummary/InspectionSummary.aspx.designer.cs
generated
Normal file
107
SGGL/FineUIPro.Web/ZHGL/InspectionSummary/InspectionSummary.aspx.designer.cs
generated
Normal file
|
@ -0,0 +1,107 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.ZHGL.InspectionSummary
|
||||
{
|
||||
|
||||
|
||||
public partial class InspectionSummary
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// drpCompileDateMonth 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker drpCompileDateMonth;
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
/// <summary>
|
||||
/// btnSearch 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSearch;
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// SNumber 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.RenderField SNumber;
|
||||
}
|
||||
}
|
|
@ -692,6 +692,11 @@
|
|||
}
|
||||
|
||||
F.ready(function () {
|
||||
$(".y_row div").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
});
|
||||
|
||||
$(".item-s li").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
|
|
|
@ -466,65 +466,89 @@
|
|||
|
||||
function ProjectTGClick() {
|
||||
F(ProjectTGClientID).click();
|
||||
|
||||
}
|
||||
|
||||
function ProjectJGClick() {
|
||||
F(ProjectJGClientID).click();
|
||||
|
||||
}
|
||||
|
||||
function CQMSClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnCQMSClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function HSSEClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnHSSEClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function JDGLClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnJDGLClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function HJGLClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnHJGLClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function CLGLClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnCLGLClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function TestRunClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnTestRunClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function PGJSXClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnPGJSXClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function DigitalSiteClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnDigitalSiteClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function PDigDataClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnPDigDataClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function OpinionClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnOpinionClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function DocClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnDocClientID).click();
|
||||
F(btnDocClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
// 展开左侧面板
|
||||
|
@ -800,6 +824,15 @@
|
|||
}
|
||||
|
||||
F.ready(function () {
|
||||
$(".y_row div").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
});
|
||||
|
||||
$(".up-wrap-ul").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
});
|
||||
$(".up-wrap-ul").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
|
@ -809,7 +842,11 @@
|
|||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
});
|
||||
|
||||
$(".y_title").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:none !important;")
|
||||
$(".bgbtn,.bgbtntop").removeClass("activeClick")
|
||||
});
|
||||
$(".item-pbig").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:none !important;")
|
||||
|
|
|
@ -1202,6 +1202,12 @@ namespace Model
|
|||
partial void InsertInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance);
|
||||
partial void UpdateInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance);
|
||||
partial void DeleteInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance);
|
||||
partial void InsertInspection_Summary(Inspection_Summary instance);
|
||||
partial void UpdateInspection_Summary(Inspection_Summary instance);
|
||||
partial void DeleteInspection_Summary(Inspection_Summary instance);
|
||||
partial void InsertInspection_SummaryMb(Inspection_SummaryMb instance);
|
||||
partial void UpdateInspection_SummaryMb(Inspection_SummaryMb instance);
|
||||
partial void DeleteInspection_SummaryMb(Inspection_SummaryMb instance);
|
||||
partial void InsertInterFaceLog(InterFaceLog instance);
|
||||
partial void UpdateInterFaceLog(InterFaceLog instance);
|
||||
partial void DeleteInterFaceLog(InterFaceLog instance);
|
||||
|
@ -5549,6 +5555,22 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Inspection_Summary> Inspection_Summary
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Inspection_Summary>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Inspection_SummaryMb> Inspection_SummaryMb
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Inspection_SummaryMb>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<InterFaceLog> InterFaceLog
|
||||
{
|
||||
get
|
||||
|
@ -197668,6 +197690,370 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Inspection_Summary")]
|
||||
public partial class Inspection_Summary : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _InspectionSummaryId;
|
||||
|
||||
private string _InspectionSummaryMbId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _SummeryResult;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
private string _CompileDateMonth;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnInspectionSummaryIdChanging(string value);
|
||||
partial void OnInspectionSummaryIdChanged();
|
||||
partial void OnInspectionSummaryMbIdChanging(string value);
|
||||
partial void OnInspectionSummaryMbIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnSummeryResultChanging(string value);
|
||||
partial void OnSummeryResultChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCompileDateChanged();
|
||||
partial void OnCompileDateMonthChanging(string value);
|
||||
partial void OnCompileDateMonthChanged();
|
||||
#endregion
|
||||
|
||||
public Inspection_Summary()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionSummaryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string InspectionSummaryId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InspectionSummaryId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InspectionSummaryId != value))
|
||||
{
|
||||
this.OnInspectionSummaryIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InspectionSummaryId = value;
|
||||
this.SendPropertyChanged("InspectionSummaryId");
|
||||
this.OnInspectionSummaryIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionSummaryMbId", DbType="NVarChar(50)")]
|
||||
public string InspectionSummaryMbId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InspectionSummaryMbId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InspectionSummaryMbId != value))
|
||||
{
|
||||
this.OnInspectionSummaryMbIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InspectionSummaryMbId = value;
|
||||
this.SendPropertyChanged("InspectionSummaryMbId");
|
||||
this.OnInspectionSummaryMbIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
this.OnProjectIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectId = value;
|
||||
this.SendPropertyChanged("ProjectId");
|
||||
this.OnProjectIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SummeryResult", DbType="NVarChar(50)")]
|
||||
public string SummeryResult
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SummeryResult;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SummeryResult != value))
|
||||
{
|
||||
this.OnSummeryResultChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SummeryResult = value;
|
||||
this.SendPropertyChanged("SummeryResult");
|
||||
this.OnSummeryResultChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> CompileDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileDate != value))
|
||||
{
|
||||
this.OnCompileDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileDate = value;
|
||||
this.SendPropertyChanged("CompileDate");
|
||||
this.OnCompileDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDateMonth", DbType="NVarChar(50)")]
|
||||
public string CompileDateMonth
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileDateMonth;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileDateMonth != value))
|
||||
{
|
||||
this.OnCompileDateMonthChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileDateMonth = value;
|
||||
this.SendPropertyChanged("CompileDateMonth");
|
||||
this.OnCompileDateMonthChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Inspection_SummaryMb")]
|
||||
public partial class Inspection_SummaryMb : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _InspectionSummaryMbId;
|
||||
|
||||
private string _SNumber;
|
||||
|
||||
private string _ModuleName;
|
||||
|
||||
private string _MenuP;
|
||||
|
||||
private string _MenuC;
|
||||
|
||||
private System.Nullable<int> _SortId;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnInspectionSummaryMbIdChanging(string value);
|
||||
partial void OnInspectionSummaryMbIdChanged();
|
||||
partial void OnSNumberChanging(string value);
|
||||
partial void OnSNumberChanged();
|
||||
partial void OnModuleNameChanging(string value);
|
||||
partial void OnModuleNameChanged();
|
||||
partial void OnMenuPChanging(string value);
|
||||
partial void OnMenuPChanged();
|
||||
partial void OnMenuCChanging(string value);
|
||||
partial void OnMenuCChanged();
|
||||
partial void OnSortIdChanging(System.Nullable<int> value);
|
||||
partial void OnSortIdChanged();
|
||||
#endregion
|
||||
|
||||
public Inspection_SummaryMb()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionSummaryMbId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string InspectionSummaryMbId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InspectionSummaryMbId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InspectionSummaryMbId != value))
|
||||
{
|
||||
this.OnInspectionSummaryMbIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InspectionSummaryMbId = value;
|
||||
this.SendPropertyChanged("InspectionSummaryMbId");
|
||||
this.OnInspectionSummaryMbIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SNumber", DbType="NVarChar(50)")]
|
||||
public string SNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SNumber;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SNumber != value))
|
||||
{
|
||||
this.OnSNumberChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SNumber = value;
|
||||
this.SendPropertyChanged("SNumber");
|
||||
this.OnSNumberChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ModuleName", DbType="NVarChar(50)")]
|
||||
public string ModuleName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ModuleName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ModuleName != value))
|
||||
{
|
||||
this.OnModuleNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ModuleName = value;
|
||||
this.SendPropertyChanged("ModuleName");
|
||||
this.OnModuleNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuP", DbType="NVarChar(50)")]
|
||||
public string MenuP
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MenuP;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MenuP != value))
|
||||
{
|
||||
this.OnMenuPChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MenuP = value;
|
||||
this.SendPropertyChanged("MenuP");
|
||||
this.OnMenuPChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuC", DbType="NVarChar(50)")]
|
||||
public string MenuC
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MenuC;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MenuC != value))
|
||||
{
|
||||
this.OnMenuCChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MenuC = value;
|
||||
this.SendPropertyChanged("MenuC");
|
||||
this.OnMenuCChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortId", DbType="Int")]
|
||||
public System.Nullable<int> SortId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SortId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SortId != value))
|
||||
{
|
||||
this.OnSortIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SortId = value;
|
||||
this.SendPropertyChanged("SortId");
|
||||
this.OnSortIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.InterFaceLog")]
|
||||
public partial class InterFaceLog : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue