diff --git a/CreateModel_47.bat b/CreateModel_47.bat new file mode 100644 index 00000000..7cbc9ad9 --- /dev/null +++ b/CreateModel_47.bat @@ -0,0 +1,33 @@ +@echo off +REM --------------- +REM 发布包生成工具 +REM 执行此文件前请先用Release生成WebOA项目 +REM -------------- + + + +REM -------------- +REM 环境变量设置 Project_Src为如WebOA这样的分支 +REM -------------- +set PROJECT_SRC=%CD% +cd.. + +REM 源代码Model项目文件夹 +set Model_ROOT=%PROJECT_SRC%\SGGL\Model + + +REM -------------- +REM 发布程序包文件夹相关 +REM -------------- + + + + +@echo 设置.net控制台环境 +@echo. +@call "%VS150%" + +SqlMetal /views /server:47.104.102.122,14333 /database:SGGLDB_XJYJ /user:sa /password:p@ssw0rd /code:%Model_ROOT%\Model.cs /namespace:Model + +@ECHO 完成 +pause diff --git a/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-13-xiaj.sql b/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-13-xiaj.sql new file mode 100644 index 00000000..c93349cf --- /dev/null +++ b/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-13-xiaj.sql @@ -0,0 +1,511 @@ + +/**************************************隐藏冗余菜单***************************************************************/ + +--1、项目级——设置隐藏部分菜单 +update Sys_Menu +set IsUsed=0 +where MenuType='Menu_ProjectSet' and MenuName in ('项目概况','项目主项','单位工程','项目状态','项目进度设置') + +--2、项目级——员工管理(原:安全管理)隐藏部分菜单 +update Sys_Menu +set IsUsed=0 +where MenuType='Menu_HSSE' and MenuName in ('项目策划','教育培训','HSE技术','作业许可','HSE费用','安保管理','施工机具','HSE奖惩','应急信息','工作报告','事故管理','职业健康','环境保护','绩效评价管理','信息管理') + +--3、公司级——资源库(原:大数据中心)隐藏部分菜单 +update Sys_Menu +set IsUsed=0 +where MenuType='Menu_DigData' and SuperMenu='6A992AB8-A32D-448F-B06F-8DD4C112CC91' and MenuName in ('质量公共资源库','进度公共资源库') + +/**************************************新增菜单***************************************************************/ + +--员工管理-HSE绩效考核 +IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = '89451997-E575-4845-BF8A-444E9CA6A962') +BEGIN + --HSE绩效考核 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) + VALUES('89451997-E575-4845-BF8A-444E9CA6A962','HSE绩效考核','',120,'0','Menu_HSSE',0,0,1) +END +GO + +--HSE绩效考核 +IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = '7DD00BEF-821D-4996-ADF8-695139F201B4') +BEGIN + --一人一档 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('AE58F042-DDAA-4980-A3E8-9A1F36349E45','员工HSE信息档案','HSSE/Examine/OnePersonPerFile.aspx',0,'89451997-E575-4845-BF8A-444E9CA6A962','Menu_HSSE',1,1) + --考核加分情况 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('6957A732-BA33-499E-AB32-DB1F73BEA8CE','考核加分情况','HSSE/Examine/BonusScoreSituation.aspx',1,'89451997-E575-4845-BF8A-444E9CA6A962','Menu_HSSE',1,1) + --考核扣分情况 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('0BCE76EA-319F-47BF-913A-A32735641F5C','考核扣分情况','HSSE/Examine/MinusScoreSituation.aspx',2,'89451997-E575-4845-BF8A-444E9CA6A962','Menu_HSSE',1,1) + --个人安全行动计划 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('7DD00BEF-821D-4996-ADF8-695139F201B4','个人安全行动计划','HSSE/Examine/PersonalSafetyActionPlan.aspx',10,'89451997-E575-4845-BF8A-444E9CA6A962','Menu_HSSE',1,1) + --安全经验分享 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('D5FC7B12-0E81-482C-8B29-A9F43DF05D1F','安全经验分享','HSSE/Examine/SharingOfSafetyExperience.aspx',20,'89451997-E575-4845-BF8A-444E9CA6A962','Menu_HSSE',1,1) + --领导人员参加班组作业分析会 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('05F4AC73-1BA2-4FF2-AAED-292DF5E44412','领导人员参加班组作业分析会','HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx',30,'89451997-E575-4845-BF8A-444E9CA6A962','Menu_HSSE',1,1) + --一线党员联系班组共建活动 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('D3BADACC-3DA6-4B09-8BD0-1E2DF7B04B6E','一线党员联系班组共建活动','HSSE/Examine/CoConstructionActivities.aspx',40,'89451997-E575-4845-BF8A-444E9CA6A962','Menu_HSSE',1,1) + --行为安全观察与沟通 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('5049BB69-A75F-47D4-ABF3-DAA719D05C74','行为安全观察与沟通','HSSE/Examine/BehavioralSafetyObservation.aspx',50,'89451997-E575-4845-BF8A-444E9CA6A962','Menu_HSSE',1,1) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = 'AE58F042-DDAA-4980-A3E8-9A1F36349E45') +BEGIN + --员工HSE信息档案 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('4588FFE3-75FD-42A7-979C-6065857D1D8E','AE58F042-DDAA-4980-A3E8-9A1F36349E45','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('F049D5EB-C233-479B-A11C-EC8943898A5A','AE58F042-DDAA-4980-A3E8-9A1F36349E45','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('926D7FF6-446B-4946-ADF4-8CF76F65FDA0','AE58F042-DDAA-4980-A3E8-9A1F36349E45','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('70AB520C-B6EA-4D9F-A94E-AE56D2CD6829','AE58F042-DDAA-4980-A3E8-9A1F36349E45','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '6957A732-BA33-499E-AB32-DB1F73BEA8CE') +BEGIN + --考核加分情况 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('14DD87C3-2B71-42F6-A1EE-AA2B138583C0','6957A732-BA33-499E-AB32-DB1F73BEA8CE','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('5A35CA7F-A244-4C02-BE26-EE6F14ACF443','6957A732-BA33-499E-AB32-DB1F73BEA8CE','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('0BD10961-0490-4130-B288-58253A52492F','6957A732-BA33-499E-AB32-DB1F73BEA8CE','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('DCE4B049-B421-4C32-AA2A-2A4E099E1441','6957A732-BA33-499E-AB32-DB1F73BEA8CE','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '0BCE76EA-319F-47BF-913A-A32735641F5C') +BEGIN + --考核扣分情况 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('61B22424-2AC8-4E34-A783-2C3A8CF9F840','0BCE76EA-319F-47BF-913A-A32735641F5C','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('C2A94DCA-2410-46CF-BF1C-16A67ECBAA82','0BCE76EA-319F-47BF-913A-A32735641F5C','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('7587CD81-B7CA-40BD-AB80-31C9CC9D099B','0BCE76EA-319F-47BF-913A-A32735641F5C','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('E1FA46F3-16AD-4490-88AD-78CEF5C6EEB5','0BCE76EA-319F-47BF-913A-A32735641F5C','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '7DD00BEF-821D-4996-ADF8-695139F201B4') +BEGIN + --个人安全行动计划 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('2BF3A978-509B-4B1D-B753-44CD8022306E','7DD00BEF-821D-4996-ADF8-695139F201B4','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('3998D101-3D6C-4E2B-9A3E-D017C3AA6ECE','7DD00BEF-821D-4996-ADF8-695139F201B4','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('7C4F9425-CB92-4CCE-9D0E-06704FDC0143','7DD00BEF-821D-4996-ADF8-695139F201B4','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('5DE92E82-AD0A-4AF9-8C95-B95D4EA76EE9','7DD00BEF-821D-4996-ADF8-695139F201B4','保存',4) +END +GO + +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = 'D5FC7B12-0E81-482C-8B29-A9F43DF05D1F') +BEGIN + --安全经验分享 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('CBFABD5C-B06F-46F2-A16C-77D786842CCE','D5FC7B12-0E81-482C-8B29-A9F43DF05D1F','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('EE65207D-0B5A-436B-9E05-9E3C83A7534B','D5FC7B12-0E81-482C-8B29-A9F43DF05D1F','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('ABCA59A7-EF1B-4048-B49F-DDB9E6EDB6B1','D5FC7B12-0E81-482C-8B29-A9F43DF05D1F','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('35C610A1-14C8-4EF7-AFC9-0AD6F3E9681C','D5FC7B12-0E81-482C-8B29-A9F43DF05D1F','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '05F4AC73-1BA2-4FF2-AAED-292DF5E44412') +BEGIN + --领导人员参加班组作业分析会 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('E3B77A21-145E-4D49-8717-CE3E01520C82','05F4AC73-1BA2-4FF2-AAED-292DF5E44412','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('A8DA2937-3EA0-4614-BAF1-2A33D2B75D0A','05F4AC73-1BA2-4FF2-AAED-292DF5E44412','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('2E75AB23-2803-4443-8D32-3496637DFAC1','05F4AC73-1BA2-4FF2-AAED-292DF5E44412','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('5CA1D1DB-9277-4935-8B75-2B2D35EEACA3','05F4AC73-1BA2-4FF2-AAED-292DF5E44412','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = 'D3BADACC-3DA6-4B09-8BD0-1E2DF7B04B6E') +BEGIN + --一线党员联系班组共建活动 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('00563682-98B7-4A1C-A350-1F8DB70D617F','D3BADACC-3DA6-4B09-8BD0-1E2DF7B04B6E','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('01DE53E4-6F14-404F-9640-D3E3A9CA04EB','D3BADACC-3DA6-4B09-8BD0-1E2DF7B04B6E','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('FFEC663E-A4B6-46E4-A828-B1385BDB63C3','D3BADACC-3DA6-4B09-8BD0-1E2DF7B04B6E','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('11B87F2F-B1FA-455F-860B-C959C9C1AAC4','D3BADACC-3DA6-4B09-8BD0-1E2DF7B04B6E','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '5049BB69-A75F-47D4-ABF3-DAA719D05C74') +BEGIN + --行为安全观察与沟通 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('EB59D454-196F-4E25-9100-9008755A2B6C','5049BB69-A75F-47D4-ABF3-DAA719D05C74','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('42E7228B-E763-4A4D-AEC0-0CD4295173DC','5049BB69-A75F-47D4-ABF3-DAA719D05C74','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('BBA6B3D1-27BD-4FFA-9385-0AB018CCFB85','5049BB69-A75F-47D4-ABF3-DAA719D05C74','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('D0E6A314-D55D-4C1E-AA45-F77E05841008','5049BB69-A75F-47D4-ABF3-DAA719D05C74','保存',4) +END +GO + + +/**************************************新增数据表***************************************************************/ + + +--考核加分情况 + +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Examine_BonusScoreSituation') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[Examine_BonusScoreSituation]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [Level] [nvarchar](200) NULL, + [LevelName] [nvarchar](200) NULL, + [Score] [int] NOT NULL, + [UserId] [nvarchar](50) NULL, + [DateTime] [datetime] NULL, + [Content] [nvarchar](1000) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_Examine_BonusScoreSituation] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[Examine_BonusScoreSituation] WITH CHECK ADD CONSTRAINT [FK_Examine_BonusScoreSituation_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +ALTER TABLE [dbo].[Examine_BonusScoreSituation] CHECK CONSTRAINT [FK_Examine_BonusScoreSituation_Base_Project] +ALTER TABLE [dbo].[Examine_BonusScoreSituation] WITH CHECK ADD CONSTRAINT [FK_Examine_BonusScoreSituation_User] FOREIGN KEY([UserId]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_BonusScoreSituation] CHECK CONSTRAINT [FK_Examine_BonusScoreSituation_User] +ALTER TABLE [dbo].[Examine_BonusScoreSituation] WITH CHECK ADD CONSTRAINT [FK_Examine_BonusScoreSituation_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_BonusScoreSituation] CHECK CONSTRAINT [FK_Examine_BonusScoreSituation_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'ProjectId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'级别' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'Level' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'级别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'LevelName' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'Score' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人员id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'UserId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'DateTime' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'Content' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'考核加分情况' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BonusScoreSituation' +END + +GO + + + +--考核扣分情况 + +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Examine_MinusScoreSituation') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[Examine_MinusScoreSituation]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [Level] [nvarchar](200) NULL, + [LevelName] [nvarchar](200) NULL, + [Score] [int] NOT NULL, + [UserId] [nvarchar](50) NULL, + [DateTime] [datetime] NULL, + [Content] [nvarchar](1000) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_Examine_MinusScoreSituation] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[Examine_MinusScoreSituation] WITH CHECK ADD CONSTRAINT [FK_Examine_MinusScoreSituation_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +ALTER TABLE [dbo].[Examine_MinusScoreSituation] CHECK CONSTRAINT [FK_Examine_MinusScoreSituation_Base_Project] +ALTER TABLE [dbo].[Examine_MinusScoreSituation] WITH CHECK ADD CONSTRAINT [FK_Examine_MinusScoreSituation_User] FOREIGN KEY([UserId]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_MinusScoreSituation] CHECK CONSTRAINT [FK_Examine_MinusScoreSituation_User] +ALTER TABLE [dbo].[Examine_MinusScoreSituation] WITH CHECK ADD CONSTRAINT [FK_Examine_MinusScoreSituation_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_MinusScoreSituation] CHECK CONSTRAINT [FK_Examine_MinusScoreSituation_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'ProjectId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'级别' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'Level' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'级别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'LevelName' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'Score' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人员id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'UserId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'DateTime' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'Content' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'考核扣分情况' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_MinusScoreSituation' +END + +GO + + + +--个人安全行动计划 + +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Examine_PersonalSafetyActionPlan') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[Examine_PersonalSafetyActionPlan]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [UserId] [nvarchar](50) NULL, + [DateTime] [datetime] NULL, + [Content] [nvarchar](1000) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_Examine_PersonalSafetyActionPlan] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[Examine_PersonalSafetyActionPlan] WITH CHECK ADD CONSTRAINT [FK_Examine_PersonalSafetyActionPlan_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +ALTER TABLE [dbo].[Examine_PersonalSafetyActionPlan] CHECK CONSTRAINT [FK_Examine_PersonalSafetyActionPlan_Base_Project] +ALTER TABLE [dbo].[Examine_PersonalSafetyActionPlan] WITH CHECK ADD CONSTRAINT [FK_Examine_PersonalSafetyActionPlan_User] FOREIGN KEY([UserId]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_PersonalSafetyActionPlan] CHECK CONSTRAINT [FK_Examine_PersonalSafetyActionPlan_User] +ALTER TABLE [dbo].[Examine_PersonalSafetyActionPlan] WITH CHECK ADD CONSTRAINT [FK_Examine_PersonalSafetyActionPlan_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_PersonalSafetyActionPlan] CHECK CONSTRAINT [FK_Examine_PersonalSafetyActionPlan_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'ProjectId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人员id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'UserId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'DateTime' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'Content' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'个人安全行动计划' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_PersonalSafetyActionPlan' +END + +GO + + +--安全经验分享 + +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Examine_SharingOfSafetyExperience') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[Examine_SharingOfSafetyExperience]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [UserId] [nvarchar](50) NULL, + [DateTime] [datetime] NULL, + [Content] [nvarchar](1000) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_Examine_SharingOfSafetyExperience] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[Examine_SharingOfSafetyExperience] WITH CHECK ADD CONSTRAINT [FK_Examine_SharingOfSafetyExperience_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +ALTER TABLE [dbo].[Examine_SharingOfSafetyExperience] CHECK CONSTRAINT [FK_Examine_SharingOfSafetyExperience_Base_Project] +ALTER TABLE [dbo].[Examine_SharingOfSafetyExperience] WITH CHECK ADD CONSTRAINT [FK_Examine_SharingOfSafetyExperience_User] FOREIGN KEY([UserId]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_SharingOfSafetyExperience] CHECK CONSTRAINT [FK_Examine_SharingOfSafetyExperience_User] +ALTER TABLE [dbo].[Examine_SharingOfSafetyExperience] WITH CHECK ADD CONSTRAINT [FK_Examine_SharingOfSafetyExperience_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_SharingOfSafetyExperience] CHECK CONSTRAINT [FK_Examine_SharingOfSafetyExperience_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'ProjectId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人员id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'UserId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'DateTime' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'Content' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'安全经验分享' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_SharingOfSafetyExperience' +END + +GO + + + +--领导人员参加班组作业分析会 + +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Examine_LeadershipJoinHomeworkAnalysisMeeting') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[Examine_LeadershipJoinHomeworkAnalysisMeeting]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [UserId] [nvarchar](50) NULL, + [DateTime] [datetime] NULL, + [Content] [nvarchar](1000) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_Examine_LeadershipJoinHomeworkAnalysisMeeting] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[Examine_LeadershipJoinHomeworkAnalysisMeeting] WITH CHECK ADD CONSTRAINT [FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +ALTER TABLE [dbo].[Examine_LeadershipJoinHomeworkAnalysisMeeting] CHECK CONSTRAINT [FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Base_Project] +ALTER TABLE [dbo].[Examine_LeadershipJoinHomeworkAnalysisMeeting] WITH CHECK ADD CONSTRAINT [FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_User] FOREIGN KEY([UserId]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_LeadershipJoinHomeworkAnalysisMeeting] CHECK CONSTRAINT [FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_User] +ALTER TABLE [dbo].[Examine_LeadershipJoinHomeworkAnalysisMeeting] WITH CHECK ADD CONSTRAINT [FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_LeadershipJoinHomeworkAnalysisMeeting] CHECK CONSTRAINT [FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'ProjectId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人员id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'UserId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'DateTime' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'Content' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'领导人员参加班组作业分析会' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_LeadershipJoinHomeworkAnalysisMeeting' +END + +GO + + + +--一线党员联系班组共建活动 + +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Examine_CoConstructionActivities') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[Examine_CoConstructionActivities]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [UserId] [nvarchar](50) NULL, + [DateTime] [datetime] NULL, + [Content] [nvarchar](1000) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_Examine_CoConstructionActivities] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[Examine_CoConstructionActivities] WITH CHECK ADD CONSTRAINT [FK_Examine_CoConstructionActivities_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +ALTER TABLE [dbo].[Examine_CoConstructionActivities] CHECK CONSTRAINT [FK_Examine_CoConstructionActivities_Base_Project] +ALTER TABLE [dbo].[Examine_CoConstructionActivities] WITH CHECK ADD CONSTRAINT [FK_Examine_CoConstructionActivities_User] FOREIGN KEY([UserId]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_CoConstructionActivities] CHECK CONSTRAINT [FK_Examine_CoConstructionActivities_User] +ALTER TABLE [dbo].[Examine_CoConstructionActivities] WITH CHECK ADD CONSTRAINT [FK_Examine_CoConstructionActivities_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_CoConstructionActivities] CHECK CONSTRAINT [FK_Examine_CoConstructionActivities_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'ProjectId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人员id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'UserId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'DateTime' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'Content' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'一线党员联系班组共建活动' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_CoConstructionActivities' +END + +GO + + + +--行为安全观察与沟通 + +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Examine_BehavioralSafetyObservation') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[Examine_BehavioralSafetyObservation]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [UserId] [nvarchar](50) NULL, + [DateTime] [datetime] NULL, + [Content] [nvarchar](1000) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_Examine_BehavioralSafetyObservation] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[Examine_BehavioralSafetyObservation] WITH CHECK ADD CONSTRAINT [FK_Examine_BehavioralSafetyObservation_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +ALTER TABLE [dbo].[Examine_BehavioralSafetyObservation] CHECK CONSTRAINT [FK_Examine_BehavioralSafetyObservation_Base_Project] +ALTER TABLE [dbo].[Examine_BehavioralSafetyObservation] WITH CHECK ADD CONSTRAINT [FK_Examine_BehavioralSafetyObservation_User] FOREIGN KEY([UserId]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_BehavioralSafetyObservation] CHECK CONSTRAINT [FK_Examine_BehavioralSafetyObservation_User] +ALTER TABLE [dbo].[Examine_BehavioralSafetyObservation] WITH CHECK ADD CONSTRAINT [FK_Examine_BehavioralSafetyObservation_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[Examine_BehavioralSafetyObservation] CHECK CONSTRAINT [FK_Examine_BehavioralSafetyObservation_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'ProjectId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人员id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'UserId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'DateTime' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'Content' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'行为安全观察与沟通' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Examine_BehavioralSafetyObservation' +END + +GO + + + + + + diff --git a/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-15-xiaj.sql b/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-15-xiaj.sql new file mode 100644 index 00000000..729712ca --- /dev/null +++ b/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-15-xiaj.sql @@ -0,0 +1,145 @@ + +--View_SitePerson_PersonList + +ALTER VIEW [dbo].[View_SitePerson_PersonList] +AS + +SELECT + Person.PersonId, + Person.ProjectId, + Person.IsUsed, + Person.IsForeign, + Person.IsOutside, + Person.BlackList, + Person.CardNo, + Person.PersonName, + Person.UnitId, + Unit.UnitName, + Post.WorkPostName, + WorkAreaName= STUFF((SELECT ',' + UnitWorkName FROM dbo.WBS_UnitWork where PATINDEX('%,' + RTRIM(UnitWorkId) + ',%',',' +Person.WorkAreaId + ',')>0 FOR XML PATH('')), 1, 1,''), + TeamGroup.TeamGroupName, + Person.InTime, + Person.OutTime, + (CASE Person.IsUsed WHEN 'TRUE' THEN '是' ELSE '否' END) AS IsUsedName, + Person.IdentityCard, + Person.TeamGroupId, + Person.WorkPostId, + Person.IdcardType, + Person.PhotoUrl, + edu.TrainCount, + PoliticsStatus.dictName AS PoliticsStatusName +FROM SitePerson_Person AS Person +LEFT JOIN Base_Unit AS Unit ON Unit.UnitId = Person.UnitId +LEFT JOIN ProjectData_TeamGroup AS TeamGroup ON TeamGroup.TeamGroupId=Person.TeamGroupId +LEFT JOIN Base_WorkPost AS Post ON Post.WorkPostId = Person.WorkPostId +LEFT JOIN RealName_BasicData AS PoliticsStatus ON PoliticsStatus.dictCode = Person.PoliticsStatus AND PoliticsStatus.DictTypeCode='POLITICAL_LANDSCAPE' +LEFT JOIN (select PersonId,count(PersonId)as TrainCount from EduTrain_TrainRecordDetail group by PersonId) as edu on edu.PersonId= Person.PersonId + + + +GO + + + + +--Weld_RecycleMat + +SET QUOTED_IDENTIFIER ON +GO + +CREATE TABLE [dbo].[Weld_RecycleMat]( + [RecycleMatId] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Jot_ID] [nvarchar](50) NULL, + [WeldId] [nvarchar](50) NULL, + [UsingMatId] [nvarchar](50) NULL, + [UsingPlanId] [nvarchar](50) NULL, + [RecycleAmount] [numeric](9, 3) NULL, + [UsingAmount] [numeric](9, 3) NULL, + [RecycleMan] [nvarchar](50) NULL, + [RecycleDate] [datetime] NULL, + [StockMan] [nvarchar](50) NULL, + [Warrantybook] [nvarchar](50) NULL, + [Number] [nvarchar](50) NULL, + [IsWelderConfirm] [bit] NULL, + [IsStoreManConfirm] [bit] NULL, + [ReturnMat] [numeric](9, 3) NULL, + [ReturnMatTop] [int] NULL, + [UsePosition] [nvarchar](50) NULL, + CONSTRAINT [PK_Weld_RecycleMat] PRIMARY KEY CLUSTERED +( + [RecycleMatId] 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].[Weld_RecycleMat] WITH CHECK ADD CONSTRAINT [FK_Weld_RecycleMat_Weld_RecycleMat] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +GO + +ALTER TABLE [dbo].[Weld_RecycleMat] CHECK CONSTRAINT [FK_Weld_RecycleMat_Weld_RecycleMat] +GO + +ALTER TABLE [dbo].[Weld_RecycleMat] WITH CHECK ADD CONSTRAINT [FK_Weld_RecycleMat_Weld_UsingMat] FOREIGN KEY([UsingMatId]) +REFERENCES [dbo].[Weld_UsingMat] ([UsingMatId]) +GO + +ALTER TABLE [dbo].[Weld_RecycleMat] CHECK CONSTRAINT [FK_Weld_RecycleMat_Weld_UsingMat] +GO + +ALTER TABLE [dbo].[Weld_RecycleMat] WITH CHECK ADD CONSTRAINT [FK_Weld_RecycleMat_Weld_UsingPlan] FOREIGN KEY([UsingPlanId]) +REFERENCES [dbo].[Weld_UsingPlan] ([UsingPlanId]) +GO + +ALTER TABLE [dbo].[Weld_RecycleMat] CHECK CONSTRAINT [FK_Weld_RecycleMat_Weld_UsingPlan] +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'RecycleMatId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @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'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'Jot_ID' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'焊材ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'WeldId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'领料ID(标记从些单退回)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'UsingMatId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'领用计划ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'UsingPlanId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'回收数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'RecycleAmount' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'领用数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'UsingAmount' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退回人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'RecycleMan' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退回日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'RecycleDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'保管员确认' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'StockMan' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'质保书号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'Warrantybook' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'流水号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'Number' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退料人确认' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'IsWelderConfirm' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'保管员确认' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat', @level2type=N'COLUMN',@level2name=N'IsStoreManConfirm' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'焊材回收表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Weld_RecycleMat' +GO + + diff --git a/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-17-xiaj锛堝矖浣嶅煿璁ā鍧楋級.sql b/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-17-xiaj锛堝矖浣嶅煿璁ā鍧楋級.sql new file mode 100644 index 00000000..eca8ff0e --- /dev/null +++ b/DataBase/鐗堟湰鏃ュ織/SGGLDB_V2025-02-17-xiaj锛堝矖浣嶅煿璁ā鍧楋級.sql @@ -0,0 +1,664 @@ + +--岗位培训 + +/*******************************岗位培训菜单******************************************************************************************/ + +--员工管理-人员培训 +IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = 'BEA50D7C-60FE-488B-8D7D-255020EEB4C2') +BEGIN + --人员培训 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) + VALUES('BEA50D7C-60FE-488B-8D7D-255020EEB4C2','人员培训','',90,'0','Menu_HSSE',0,0,1) +END +GO + +--岗位培训 +IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = 'CEF2A108-DDC2-46A2-A47B-7431F1F890F1') +BEGIN + --岗位培训记录 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('CEF2A108-DDC2-46A2-A47B-7431F1F890F1','岗位培训记录','HSSE/PostTraining/Record.aspx',10,'BEA50D7C-60FE-488B-8D7D-255020EEB4C2','Menu_HSSE',1,1) + --岗位培训类别 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('465786B2-AD20-483A-A082-B2C944BE998F','岗位培训类别','HSSE/PostTraining/Category.aspx',100,'BEA50D7C-60FE-488B-8D7D-255020EEB4C2','Menu_HSSE',1,1) + --岗位培训课程 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('95D9ABD4-4E58-4BAE-AFE1-7F31EF4DF467','岗位培训课程','HSSE/PostTraining/Course.aspx',110,'BEA50D7C-60FE-488B-8D7D-255020EEB4C2','Menu_HSSE',1,1) + --岗位培训标准 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('7BCA5AD9-D0FB-4850-A9D1-88364008984D','岗位培训标准','HSSE/PostTraining/Standard.aspx',120,'BEA50D7C-60FE-488B-8D7D-255020EEB4C2','Menu_HSSE',1,1) + --岗位培训角色 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('50F80CAF-08BA-4A16-9EF8-76DF0A8078CF','岗位培训角色','HSSE/PostTraining/Role.aspx',130,'BEA50D7C-60FE-488B-8D7D-255020EEB4C2','Menu_HSSE',1,1) + --岗位培训方式 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('919853EB-A8FA-4BE5-9964-70F43E000961','岗位培训方式','HSSE/PostTraining/Method.aspx',140,'BEA50D7C-60FE-488B-8D7D-255020EEB4C2','Menu_HSSE',1,1) + --岗位培训教资 + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) + VALUES('026F0A23-AECD-4BB8-8504-1EB8CB9151C0','岗位培训教资','HSSE/PostTraining/Teachers.aspx',150,'BEA50D7C-60FE-488B-8D7D-255020EEB4C2','Menu_HSSE',1,1) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = 'CEF2A108-DDC2-46A2-A47B-7431F1F890F1') +BEGIN + --岗位培训记录 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('D35FC243-EAB1-47DF-9590-7E9403F969F9','CEF2A108-DDC2-46A2-A47B-7431F1F890F1','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('3121AEDD-C697-4B70-ADB4-619B17636888','CEF2A108-DDC2-46A2-A47B-7431F1F890F1','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('D517703B-3232-4296-892E-944372715424','CEF2A108-DDC2-46A2-A47B-7431F1F890F1','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('E927076D-EC0E-44D5-816A-99A401D7051C','CEF2A108-DDC2-46A2-A47B-7431F1F890F1','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '465786B2-AD20-483A-A082-B2C944BE998F') +BEGIN + --岗位培训类别 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('00C1E0D6-52D2-434D-91D3-78F4DEC1D2ED','465786B2-AD20-483A-A082-B2C944BE998F','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('4E3D31DF-9846-4867-8A11-0FDBBFC9D54F','465786B2-AD20-483A-A082-B2C944BE998F','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('6C1E4EF0-CD74-4236-AB93-4856EE0B367F','465786B2-AD20-483A-A082-B2C944BE998F','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('F2FE3B94-6827-4EF9-B0E8-D34F91054630','465786B2-AD20-483A-A082-B2C944BE998F','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '95D9ABD4-4E58-4BAE-AFE1-7F31EF4DF467') +BEGIN + --岗位培训课程 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('2D24F443-898F-484D-B88D-41D1B8FF6D44','95D9ABD4-4E58-4BAE-AFE1-7F31EF4DF467','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('EEBDFFA2-CC58-48C5-A4F6-91BECA90FEC7','95D9ABD4-4E58-4BAE-AFE1-7F31EF4DF467','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('AB52A4F2-D384-4599-8E99-2C3AE4641C71','95D9ABD4-4E58-4BAE-AFE1-7F31EF4DF467','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('767C4D8E-6A50-4221-8A60-E0CD6E5E8F96','95D9ABD4-4E58-4BAE-AFE1-7F31EF4DF467','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '7BCA5AD9-D0FB-4850-A9D1-88364008984D') +BEGIN + --岗位培训标准 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('18AAE15C-6210-4E39-AC08-FAB006AA4DA5','7BCA5AD9-D0FB-4850-A9D1-88364008984D','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('B6BAFF4C-3C70-4838-863D-04156CF39507','7BCA5AD9-D0FB-4850-A9D1-88364008984D','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('875D7BDE-5010-4835-A06E-3AC7DA622074','7BCA5AD9-D0FB-4850-A9D1-88364008984D','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('CC75D488-288C-4883-9452-617818AD5A84','7BCA5AD9-D0FB-4850-A9D1-88364008984D','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '50F80CAF-08BA-4A16-9EF8-76DF0A8078CF') +BEGIN + --岗位培训角色 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('93D2A0CB-1388-4059-9C28-8DEDCAD56093','50F80CAF-08BA-4A16-9EF8-76DF0A8078CF','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('E3A54064-7D8B-49D8-AE32-89EF002A6D0E','50F80CAF-08BA-4A16-9EF8-76DF0A8078CF','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('BF0EA069-3B5A-4685-92AC-0AD13AF81010','50F80CAF-08BA-4A16-9EF8-76DF0A8078CF','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('7C57B206-FC52-4622-A276-50FA49691532','50F80CAF-08BA-4A16-9EF8-76DF0A8078CF','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '919853EB-A8FA-4BE5-9964-70F43E000961') +BEGIN + --岗位培训方式 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('590947CC-0956-496D-A5E9-B888B5B326E3','919853EB-A8FA-4BE5-9964-70F43E000961','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('19400C8D-B5A9-44B9-8345-EF858B0E8B7F','919853EB-A8FA-4BE5-9964-70F43E000961','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('EFDF9021-17D8-414F-B402-3181AD5AAF7C','919853EB-A8FA-4BE5-9964-70F43E000961','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('B038C6EA-6321-44FF-B167-71D075ACEBC3','919853EB-A8FA-4BE5-9964-70F43E000961','保存',4) +END +GO +IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '026F0A23-AECD-4BB8-8504-1EB8CB9151C0') +BEGIN + --岗位培训教资 + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('D83CF41C-F418-419F-ADF1-1509B6F9F83E','026F0A23-AECD-4BB8-8504-1EB8CB9151C0','增加',1) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('AB78F0DE-84ED-4907-8047-BA29EF86BE1E','026F0A23-AECD-4BB8-8504-1EB8CB9151C0F','修改',2) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('49D5178F-9AB6-45E1-904A-0E28C0F509D2','026F0A23-AECD-4BB8-8504-1EB8CB9151C0','删除',3) + INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + VALUES('5797B84F-556D-44C8-9261-3EE857E350DA','026F0A23-AECD-4BB8-8504-1EB8CB9151C0','保存',4) +END +GO + +--1、用户补充培训岗位Id +IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'SitePerson_Person' AND COLUMN_NAME = 'PostTrainingRoleId') +BEGIN + ALTER TABLE SitePerson_Person ADD PostTrainingRoleId nvarchar(50); +END +GO + + +/*******************************岗位培训数据表******************************************************************************************/ + +--岗位培训记录 +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'PostTraining_Record') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[PostTraining_Record]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NOT NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [Content] [nvarchar](500) NULL, + [CategoryId] [nvarchar](50) NULL, + [CategoryName] [nvarchar](200) NULL, + [CourseId] [nvarchar](50) NOT NULL, + [CourseName] [nvarchar](200) NULL, + [Location] [nvarchar](200) NULL, + [Method] [nvarchar](200) NULL, + [Lecturer] [nvarchar](200) NULL, + [UnitIds] [nvarchar](max) NULL, + [RoleIds] [nvarchar](max) NULL, + [PersonNum] [int] NOT NULL, + [TrainingTime] [datetime] NOT NULL, + [Duration] [decimal](10, 2) NOT NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_PostTraining_Record] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[PostTraining_Record] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Record_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +ALTER TABLE [dbo].[PostTraining_Record] CHECK CONSTRAINT [FK_PostTraining_Record_Base_Project] +ALTER TABLE [dbo].[PostTraining_Record] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Record_PostTraining_Category] FOREIGN KEY([CategoryId]) +REFERENCES [dbo].[PostTraining_Category] ([Id]) +ALTER TABLE [dbo].[PostTraining_Record] CHECK CONSTRAINT [FK_PostTraining_Record_PostTraining_Category] +ALTER TABLE [dbo].[PostTraining_Record] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Record_PostTraining_Course] FOREIGN KEY([CourseId]) +REFERENCES [dbo].[PostTraining_Course] ([Id]) +ALTER TABLE [dbo].[PostTraining_Record] CHECK CONSTRAINT [FK_PostTraining_Record_PostTraining_Course] +ALTER TABLE [dbo].[PostTraining_Record] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Record_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[PostTraining_Record] CHECK CONSTRAINT [FK_PostTraining_Record_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'ProjectId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训标题' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Content' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类别Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'CategoryId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'CategoryName' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'课程Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'CourseId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'课程名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'CourseName' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训地点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Location' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训方式' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Method' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'授课人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Lecturer' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'UnitIds' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训岗位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'RoleIds' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训人数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'PersonNum' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'TrainingTime' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学时(小时)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Duration' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位培训课程' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record' +END + +GO + + +--岗位培训人员记录明细表 +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'PostTraining_Record_Detail') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[PostTraining_Record_Detail]( + [Id] [nvarchar](50) NOT NULL, + [RecordId] [nvarchar](50) NULL, + [PersonId] [nvarchar](50) NULL + CONSTRAINT [PK_PostTraining_Record_Detail] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[PostTraining_Record_Detail] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Record_Detail_PostTraining_Record] FOREIGN KEY([RecordId]) +REFERENCES [dbo].[PostTraining_Record] ([Id]) +ALTER TABLE [dbo].[PostTraining_Record_Detail] CHECK CONSTRAINT [FK_PostTraining_Record_Detail_PostTraining_Record] + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record_Detail', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训记录Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record_Detail', @level2type=N'COLUMN',@level2name=N'RecordId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训对象人员Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record_Detail', @level2type=N'COLUMN',@level2name=N'PersonId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位培训人员记录表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Record_Detail' +END + +GO + +--岗位培训类别 +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'PostTraining_Category') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[PostTraining_Category]( + [Id] [nvarchar](50) NOT NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_PostTraining_Category] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[PostTraining_Category] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Category_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[PostTraining_Category] CHECK CONSTRAINT [FK_PostTraining_Category_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Category', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Category', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Category', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Category', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Category', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Category', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位培训类别' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Category' +END + +GO +--岗位培训类别基础数据 +IF NOT EXISTS (SELECT * FROM PostTraining_Category) +BEGIN + INSERT INTO PostTraining_Category(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('c106f9ea-d7d9-4ddb-b88a-ed5fb0ad263f','001','通用安全知识','通用安全知识',getdate(),null); + INSERT INTO PostTraining_Category(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('aa858051-fcef-4d4d-a288-1b589eb3f750','002','岗位基本操作技能','岗位基本操作技能',getdate(),null); + INSERT INTO PostTraining_Category(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('b3bcf59b-e4cf-44f8-afe7-35f9295dd25b','003','生产受控管理流程','生产受控管理流程',getdate(),null); + INSERT INTO PostTraining_Category(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('7f9083a6-9be3-43f3-966f-53addb5d9e1d','004','HSE知识、方法、工具','HSE知识、方法、工具',getdate(),null); +END +GO + +--岗位培训角色 +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'PostTraining_Role') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[PostTraining_Role]( + [Id] [nvarchar](50) NOT NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_PostTraining_Role] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[PostTraining_Role] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Role_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[PostTraining_Role] CHECK CONSTRAINT [FK_PostTraining_Role_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Role', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Role', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Role', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Role', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Role', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Role', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位培训角色' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Role' +END + +GO + + +--岗位培训课程 +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'PostTraining_Course') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[PostTraining_Course]( + [Id] [nvarchar](50) NOT NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [CategoryId] [nvarchar](50) NULL, + [CategoryName] [nvarchar](200) NULL, + [Method1] [nvarchar](200) NULL, + [Method2] [nvarchar](200) NULL, + [Teachers1] [nvarchar](200) NULL, + [Teachers2] [nvarchar](200) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_PostTraining_Course] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[PostTraining_Course] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Course_PostTraining_Category] FOREIGN KEY([CategoryId]) +REFERENCES [dbo].[PostTraining_Category] ([Id]) +ALTER TABLE [dbo].[PostTraining_Course] CHECK CONSTRAINT [FK_PostTraining_Course_PostTraining_Category] +ALTER TABLE [dbo].[PostTraining_Course] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Course_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[PostTraining_Course] CHECK CONSTRAINT [FK_PostTraining_Course_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'课程名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类别id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'CategoryId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'CategoryName' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训方式一' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'Method1' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训方式二' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'Method2' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训师资一' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'Teachers1' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训师资二' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'Teachers2' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位培训课程' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Course' +END + +GO + +--岗位培训标准 +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'PostTraining_Standard') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[PostTraining_Standard]( + [Id] [nvarchar](50) NOT NULL, + [Code] [nvarchar](50) NULL, + [RoleId] [nvarchar](50) NOT NULL, + [CourseId] [nvarchar](50) NOT NULL, + [ClassHour] [decimal](10, 2) NOT NULL, + [Cycle] [decimal](10, 2) NOT NULL, + [Method] [nvarchar](200) NULL, + [Outcome] [nvarchar](200) NULL, + [Teachers] [nvarchar](200) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_PostTraining_Standard] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[PostTraining_Standard] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Standard_PostTraining_Role] FOREIGN KEY([RoleId]) +REFERENCES [dbo].[PostTraining_Role] ([Id]) +ALTER TABLE [dbo].[PostTraining_Standard] CHECK CONSTRAINT [FK_PostTraining_Standard_PostTraining_Role] + +ALTER TABLE [dbo].[PostTraining_Standard] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Standard_PostTraining_Course] FOREIGN KEY([CourseId]) +REFERENCES [dbo].[PostTraining_Course] ([Id]) +ALTER TABLE [dbo].[PostTraining_Standard] CHECK CONSTRAINT [FK_PostTraining_Standard_PostTraining_Course] + +ALTER TABLE [dbo].[PostTraining_Standard] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Standard_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[PostTraining_Standard] CHECK CONSTRAINT [FK_PostTraining_Standard_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'RoleId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'课程id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'CourseId' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训课时(学时)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'ClassHour' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训周期(年/次)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'Cycle' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训方式' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'Method' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训效果' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'Outcome' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训师资' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'Teachers' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位培训标准' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Standard' +END + +GO + + +--岗位培训方式 +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'PostTraining_Method') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[PostTraining_Method]( + [Id] [nvarchar](50) NOT NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_PostTraining_Method] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[PostTraining_Method] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Method_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[PostTraining_Method] CHECK CONSTRAINT [FK_PostTraining_Method_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Method', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Method', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Method', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Method', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Method', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Method', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位培训方式' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Method' +END + +GO +--岗位培训方式基础数据 +IF NOT EXISTS (SELECT * FROM PostTraining_Method) +BEGIN + INSERT INTO PostTraining_Method(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('C4068604-B6CE-4CA3-BF32-09AF438680E6','001','课堂授课','课堂授课',getdate(),null); + INSERT INTO PostTraining_Method(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('56E2F7C6-3C9E-43A2-ACB2-528CAF0C9FD9','002','实操演练','实操演练',getdate(),null); + INSERT INTO PostTraining_Method(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('A33B9EE5-39EF-4600-81C3-9EB652F95CE0','003','案例研讨','案例研讨',getdate(),null); + INSERT INTO PostTraining_Method(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('A0AA2D97-838A-4550-970F-46096985A857','004','人机系统','人机系统',getdate(),null); + INSERT INTO PostTraining_Method(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('B8609955-7D92-4E5D-AEFB-AC49E7538A65','005','其它','其它',getdate(),null); +END + +GO +--岗位培训师资 +IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'PostTraining_Teachers') AND type = N'U') +BEGIN + +CREATE TABLE [dbo].[PostTraining_Teachers]( + [Id] [nvarchar](50) NOT NULL, + [Code] [nvarchar](50) NULL, + [Name] [nvarchar](200) NULL, + [Remark] [nvarchar](1000) NULL, + [CompileDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + CONSTRAINT [PK_PostTraining_Teachers] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +ALTER TABLE [dbo].[PostTraining_Teachers] WITH CHECK ADD CONSTRAINT [FK_PostTraining_Teachers_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +ALTER TABLE [dbo].[PostTraining_Teachers] CHECK CONSTRAINT [FK_PostTraining_Teachers_Sys_User] +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Teachers', @level2type=N'COLUMN',@level2name=N'Id' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Teachers', @level2type=N'COLUMN',@level2name=N'Code' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类别名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Teachers', @level2type=N'COLUMN',@level2name=N'Name' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Teachers', @level2type=N'COLUMN',@level2name=N'Remark' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Teachers', @level2type=N'COLUMN',@level2name=N'CompileMan' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Teachers', @level2type=N'COLUMN',@level2name=N'CompileDate' +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'岗位培训师资' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PostTraining_Teachers' +END + +GO +--岗位培训师资基础数据 +IF NOT EXISTS (SELECT * FROM PostTraining_Teachers) +BEGIN + INSERT INTO PostTraining_Teachers(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('2FC909EB-CB7A-4470-BC04-B37FD9818A27','001','直线领导','直线领导',getdate(),null); + INSERT INTO PostTraining_Teachers(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('30646530-7AD1-4098-89E0-D74D36AC2A73','002','内部培训师','内部培训师',getdate(),null); + INSERT INTO PostTraining_Teachers(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('5D0A278A-7D0A-4B36-B581-AF4FEE84BCE6','003','外聘师资','外聘师资',getdate(),null); + INSERT INTO PostTraining_Teachers(Id,Code,Name,Remark,CompileDate,CompileMan) + VALUES('4CCC415D-BC3A-4A36-ACE2-757A43C25B16','004','其他','其他',getdate(),null); +END + +GO + +/****** Object: View [dbo].[View_PostTraining_RecordDetail] Script Date: 2025-2-20 17:56:03 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +--岗位培训记录明细列表视图 +CREATE VIEW [dbo].[View_PostTraining_RecordDetail] AS +SELECT recordDetail.Id AS DetailId, + recordDetail.RecordId, + recordDetail.PersonId, + person.UnitId, + unit.UnitName, + person.PersonName, + pRole.Name AS RoleName +FROM dbo.PostTraining_Record_Detail AS recordDetail +LEFT JOIN dbo.SitePerson_Person AS person ON person.PersonId = recordDetail.PersonId +LEFT JOIN dbo.Base_Unit AS unit ON unit.UnitId=person.UnitId +LEFT JOIN dbo.PostTraining_Role AS pRole ON pRole.Id=person.PostTrainingRoleId + +GO + +ALTER VIEW [dbo].[View_SitePerson_Person] +AS +SELECT Person.PersonId, + Person.CardNo, + Person.PersonName, + Person.Sex, + (Case Person.Sex WHEN '1' THEN '男' WHEN '2' THEN '女' ELSE '' END) AS SexName, + Person.IdentityCard, + Person.Address, + Person.ProjectId, + Person.UnitId, + Person.Birthday, + Person.TeamGroupId, + Person.WorkAreaId, + Person.WorkPostId, + Person.InTime, + Person.OutTime, + Person.OutResult, + Person.Telephone, + Person.PositionId, + Person.PostTitleId, + Person.PhotoUrl, + Person.IsUsed, + (CASE Person.IsUsed WHEN 'TRUE' THEN '是' ELSE '否' END) AS IsUsedName, + Person.IsCardUsed, + (CASE Person.IsCardUsed WHEN 'TRUE' THEN '是' ELSE '否' END) AS IsCardUsedName, + Person.PersonIndex, + Project.ProjectCode, + Project.ProjectName, + Unit.UnitCode, + Unit.UnitName, + TeamGroup.TeamGroupName, + --WorkArea.UnitWorkCode AS WorkAreaCode, + WorkAreaCode= STUFF((SELECT ',' + UnitWorkCode FROM dbo.WBS_UnitWork where PATINDEX('%,' + RTRIM(UnitWorkId) + ',%',',' +Person.WorkAreaId + ',')>0 FOR XML PATH('')), 1, 1,''), + --WorkArea.UnitWorkName AS WorkAreaName + WorkAreaName= STUFF((SELECT ',' + UnitWorkName FROM dbo.WBS_UnitWork where PATINDEX('%,' + RTRIM(UnitWorkId) + ',%',',' +Person.WorkAreaId + ',')>0 FOR XML PATH('')), 1, 1,''), + Post.WorkPostName, + Position.PositionName, + Title.PostTitleName, + Depart.DepartName, + Post.PostType, + Post.IsHsse, + (SELECT COUNT(*) FROM EduTrain_TrainRecordDetail T WHERE T.PersonId=Person.PersonId) AS TrainCount, + Person.AuditorId, + sysUser.UserName AS AuditorName, + Person.AuditorDate, + Person.IDCardUrl, + Person.IsForeign, + case when Person.IsForeign=1 then '是' else '否' end as IsForeignStr, + Person.IdcardType, + BasicData1.dictName as IdcardTypeName, + Person.IdcardStartDate, + Person.IdcardEndDate, + Person.IdcardForever, + case when Person.IdcardForever='Y' then '是' else '否' end as IdcardForeverStr, + Person.PoliticsStatus, + BasicData2.dictName as PoliticsStatusName, + Person.IdcardAddress, + Person.Nation, + BasicData3.dictName as NationName, + Person.EduLevel, + BasicData4.dictName as EduLevelName, + Person.MaritalStatus, + BasicData5.dictName as MaritalStatusName, + Person.CountryCode, + Country.cname as CountryName, + Person.ProvinceCode, + City.cname as ProvinceName, + Person.MainCNProfessionalId, + CNProfessional.ProfessionalName as MainCNProfessionalName, + Person.ViceCNProfessionalId, + '' as ViceCNProfessionalName, + Person.IsOutside, + case when Person.IsOutside=1 then '是' else '否' end as IsOutsideStr, + Person.BlackList, + Person.BlackReason, + Person.States, + sysUser.StarLevelId, + StarLevel.StarMark, + StarLevel.LevelValue, + Person.PostTrainingRoleId, + PostRole.Name AS PostTrainingRoleName + +FROM SitePerson_Person AS Person +LEFT JOIN Base_Project AS Project ON Project.ProjectId=Person.ProjectId +LEFT JOIN Base_Unit AS Unit ON Unit.UnitId = Person.UnitId +LEFT JOIN ProjectData_TeamGroup AS TeamGroup ON TeamGroup.TeamGroupId=Person.TeamGroupId +--LEFT JOIN WBS_UnitWork AS WorkArea ON WorkArea.UnitWorkId = Person.WorkAreaId +LEFT JOIN Base_WorkPost AS Post ON Post.WorkPostId = Person.WorkPostId +LEFT JOIN Base_Position AS Position ON Position.PositionId = Person.PositionId +Left JOIN Base_PostTitle AS Title ON Title.PostTitleId = Person.PostTitleId +Left JOIN Base_Depart AS Depart ON Depart.DepartId = Person.DepartId +Left JOIN Sys_User AS sysUser ON sysUser.UserId = Person.AuditorId +Left JOIN RealName_BasicData AS BasicData1 ON BasicData1.dictCode = Person.IdcardType +Left JOIN RealName_BasicData AS BasicData2 ON BasicData2.dictCode = Person.PoliticsStatus +Left JOIN RealName_BasicData AS BasicData3 ON BasicData3.dictCode = Person.Nation +Left JOIN RealName_BasicData AS BasicData4 ON BasicData4.dictCode = Person.EduLevel +Left JOIN RealName_BasicData AS BasicData5 ON BasicData5.dictCode = Person.MaritalStatus +Left JOIN RealName_Country AS Country ON Country.CountryId = Person.CountryCode +Left JOIN RealName_City AS City ON City.provinceCode = Person.ProvinceCode +Left JOIN Base_CNProfessional AS CNProfessional ON CNProfessional.CNProfessionalId = Person.MainCNProfessionalId +Left JOIN Base_StarLevel AS StarLevel ON sysUser.StarLevelId = StarLevel.StarLevelId +Left JOIN PostTraining_Role AS PostRole ON PostRole.Id = Person.PostTrainingRoleId + +GO + +ALTER VIEW [dbo].[View_SitePerson_PersonList] +AS + +SELECT + Person.PersonId, + Person.ProjectId, + Person.IsUsed, + Person.IsForeign, + Person.IsOutside, + Person.BlackList, + Person.CardNo, + Person.PersonName, + Person.UnitId, + Unit.UnitName, + Post.WorkPostName, + WorkAreaName= STUFF((SELECT ',' + UnitWorkName FROM dbo.WBS_UnitWork where PATINDEX('%,' + RTRIM(UnitWorkId) + ',%',',' +Person.WorkAreaId + ',')>0 FOR XML PATH('')), 1, 1,''), + TeamGroup.TeamGroupName, + Person.InTime, + Person.OutTime, + (CASE Person.IsUsed WHEN 'TRUE' THEN '是' ELSE '否' END) AS IsUsedName, + Person.IdentityCard, + Person.TeamGroupId, + Person.WorkPostId, + Person.IdcardType, + Person.PhotoUrl, + edu.TrainCount, + PoliticsStatus.dictName AS PoliticsStatusName, + Person.PostTrainingRoleId, + PostRole.Name AS PostTrainingRoleName +FROM SitePerson_Person AS Person +LEFT JOIN Base_Unit AS Unit ON Unit.UnitId = Person.UnitId +LEFT JOIN ProjectData_TeamGroup AS TeamGroup ON TeamGroup.TeamGroupId=Person.TeamGroupId +LEFT JOIN Base_WorkPost AS Post ON Post.WorkPostId = Person.WorkPostId +LEFT JOIN RealName_BasicData AS PoliticsStatus ON PoliticsStatus.dictCode = Person.PoliticsStatus AND PoliticsStatus.DictTypeCode='POLITICAL_LANDSCAPE' +LEFT JOIN (select PersonId,count(PersonId)as TrainCount from EduTrain_TrainRecordDetail group by PersonId) as edu on edu.PersonId= Person.PersonId +LEFT JOIN PostTraining_Role AS PostRole ON PostRole.Id = Person.PostTrainingRoleId + + + +GO + diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index 54ba97a2..7a5665da 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -81,6 +81,9 @@ False C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ManagedDTS\v4.0_16.0.0.0__89845dcd8080cc91\鏂板缓鏂囦欢澶筡Microsoft.SQLServer.ManagedDTS.dll + + ..\packages\MiniExcel.1.38.0\lib\net45\MiniExcel.dll + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll @@ -122,6 +125,7 @@ + ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll @@ -273,6 +277,7 @@ + @@ -548,6 +553,13 @@ + + + + + + + @@ -678,6 +690,14 @@ + + + + + + + + diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs index db2fcf13..b89d4158 100644 --- a/SGGL/BLL/Common/Const.cs +++ b/SGGL/BLL/Common/Const.cs @@ -6,10 +6,12 @@ using System.Text; namespace BLL { public static class Const - { /// + { + /// /// 鏃堕棿涔︾锛堢敤浜庣瓫閫夋暟鎹寖鍥达級 /// public static DateTime DtmarkTime = DateTime.Parse("2023-01-01"); + public const string SYHSE_PromiseMenuId = "3712B547-06B1-4D54-80B8-1358D222CB23"; public const string SYHSE_BaseMenuId = "FEC432D0-FBE5-47B9-8E21-B259D96525E6"; public const string SYHSE_HiddenDangersMenuId = "7C30F10B-868C-418A-A729-5568DFA1719B"; @@ -22,6 +24,7 @@ namespace BLL /// 鐒婃潯鍙戞斁鍥炴敹绾綍 /// public const string HJGL_ElectrodeRecoveryReportId = "13"; + #region 鐒婃帴鏉愭枡 /// /// 鐒婁笣鐑樼儰璁板綍 @@ -67,6 +70,7 @@ namespace BLL /// public const string HJGL_EWeldRHRecordMenuId = "5BADA90D-EB19-47DE-6666-CA22517AF415"; #endregion + /// /// 鐒婃帴鏃ユ姤瀵煎叆妯$増鏂囦欢鍘熷鐨勮櫄鎷熻矾寰 /// @@ -143,9 +147,6 @@ namespace BLL /// public const string CheckReport4Id = "111"; - - - /// /// 鐑鐞嗙鐞 /// @@ -238,6 +239,7 @@ namespace BLL /// 鏂藉伐鍖哄煙 /// public const string WorkAreaMenuId = "F7BED9C2-49D7-478D-BD65-E3916F1152F8"; + #region 鍩虹淇℃伅 /// /// 鐒婃帴鑰楁潗 @@ -457,7 +459,6 @@ namespace BLL /// public const string HJGL_TestApplicationTemplateUrl = "File\\Excel\\HJGL_DataIn\\鐒婂伐鑰冭瘯鐢宠瀵煎叆妯℃澘.xls"; - #region 宸ョ▼绛捐瘉纭鍗曟祦绋嬪畾涔 ///// @@ -486,20 +487,17 @@ namespace BLL public static string ConfirmForm_Complete = "4"; #endregion + /// /// 瀵嗙骇 /// public const string SecretLevelMenuId = "45B0DFE5-4A86-4F84-9C4B-FB753986D383"; - /// /// 宸ョ▼绛捐瘉鐢宠/璇勫琛 /// public const string VisaApplicationMenuId = "C4ED62E6-3D2D-4DD9-937D-2AA039032B79"; - - - /// /// 椤圭洰绠$悊 /// @@ -784,7 +782,7 @@ namespace BLL /// //public const string WX_TemplateID = "rG2tJ2ByE9I4SziW-zKglA56Ux1q0sZF0WCFLfK70Cs"; public const string WX_TemplateID = "rG2tJ2ByE9I4SziW-zKglF9s6bk6eyV0WVrT5tqFq8I"; - + #endregion #region 鎸夐挳鎻忚堪 @@ -940,7 +938,7 @@ namespace BLL /// public const string ProjectState_3 = "3"; #endregion - + #region 椤圭洰鍗曚綅绫诲瀷 /// /// 鎬诲寘 @@ -953,15 +951,15 @@ namespace BLL /// /// 鐩戠悊 /// - public const string ProjectUnitType_3 = "3"; + public const string ProjectUnitType_3 = "3"; /// /// 涓氫富 /// - public const string ProjectUnitType_4 = "4"; + public const string ProjectUnitType_4 = "4"; /// /// 妫娴嬪崟浣 /// - public const string ProjectUnitType_5 = "6"; + public const string ProjectUnitType_5 = "6"; /// /// 鍏朵粬 @@ -1006,7 +1004,7 @@ namespace BLL /// /// HSE宸ョ▼甯堝矖浣岻d /// - public static string WorkPost_HSSEEngineer = "9b15af2e-6131-462c-9f8a-71533957ca0e"; + public static string WorkPost_HSSEEngineer = "9b15af2e-6131-462c-9f8a-71533957ca0e"; /// /// HSE缁忕悊宀椾綅Id @@ -1337,7 +1335,7 @@ namespace BLL /// 鍏氬缓缇ゅ洟 /// public const string Menu_Party = "Menu_Party"; - + /*椤圭洰*/ /// /// 椤圭洰璁剧疆 @@ -1727,6 +1725,86 @@ namespace BLL public const string ProjectProjectMapMenuId = "F266456A-991F-45A3-BCD6-CF2515D71E39"; #endregion + + #region 宀椾綅鍩硅 + + /// + /// 宀椾綅鍩硅璁板綍 + /// + public const string PostTrainingRecordMenuId = "CEF2A108-DDC2-46A2-A47B-7431F1F890F1"; + + /// + /// 宀椾綅鍩硅绫诲埆 + /// + public const string PostTrainingCategoryMenuId = "465786B2-AD20-483A-A082-B2C944BE998F"; + + /// + /// 宀椾綅鍩硅璇剧▼ + /// + public const string PostTrainingCourseMenuId = "95D9ABD4-4E58-4BAE-AFE1-7F31EF4DF467"; + + /// + /// 宀椾綅鍩硅鏍囧噯 + /// + public const string PostTrainingStandardMenuId = "7BCA5AD9-D0FB-4850-A9D1-88364008984D"; + + /// + /// 宀椾綅鍩硅瑙掕壊 + /// + public const string PostTrainingRoleMenuId = "50F80CAF-08BA-4A16-9EF8-76DF0A8078CF"; + + /// + /// 宀椾綅鍩硅鏂瑰紡 + /// + public const string PostTrainingMethodMenuId = "919853EB-A8FA-4BE5-9964-70F43E000961"; + + /// + /// 宀椾綅鍩硅鏁欒祫 + /// + public const string PostTrainingTeachersMenuId = "026F0A23-AECD-4BB8-8504-1EB8CB9151C0"; + + #endregion + + + #region HSE缁╂晥鑰冩牳 + + /// + /// 鑰冩牳鍔犲垎鎯呭喌 + /// + public const string BonusScoreSituationMenuId = "6957A732-BA33-499E-AB32-DB1F73BEA8CE"; + + /// + /// 鑰冩牳鎵e垎鎯呭喌 + /// + public const string MinusScoreSituationMenuId = "0BCE76EA-319F-47BF-913A-A32735641F5C"; + + /// + /// 涓汉瀹夊叏琛屽姩璁″垝 + /// + public const string PersonalSafetyActionPlanMenuId = "7DD00BEF-821D-4996-ADF8-695139F201B4"; + + /// + /// 瀹夊叏缁忛獙鍒嗕韩 + /// + public const string SharingOfSafetyExperienceMenuId = "D5FC7B12-0E81-482C-8B29-A9F43DF05D1F"; + + /// + /// 棰嗗浜哄憳鍙傚姞鐝粍浣滀笟鍒嗘瀽浼 + /// + public const string LeadershipJoinHomeworkAnalysisMeetingMenuId = "05F4AC73-1BA2-4FF2-AAED-292DF5E44412"; + + /// + /// 涓绾垮厷鍛樿仈绯荤彮缁勫叡寤烘椿鍔 + /// + public const string CoConstructionActivitiesMenuId = "D3BADACC-3DA6-4B09-8BD0-1E2DF7B04B6E"; + + /// + /// 琛屼负瀹夊叏瑙傚療涓庢矡閫 + /// + public const string BehavioralSafetyObservationMenuId = "5049BB69-A75F-47D4-ABF3-DAA719D05C74"; + + #endregion + #region 鍏叡璧勬簮 #region 瀹夊叏鍚堣 /// @@ -1758,8 +1836,8 @@ namespace BLL /// /// HSSE瀹夊叏缁勭粐鏋舵瀯鍥 /// - public const string HSSESafeOrganizePicMenuId = "9D2E1FEB-5E3D-4E37-9C11-0F6BABE8BA8F"; - + public const string HSSESafeOrganizePicMenuId = "9D2E1FEB-5E3D-4E37-9C11-0F6BABE8BA8F"; + /// /// 瀹夊叏绠$悊鏈烘瀯 /// @@ -2005,7 +2083,7 @@ namespace BLL public const string ServerSafeUnitReportMenuId = "2C673125-AAA4-4F41-A827-0F04DFE55DED"; #endregion - + #region 浼佷笟瀹夊叏澶ф鏌 /// /// 瀹夊叏鐩戠潱妫鏌ユ姤鍛 @@ -2229,20 +2307,24 @@ namespace BLL #region 椤圭洰鑿滃崟 + /// + /// 鐪嬫澘鏁版嵁缁存姢 + /// + public const string ProjectBoardDataMenuId = "087F4FAF-3B00-462A-9040-4CB3556F8177"; #region 瀹夊叏浣撶郴 /// /// 瀹夊叏缁勭粐鏈烘瀯 /// - public const string ProjectSafetyOrganizationMenuId = "1EDD072E-473A-4CDB-A2D3-E401C146B2B2"; + public const string ProjectSafetyOrganizationMenuId = "1EDD072E-473A-4CDB-A2D3-E401C146B2B2"; /// /// 瀹夊叏浣撶郴 /// - public const string ProjectSafetySystemMenuId = "21C779D6-269B-4CB7-AFFB-F59958AC0EF0"; + public const string ProjectSafetySystemMenuId = "21C779D6-269B-4CB7-AFFB-F59958AC0EF0"; /// /// 瀹夊叏鍒跺害 /// - public const string ProjectSafetyInstitutionMenuId = "9D04CD8B-575C-4854-B8B0-F90CEEB75815"; + public const string ProjectSafetyInstitutionMenuId = "9D04CD8B-575C-4854-B8B0-F90CEEB75815"; /// /// 瀹夊叏绠$悊缁勭粐鏈烘瀯 /// @@ -2300,7 +2382,7 @@ namespace BLL /// 杞﹁締绠$悊 /// public const string VehicleMenuId = "E1D76B04-9A28-436D-BA49-83AC80B36B0C"; - + /// /// 涓鑸満鍏疯澶囪祫璐 /// @@ -2471,8 +2553,8 @@ namespace BLL /// /// 鐜板満浜哄憳缁熻 /// - public const string PersonStatisticMenuId = "7D36E853-CC79-48B9-9E7F-E34797B4E87E"; - + public const string PersonStatisticMenuId = "7D36E853-CC79-48B9-9E7F-E34797B4E87E"; + /// /// 浜哄憳鍙樺寲 /// @@ -2511,7 +2593,7 @@ namespace BLL /// /// 鍩硅鑰冭瘯璁板綍 /// - public const string ProjectTrainTestRecordMenuId1= "10736CAC-A343-4D73-9D03-E6A3D1909A7B"; + public const string ProjectTrainTestRecordMenuId1 = "10736CAC-A343-4D73-9D03-E6A3D1909A7B"; /// /// 妯℃嫙鑰冭瘯 /// @@ -2538,7 +2620,7 @@ namespace BLL /// /// 瀹夊叏鎶鏈氦搴 /// - public const string ProjectHSETechnicalMenuId = "49485F7E-8E71-4EED-87B4-BF6CC180C69C"; + public const string ProjectHSETechnicalMenuId = "49485F7E-8E71-4EED-87B4-BF6CC180C69C"; /// /// 浣滀笟绁ㄧ敵璇 /// @@ -2613,7 +2695,7 @@ namespace BLL /// /// HSSE涓撻」妫鏌 /// - public const string ProjectCheckSpecialMenuId = "1B08048F-93ED-4E84-AE65-DB7917EA2DFB"; + public const string ProjectCheckSpecialMenuId = "1B08048F-93ED-4E84-AE65-DB7917EA2DFB"; /// /// HSSE缁煎悎妫鏌 /// @@ -2629,11 +2711,11 @@ namespace BLL /// /// 寮宸ュ墠HSSE妫鏌 /// - public const string ProjectCheckWorkMenuId = "9212291A-FBC5-4F6D-A5F6-60BFF4E30F6F"; + public const string ProjectCheckWorkMenuId = "9212291A-FBC5-4F6D-A5F6-60BFF4E30F6F"; /// /// 瀛h妭鎬/鑺傚亣鏃SSE妫鏌 /// - public const string ProjectCheckHolidayMenuId = "0D23A707-ADA0-4C2B-9665-611134243529"; + public const string ProjectCheckHolidayMenuId = "0D23A707-ADA0-4C2B-9665-611134243529"; /// /// 鍗遍櫓鍥犵礌缁熻鍒嗘瀽 /// @@ -2751,11 +2833,11 @@ namespace BLL /// /// HSSE鏈堜緥浼 /// - public const string ProjectMonthMeetingMenuId = "D5DD5EBD-A5F2-4A43-BA4C-E9A242B43684"; + public const string ProjectMonthMeetingMenuId = "D5DD5EBD-A5F2-4A43-BA4C-E9A242B43684"; /// /// HSSE涓撻浼氳 /// - public const string ProjectSpecialMeetingMenuId = "BB6CEC48-283B-46AD-BEDD-F964D261698F"; + public const string ProjectSpecialMeetingMenuId = "BB6CEC48-283B-46AD-BEDD-F964D261698F"; /// /// 鍏朵粬浼氳璁板綍 /// @@ -2847,11 +2929,11 @@ namespace BLL /// /// 鍚堝悓HSE璐圭敤鍙婃敮浠樺彴璐 /// - public const string ProjectCostLedgerMenuId = "19C1370F-92C0-4E31-87B4-8BADA74113E4"; + public const string ProjectCostLedgerMenuId = "19C1370F-92C0-4E31-87B4-8BADA74113E4"; /// /// HSSE璐圭敤缁熻琛 /// - public const string TC_CostMenuId = "89B42B7B-8AEE-4199-923E-81A602FC77E0"; + public const string TC_CostMenuId = "89B42B7B-8AEE-4199-923E-81A602FC77E0"; /// /// HSSE鐗╄祫绠$悊 /// @@ -2859,11 +2941,11 @@ namespace BLL /// /// 鐗╄祫鍏ュ簱绠$悊 /// - public const string GoodsIn2MenuId = "FDA02FCA-4E23-469E-AB26-2D625D0E579A"; + public const string GoodsIn2MenuId = "FDA02FCA-4E23-469E-AB26-2D625D0E579A"; /// /// 鐗╄祫鍑哄簱绠$悊 /// - public const string GoodsOut2MenuId = "881D6FE5-C281-4DA8-80CD-D7C6624796FC"; + public const string GoodsOut2MenuId = "881D6FE5-C281-4DA8-80CD-D7C6624796FC"; /// /// 鐗╄祫搴撳瓨绠$悊 /// @@ -2890,19 +2972,19 @@ namespace BLL /// /// HSSE妫鏌ョ被鍒缃 /// - public const string CheckTypeSetMenuId = "7353F3C1-0EAF-4DB7-86B4-93E3B96805F8"; + public const string CheckTypeSetMenuId = "7353F3C1-0EAF-4DB7-86B4-93E3B96805F8"; /// /// HSSE琛屾斂绠$悊妫鏌ヨ褰 /// - public const string ManageCheckMenuId = "A25EB19A-F06E-4AAF-A589-E2B8F7FA7857"; + public const string ManageCheckMenuId = "A25EB19A-F06E-4AAF-A589-E2B8F7FA7857"; /// /// 鐜板満杞﹁締绠$悊 /// - public const string CarManagerMenuId = "CF82805A-84BE-400A-B939-83F7612D76F5"; + public const string CarManagerMenuId = "CF82805A-84BE-400A-B939-83F7612D76F5"; /// /// 鐜板満椹鹃┒鍛樼鐞 /// - public const string DriverManagerMenuId = "754C23CA-F1BC-4F44-9D34-B185099EDCA0"; + public const string DriverManagerMenuId = "754C23CA-F1BC-4F44-9D34-B185099EDCA0"; /// /// 鑱屼笟鍋ュ悍绠$悊 /// @@ -2917,7 +2999,7 @@ namespace BLL /// /// 鏈堝害瀹夊叏璇勬瘮 /// - public const string ProjectMonthlyRatingMenuId = "293FD782-7B39-4F0F-A826-CA790A70CCC7"; + public const string ProjectMonthlyRatingMenuId = "293FD782-7B39-4F0F-A826-CA790A70CCC7"; /// /// 鍏ㄥ浗瀹夊叏鏈 /// @@ -2931,7 +3013,7 @@ namespace BLL /// public const string ProjectOtherActivitiesMenuId = "446D702B-F0C1-4D12-A862-0B8317D95928"; #endregion - + #region 鑱屼笟鍋ュ悍 /// /// 鍗卞妫娴 @@ -2977,7 +3059,7 @@ namespace BLL /// HSSE绠$悊鍛ㄦ姤 /// public const string ProjectManagerWeekMenuId = "AE118E9C-C309-43B7-A198-8CA90A8D98EB"; - + /// /// 鏈堟姤(璧涢紟) /// @@ -3025,7 +3107,7 @@ namespace BLL /// /// 浼佷笟瀹夊叏绠$悊璧勬枡 /// - public const string ProjectSafetyDataMenuId = "54A3E23A-DAC7-484B-8C97-40AD785688FC"; + public const string ProjectSafetyDataMenuId = "54A3E23A-DAC7-484B-8C97-40AD785688FC"; /// /// HSSE鏃ュ織鏆ㄧ鐞嗘暟鎹敹闆 /// @@ -3059,7 +3141,7 @@ namespace BLL /// public const string ProjectHSEDiaryMenuId = "8E5B4A8E-B06E-4C8A-A2C8-1091A9BCAF72"; #endregion - + #region HSSE缁╂晥璇勪环绠$悊 /// /// HSSE鍒嗗寘鏂圭哗鏁堣瘎浠 @@ -3144,27 +3226,27 @@ namespace BLL /// /// HSSE瀹d紶娲诲姩 /// - public const string ProjectPromotionalActivitiesMenuId = "16092FE7-938B-4713-8084-4FBFA030F386"; + public const string ProjectPromotionalActivitiesMenuId = "16092FE7-938B-4713-8084-4FBFA030F386"; /// /// 椤圭洰鍥剧墖 /// - public const string ProjectPictureMenuId = "B58179BE-FE6E-4E91-84FC-D211E4692354"; + public const string ProjectPictureMenuId = "B58179BE-FE6E-4E91-84FC-D211E4692354"; /// /// 涓鑸潵鏂囩鐞 /// - public const string ReceiveFileManagerMenuId = "4F5C00F3-DA7D-4B2D-B1EF-310DFFCA77DD"; + public const string ReceiveFileManagerMenuId = "4F5C00F3-DA7D-4B2D-B1EF-310DFFCA77DD"; /// /// 椤圭洰鏂囦欢澶 /// - public const string ProjectFolderMenuId = "05C6C2AF-3B0B-4BF0-A8CE-1FC15DAC3C54"; + public const string ProjectFolderMenuId = "05C6C2AF-3B0B-4BF0-A8CE-1FC15DAC3C54"; /// /// 鏂囦欢鏌1 /// - public const string ProjectFileCabinetAMenuId = "C69B7409-BE1E-4754-AC90-57B56EEE198B"; + public const string ProjectFileCabinetAMenuId = "C69B7409-BE1E-4754-AC90-57B56EEE198B"; /// /// 鏂囦欢鏌2 /// - public const string ProjectFileCabinetBMenuId = "200019A4-E24F-4C87-8C52-9970F78DBF73"; + public const string ProjectFileCabinetBMenuId = "200019A4-E24F-4C87-8C52-9970F78DBF73"; /// /// 淇℃伅缁熻 /// @@ -3539,6 +3621,16 @@ namespace BLL /// Excel闄勪欢璺緞 /// public const string ExcelUrl = "File\\Excel\\Temp\\"; + + /// + /// 宀椾綅鍩硅璇剧▼ + /// + public const string PostTrainingCourseTemplateUrl = "File\\Excel\\DataIn\\宀椾綅鍩硅璇剧▼瀵煎叆妯℃澘.xlsx"; + /// + /// 宀椾綅鍩硅鏍囧噯 + /// + public const string PostTrainingStandardTemplateUrl = "File\\Excel\\DataIn\\宀椾綅鍩硅鏍囧噯瀵煎叆妯℃澘.xlsx"; + /// /// 鏁版嵁瀵煎叆妯$増鏂囦欢鍘熷鐨勮櫄鎷熻矾寰 /// @@ -3813,19 +3905,19 @@ namespace BLL /// /// 鑱屽伐浼や骸浜嬫晠鍘熷洜鍒嗘瀽鎶ヨ〃 /// - public const string Information_AccidentCauseReportId = "2"; + public const string Information_AccidentCauseReportId = "2"; /// /// 瀹夊叏鐢熶骇鏁版嵁瀛f姤 /// - public const string Information_SafetyQuarterlyReportId = "3"; + public const string Information_SafetyQuarterlyReportId = "3"; /// /// 搴旀ユ紨缁冨紑灞曟儏鍐靛鎶ヨ〃 /// - public const string Information_DrillConductedQuarterlyReportId = "4"; + public const string Information_DrillConductedQuarterlyReportId = "4"; /// /// 搴旀ユ紨缁冨伐浣滆鍒掑崐骞存姤琛 /// - public const string Information_DrillPlanHalfYearReportId = "5"; + public const string Information_DrillPlanHalfYearReportId = "5"; /// /// 鍩硅璁板綍 /// @@ -3833,7 +3925,7 @@ namespace BLL /// /// 鐜鍗遍櫓婧愯鲸璇嗕笌璇勪环鎵撳嵃鎶ヨ〃 /// - public const string EnvironmentalRiskReportId = "12"; + public const string EnvironmentalRiskReportId = "12"; /// /// 鐜鍗遍櫓婧愯鲸璇嗕笌璇勪环锛堥噸瑕佺幆澧冨洜绱狅級鎵撳嵃鎶ヨ〃 /// @@ -3841,7 +3933,7 @@ namespace BLL /// /// 鑱屼笟鍋ュ悍瀹夊叏鍗遍櫓婧愯鲸璇嗕笌璇勪环鎵撳嵃鎶ヨ〃 /// - public const string HazardListReportId = "14"; + public const string HazardListReportId = "14"; /// /// 鑱屼笟鍋ュ悍瀹夊叏鍗遍櫓婧愯鲸璇嗕笌璇勪环锛堥噸澶у嵄闄╂簮锛夋墦鍗版姤琛 /// @@ -3872,7 +3964,7 @@ namespace BLL /// /// 宸插畬鎴/宸查棴鐜 /// - public const string State_3 = "3"; + public const string State_3 = "3"; /// /// 宸插畬鎴/宸蹭笂鎶 /// @@ -5001,7 +5093,7 @@ namespace BLL /// 閲嶆姤 /// public const string Comprehensive_ReCompile = "0"; - + /// /// 椹冲洖 /// @@ -5526,7 +5618,7 @@ namespace BLL /// /// 瀹℃壒瀹屾垚 /// - public const string ConstructionPlan_Complete= "5"; + public const string ConstructionPlan_Complete = "5"; #endregion #region 鎬绘壙鍖呭晢鏂藉伐鎶ュ憡 @@ -6126,8 +6218,6 @@ namespace BLL public const string IsoCompreInfoMenuId = "CF3CB43C-4031-4CFD-905F-154DC1CB881E"; #endregion - - #region 鐒婃潗鐢宠娴佺▼瀹氫箟 /// /// 閲嶆柊缂栧埗 @@ -6150,6 +6240,7 @@ namespace BLL public static string MaterialApply_Complete = "3";//鍒嗗寘 #endregion + /// /// 涓嶅弬涓庤鍒欒缃彍鍗 /// diff --git a/SGGL/BLL/Common/StringHelper.cs b/SGGL/BLL/Common/StringHelper.cs new file mode 100644 index 00000000..cbfe8757 --- /dev/null +++ b/SGGL/BLL/Common/StringHelper.cs @@ -0,0 +1,29 @@ +锘縰sing System; +using System.Data; +using System.Linq; + +namespace BLL +{ + /// + /// 瀛楃涓叉搷浣滆緟鍔╃被 + /// + public class StringHelper + { + /// + /// 瀛楃涓茶浆鎹 + /// 'A,B,C' => 'A','B','C' + /// + /// + /// + public static string StringConvert(string str) + { + string result = string.Empty; + if (!string.IsNullOrWhiteSpace(str)) + { + string[] items = str.Split(','); + result = string.Join(",", items.Select(x => $"'{x}'")); + } + return result; + } + } +} diff --git a/SGGL/BLL/HSSE/Examine/BehavioralSafetyObservationService.cs b/SGGL/BLL/HSSE/Examine/BehavioralSafetyObservationService.cs new file mode 100644 index 00000000..10445345 --- /dev/null +++ b/SGGL/BLL/HSSE/Examine/BehavioralSafetyObservationService.cs @@ -0,0 +1,77 @@ +锘縰sing System.Linq; + +namespace BLL +{ + /// + /// 琛屼负瀹夊叏瑙傚療涓庢矡閫 + /// + public static class BehavioralSafetyObservationService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇琛屼负瀹夊叏瑙傚療涓庢矡閫氫俊鎭 + /// + /// + /// + public static Model.Examine_BehavioralSafetyObservation GetBehavioralSafetyObservationById(string Id) + { + return Funs.DB.Examine_BehavioralSafetyObservation.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞琛屼负瀹夊叏瑙傚療涓庢矡閫 + /// + /// + public static void AddBehavioralSafetyObservation(Model.Examine_BehavioralSafetyObservation model) + { + Model.Examine_BehavioralSafetyObservation newModel = new Model.Examine_BehavioralSafetyObservation + { + Id = model.Id, + ProjectId = model.ProjectId, + Code = model.Code, + Name = model.Name, + UserId = model.UserId, + DateTime = model.DateTime, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark, + Content = model.Content + }; + Funs.DB.Examine_BehavioralSafetyObservation.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateBehavioralSafetyObservation(Model.Examine_BehavioralSafetyObservation model) + { + Model.Examine_BehavioralSafetyObservation newModel = Funs.DB.Examine_BehavioralSafetyObservation.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.UserId = model.UserId; + newModel.DateTime = model.DateTime; + newModel.Content = model.Content; + newModel.Remark = model.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteBehavioralSafetyObservationById(string Id) + { + Model.Examine_BehavioralSafetyObservation model = Funs.DB.Examine_BehavioralSafetyObservation.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.Examine_BehavioralSafetyObservation.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/HSSE/Examine/BonusScoreSituationService.cs b/SGGL/BLL/HSSE/Examine/BonusScoreSituationService.cs new file mode 100644 index 00000000..274a8a79 --- /dev/null +++ b/SGGL/BLL/HSSE/Examine/BonusScoreSituationService.cs @@ -0,0 +1,83 @@ +锘縰sing System.Linq; + +namespace BLL +{ + /// + /// 鑰冩牳鍔犲垎鎯呭喌 + /// + public static class BonusScoreSituationService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇鑰冩牳鍔犲垎鎯呭喌淇℃伅 + /// + /// + /// + public static Model.Examine_BonusScoreSituation GetBonusScoreSituationById(string Id) + { + return Funs.DB.Examine_BonusScoreSituation.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞鑰冩牳鍔犲垎鎯呭喌 + /// + /// + public static void AddBonusScoreSituation(Model.Examine_BonusScoreSituation model) + { + Model.Examine_BonusScoreSituation newModel = new Model.Examine_BonusScoreSituation + { + Id = model.Id, + ProjectId = model.ProjectId, + Code = model.Code, + Name = model.Name, + Level = model.Level, + LevelName = model.LevelName, + Score = model.Score, + UserId = model.UserId, + DateTime = model.DateTime, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark, + Content = model.Content + }; + Funs.DB.Examine_BonusScoreSituation.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateBonusScoreSituation(Model.Examine_BonusScoreSituation model) + { + Model.Examine_BonusScoreSituation newModel = Funs.DB.Examine_BonusScoreSituation.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.Level = model.Level; + newModel.LevelName = model.LevelName; + newModel.Score = model.Score; + newModel.UserId = model.UserId; + newModel.DateTime = model.DateTime; + newModel.Content = model.Content; + newModel.Remark = model.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteBonusScoreSituationById(string Id) + { + Model.Examine_BonusScoreSituation model = Funs.DB.Examine_BonusScoreSituation.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.Examine_BonusScoreSituation.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/HSSE/Examine/CoConstructionActivitiesService.cs b/SGGL/BLL/HSSE/Examine/CoConstructionActivitiesService.cs new file mode 100644 index 00000000..d4902f19 --- /dev/null +++ b/SGGL/BLL/HSSE/Examine/CoConstructionActivitiesService.cs @@ -0,0 +1,77 @@ +锘縰sing System.Linq; + +namespace BLL +{ + /// + /// 涓绾垮厷鍛樿仈绯荤彮缁勫叡寤烘椿鍔 + /// + public static class CoConstructionActivitiesService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇涓绾垮厷鍛樿仈绯荤彮缁勫叡寤烘椿鍔ㄤ俊鎭 + /// + /// + /// + public static Model.Examine_CoConstructionActivities GetCoConstructionActivitiesById(string Id) + { + return Funs.DB.Examine_CoConstructionActivities.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞涓绾垮厷鍛樿仈绯荤彮缁勫叡寤烘椿鍔 + /// + /// + public static void AddCoConstructionActivities(Model.Examine_CoConstructionActivities model) + { + Model.Examine_CoConstructionActivities newModel = new Model.Examine_CoConstructionActivities + { + Id = model.Id, + ProjectId = model.ProjectId, + Code = model.Code, + Name = model.Name, + UserId = model.UserId, + DateTime = model.DateTime, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark, + Content = model.Content + }; + Funs.DB.Examine_CoConstructionActivities.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateCoConstructionActivities(Model.Examine_CoConstructionActivities model) + { + Model.Examine_CoConstructionActivities newModel = Funs.DB.Examine_CoConstructionActivities.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.UserId = model.UserId; + newModel.DateTime = model.DateTime; + newModel.Content = model.Content; + newModel.Remark = model.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteCoConstructionActivitiesById(string Id) + { + Model.Examine_CoConstructionActivities model = Funs.DB.Examine_CoConstructionActivities.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.Examine_CoConstructionActivities.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingService.cs b/SGGL/BLL/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingService.cs new file mode 100644 index 00000000..d890e8f6 --- /dev/null +++ b/SGGL/BLL/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingService.cs @@ -0,0 +1,77 @@ +锘縰sing System.Linq; + +namespace BLL +{ + /// + /// 棰嗗浜哄憳鍙傚姞鐝粍浣滀笟鍒嗘瀽浼 + /// + public static class LeadershipJoinHomeworkAnalysisMeetingService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇棰嗗浜哄憳鍙傚姞鐝粍浣滀笟鍒嗘瀽浼氫俊鎭 + /// + /// + /// + public static Model.Examine_LeadershipJoinHomeworkAnalysisMeeting GetLeadershipJoinHomeworkAnalysisMeetingById(string Id) + { + return Funs.DB.Examine_LeadershipJoinHomeworkAnalysisMeeting.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞棰嗗浜哄憳鍙傚姞鐝粍浣滀笟鍒嗘瀽浼 + /// + /// + public static void AddLeadershipJoinHomeworkAnalysisMeeting(Model.Examine_LeadershipJoinHomeworkAnalysisMeeting model) + { + Model.Examine_LeadershipJoinHomeworkAnalysisMeeting newModel = new Model.Examine_LeadershipJoinHomeworkAnalysisMeeting + { + Id = model.Id, + ProjectId = model.ProjectId, + Code = model.Code, + Name = model.Name, + UserId = model.UserId, + DateTime = model.DateTime, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark, + Content = model.Content + }; + Funs.DB.Examine_LeadershipJoinHomeworkAnalysisMeeting.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateLeadershipJoinHomeworkAnalysisMeeting(Model.Examine_LeadershipJoinHomeworkAnalysisMeeting model) + { + Model.Examine_LeadershipJoinHomeworkAnalysisMeeting newModel = Funs.DB.Examine_LeadershipJoinHomeworkAnalysisMeeting.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.UserId = model.UserId; + newModel.DateTime = model.DateTime; + newModel.Content = model.Content; + newModel.Remark = model.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteLeadershipJoinHomeworkAnalysisMeetingById(string Id) + { + Model.Examine_LeadershipJoinHomeworkAnalysisMeeting model = Funs.DB.Examine_LeadershipJoinHomeworkAnalysisMeeting.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.Examine_LeadershipJoinHomeworkAnalysisMeeting.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/HSSE/Examine/MinusScoreSituationService.cs b/SGGL/BLL/HSSE/Examine/MinusScoreSituationService.cs new file mode 100644 index 00000000..e06d8c52 --- /dev/null +++ b/SGGL/BLL/HSSE/Examine/MinusScoreSituationService.cs @@ -0,0 +1,83 @@ +锘縰sing System.Linq; + +namespace BLL +{ + /// + /// 鑰冩牳鎵e垎鎯呭喌 + /// + public static class MinusScoreSituationService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇鑰冩牳鎵e垎鎯呭喌淇℃伅 + /// + /// + /// + public static Model.Examine_MinusScoreSituation GetMinusScoreSituationById(string Id) + { + return Funs.DB.Examine_MinusScoreSituation.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞鑰冩牳鎵e垎鎯呭喌 + /// + /// + public static void AddMinusScoreSituation(Model.Examine_MinusScoreSituation model) + { + Model.Examine_MinusScoreSituation newModel = new Model.Examine_MinusScoreSituation + { + Id = model.Id, + ProjectId = model.ProjectId, + Code = model.Code, + Name = model.Name, + Level = model.Level, + LevelName = model.LevelName, + Score = model.Score, + UserId = model.UserId, + DateTime = model.DateTime, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark, + Content = model.Content + }; + Funs.DB.Examine_MinusScoreSituation.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateMinusScoreSituation(Model.Examine_MinusScoreSituation model) + { + Model.Examine_MinusScoreSituation newModel = Funs.DB.Examine_MinusScoreSituation.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.Level = model.Level; + newModel.LevelName = model.LevelName; + newModel.Score = model.Score; + newModel.UserId = model.UserId; + newModel.DateTime = model.DateTime; + newModel.Content = model.Content; + newModel.Remark = model.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteMinusScoreSituationById(string Id) + { + Model.Examine_MinusScoreSituation model = Funs.DB.Examine_MinusScoreSituation.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.Examine_MinusScoreSituation.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/HSSE/Examine/PersonalSafetyActionPlanService.cs b/SGGL/BLL/HSSE/Examine/PersonalSafetyActionPlanService.cs new file mode 100644 index 00000000..3c1591c4 --- /dev/null +++ b/SGGL/BLL/HSSE/Examine/PersonalSafetyActionPlanService.cs @@ -0,0 +1,77 @@ +锘縰sing System.Linq; + +namespace BLL +{ + /// + /// 涓汉瀹夊叏琛屽姩璁″垝 + /// + public static class PersonalSafetyActionPlanService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇涓汉瀹夊叏琛屽姩璁″垝淇℃伅 + /// + /// + /// + public static Model.Examine_PersonalSafetyActionPlan GetPersonalSafetyActionPlanById(string Id) + { + return Funs.DB.Examine_PersonalSafetyActionPlan.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞涓汉瀹夊叏琛屽姩璁″垝 + /// + /// + public static void AddPersonalSafetyActionPlan(Model.Examine_PersonalSafetyActionPlan model) + { + Model.Examine_PersonalSafetyActionPlan newModel = new Model.Examine_PersonalSafetyActionPlan + { + Id = model.Id, + ProjectId = model.ProjectId, + Code = model.Code, + Name = model.Name, + UserId = model.UserId, + DateTime = model.DateTime, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark, + Content = model.Content + }; + Funs.DB.Examine_PersonalSafetyActionPlan.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdatePersonalSafetyActionPlan(Model.Examine_PersonalSafetyActionPlan model) + { + Model.Examine_PersonalSafetyActionPlan newModel = Funs.DB.Examine_PersonalSafetyActionPlan.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.UserId = model.UserId; + newModel.DateTime = model.DateTime; + newModel.Content = model.Content; + newModel.Remark = model.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeletePersonalSafetyActionPlanById(string Id) + { + Model.Examine_PersonalSafetyActionPlan model = Funs.DB.Examine_PersonalSafetyActionPlan.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.Examine_PersonalSafetyActionPlan.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/HSSE/Examine/SharingOfSafetyExperienceService.cs b/SGGL/BLL/HSSE/Examine/SharingOfSafetyExperienceService.cs new file mode 100644 index 00000000..2642835c --- /dev/null +++ b/SGGL/BLL/HSSE/Examine/SharingOfSafetyExperienceService.cs @@ -0,0 +1,77 @@ +锘縰sing System.Linq; + +namespace BLL +{ + /// + /// 瀹夊叏缁忛獙鍒嗕韩 + /// + public static class SharingOfSafetyExperienceService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇瀹夊叏缁忛獙鍒嗕韩淇℃伅 + /// + /// + /// + public static Model.Examine_SharingOfSafetyExperience GetSharingOfSafetyExperienceById(string Id) + { + return Funs.DB.Examine_SharingOfSafetyExperience.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞瀹夊叏缁忛獙鍒嗕韩 + /// + /// + public static void AddSharingOfSafetyExperience(Model.Examine_SharingOfSafetyExperience model) + { + Model.Examine_SharingOfSafetyExperience newModel = new Model.Examine_SharingOfSafetyExperience + { + Id = model.Id, + ProjectId = model.ProjectId, + Code = model.Code, + Name = model.Name, + UserId = model.UserId, + DateTime = model.DateTime, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark, + Content = model.Content + }; + Funs.DB.Examine_SharingOfSafetyExperience.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateSharingOfSafetyExperience(Model.Examine_SharingOfSafetyExperience model) + { + Model.Examine_SharingOfSafetyExperience newModel = Funs.DB.Examine_SharingOfSafetyExperience.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.UserId = model.UserId; + newModel.DateTime = model.DateTime; + newModel.Content = model.Content; + newModel.Remark = model.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteSharingOfSafetyExperienceById(string Id) + { + Model.Examine_SharingOfSafetyExperience model = Funs.DB.Examine_SharingOfSafetyExperience.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.Examine_SharingOfSafetyExperience.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/HSSE/PostTraining/PostTrainingCategoryService.cs b/SGGL/BLL/HSSE/PostTraining/PostTrainingCategoryService.cs new file mode 100644 index 00000000..dd875122 --- /dev/null +++ b/SGGL/BLL/HSSE/PostTraining/PostTrainingCategoryService.cs @@ -0,0 +1,121 @@ +锘縰sing Model; +using System.Collections.Generic; +using System.Linq; + +namespace BLL +{ + /// + /// 宀椾綅鍩硅绫诲埆 + /// + public static class PostTrainingCategoryService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇宀椾綅鍩硅绫诲埆淇℃伅 + /// + /// + /// + public static Model.PostTraining_Category GetCategoryById(string Id) + { + return Funs.DB.PostTraining_Category.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 鏍规嵁鍚嶇О鑾峰彇宀椾綅鍩硅绫诲埆淇℃伅 + /// + /// + /// + public static Model.PostTraining_Category GetCategoryByName(string Name) + { + return Funs.DB.PostTraining_Category.FirstOrDefault(e => e.Name == Name); + } + + /// + /// 娣诲姞宀椾綅鍩硅绫诲埆 + /// + /// + public static void AddCategory(Model.PostTraining_Category model) + { + Model.PostTraining_Category newModel = new Model.PostTraining_Category + { + Id = model.Id, + Code = model.Code, + Name = model.Name, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark + }; + Funs.DB.PostTraining_Category.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateCategory(Model.PostTraining_Category model) + { + Model.PostTraining_Category newModel = Funs.DB.PostTraining_Category.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.Remark = model.Remark; + newModel.CompileDate = model.CompileDate; + newModel.CompileMan = model.CompileMan; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteCategoryById(string Id) + { + Model.PostTraining_Category model = Funs.DB.PostTraining_Category.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.PostTraining_Category.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鑾峰彇鎵鏈夊煿璁被鍒獿ist + /// + /// + public static List GetCategoryList() + { + return (from x in Funs.DB.PostTraining_Category orderby x.Code select x).ToList(); + } + + + /// + /// 鑾峰彇鍩硅绫诲埆涓嬫媺妗 + /// + /// + /// + public static void InitPostTrainingCategoryDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease) + { + dropName.DataValueField = "Id"; + dropName.DataTextField = "Name"; + dropName.DataSource = GetPostTrainingCategoryList(); + dropName.DataBind(); + if (isShowPlease) + { + Funs.FineUIPleaseSelect(dropName); + } + } + + /// + /// 鑾峰彇鍩硅绫诲埆涓嬫媺椤 + /// + /// + public static List GetPostTrainingCategoryList() + { + return (from x in Funs.DB.PostTraining_Category orderby x.Code select x).ToList(); + } + + } +} diff --git a/SGGL/BLL/HSSE/PostTraining/PostTrainingCourseService.cs b/SGGL/BLL/HSSE/PostTraining/PostTrainingCourseService.cs new file mode 100644 index 00000000..79772664 --- /dev/null +++ b/SGGL/BLL/HSSE/PostTraining/PostTrainingCourseService.cs @@ -0,0 +1,324 @@ +锘縰sing MiniExcelLibs; +using Model; +using System.Collections.Generic; +using System; +using System.Linq; + +namespace BLL +{ + /// + /// 宀椾綅鍩硅璇剧▼ + /// + public static class PostTrainingCourseService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇宀椾綅鍩硅璇剧▼淇℃伅 + /// + /// + /// + public static Model.PostTraining_Course GetCourseById(string Id) + { + return Funs.DB.PostTraining_Course.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞宀椾綅鍩硅璇剧▼ + /// + /// + public static void AddCourse(Model.PostTraining_Course model) + { + Model.PostTraining_Course newModel = new Model.PostTraining_Course + { + Id = model.Id, + Code = model.Code, + Name = model.Name, + CategoryId = model.CategoryId, + CategoryName = model.CategoryName, + Method1 = model.Method1, + Method2 = model.Method2, + Teachers1 = model.Teachers1, + Teachers2 = model.Teachers2, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark + }; + Funs.DB.PostTraining_Course.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateCourse(Model.PostTraining_Course model) + { + Model.PostTraining_Course newModel = Funs.DB.PostTraining_Course.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.CategoryId = model.CategoryId; + newModel.CategoryName = model.CategoryName; + newModel.Method1 = model.Method1; + newModel.Method2 = model.Method2; + newModel.Teachers1 = model.Teachers1; + newModel.Teachers2 = model.Teachers2; + newModel.Remark = model.Remark; + newModel.CompileDate = model.CompileDate; + newModel.CompileMan = model.CompileMan; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteCourseById(string Id) + { + Model.PostTraining_Course model = Funs.DB.PostTraining_Course.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.PostTraining_Course.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鑾峰彇鎵鏈夊矖浣嶅煿璁绋婰ist + /// + /// + public static List GetCourseList() + { + return (from x in Funs.DB.PostTraining_Course orderby x.Code select x).ToList(); + } + + /// + /// 瀵煎叆鏁版嵁 + /// + /// + /// + /// + /// + /// + public static ResponeData ImportData(string OriFileName, string path, string projectid, string creatUserId, ref List errorList) + { + var responeData = new ResponeData(); + List temeplateDtoIns; + try + { + //A2锛氬紑濮嬭 + temeplateDtoIns = MiniExcel.Query(path, startCell: "A2").ToList(); + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "妯℃澘閿欒:" + ex.ToString(); + return responeData; + } + + if (temeplateDtoIns.Count == 0) + { + responeData.code = 0; + responeData.message = "瀵煎叆鏁版嵁涓虹┖锛"; + return responeData; + } + + //鍩硅璇剧▼ + var lstCourse = GetCourseList(); + //鍩硅绫诲埆 + var lstCategory = PostTrainingCategoryService.GetCategoryList(); + //鍩硅鏂瑰紡 + var lstMethod = PostTrainingMethodService.GetMethodList(); + //鍩硅鏁欒祫 + var lstTeachers = PostTrainingTeachersService.GetTeachersList(); + + #region 鏁版嵁鏍¢獙 + + string errorMsg = string.Empty; + int rowIndex = 3; + foreach (var item in temeplateDtoIns) + { + string categoryName = !string.IsNullOrWhiteSpace(item.CategoryName) ? item.CategoryName.Trim() : string.Empty; + string name = !string.IsNullOrWhiteSpace(item.Name) ? item.Name.Trim() : string.Empty; + string method1 = !string.IsNullOrWhiteSpace(item.Method1) ? item.Method1.Trim() : string.Empty; + string method2 = !string.IsNullOrWhiteSpace(item.Method2) ? item.Method2.Trim() : string.Empty; + string teachers1 = !string.IsNullOrWhiteSpace(item.Teachers1) ? item.Teachers1.Trim() : string.Empty; + string teachers2 = !string.IsNullOrWhiteSpace(item.Teachers2) ? item.Teachers2.Trim() : string.Empty; + string remark = !string.IsNullOrWhiteSpace(item.Remark) ? item.Remark.Trim() : string.Empty; + + if (!string.IsNullOrWhiteSpace(categoryName)) + { + if (!lstCategory.Where(x => x.Name == categoryName).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅绫诲埆"; + errorInfo.Reason = $"鍩硅绫诲埆涓嶅瓨鍦細{categoryName}"; + errorList.Add(errorInfo); + } + } + else + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅绫诲埆"; + errorInfo.Reason = "涓嶅彲涓虹┖"; + errorList.Add(errorInfo); + } + + if (string.IsNullOrWhiteSpace(name)) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "璇剧▼鍚嶇О"; + errorInfo.Reason = "涓嶅彲涓虹┖"; + errorList.Add(errorInfo); + } + + if (!string.IsNullOrWhiteSpace(categoryName) && !string.IsNullOrWhiteSpace(name)) + { + if (temeplateDtoIns.Where(x => x.Name == name && x.CategoryName == categoryName).Count() > 1) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "璇剧▼鍚嶇О"; + errorInfo.Reason = $"瀵煎叆鏁版嵁閲嶅锛歿name}锛坽categoryName}锛"; + errorList.Add(errorInfo); + } + if (lstCourse.Where(x => x.Name == name && x.CategoryName == categoryName).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "璇剧▼鍚嶇О"; + errorInfo.Reason = $"宸插瓨鍦ㄨ绋嬶細{name}锛坽categoryName}锛"; + errorList.Add(errorInfo); + } + } + + if (!string.IsNullOrWhiteSpace(method1)) + { + if (!lstMethod.Where(x => x.Name == method1).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅鏂瑰紡涓"; + errorInfo.Reason = $"鍩硅鏂瑰紡瀛楀吀涓嶅瓨鍦細{method1}"; + errorList.Add(errorInfo); + } + } + if (!string.IsNullOrWhiteSpace(method2)) + { + if (!lstMethod.Where(x => x.Name == method2).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅鏂瑰紡浜"; + errorInfo.Reason = $"鍩硅鏂瑰紡瀛楀吀涓嶅瓨鍦細{method2}"; + errorList.Add(errorInfo); + } + } + if (!string.IsNullOrWhiteSpace(teachers1)) + { + if (!lstTeachers.Where(x => x.Name == teachers1).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅甯堣祫涓"; + errorInfo.Reason = $"鍩硅甯堣祫瀛楀吀涓嶅瓨鍦細{teachers1}"; + errorList.Add(errorInfo); + } + } + if (!string.IsNullOrWhiteSpace(teachers2)) + { + if (!lstTeachers.Where(x => x.Name == teachers2).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅甯堣祫浜"; + errorInfo.Reason = $"鍩硅甯堣祫瀛楀吀涓嶅瓨鍦細{teachers2}"; + errorList.Add(errorInfo); + } + } + + rowIndex++; + } + + if (errorList.Any()) + { + responeData.code = 0; + responeData.message = "瀛樺湪寮傚父鏁版嵁锛"; + return responeData; + } + + #endregion + + foreach (var item in temeplateDtoIns) + { + string categoryName = !string.IsNullOrWhiteSpace(item.CategoryName) ? item.CategoryName.Trim() : string.Empty; + string name = !string.IsNullOrWhiteSpace(item.Name) ? item.Name.Trim() : string.Empty; + string method1 = !string.IsNullOrWhiteSpace(item.Method1) ? item.Method1.Trim() : string.Empty; + string method2 = !string.IsNullOrWhiteSpace(item.Method2) ? item.Method2.Trim() : string.Empty; + string teachers1 = !string.IsNullOrWhiteSpace(item.Teachers1) ? item.Teachers1.Trim() : string.Empty; + string teachers2 = !string.IsNullOrWhiteSpace(item.Teachers2) ? item.Teachers2.Trim() : string.Empty; + string remark = !string.IsNullOrWhiteSpace(item.Remark) ? item.Remark.Trim() : string.Empty; + + Model.PostTraining_Course newModel = new Model.PostTraining_Course + { + Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Course)), + Code = SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.PostTraining_Course", "Code", ""), + //ProjectId = this.ProjectId, + CompileDate = DateTime.Now, + CompileMan = creatUserId + }; + newModel.Name = name; + newModel.CategoryId = lstCategory.Where(x => x.Name == categoryName).FirstOrDefault().Id; + newModel.CategoryName = categoryName; + newModel.Method1 = method1; + newModel.Method2 = method2; + newModel.Teachers1 = teachers1; + newModel.Teachers2 = teachers2; + newModel.Remark = remark; + + AddCourse(newModel); + } + return responeData; + } + + + + /// + /// 鑾峰彇鍩硅璇剧▼涓嬫媺妗 + /// + /// + /// + /// + public static void InitPostTrainingCourseDropDownList(FineUIPro.DropDownList dropName, string categoryId, bool isShowPlease) + { + dropName.DataValueField = "Id"; + dropName.DataTextField = "Name"; + dropName.DataSource = GetPostTrainingCourseList(categoryId); + dropName.DataBind(); + if (isShowPlease) + { + Funs.FineUIPleaseSelect(dropName); + } + } + + /// + /// 鑾峰彇鍩硅璇剧▼涓嬫媺椤 + /// + /// + /// + public static List GetPostTrainingCourseList(string categoryId) + { + var lst = (from x in Funs.DB.PostTraining_Course orderby x.Code select x).ToList(); + if (!string.IsNullOrWhiteSpace(categoryId)) + { + lst = lst.Where(x => x.CategoryId == categoryId).ToList(); + } + return lst; + } + } +} diff --git a/SGGL/BLL/HSSE/PostTraining/PostTrainingMethodService.cs b/SGGL/BLL/HSSE/PostTraining/PostTrainingMethodService.cs new file mode 100644 index 00000000..1a65a6ed --- /dev/null +++ b/SGGL/BLL/HSSE/PostTraining/PostTrainingMethodService.cs @@ -0,0 +1,129 @@ +锘縰sing Model; +using System.Collections.Generic; +using System.Linq; + +namespace BLL +{ + /// + /// 宀椾綅鍩硅鏂瑰紡 + /// + public static class PostTrainingMethodService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇宀椾綅鍩硅鏂瑰紡淇℃伅 + /// + /// + /// + public static Model.PostTraining_Method GetMethodById(string Id) + { + return Funs.DB.PostTraining_Method.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 鏍规嵁鍚嶇О鑾峰彇宀椾綅鍩硅鏂瑰紡淇℃伅 + /// + /// + /// + public static Model.PostTraining_Method GetMethodByName(string Name) + { + return Funs.DB.PostTraining_Method.FirstOrDefault(e => e.Name == Name); + } + + /// + /// 娣诲姞宀椾綅鍩硅鏂瑰紡 + /// + /// + public static void AddMethod(Model.PostTraining_Method model) + { + Model.PostTraining_Method newModel = new Model.PostTraining_Method + { + Id = model.Id, + Code = model.Code, + Name = model.Name, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark + }; + Funs.DB.PostTraining_Method.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateMethod(Model.PostTraining_Method model) + { + Model.PostTraining_Method newModel = Funs.DB.PostTraining_Method.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.Remark = model.Remark; + newModel.CompileDate = model.CompileDate; + newModel.CompileMan = model.CompileMan; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteMethodById(string Id) + { + Model.PostTraining_Method model = Funs.DB.PostTraining_Method.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.PostTraining_Method.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + + + /// + /// 鑾峰彇鎵鏈夊煿璁柟寮廘ist + /// + /// + public static List GetMethodList() + { + return (from x in Funs.DB.PostTraining_Method orderby x.Code select x).ToList(); + } + + + /// + /// 鑾峰彇鍩硅鏂瑰紡涓嬫媺妗 + /// + /// + /// + /// + public static void InitPostTrainingMethodDropDownList(FineUIPro.DropDownList dropName, string excludeName, bool isShowPlease) + { + dropName.DataValueField = "Name"; + dropName.DataTextField = "Name"; + dropName.DataSource = GetPostTrainingMethodList(excludeName); + dropName.DataBind(); + if (isShowPlease) + { + Funs.FineUIPleaseSelect(dropName); + } + } + + /// + /// 鑾峰彇鍩硅鏂瑰紡涓嬫媺椤 + /// + /// + /// + public static List GetPostTrainingMethodList(string excludeName) + { + var lst = (from x in Funs.DB.PostTraining_Method orderby x.Code select x).ToList(); + if (!string.IsNullOrWhiteSpace(excludeName)) + { + lst = lst.Where(x => x.Name != excludeName).ToList(); + } + return lst; + } + + } +} diff --git a/SGGL/BLL/HSSE/PostTraining/PostTrainingRecordDetailService.cs b/SGGL/BLL/HSSE/PostTraining/PostTrainingRecordDetailService.cs new file mode 100644 index 00000000..e30bfa4e --- /dev/null +++ b/SGGL/BLL/HSSE/PostTraining/PostTrainingRecordDetailService.cs @@ -0,0 +1,113 @@ +锘縰sing Model; +using System.Collections.Generic; +using System.Linq; + +namespace BLL +{ + /// + /// 宀椾綅鍩硅璁板綍鏄庣粏 + /// + public static class PostTrainingRecordDetailService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇宀椾綅鍩硅璁板綍鏄庣粏淇℃伅 + /// + /// + /// + public static PostTraining_Record_Detail GetRecordDetailById(string Id) + { + return Funs.DB.PostTraining_Record_Detail.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 鏍规嵁璁板綍Id銆佷汉鍛業d鑾峰彇宀椾綅鍩硅璁板綍鏄庣粏淇℃伅 + /// + /// + /// + /// + public static PostTraining_Record_Detail GetRecordDetailByRecordIdPersonId(string recordId, string personId) + { + return Funs.DB.PostTraining_Record_Detail.FirstOrDefault(e => e.RecordId == recordId && e.PersonId == personId); + } + + /// + /// 鏍规嵁涓婚敭璁板綍Id鑾峰彇鎵鏈夌殑鍩硅鏄庣粏淇℃伅 + /// + /// + /// + public static List GetRecordDetailByRecordId(string recordId) + { + return (from x in Funs.DB.PostTraining_Record_Detail where x.RecordId == recordId select x).ToList(); + } + + /// + /// 娣诲姞宀椾綅鍩硅璁板綍鏄庣粏 + /// + /// + public static void AddRecordDetail(PostTraining_Record_Detail model) + { + PostTraining_Record_Detail newModel = new PostTraining_Record_Detail + { + Id = model.Id, + RecordId = model.RecordId, + PersonId = model.PersonId + }; + Funs.DB.PostTraining_Record_Detail.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateRecordDetail(PostTraining_Record_Detail model) + { + PostTraining_Record_Detail newModel = Funs.DB.PostTraining_Record_Detail.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.RecordId = model.RecordId; + newModel.PersonId = model.PersonId; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteRecordDetailById(string Id) + { + PostTraining_Record_Detail model = Funs.DB.PostTraining_Record_Detail.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.PostTraining_Record_Detail.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + + + /// + /// 鏍规嵁涓婚敭鍒犻櫎鍩硅璁板綍 + /// + /// + public static void DeleteTrainDetailByTrainDetail(string detailId) + { + Model.SGGLDB db = Funs.DB; + Model.PostTraining_Record_Detail trainDetails = Funs.DB.PostTraining_Record_Detail.FirstOrDefault(e => e.Id == detailId); + if (trainDetails != null) + { + db.PostTraining_Record_Detail.DeleteOnSubmit(trainDetails); + db.SubmitChanges(); + + var record = PostTrainingRecordService.GetRecordById(trainDetails.RecordId); + if (record != null) + { + record.PersonNum -= 1; + BLL.PostTrainingRecordService.UpdateRecord(record); + } + } + } + + } +} diff --git a/SGGL/BLL/HSSE/PostTraining/PostTrainingRecordService.cs b/SGGL/BLL/HSSE/PostTraining/PostTrainingRecordService.cs new file mode 100644 index 00000000..8c35e28c --- /dev/null +++ b/SGGL/BLL/HSSE/PostTraining/PostTrainingRecordService.cs @@ -0,0 +1,391 @@ +锘縰sing MiniExcelLibs; +using Model; +using System.Collections.Generic; +using System; +using System.Linq; + +namespace BLL +{ + /// + /// 宀椾綅鍩硅璁板綍 + /// + public static class PostTrainingRecordService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇宀椾綅鍩硅璁板綍淇℃伅 + /// + /// + /// + public static PostTraining_Record GetRecordById(string Id) + { + return Funs.DB.PostTraining_Record.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞宀椾綅鍩硅璁板綍 + /// + /// + public static void AddRecord(PostTraining_Record model) + { + PostTraining_Record newModel = new PostTraining_Record + { + Id = model.Id, + ProjectId = model.ProjectId, + Code = model.Code, + Name = model.Name, + Content = model.Content, + CategoryId = model.CategoryId, + CategoryName = model.CategoryName, + CourseId = model.CourseId, + CourseName = model.CourseName, + Location = model.Location, + Method = model.Method, + Lecturer = model.Lecturer, + UnitIds = model.UnitIds, + RoleIds = model.RoleIds, + PersonNum = model.PersonNum, + TrainingTime = model.TrainingTime, + Duration = model.Duration, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark + }; + Funs.DB.PostTraining_Record.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateRecord(PostTraining_Record model) + { + PostTraining_Record newModel = Funs.DB.PostTraining_Record.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.Content = model.Content; + newModel.CategoryId = model.CategoryId; + newModel.CategoryName = model.CategoryName; + newModel.CourseId = model.CourseId; + newModel.CourseName = model.CourseName; + newModel.Location = model.Location; + newModel.Method = model.Method; + newModel.Lecturer = model.Lecturer; + newModel.UnitIds = model.UnitIds; + newModel.RoleIds = model.RoleIds; + newModel.PersonNum = model.PersonNum; + newModel.TrainingTime = model.TrainingTime; + newModel.Duration = model.Duration; + newModel.Remark = model.Remark; + newModel.CompileDate = model.CompileDate; + newModel.CompileMan = model.CompileMan; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteRecordById(string Id) + { + PostTraining_Record model = Funs.DB.PostTraining_Record.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.PostTraining_Record.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + + #region 瀵煎叆鏁版嵁 + + ///// + ///// 瀵煎叆鏁版嵁 + ///// + ///// + ///// + ///// + ///// + ///// + //public static ResponeData ImportData(string OriFileName, string path, string projectid, string creatUserId, ref List errorList) + //{ + // var responeData = new ResponeData(); + // List temeplateDtoIns; + // try + // { + // temeplateDtoIns = MiniExcel.Query(path, startCell: "A1").ToList(); + // } + // catch (Exception ex) + // { + // responeData.code = 0; + // responeData.message = "妯℃澘閿欒:" + ex.ToString(); + // return responeData; + // } + + // if (temeplateDtoIns.Count == 0) + // { + // responeData.code = 0; + // responeData.message = "瀵煎叆鏁版嵁涓虹┖锛"; + // return responeData; + // } + + // //鍩硅鏍囧噯 + // var lstRecord = GetRecordInfoList(); + // //鍩硅璇剧▼ + // var lstCourse = PostTrainingCourseService.GetCourseList(); + // //鍩硅瑙掕壊 + // var lstRole = PostTrainingRoleService.GetRoleList(); + // //鍩硅绫诲埆 + // var lstCategory = PostTrainingCategoryService.GetCategoryList(); + // //鍩硅鏂瑰紡 + // var lstMethod = PostTrainingMethodService.GetMethodList(); + // //鍩硅鏁欒祫 + // var lstTeachers = PostTrainingTeachersService.GetTeachersList(); + // //鍩硅鏁堟灉 + // var lstOutcome = GetPostTrainingOutcomeList(); + + // #region 鏁版嵁鏍¢獙 + + // string errorMsg = string.Empty; + // int rowIndex = 3; + // foreach (var item in temeplateDtoIns) + // { + // string roleName = !string.IsNullOrWhiteSpace(item.RoleName) ? item.RoleName.Trim() : string.Empty; + // string categoryName = !string.IsNullOrWhiteSpace(item.CategoryName) ? item.CategoryName.Trim() : string.Empty; + // string courseName = !string.IsNullOrWhiteSpace(item.CourseName) ? item.CourseName.Trim() : string.Empty; + // string classHourStr = !string.IsNullOrWhiteSpace(item.ClassHour) ? item.ClassHour.Trim() : string.Empty; + // string cycleStr = !string.IsNullOrWhiteSpace(item.Cycle) ? item.Cycle.Trim() : string.Empty; + // decimal classHour = 0; + // decimal cycle = 0; + // string method = !string.IsNullOrWhiteSpace(item.Method) ? item.Method.Trim() : string.Empty; + // string outcome = !string.IsNullOrWhiteSpace(item.Outcome) ? item.Outcome.Trim() : string.Empty; + // string teachers = !string.IsNullOrWhiteSpace(item.Teachers) ? item.Teachers.Trim() : string.Empty; + // string remark = !string.IsNullOrWhiteSpace(item.Remark) ? item.Remark.Trim() : string.Empty; + + // if (!string.IsNullOrWhiteSpace(roleName)) + // { + // if (!lstRole.Where(x => x.Name == roleName).Any()) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "閫傜敤宀椾綅瑙掕壊"; + // errorInfo.Reason = $"瑙掕壊涓嶅瓨鍦細{roleName}"; + // errorList.Add(errorInfo); + // } + // } + // else + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "閫傜敤宀椾綅瑙掕壊"; + // errorInfo.Reason = "涓嶅彲涓虹┖"; + // errorList.Add(errorInfo); + // } + + // if (!string.IsNullOrWhiteSpace(categoryName)) + // { + // if (!lstCategory.Where(x => x.Name == categoryName).Any()) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅绫诲埆"; + // errorInfo.Reason = $"鍩硅绫诲埆涓嶅瓨鍦細{categoryName}"; + // errorList.Add(errorInfo); + // } + // } + // else + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅绫诲埆"; + // errorInfo.Reason = "涓嶅彲涓虹┖"; + // errorList.Add(errorInfo); + // } + + // if (string.IsNullOrWhiteSpace(courseName)) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅璇剧▼"; + // errorInfo.Reason = "涓嶅彲涓虹┖"; + // errorList.Add(errorInfo); + // } + + // if (!string.IsNullOrWhiteSpace(categoryName) && !string.IsNullOrWhiteSpace(courseName)) + // { + // if (temeplateDtoIns.Where(x => x.RoleName == roleName && x.CourseName == courseName && x.CategoryName == categoryName).Count() > 1) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅璇剧▼"; + // errorInfo.Reason = $"銆恵roleName}銆戝鍏ユ暟鎹噸澶嶏細{courseName}锛坽categoryName}锛"; + // errorList.Add(errorInfo); + // } + // if (!lstCourse.Where(x => x.Name == courseName && x.CategoryName == categoryName).Any()) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅璇剧▼"; + // errorInfo.Reason = $"銆恵roleName}銆戜笉瀛樺湪鍩硅璇剧▼锛歿courseName}锛坽categoryName}锛"; + // errorList.Add(errorInfo); + // } + // else if (lstRecord.Where(x => x.CourseName == courseName && x.CategoryName == categoryName).Any()) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅璇剧▼"; + // errorInfo.Reason = $"鍩硅鏍囧噯宸插瓨鍦細{courseName}锛坽categoryName}锛"; + // errorList.Add(errorInfo); + // } + // } + + // if (!string.IsNullOrEmpty(classHourStr)) + // { + // try + // { + // classHour = decimal.Parse(classHourStr); + // if (classHour <= 0) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅璇炬椂"; + // errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + // errorList.Add(errorInfo); + // } + // } + // catch (Exception) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅璇炬椂"; + // errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + // errorList.Add(errorInfo); + // } + // } + // else + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅璇炬椂"; + // errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + // errorList.Add(errorInfo); + // } + + // if (!string.IsNullOrEmpty(cycleStr)) + // { + // try + // { + // cycle = decimal.Parse(cycleStr); + // if (cycle <= 0) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅鍛ㄦ湡"; + // errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + // errorList.Add(errorInfo); + // } + // } + // catch (Exception) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅鍛ㄦ湡"; + // errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + // errorList.Add(errorInfo); + // } + // } + // else + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅鍛ㄦ湡"; + // errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + // errorList.Add(errorInfo); + // } + + // if (!string.IsNullOrWhiteSpace(method)) + // { + // if (!lstMethod.Where(x => x.Name == method).Any()) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅鏂瑰紡"; + // errorInfo.Reason = $"鍩硅鏂瑰紡瀛楀吀涓嶅瓨鍦細{method}"; + // errorList.Add(errorInfo); + // } + // } + // if (!string.IsNullOrWhiteSpace(outcome)) + // { + // if (!lstOutcome.Where(x => x.Text == outcome).Any()) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅鏁堟灉"; + // errorInfo.Reason = $"鍩硅鏁堟灉瀛楀吀涓嶅瓨鍦細{outcome}"; + // errorList.Add(errorInfo); + // } + // } + // if (!string.IsNullOrWhiteSpace(teachers)) + // { + // if (!lstTeachers.Where(x => x.Name == teachers).Any()) + // { + // ErrorInfo errorInfo = new ErrorInfo(); + // errorInfo.Row = rowIndex.ToString(); + // errorInfo.Column = "鍩硅甯堣祫"; + // errorInfo.Reason = $"鍩硅甯堣祫瀛楀吀涓嶅瓨鍦細{teachers}"; + // errorList.Add(errorInfo); + // } + // } + + // rowIndex++; + // } + + // if (errorList.Any()) + // { + // responeData.code = 0; + // responeData.message = "瀛樺湪寮傚父鏁版嵁锛"; + // return responeData; + // } + + // #endregion + + // foreach (var item in temeplateDtoIns) + // { + // string roleName = !string.IsNullOrWhiteSpace(item.RoleName) ? item.RoleName.Trim() : string.Empty; + // string categoryName = !string.IsNullOrWhiteSpace(item.CategoryName) ? item.CategoryName.Trim() : string.Empty; + // string courseName = !string.IsNullOrWhiteSpace(item.CourseName) ? item.CourseName.Trim() : string.Empty; + // decimal classHour = decimal.Parse(item.ClassHour); + // decimal cycle = decimal.Parse(item.Cycle); + // string method = !string.IsNullOrWhiteSpace(item.Method) ? item.Method.Trim() : string.Empty; + // string outcome = !string.IsNullOrWhiteSpace(item.Outcome) ? item.Outcome.Trim() : string.Empty; + // string teachers = !string.IsNullOrWhiteSpace(item.Teachers) ? item.Teachers.Trim() : string.Empty; + // string remark = !string.IsNullOrWhiteSpace(item.Remark) ? item.Remark.Trim() : string.Empty; + + // PostTraining_Record newModel = new PostTraining_Record + // { + // Id = SQLHelper.GetNewID(typeof(PostTraining_Record)), + // Code = SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.PostTraining_Record", "Code", ""), + // //ProjectId = this.ProjectId, + // CompileDate = DateTime.Now, + // CompileMan = creatUserId + // }; + // newModel.CourseId = lstCourse.Where(x => x.Name == courseName).FirstOrDefault().Id; + // newModel.RoleId = lstRole.Where(x => x.Name == roleName).FirstOrDefault().Id; + // newModel.ClassHour = classHour; + // newModel.Cycle = cycle; + // newModel.Method = method; + // newModel.Outcome = outcome; + // newModel.Teachers = teachers; + // newModel.Remark = remark; + + // AddRecord(newModel); + // } + // return responeData; + //} + + #endregion + } +} diff --git a/SGGL/BLL/HSSE/PostTraining/PostTrainingRoleService.cs b/SGGL/BLL/HSSE/PostTraining/PostTrainingRoleService.cs new file mode 100644 index 00000000..58851f58 --- /dev/null +++ b/SGGL/BLL/HSSE/PostTraining/PostTrainingRoleService.cs @@ -0,0 +1,109 @@ +锘縰sing Model; +using System.Collections.Generic; +using System.Linq; + +namespace BLL +{ + /// + /// 宀椾綅鍩硅瑙掕壊 + /// + public static class PostTrainingRoleService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇宀椾綅鍩硅瑙掕壊淇℃伅 + /// + /// + /// + public static Model.PostTraining_Role GetRoleById(string Id) + { + return Funs.DB.PostTraining_Role.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞宀椾綅鍩硅瑙掕壊 + /// + /// + public static void AddRole(Model.PostTraining_Role model) + { + Model.PostTraining_Role newModel = new Model.PostTraining_Role + { + Id = model.Id, + Code = model.Code, + Name = model.Name, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark + }; + Funs.DB.PostTraining_Role.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateRole(Model.PostTraining_Role model) + { + Model.PostTraining_Role newModel = Funs.DB.PostTraining_Role.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.Remark = model.Remark; + newModel.CompileDate = model.CompileDate; + newModel.CompileMan = model.CompileMan; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteRoleById(string Id) + { + Model.PostTraining_Role model = Funs.DB.PostTraining_Role.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.PostTraining_Role.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鑾峰彇鎵鏈夊矖浣嶅煿璁鑹睱ist + /// + /// + public static List GetRoleList() + { + return (from x in Funs.DB.PostTraining_Role orderby x.Code select x).ToList(); + } + + /// + /// 鑾峰彇宀椾綅鍩硅瑙掕壊涓嬫媺妗 + /// + /// + /// + public static void InitPostTrainingRoleDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease) + { + dropName.DataValueField = "Id"; + dropName.DataTextField = "Name"; + dropName.DataSource = GetPostTrainingRoleList(); + dropName.DataBind(); + if (isShowPlease) + { + Funs.FineUIPleaseSelect(dropName); + } + } + + /// + /// 鑾峰彇宀椾綅鍩硅瑙掕壊涓嬫媺椤 + /// + /// + public static List GetPostTrainingRoleList() + { + return (from x in Funs.DB.PostTraining_Role orderby x.Code select x).ToList(); + } + } +} diff --git a/SGGL/BLL/HSSE/PostTraining/PostTrainingStandardService.cs b/SGGL/BLL/HSSE/PostTraining/PostTrainingStandardService.cs new file mode 100644 index 00000000..02e5a91f --- /dev/null +++ b/SGGL/BLL/HSSE/PostTraining/PostTrainingStandardService.cs @@ -0,0 +1,439 @@ +锘縰sing MiniExcelLibs; +using Model; +using System.Collections.Generic; +using System; +using System.Linq; +using System.Web.UI.WebControls; + +namespace BLL +{ + /// + /// 宀椾綅鍩硅鏍囧噯 + /// + public static class PostTrainingStandardService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇宀椾綅鍩硅鏍囧噯淇℃伅 + /// + /// + /// + public static Model.PostTraining_Standard GetStandardById(string Id) + { + return Funs.DB.PostTraining_Standard.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 娣诲姞宀椾綅鍩硅鏍囧噯 + /// + /// + public static void AddStandard(Model.PostTraining_Standard model) + { + Model.PostTraining_Standard newModel = new Model.PostTraining_Standard + { + Id = model.Id, + Code = model.Code, + RoleId = model.RoleId, + CourseId = model.CourseId, + ClassHour = model.ClassHour, + Cycle = model.Cycle, + Method = model.Method, + Outcome = model.Outcome, + Teachers = model.Teachers, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark + }; + Funs.DB.PostTraining_Standard.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateStandard(Model.PostTraining_Standard model) + { + Model.PostTraining_Standard newModel = Funs.DB.PostTraining_Standard.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.RoleId = model.RoleId; + newModel.CourseId = model.CourseId; + newModel.ClassHour = model.ClassHour; + newModel.Cycle = model.Cycle; + newModel.Method = model.Method; + newModel.Outcome = model.Outcome; + newModel.Teachers = model.Teachers; + newModel.Remark = model.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteStandardById(string Id) + { + Model.PostTraining_Standard model = Funs.DB.PostTraining_Standard.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.PostTraining_Standard.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鑾峰彇鎵鏈夊矖浣嶅煿璁爣鍑哃ist + /// + /// + public static List GetStandardList() + { + return (from x in Funs.DB.PostTraining_Standard orderby x.Code select x).ToList(); + } + + /// + /// 鑾峰彇鎵鏈夊矖浣嶅煿璁爣鍑嗕俊鎭疞ist + /// + /// + public static List GetStandardInfoList() + { + var db = Funs.DB; + var lst = (from x in db.PostTraining_Standard + join y in db.PostTraining_Course on x.CourseId equals y.Id + join z in db.PostTraining_Role on x.RoleId equals z.Id + orderby x.Code + select new PostTrainingStandardInfo + { + RoleId = x.RoleId, + RoleName = z.Name, + CourseId = x.CourseId, + CourseName = y.Name, + CategoryName = y.CategoryName, + ClassHour = x.ClassHour, + Cycle = x.Cycle, + Method = x.Method, + Outcome = x.Outcome, + Teachers = x.Teachers, + Remark = x.Remark + }).ToList(); + return lst; + } + + /// + /// 瀵煎叆鏁版嵁 + /// + /// + /// + /// + /// + /// + public static ResponeData ImportData(string OriFileName, string path, string projectid, string creatUserId, ref List errorList) + { + var responeData = new ResponeData(); + List temeplateDtoIns; + try + { + temeplateDtoIns = MiniExcel.Query(path, startCell: "A1").ToList(); + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "妯℃澘閿欒:" + ex.ToString(); + return responeData; + } + + if (temeplateDtoIns.Count == 0) + { + responeData.code = 0; + responeData.message = "瀵煎叆鏁版嵁涓虹┖锛"; + return responeData; + } + + //鍩硅鏍囧噯 + var lstStandard = GetStandardInfoList(); + //鍩硅璇剧▼ + var lstCourse = PostTrainingCourseService.GetCourseList(); + //鍩硅瑙掕壊 + var lstRole = PostTrainingRoleService.GetRoleList(); + //鍩硅绫诲埆 + var lstCategory = PostTrainingCategoryService.GetCategoryList(); + //鍩硅鏂瑰紡 + var lstMethod = PostTrainingMethodService.GetMethodList(); + //鍩硅鏁欒祫 + var lstTeachers = PostTrainingTeachersService.GetTeachersList(); + //鍩硅鏁堟灉 + var lstOutcome = GetPostTrainingOutcomeList(); + + #region 鏁版嵁鏍¢獙 + + string errorMsg = string.Empty; + int rowIndex = 3; + foreach (var item in temeplateDtoIns) + { + string roleName = !string.IsNullOrWhiteSpace(item.RoleName) ? item.RoleName.Trim() : string.Empty; + string categoryName = !string.IsNullOrWhiteSpace(item.CategoryName) ? item.CategoryName.Trim() : string.Empty; + string courseName = !string.IsNullOrWhiteSpace(item.CourseName) ? item.CourseName.Trim() : string.Empty; + string classHourStr = !string.IsNullOrWhiteSpace(item.ClassHour) ? item.ClassHour.Trim() : string.Empty; + string cycleStr = !string.IsNullOrWhiteSpace(item.Cycle) ? item.Cycle.Trim() : string.Empty; + decimal classHour = 0; + decimal cycle = 0; + string method = !string.IsNullOrWhiteSpace(item.Method) ? item.Method.Trim() : string.Empty; + string outcome = !string.IsNullOrWhiteSpace(item.Outcome) ? item.Outcome.Trim() : string.Empty; + string teachers = !string.IsNullOrWhiteSpace(item.Teachers) ? item.Teachers.Trim() : string.Empty; + string remark = !string.IsNullOrWhiteSpace(item.Remark) ? item.Remark.Trim() : string.Empty; + + if (!string.IsNullOrWhiteSpace(roleName)) + { + if (!lstRole.Where(x => x.Name == roleName).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "閫傜敤宀椾綅瑙掕壊"; + errorInfo.Reason = $"瑙掕壊涓嶅瓨鍦細{roleName}"; + errorList.Add(errorInfo); + } + } + else + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "閫傜敤宀椾綅瑙掕壊"; + errorInfo.Reason = "涓嶅彲涓虹┖"; + errorList.Add(errorInfo); + } + + if (!string.IsNullOrWhiteSpace(categoryName)) + { + if (!lstCategory.Where(x => x.Name == categoryName).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅绫诲埆"; + errorInfo.Reason = $"鍩硅绫诲埆涓嶅瓨鍦細{categoryName}"; + errorList.Add(errorInfo); + } + } + else + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅绫诲埆"; + errorInfo.Reason = "涓嶅彲涓虹┖"; + errorList.Add(errorInfo); + } + + if (string.IsNullOrWhiteSpace(courseName)) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅璇剧▼"; + errorInfo.Reason = "涓嶅彲涓虹┖"; + errorList.Add(errorInfo); + } + + if (!string.IsNullOrWhiteSpace(categoryName) && !string.IsNullOrWhiteSpace(courseName)) + { + if (temeplateDtoIns.Where(x => x.RoleName == roleName && x.CourseName == courseName && x.CategoryName == categoryName).Count() > 1) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅璇剧▼"; + errorInfo.Reason = $"銆恵roleName}銆戝鍏ユ暟鎹噸澶嶏細{courseName}锛坽categoryName}锛"; + errorList.Add(errorInfo); + } + if (!lstCourse.Where(x => x.Name == courseName && x.CategoryName == categoryName).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅璇剧▼"; + errorInfo.Reason = $"銆恵roleName}銆戜笉瀛樺湪鍩硅璇剧▼锛歿courseName}锛坽categoryName}锛"; + errorList.Add(errorInfo); + } + else if (lstStandard.Where(x => x.CourseName == courseName && x.CategoryName == categoryName).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅璇剧▼"; + errorInfo.Reason = $"鍩硅鏍囧噯宸插瓨鍦細{courseName}锛坽categoryName}锛"; + errorList.Add(errorInfo); + } + } + + if (!string.IsNullOrEmpty(classHourStr)) + { + try + { + classHour = decimal.Parse(classHourStr); + if (classHour <= 0) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅璇炬椂"; + errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + errorList.Add(errorInfo); + } + } + catch (Exception) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅璇炬椂"; + errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + errorList.Add(errorInfo); + } + } + else + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅璇炬椂"; + errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + errorList.Add(errorInfo); + } + + if (!string.IsNullOrEmpty(cycleStr)) + { + try + { + cycle = decimal.Parse(cycleStr); + if (cycle <= 0) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅鍛ㄦ湡"; + errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + errorList.Add(errorInfo); + } + } + catch (Exception) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅鍛ㄦ湡"; + errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + errorList.Add(errorInfo); + } + } + else + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅鍛ㄦ湡"; + errorInfo.Reason = "璇峰~鍐欏ぇ浜0鐨勬暟鍊"; + errorList.Add(errorInfo); + } + + if (!string.IsNullOrWhiteSpace(method)) + { + if (!lstMethod.Where(x => x.Name == method).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅鏂瑰紡"; + errorInfo.Reason = $"鍩硅鏂瑰紡瀛楀吀涓嶅瓨鍦細{method}"; + errorList.Add(errorInfo); + } + } + if (!string.IsNullOrWhiteSpace(outcome)) + { + if (!lstOutcome.Where(x => x.Text == outcome).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅鏁堟灉"; + errorInfo.Reason = $"鍩硅鏁堟灉瀛楀吀涓嶅瓨鍦細{outcome}"; + errorList.Add(errorInfo); + } + } + if (!string.IsNullOrWhiteSpace(teachers)) + { + if (!lstTeachers.Where(x => x.Name == teachers).Any()) + { + Model.ErrorInfo errorInfo = new Model.ErrorInfo(); + errorInfo.Row = rowIndex.ToString(); + errorInfo.Column = "鍩硅甯堣祫"; + errorInfo.Reason = $"鍩硅甯堣祫瀛楀吀涓嶅瓨鍦細{teachers}"; + errorList.Add(errorInfo); + } + } + + rowIndex++; + } + + if (errorList.Any()) + { + responeData.code = 0; + responeData.message = "瀛樺湪寮傚父鏁版嵁锛"; + return responeData; + } + + #endregion + + foreach (var item in temeplateDtoIns) + { + string roleName = !string.IsNullOrWhiteSpace(item.RoleName) ? item.RoleName.Trim() : string.Empty; + string categoryName = !string.IsNullOrWhiteSpace(item.CategoryName) ? item.CategoryName.Trim() : string.Empty; + string courseName = !string.IsNullOrWhiteSpace(item.CourseName) ? item.CourseName.Trim() : string.Empty; + decimal classHour = decimal.Parse(item.ClassHour); + decimal cycle = decimal.Parse(item.Cycle); + string method = !string.IsNullOrWhiteSpace(item.Method) ? item.Method.Trim() : string.Empty; + string outcome = !string.IsNullOrWhiteSpace(item.Outcome) ? item.Outcome.Trim() : string.Empty; + string teachers = !string.IsNullOrWhiteSpace(item.Teachers) ? item.Teachers.Trim() : string.Empty; + string remark = !string.IsNullOrWhiteSpace(item.Remark) ? item.Remark.Trim() : string.Empty; + + Model.PostTraining_Standard newModel = new Model.PostTraining_Standard + { + Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Standard)), + Code = SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.PostTraining_Standard", "Code", ""), + //ProjectId = this.ProjectId, + CompileDate = DateTime.Now, + CompileMan = creatUserId + }; + newModel.CourseId = lstCourse.Where(x => x.Name == courseName).FirstOrDefault().Id; + newModel.RoleId = lstRole.Where(x => x.Name == roleName).FirstOrDefault().Id; + newModel.ClassHour = classHour; + newModel.Cycle = cycle; + newModel.Method = method; + newModel.Outcome = outcome; + newModel.Teachers = teachers; + newModel.Remark = remark; + + AddStandard(newModel); + } + return responeData; + } + + /// + /// 鍩硅鏁堟灉 + /// + /// + /// + public static void InitPostTrainingOutcomeDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease) + { + dropName.DataValueField = "Text"; + dropName.DataTextField = "Text"; + dropName.DataSource = GetPostTrainingOutcomeList(); + dropName.DataBind(); + if (isShowPlease) + { + Funs.FineUIPleaseSelect(dropName); + } + } + + /// + /// 鍩硅鏁堟灉 + /// + /// + public static ListItem[] GetPostTrainingOutcomeList() + { + ListItem[] lis = null; + lis = new ListItem[3]; + lis[0] = new ListItem("鎺屾彙", "0"); + lis[1] = new ListItem("鐔熸倝", "1"); + lis[2] = new ListItem("浜嗚В", "2"); + return lis; + } + } +} diff --git a/SGGL/BLL/HSSE/PostTraining/PostTrainingTeachersService.cs b/SGGL/BLL/HSSE/PostTraining/PostTrainingTeachersService.cs new file mode 100644 index 00000000..01d4aa9d --- /dev/null +++ b/SGGL/BLL/HSSE/PostTraining/PostTrainingTeachersService.cs @@ -0,0 +1,129 @@ +锘縰sing Model; +using System.Collections.Generic; +using System.Linq; + +namespace BLL +{ + /// + /// 宀椾綅鍩硅甯堣祫 + /// + public static class PostTrainingTeachersService + { + /// + /// 鏍规嵁涓婚敭鑾峰彇宀椾綅鍩硅甯堣祫淇℃伅 + /// + /// + /// + public static Model.PostTraining_Teachers GetTeachersById(string Id) + { + return Funs.DB.PostTraining_Teachers.FirstOrDefault(e => e.Id == Id); + } + + /// + /// 鏍规嵁鍚嶇О鑾峰彇宀椾綅鍩硅甯堣祫淇℃伅 + /// + /// + /// + public static Model.PostTraining_Teachers GetTeachersByName(string Name) + { + return Funs.DB.PostTraining_Teachers.FirstOrDefault(e => e.Name == Name); + } + + /// + /// 娣诲姞宀椾綅鍩硅甯堣祫 + /// + /// + public static void AddTeachers(Model.PostTraining_Teachers model) + { + Model.PostTraining_Teachers newModel = new Model.PostTraining_Teachers + { + Id = model.Id, + Code = model.Code, + Name = model.Name, + CompileDate = model.CompileDate, + CompileMan = model.CompileMan, + Remark = model.Remark + }; + Funs.DB.PostTraining_Teachers.InsertOnSubmit(newModel); + Funs.DB.SubmitChanges(); + } + + /// + /// 淇敼 + /// + /// + public static void UpdateTeachers(Model.PostTraining_Teachers model) + { + Model.PostTraining_Teachers newModel = Funs.DB.PostTraining_Teachers.FirstOrDefault(e => e.Id == model.Id); + if (newModel != null) + { + newModel.Code = model.Code; + newModel.Name = model.Name; + newModel.Remark = model.Remark; + newModel.CompileDate = model.CompileDate; + newModel.CompileMan = model.CompileMan; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鍒犻櫎 + /// + /// + public static void DeleteTeachersById(string Id) + { + Model.PostTraining_Teachers model = Funs.DB.PostTraining_Teachers.FirstOrDefault(e => e.Id == Id); + if (model != null) + { + CommonService.DeleteAttachFileById(Id); + Funs.DB.PostTraining_Teachers.DeleteOnSubmit(model); + Funs.DB.SubmitChanges(); + } + } + + /// + /// 鑾峰彇鎵鏈夊煿璁笀璧凩ist + /// + /// + public static List GetTeachersList() + { + return (from x in Funs.DB.PostTraining_Teachers orderby x.Code select x).ToList(); + } + + + + /// + /// 鑾峰彇鍩硅甯堣祫涓嬫媺妗 + /// + /// + /// + /// + public static void InitPostTrainingTeachersDropDownList(FineUIPro.DropDownList dropName, string excludeName, bool isShowPlease) + { + dropName.DataValueField = "Name"; + dropName.DataTextField = "Name"; + dropName.DataSource = GetPostTrainingTeachersList(excludeName); + dropName.DataBind(); + if (isShowPlease) + { + Funs.FineUIPleaseSelect(dropName); + } + } + + /// + /// 鑾峰彇鍩硅甯堣祫涓嬫媺椤 + /// + /// + /// + public static List GetPostTrainingTeachersList(string excludeName) + { + var lst = (from x in Funs.DB.PostTraining_Teachers orderby x.Code select x).ToList(); + if (!string.IsNullOrWhiteSpace(excludeName)) + { + lst = lst.Where(x => x.Name != excludeName).ToList(); + } + return lst; + } + + } +} diff --git a/SGGL/BLL/HSSE/SitePerson/PersonService.cs b/SGGL/BLL/HSSE/SitePerson/PersonService.cs index fd54985c..f9ab3cf6 100644 --- a/SGGL/BLL/HSSE/SitePerson/PersonService.cs +++ b/SGGL/BLL/HSSE/SitePerson/PersonService.cs @@ -111,6 +111,16 @@ namespace BLL return Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId); } + /// + /// 鏍规嵁涓婚敭鑾峰彇浜哄憳淇℃伅 + /// + /// + /// + public static Model.View_SitePerson_PersonList GetPersonInfoById(string personId) + { + return Funs.DB.View_SitePerson_PersonList.FirstOrDefault(e => e.PersonId == personId); + } + /// /// 鏍规嵁涓婚敭鑾峰彇浜哄憳淇℃伅 /// @@ -334,6 +344,7 @@ namespace BLL TeamGroupId = person.TeamGroupId, WorkAreaId = person.WorkAreaId, WorkPostId = person.WorkPostId, + PostTrainingRoleId = person.PostTrainingRoleId, OutTime = person.OutTime, OutResult = person.OutResult, Telephone = person.Telephone, @@ -413,6 +424,7 @@ namespace BLL newPerson.TeamGroupId = person.TeamGroupId; newPerson.WorkAreaId = person.WorkAreaId; newPerson.WorkPostId = person.WorkPostId; + newPerson.PostTrainingRoleId = person.PostTrainingRoleId; newPerson.InTime = person.InTime; newPerson.OutTime = person.OutTime; newPerson.IsSafetyMonitoring = person.IsSafetyMonitoring; diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/宀椾綅鍩硅鏍囧噯瀵煎叆妯℃澘.xlsx b/SGGL/FineUIPro.Web/File/Excel/DataIn/宀椾綅鍩硅鏍囧噯瀵煎叆妯℃澘.xlsx new file mode 100644 index 00000000..252f7049 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/DataIn/宀椾綅鍩硅鏍囧噯瀵煎叆妯℃澘.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/宀椾綅鍩硅璇剧▼瀵煎叆妯℃澘.xlsx b/SGGL/FineUIPro.Web/File/Excel/DataIn/宀椾綅鍩硅璇剧▼瀵煎叆妯℃澘.xlsx new file mode 100644 index 00000000..0b44e0f7 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/DataIn/宀椾綅鍩硅璇剧▼瀵煎叆妯℃澘.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/20220816091954/鐒婂彛缁煎悎淇℃伅20220816091954.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/20220816091954/鐒婂彛缁煎悎淇℃伅20220816091954.xlsx deleted file mode 100644 index 2a84a717..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/20220816091954/鐒婂彛缁煎悎淇℃伅20220816091954.xlsx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/20220816092022/鐒婂彛缁煎悎淇℃伅20220816092022.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/20220816092022/鐒婂彛缁煎悎淇℃伅20220816092022.xlsx deleted file mode 100644 index 98087625..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/20220816092022/鐒婂彛缁煎悎淇℃伅20220816092022.xlsx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202208180531363175.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202208180531363175.xls deleted file mode 100644 index 7200785b..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202208180531363175.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202208180534269134.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202208180534269134.xls deleted file mode 100644 index 7200785b..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202208180534269134.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202209230519236665.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202209230519236665.xls deleted file mode 100644 index 4a0b658d..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202209230519236665.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202209230519504618.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202209230519504618.xls deleted file mode 100644 index 4a0b658d..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202209230519504618.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302200342172037.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302200342172037.xls deleted file mode 100644 index 5296bc72..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302200342172037.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302200354585285.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302200354585285.xls deleted file mode 100644 index 5296bc72..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302200354585285.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302200357264520.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302200357264520.xls deleted file mode 100644 index 5296bc72..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302200357264520.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302200401101497.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302200401101497.xls deleted file mode 100644 index 44ef3c21..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302200401101497.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201105479648.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302201105479648.xls deleted file mode 100644 index 0958c36e..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201105479648.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201106234235.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302201106234235.xls deleted file mode 100644 index 77cdb9ca..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201106234235.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201109455400.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302201109455400.xls deleted file mode 100644 index 77cdb9ca..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201109455400.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201110093538.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302201110093538.xls deleted file mode 100644 index 77cdb9ca..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201110093538.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201120057639.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202302201120057639.xlsx deleted file mode 100644 index b8783619..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201120057639.xlsx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201121033681.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202302201121033681.xlsx deleted file mode 100644 index b8783619..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201121033681.xlsx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201126425472.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302201126425472.xls deleted file mode 100644 index 5296bc72..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201126425472.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201127092894.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202302201127092894.xls deleted file mode 100644 index 77cdb9ca..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202302201127092894.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202305150326486273.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202305150326486273.xls deleted file mode 100644 index a7155ee9..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202305150326486273.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202305150947091031.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202305150947091031.xls deleted file mode 100644 index 694278dd..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202305150947091031.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202305150950146648.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202305150950146648.xls deleted file mode 100644 index e33352ed..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202305150950146648.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131157251803.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202308131157251803.xls deleted file mode 100644 index b7801076..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131157251803.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131157458930.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202308131157458930.xls deleted file mode 100644 index b7801076..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131157458930.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131159044514.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202308131159044514.xls deleted file mode 100644 index b7801076..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131159044514.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131159329337.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202308131159329337.xls deleted file mode 100644 index b7801076..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131159329337.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131200564146.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202308131200564146.xls deleted file mode 100644 index b7801076..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131200564146.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131202161958.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202308131202161958.xls deleted file mode 100644 index f7f6eb8d..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131202161958.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131205325212.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202308131205325212.xls deleted file mode 100644 index 2827ae5a..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202308131205325212.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202311290635538685.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202311290635538685.xls deleted file mode 100644 index a4f708b1..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202311290635538685.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202311300925023822.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202311300925023822.xls deleted file mode 100644 index 52c8884a..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202311300925023822.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202311300938258870.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202311300938258870.xls deleted file mode 100644 index 1380dd68..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202311300938258870.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202311300942236095.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202311300942236095.xls deleted file mode 100644 index 1380dd68..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202311300942236095.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202311301024275860.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202311301024275860.xls deleted file mode 100644 index 4935cc05..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202311301024275860.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202403260232483428.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202403260232483428.xls deleted file mode 100644 index 0ff64bf5..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202403260232483428.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202403260237131117.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202403260237131117.xls deleted file mode 100644 index 0ff64bf5..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202403260237131117.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202403260238467076.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202403260238467076.xls deleted file mode 100644 index 0ff64bf5..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202403260238467076.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202405311041195379.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202405311041195379.xls deleted file mode 100644 index ce812ebe..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202405311041195379.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202405311046597640.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202405311046597640.xls deleted file mode 100644 index b8ff5e30..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202405311046597640.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/20240726092204/out.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/20240726092204/out.xlsx deleted file mode 100644 index 23e59807..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/20240726092204/out.xlsx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202409090959053416.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202409090959053416.xls deleted file mode 100644 index e1942fc3..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202409090959053416.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202409090959239945.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202409090959239945.xls deleted file mode 100644 index 690ad8ca..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202409090959239945.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202409270402449543.xls b/SGGL/FineUIPro.Web/File/Excel/Temp/202409270402449543.xls deleted file mode 100644 index 6c597701..00000000 Binary files a/SGGL/FineUIPro.Web/File/Excel/Temp/202409270402449543.xls and /dev/null differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170616112757.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170616112757.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170616112757.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170618096167.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170618096167.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170618096167.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170619422656.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170619422656.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170619422656.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170621455449.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170621455449.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170621455449.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170625371220.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170625371220.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170625371220.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170625586875.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170625586875.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170625586875.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170627082125.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170627082125.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170627082125.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170628012171.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170628012171.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170628012171.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502170628154302.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170628154302.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502170628154302.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180219002808.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180219002808.xlsx new file mode 100644 index 00000000..4d266af9 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180219002808.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180220452802.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180220452802.xlsx new file mode 100644 index 00000000..4d266af9 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180220452802.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180225237195.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180225237195.xlsx new file mode 100644 index 00000000..4d266af9 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180225237195.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180227035393.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180227035393.xlsx new file mode 100644 index 00000000..4d266af9 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180227035393.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180230203318.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180230203318.xlsx new file mode 100644 index 00000000..4d266af9 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180230203318.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180233265549.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180233265549.xlsx new file mode 100644 index 00000000..4d266af9 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180233265549.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180241468921.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180241468921.xlsx new file mode 100644 index 00000000..4d266af9 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180241468921.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180251464347.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180251464347.xlsx new file mode 100644 index 00000000..b1812bd0 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180251464347.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180252423520.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180252423520.xlsx new file mode 100644 index 00000000..38dc20d3 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180252423520.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180253352565.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180253352565.xlsx new file mode 100644 index 00000000..38dc20d3 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180253352565.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180255073725.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180255073725.xlsx new file mode 100644 index 00000000..38dc20d3 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180255073725.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180256359860.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180256359860.xlsx new file mode 100644 index 00000000..38dc20d3 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180256359860.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180946527538.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180946527538.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180946527538.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502180951095176.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180951095176.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502180951095176.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128041164.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128041164.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128041164.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128292405.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128292405.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128292405.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128376154.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128376154.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181128376154.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502181129578167.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181129578167.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181129578167.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502181130303971.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181130303971.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181130303971.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502181134482365.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181134482365.xlsx new file mode 100644 index 00000000..4964488a Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502181134482365.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502190443563739.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502190443563739.xlsx new file mode 100644 index 00000000..472a9082 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502190443563739.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502190446173963.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502190446173963.xlsx new file mode 100644 index 00000000..fe2b81ab Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502190446173963.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502190446557834.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502190446557834.xlsx new file mode 100644 index 00000000..fe2b81ab Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502190446557834.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502190456413013.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502190456413013.xlsx new file mode 100644 index 00000000..0cd268d4 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502190456413013.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502191120043663.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502191120043663.xlsx new file mode 100644 index 00000000..091fa1b0 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502191120043663.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502191122137281.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502191122137281.xlsx new file mode 100644 index 00000000..091fa1b0 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502191122137281.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502191123228644.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502191123228644.xlsx new file mode 100644 index 00000000..7e5e6dce Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502191123228644.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502191124109651.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502191124109651.xlsx new file mode 100644 index 00000000..7e5e6dce Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502191124109651.xlsx differ diff --git a/SGGL/FineUIPro.Web/File/Excel/Temp/202502201221247893.xlsx b/SGGL/FineUIPro.Web/File/Excel/Temp/202502201221247893.xlsx new file mode 100644 index 00000000..cb528e6e Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/Temp/202502201221247893.xlsx differ diff --git a/SGGL/FineUIPro.Web/FileUpload/BehavioralSafetyObservation/2025-02/638748872664319892_111.png b/SGGL/FineUIPro.Web/FileUpload/BehavioralSafetyObservation/2025-02/638748872664319892_111.png new file mode 100644 index 00000000..91820e72 Binary files /dev/null and b/SGGL/FineUIPro.Web/FileUpload/BehavioralSafetyObservation/2025-02/638748872664319892_111.png differ diff --git a/SGGL/FineUIPro.Web/FileUpload/BoardData/2024-12/638689026576928462_寰俊鎴浘_20240523173403.png b/SGGL/FineUIPro.Web/FileUpload/BoardData/2024-12/638689026576928462_寰俊鎴浘_20240523173403.png deleted file mode 100644 index 4c9b85b3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/BoardData/2024-12/638689026576928462_寰俊鎴浘_20240523173403.png and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116429831631_20231211145654.jpg b/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116429831631_20231211145654.jpg deleted file mode 100644 index 892aae71..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116429831631_20231211145654.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116787403737_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116787403737_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 0ea628c2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116787403737_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116898162359_637963731379062495_637963718588437838_IMG_20220714_110623.jpg b/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116898162359_637963731379062495_637963718588437838_IMG_20220714_110623.jpg deleted file mode 100644 index 1e257772..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593116898162359_637963731379062495_637963718588437838_IMG_20220714_110623.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356053096537_20231211145654.jpg b/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356053096537_20231211145654.jpg deleted file mode 100644 index 892aae71..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356053096537_20231211145654.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356174848986_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356174848986_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 0ea628c2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356174848986_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356296327672_637963731379062495_637963718588437838_IMG_20220714_110623.jpg b/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356296327672_637963731379062495_637963718588437838_IMG_20220714_110623.jpg deleted file mode 100644 index 1e257772..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-08/638593356296327672_637963731379062495_637963718588437838_IMG_20220714_110623.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-09/638614706397918650_20231211145654.jpg b/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-09/638614706397918650_20231211145654.jpg deleted file mode 100644 index 892aae71..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/ConstructionLog/2024-09/638614706397918650_20231211145654.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/DataDistribution/2022-09/637988666351435138_瀹佹尝璧涢紟鍦板潃.txt b/SGGL/FineUIPro.Web/FileUpload/CQMS/DataDistribution/2022-09/637988666351435138_瀹佹尝璧涢紟鍦板潃.txt deleted file mode 100644 index 33d6c012..00000000 --- a/SGGL/FineUIPro.Web/FileUpload/CQMS/DataDistribution/2022-09/637988666351435138_瀹佹尝璧涢紟鍦板潃.txt +++ /dev/null @@ -1,4 +0,0 @@ -http://122.227.207.22:8081/hsse/Login.aspx -http://122.227.207.22:8081/hsse_na/Login.aspx -http://122.227.207.22:8081/hsse_NC840/Login.aspx -http://122.227.207.22:8081/hsseService/Login.aspx \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/DataDistribution/2022-09/637988668902672291_涓滃崕鍦板潃.txt b/SGGL/FineUIPro.Web/FileUpload/CQMS/DataDistribution/2022-09/637988668902672291_涓滃崕鍦板潃.txt deleted file mode 100644 index 0cdbdbc2..00000000 --- a/SGGL/FineUIPro.Web/FileUpload/CQMS/DataDistribution/2022-09/637988668902672291_涓滃崕鍦板潃.txt +++ /dev/null @@ -1 +0,0 @@ -http://218.22.22.90:8080/sggl \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/designDetails/2023-06/638225044325749281_鏅烘収宸ュ湴鍜4D琛旀帴浜嬮」2(1).docx b/SGGL/FineUIPro.Web/FileUpload/CQMS/designDetails/2023-06/638225044325749281_鏅烘収宸ュ湴鍜4D琛旀帴浜嬮」2(1).docx deleted file mode 100644 index 7fea3b4b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/designDetails/2023-06/638225044325749281_鏅烘収宸ュ湴鍜4D琛旀帴浜嬮」2(1).docx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/designDetails/2023-06/638225050002539454_骞垮窞鍙婂簱杞﹀嚭宸汉宸ユ棩.xlsx b/SGGL/FineUIPro.Web/FileUpload/CQMS/designDetails/2023-06/638225050002539454_骞垮窞鍙婂簱杞﹀嚭宸汉宸ユ棩.xlsx deleted file mode 100644 index 9ea2d09f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/designDetails/2023-06/638225050002539454_骞垮窞鍙婂簱杞﹀嚭宸汉宸ユ棩.xlsx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionMachone/2023-06/638225120050469923_鐒婃帴缂洪櫡绫诲瀷.png b/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionMachone/2023-06/638225120050469923_鐒婃帴缂洪櫡绫诲瀷.png deleted file mode 100644 index ad7ae562..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionMachone/2023-06/638225120050469923_鐒婃帴缂洪櫡绫诲瀷.png and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionPerson/2023-06/638225033307696343_浜ゅ缓鏅烘収宸ュ湴浜戝钩鍙板伐浣滈噺璇勪及.xlsx b/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionPerson/2023-06/638225033307696343_浜ゅ缓鏅烘収宸ュ湴浜戝钩鍙板伐浣滈噺璇勪及.xlsx deleted file mode 100644 index 37701c22..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionPerson/2023-06/638225033307696343_浜ゅ缓鏅烘収宸ュ湴浜戝钩鍙板伐浣滈噺璇勪及.xlsx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionPerson/2023-06/638225042654224579_鏉愭枡绠$悊杞欢鎺ュ彛璇存槑鏂囨。.docx b/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionPerson/2023-06/638225042654224579_鏉愭枡绠$悊杞欢鎺ュ彛璇存槑鏂囨。.docx deleted file mode 100644 index 71af810c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CQMS/inspectionPerson/2023-06/638225042654224579_鏉愭枡绠$悊杞欢鎺ュ彛璇存槑鏂囨。.docx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582110183747167.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582110183747167.jpg deleted file mode 100644 index 0b3460e8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582110183747167.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582117565189529.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582117565189529.jpg deleted file mode 100644 index 6beac9b5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582117565189529.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582119952702256.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582119952702256.jpg deleted file mode 100644 index d77113d5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582119952702256.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582120151007182.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582120151007182.jpg deleted file mode 100644 index e5697ee5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582120151007182.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582121968243697.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582121968243697.jpg deleted file mode 100644 index 37ff78d8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582121968243697.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582121994738229.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582121994738229.jpg deleted file mode 100644 index 9b7699f9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582121994738229.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582122023157560.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582122023157560.jpg deleted file mode 100644 index 287e5d37..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582122023157560.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582143492094487.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582143492094487.jpg deleted file mode 100644 index a489fdb4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582143492094487.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582147649049615.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638582147649049615.jpg deleted file mode 100644 index c52bd1d8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638582147649049615.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584442744641724.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584442744641724.jpg deleted file mode 100644 index 3fab119d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584442744641724.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584497732866615.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584497732866615.jpg deleted file mode 100644 index 7492257a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584497732866615.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584525471757614.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584525471757614.jpg deleted file mode 100644 index df6a4c6a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584525471757614.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584526536212042.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584526536212042.jpg deleted file mode 100644 index b14ca709..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584526536212042.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584528245396699.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584528245396699.jpg deleted file mode 100644 index 34204e91..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584528245396699.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584540707512910.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584540707512910.jpg deleted file mode 100644 index dd48779d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584540707512910.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584636390899926.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584636390899926.jpg deleted file mode 100644 index 2f3fe322..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584636390899926.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584638438334648.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584638438334648.jpg deleted file mode 100644 index 510ba729..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584638438334648.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584638582841689.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584638582841689.jpg deleted file mode 100644 index 444efce9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584638582841689.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584644282574995.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584644282574995.jpg deleted file mode 100644 index eb79da9d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584644282574995.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584645722676706.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584645722676706.jpg deleted file mode 100644 index 6f3c89c2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584645722676706.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584662114336901.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584662114336901.jpg deleted file mode 100644 index 80ae0280..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584662114336901.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584662441111529.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584662441111529.jpg deleted file mode 100644 index 51d979f2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584662441111529.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584665331542311.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584665331542311.jpg deleted file mode 100644 index 99bf1873..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584665331542311.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584674125901870.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638584674125901870.jpg deleted file mode 100644 index 4a5a2195..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638584674125901870.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585641127197554.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638585641127197554.jpg deleted file mode 100644 index 3c40ff2d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585641127197554.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585643053173095.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638585643053173095.jpg deleted file mode 100644 index 3bf681cf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585643053173095.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585644075420366.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638585644075420366.jpg deleted file mode 100644 index 253077cf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585644075420366.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585654982584733.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638585654982584733.jpg deleted file mode 100644 index c5f82dcd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585654982584733.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585656565114319.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638585656565114319.jpg deleted file mode 100644 index 54ef3829..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638585656565114319.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586179152180567.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586179152180567.jpg deleted file mode 100644 index 7060f08f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586179152180567.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586240141764988.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586240141764988.jpg deleted file mode 100644 index efc104cd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586240141764988.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586248581570764.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586248581570764.jpg deleted file mode 100644 index ae1d2b69..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586248581570764.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586253378537099.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586253378537099.jpg deleted file mode 100644 index 26baf067..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586253378537099.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586263100160568.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586263100160568.jpg deleted file mode 100644 index 6ebae328..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586263100160568.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586265647902634.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586265647902634.jpg deleted file mode 100644 index 02672c09..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586265647902634.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586386757458428.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586386757458428.jpg deleted file mode 100644 index 1f12e89b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586386757458428.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586404635454905.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586404635454905.jpg deleted file mode 100644 index a487aabe..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586404635454905.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586407213940228.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586407213940228.jpg deleted file mode 100644 index 52a4c7c7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586407213940228.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586429657612121.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586429657612121.jpg deleted file mode 100644 index edeccbe8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586429657612121.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586454109555213.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586454109555213.jpg deleted file mode 100644 index b83b6d4c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586454109555213.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459032724581.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459032724581.jpg deleted file mode 100644 index 6a730801..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459032724581.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459194179226.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459194179226.jpg deleted file mode 100644 index e3a1bde1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459194179226.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459349668603.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459349668603.jpg deleted file mode 100644 index 1658f074..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459349668603.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459481227532.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459481227532.jpg deleted file mode 100644 index dbc99a18..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586459481227532.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586465425826962.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586465425826962.jpg deleted file mode 100644 index 3576f0e9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586465425826962.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586468013406491.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586468013406491.jpg deleted file mode 100644 index c7eeb410..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586468013406491.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586470607469244.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586470607469244.jpg deleted file mode 100644 index 1f8f8913..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586470607469244.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586475913344523.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586475913344523.jpg deleted file mode 100644 index b98c52f8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586475913344523.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586481475944842.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586481475944842.jpg deleted file mode 100644 index 310adbb0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586481475944842.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586500025320707.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638586500025320707.jpg deleted file mode 100644 index ef46eaef..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638586500025320707.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587072839148442.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587072839148442.jpg deleted file mode 100644 index 72013e44..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587072839148442.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587270502875901.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587270502875901.jpg deleted file mode 100644 index 715e3fd5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587270502875901.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587278727447997.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587278727447997.jpg deleted file mode 100644 index 181a5a84..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587278727447997.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587297749033390.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587297749033390.jpg deleted file mode 100644 index edb3c52c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587297749033390.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587301784994436.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587301784994436.jpg deleted file mode 100644 index 775ddc26..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587301784994436.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587330326543429.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587330326543429.jpg deleted file mode 100644 index b7e91656..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587330326543429.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587335955355175.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587335955355175.jpg deleted file mode 100644 index dc77678e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587335955355175.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587360910362826.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587360910362826.jpg deleted file mode 100644 index 45b3e341..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587360910362826.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587923154676872.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587923154676872.jpg deleted file mode 100644 index c30340f4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587923154676872.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587923236742688.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587923236742688.jpg deleted file mode 100644 index 9538ecf0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587923236742688.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587928617927632.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587928617927632.jpg deleted file mode 100644 index b7a77458..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587928617927632.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587932019929773.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587932019929773.jpg deleted file mode 100644 index 9dc4f272..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587932019929773.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587934375926334.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587934375926334.jpg deleted file mode 100644 index 7ccdc846..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587934375926334.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587934422847959.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587934422847959.jpg deleted file mode 100644 index 911f6a0c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587934422847959.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587937461483807.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587937461483807.jpg deleted file mode 100644 index 71a19bb4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587937461483807.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587940115290918.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587940115290918.jpg deleted file mode 100644 index 89310760..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587940115290918.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942047452373.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942047452373.jpg deleted file mode 100644 index e222fbaa..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942047452373.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942079787311.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942079787311.jpg deleted file mode 100644 index 6962f7b4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942079787311.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942140850552.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942140850552.jpg deleted file mode 100644 index ee1931b2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587942140850552.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587943155017020.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587943155017020.jpg deleted file mode 100644 index e667241c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587943155017020.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587944828677355.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587944828677355.jpg deleted file mode 100644 index 7c137b01..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587944828677355.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587946137572850.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587946137572850.jpg deleted file mode 100644 index 0257fce6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587946137572850.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587948822898421.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587948822898421.jpg deleted file mode 100644 index 2e2986c9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587948822898421.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587949805865127.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587949805865127.jpg deleted file mode 100644 index 0b4ed908..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587949805865127.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587952238858977.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587952238858977.jpg deleted file mode 100644 index 7122c708..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587952238858977.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587957283131822.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587957283131822.jpg deleted file mode 100644 index dac9436c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587957283131822.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587960832099510.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587960832099510.jpg deleted file mode 100644 index ea9a92f1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587960832099510.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587964265276046.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587964265276046.jpg deleted file mode 100644 index 4811b6b7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587964265276046.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587967665266141.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587967665266141.jpg deleted file mode 100644 index 4d5df42d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587967665266141.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587969094493302.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587969094493302.jpg deleted file mode 100644 index 5750959b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587969094493302.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587971680935227.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587971680935227.jpg deleted file mode 100644 index 7f1aebd6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587971680935227.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587972609406604.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587972609406604.jpg deleted file mode 100644 index 930d4546..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587972609406604.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587974216933434.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587974216933434.jpg deleted file mode 100644 index 4c72cbfb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587974216933434.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587975320732338.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587975320732338.jpg deleted file mode 100644 index c82b8dc9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587975320732338.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587977001857777.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587977001857777.jpg deleted file mode 100644 index fa35348a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587977001857777.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587994728646608.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587994728646608.jpg deleted file mode 100644 index edc2eedf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587994728646608.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587995491019279.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638587995491019279.jpg deleted file mode 100644 index 5dc63ee1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638587995491019279.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588099489367178.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588099489367178.jpg deleted file mode 100644 index a99b23ad..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588099489367178.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588101024706536.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588101024706536.jpg deleted file mode 100644 index 5137815c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588101024706536.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588102303914847.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588102303914847.jpg deleted file mode 100644 index f722f4fc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588102303914847.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588113770964622.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588113770964622.jpg deleted file mode 100644 index 79be0fcd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588113770964622.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588118593575202.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588118593575202.jpg deleted file mode 100644 index dd44cd0e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588118593575202.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588136741372486.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588136741372486.jpg deleted file mode 100644 index e2d7544a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588136741372486.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588137099659612.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588137099659612.jpg deleted file mode 100644 index 55f7a01d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588137099659612.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588138605403979.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588138605403979.jpg deleted file mode 100644 index a0fca606..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588138605403979.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140181908593.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140181908593.jpg deleted file mode 100644 index 38a7c4e6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140181908593.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140263186548.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140263186548.jpg deleted file mode 100644 index fd576d53..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140263186548.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140615215061.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140615215061.jpg deleted file mode 100644 index d544e9be..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588140615215061.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588143024130221.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588143024130221.jpg deleted file mode 100644 index a13fa643..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588143024130221.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588145753644812.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588145753644812.jpg deleted file mode 100644 index 62ebda6c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588145753644812.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146157551009.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146157551009.jpg deleted file mode 100644 index 806f0957..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146157551009.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146240565555.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146240565555.jpg deleted file mode 100644 index 6cf89ea8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146240565555.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146931102851.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146931102851.jpg deleted file mode 100644 index 4f97f69f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588146931102851.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588147152399335.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588147152399335.jpg deleted file mode 100644 index 8d1871e5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588147152399335.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588162803333148.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588162803333148.jpg deleted file mode 100644 index b34f1127..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588162803333148.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588169841852357.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588169841852357.jpg deleted file mode 100644 index c33f6ae0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588169841852357.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588193355658100.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588193355658100.jpg deleted file mode 100644 index 5d45c31c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588193355658100.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588196822263786.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588196822263786.jpg deleted file mode 100644 index c682f120..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588196822263786.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588196963490121.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588196963490121.jpg deleted file mode 100644 index e95507bb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588196963490121.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588202403844569.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588202403844569.jpg deleted file mode 100644 index f14f33f0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588202403844569.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588205528183047.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588205528183047.jpg deleted file mode 100644 index df8ab240..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588205528183047.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588209581192730.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588209581192730.jpg deleted file mode 100644 index 74e40e47..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588209581192730.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588209808899240.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588209808899240.jpg deleted file mode 100644 index 9f1455d3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588209808899240.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588224357652728.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588224357652728.jpg deleted file mode 100644 index 91ac1cfe..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588224357652728.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588225632522871.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588225632522871.jpg deleted file mode 100644 index 900f21ce..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588225632522871.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588225990964238.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588225990964238.jpg deleted file mode 100644 index 0d5b31ef..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588225990964238.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226714782289.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226714782289.jpg deleted file mode 100644 index 710c4ea9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226714782289.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226785893332.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226785893332.jpg deleted file mode 100644 index 96ab6630..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226785893332.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226806083306.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226806083306.jpg deleted file mode 100644 index 44bc1e29..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226806083306.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226972091980.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226972091980.jpg deleted file mode 100644 index 0d80dd1d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588226972091980.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227168734545.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227168734545.jpg deleted file mode 100644 index 8768ccdd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227168734545.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227894621988.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227894621988.jpg deleted file mode 100644 index 3621a9a5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227894621988.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227927538380.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227927538380.jpg deleted file mode 100644 index af14d99d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227927538380.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227966491878.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227966491878.jpg deleted file mode 100644 index 58625cd1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588227966491878.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228007884181.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228007884181.jpg deleted file mode 100644 index af36c7dd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228007884181.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228034393380.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228034393380.jpg deleted file mode 100644 index da5b4e47..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228034393380.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228140950803.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228140950803.jpg deleted file mode 100644 index ed519c50..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588228140950803.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245126458650.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245126458650.jpg deleted file mode 100644 index 69dff6bb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245126458650.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245510335715.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245510335715.jpg deleted file mode 100644 index 57ef7e3e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245510335715.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245970444781.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245970444781.jpg deleted file mode 100644 index f3950eff..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588245970444781.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588250365214652.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588250365214652.jpg deleted file mode 100644 index d916ad5a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588250365214652.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588250895786781.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588250895786781.jpg deleted file mode 100644 index 04ef42d0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588250895786781.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257316144797.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257316144797.jpg deleted file mode 100644 index c2091c97..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257316144797.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257375659529.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257375659529.jpg deleted file mode 100644 index adbd353e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257375659529.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257411363773.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257411363773.jpg deleted file mode 100644 index 97a7f654..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257411363773.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257523239633.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257523239633.jpg deleted file mode 100644 index 6bf4627d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257523239633.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257745882729.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257745882729.jpg deleted file mode 100644 index 9dcc7863..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588257745882729.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283151274341.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283151274341.jpg deleted file mode 100644 index 2f681f7c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283151274341.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283418442074.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283418442074.jpg deleted file mode 100644 index 1e510b7a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283418442074.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283756154077.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283756154077.jpg deleted file mode 100644 index 048ef531..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638588283756154077.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590523559609352.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590523559609352.jpg deleted file mode 100644 index ff4bd34f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590523559609352.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590537722226012.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590537722226012.jpg deleted file mode 100644 index d7978816..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590537722226012.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590552422102785.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590552422102785.jpg deleted file mode 100644 index b54525d6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590552422102785.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590723642175773.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590723642175773.jpg deleted file mode 100644 index 5b6ccf7d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590723642175773.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590723783613498.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590723783613498.jpg deleted file mode 100644 index e4734eeb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590723783613498.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590729997776751.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590729997776751.jpg deleted file mode 100644 index ba02e8c3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590729997776751.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590730079789159.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590730079789159.jpg deleted file mode 100644 index 8e7168fb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590730079789159.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590730190981717.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590730190981717.jpg deleted file mode 100644 index 777a6430..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590730190981717.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590734893316155.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590734893316155.jpg deleted file mode 100644 index 2e241b73..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590734893316155.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735070317955.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735070317955.jpg deleted file mode 100644 index e2060b53..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735070317955.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735538170941.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735538170941.jpg deleted file mode 100644 index 2e76cd2f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735538170941.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735605076515.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735605076515.jpg deleted file mode 100644 index 8f9886e0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735605076515.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735689542655.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735689542655.jpg deleted file mode 100644 index 9a44741f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735689542655.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735762489366.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735762489366.jpg deleted file mode 100644 index 8d5e2f35..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735762489366.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735803175914.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735803175914.jpg deleted file mode 100644 index 4504f006..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590735803175914.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590736044465261.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590736044465261.jpg deleted file mode 100644 index 778c3067..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590736044465261.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743754584196.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743754584196.jpg deleted file mode 100644 index 9fbc241c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743754584196.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743834232917.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743834232917.jpg deleted file mode 100644 index b3bba9dd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743834232917.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743910490054.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743910490054.jpg deleted file mode 100644 index 2feec4a3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590743910490054.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590744025542564.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590744025542564.jpg deleted file mode 100644 index b35193d9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590744025542564.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590745507497258.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590745507497258.jpg deleted file mode 100644 index 153d7359..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590745507497258.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590747253795400.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590747253795400.jpg deleted file mode 100644 index 0bd36f89..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590747253795400.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590755254634759.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590755254634759.jpg deleted file mode 100644 index d71940ef..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590755254634759.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590755395092790.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590755395092790.jpg deleted file mode 100644 index 8d8fcf8b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590755395092790.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590759334031800.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590759334031800.jpg deleted file mode 100644 index 0a7b83fc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590759334031800.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590759602781447.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590759602781447.jpg deleted file mode 100644 index 2965f9ac..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590759602781447.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590764452029186.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590764452029186.jpg deleted file mode 100644 index e37c4ff9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590764452029186.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590764561858349.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590764561858349.jpg deleted file mode 100644 index add6541c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590764561858349.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590769531486994.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590769531486994.jpg deleted file mode 100644 index 1cffc809..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590769531486994.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590769752206359.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590769752206359.jpg deleted file mode 100644 index 188f92dc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590769752206359.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771160258481.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771160258481.jpg deleted file mode 100644 index 152b9271..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771160258481.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771536968444.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771536968444.jpg deleted file mode 100644 index 61db7ded..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771536968444.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771656181496.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771656181496.jpg deleted file mode 100644 index 51072209..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590771656181496.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590774118009366.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590774118009366.jpg deleted file mode 100644 index 8e465a5b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590774118009366.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590774231315199.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590774231315199.jpg deleted file mode 100644 index 8c59c3c1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590774231315199.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590780389658154.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590780389658154.jpg deleted file mode 100644 index 14797094..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590780389658154.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590780470606678.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590780470606678.jpg deleted file mode 100644 index 76180f34..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590780470606678.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590781559229671.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590781559229671.jpg deleted file mode 100644 index 485fd42e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590781559229671.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590782071841586.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590782071841586.jpg deleted file mode 100644 index b27f3060..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590782071841586.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590783846429697.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590783846429697.jpg deleted file mode 100644 index c6de5665..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590783846429697.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590784913619025.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590784913619025.jpg deleted file mode 100644 index 4ccc22a5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590784913619025.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786040485398.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786040485398.jpg deleted file mode 100644 index 92afea4a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786040485398.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786140428449.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786140428449.jpg deleted file mode 100644 index e6e1801d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786140428449.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786955005002.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786955005002.jpg deleted file mode 100644 index 972e6fb0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590786955005002.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590787063067710.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590787063067710.jpg deleted file mode 100644 index 3374a3d0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590787063067710.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590789242572815.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590789242572815.jpg deleted file mode 100644 index 25ed33af..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590789242572815.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590789345552101.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590789345552101.jpg deleted file mode 100644 index 4fe0b0cf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590789345552101.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590790085917942.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590790085917942.jpg deleted file mode 100644 index 0384d710..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590790085917942.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590790613198288.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590790613198288.jpg deleted file mode 100644 index ec7b13a5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590790613198288.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590791480255491.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590791480255491.jpg deleted file mode 100644 index f7e813d2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590791480255491.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590791565051849.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590791565051849.jpg deleted file mode 100644 index 6b784e9f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590791565051849.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590793287789451.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590793287789451.jpg deleted file mode 100644 index 382710de..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590793287789451.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590796145701903.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590796145701903.jpg deleted file mode 100644 index 2454e754..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590796145701903.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590797765436784.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590797765436784.jpg deleted file mode 100644 index 28615b2f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590797765436784.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590798955668221.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590798955668221.jpg deleted file mode 100644 index a00ec61d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590798955668221.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590799699599101.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590799699599101.jpg deleted file mode 100644 index 36b33e34..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590799699599101.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590799986283903.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590799986283903.jpg deleted file mode 100644 index b4004642..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590799986283903.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590802901308823.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590802901308823.jpg deleted file mode 100644 index 51af9a1a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590802901308823.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590803002355524.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590803002355524.jpg deleted file mode 100644 index 7ff1c6ef..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590803002355524.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590804515460647.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590804515460647.jpg deleted file mode 100644 index fe5339c8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590804515460647.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590804590867188.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590804590867188.jpg deleted file mode 100644 index d60e556c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590804590867188.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590805806821236.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590805806821236.jpg deleted file mode 100644 index 77792b0e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590805806821236.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590805883561367.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590805883561367.jpg deleted file mode 100644 index 09ca1741..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590805883561367.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590806535084240.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590806535084240.jpg deleted file mode 100644 index daf7f4c8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590806535084240.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590806890138084.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590806890138084.jpg deleted file mode 100644 index f2520688..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590806890138084.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590807459652083.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590807459652083.jpg deleted file mode 100644 index 8fa53a9f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590807459652083.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590809133871447.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590809133871447.jpg deleted file mode 100644 index 884ae3d9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590809133871447.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590810832892090.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590810832892090.jpg deleted file mode 100644 index bc387a52..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590810832892090.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590810912080765.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590810912080765.jpg deleted file mode 100644 index ea2b4a45..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590810912080765.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590813321313375.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590813321313375.jpg deleted file mode 100644 index e4eda5f9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590813321313375.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590814693903494.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590814693903494.jpg deleted file mode 100644 index d7688196..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590814693903494.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590817012197607.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590817012197607.jpg deleted file mode 100644 index 3a35f3e2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590817012197607.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590817147869002.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590817147869002.jpg deleted file mode 100644 index 945f7f76..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590817147869002.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819001091368.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819001091368.jpg deleted file mode 100644 index c1193576..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819001091368.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819073020814.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819073020814.jpg deleted file mode 100644 index b0802b48..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819073020814.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819926189496.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819926189496.jpg deleted file mode 100644 index 27eb8c0c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590819926189496.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820133873431.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820133873431.jpg deleted file mode 100644 index dd601452..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820133873431.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820807386491.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820807386491.jpg deleted file mode 100644 index 2b319c38..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820807386491.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820860958828.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820860958828.jpg deleted file mode 100644 index a1650d29..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820860958828.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820956946271.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820956946271.jpg deleted file mode 100644 index 9218445f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590820956946271.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590821423537540.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590821423537540.jpg deleted file mode 100644 index cd5d04fc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590821423537540.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590821576022618.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590821576022618.jpg deleted file mode 100644 index 831480ce..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590821576022618.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823027767247.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823027767247.jpg deleted file mode 100644 index 6ada696c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823027767247.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823094565626.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823094565626.jpg deleted file mode 100644 index ccf55ba5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823094565626.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823165811546.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823165811546.jpg deleted file mode 100644 index e38a1462..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823165811546.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823761079684.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823761079684.jpg deleted file mode 100644 index e1c55a02..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823761079684.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823827176895.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823827176895.jpg deleted file mode 100644 index 8d93ea52..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638590823827176895.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591359257596033.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591359257596033.jpg deleted file mode 100644 index f67132fd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591359257596033.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591359571478019.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591359571478019.jpg deleted file mode 100644 index 6f172952..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591359571478019.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591370972783895.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591370972783895.jpg deleted file mode 100644 index 66d2cf38..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591370972783895.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591371060261099.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591371060261099.jpg deleted file mode 100644 index e17bc3b7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591371060261099.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591371136005965.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591371136005965.jpg deleted file mode 100644 index 6ce765d0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591371136005965.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591377781878097.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591377781878097.jpg deleted file mode 100644 index c924c9d7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591377781878097.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591377884662561.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591377884662561.jpg deleted file mode 100644 index 8a3376aa..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591377884662561.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591378775058633.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591378775058633.jpg deleted file mode 100644 index fdb95c52..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591378775058633.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591379210184246.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591379210184246.jpg deleted file mode 100644 index 44ca259f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591379210184246.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380223179650.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380223179650.jpg deleted file mode 100644 index c8314b13..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380223179650.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380303014950.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380303014950.jpg deleted file mode 100644 index f70cda47..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380303014950.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380954299780.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380954299780.jpg deleted file mode 100644 index ca56c4cd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591380954299780.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591381738083857.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591381738083857.jpg deleted file mode 100644 index f23d3bc8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591381738083857.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591382298426581.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591382298426581.jpg deleted file mode 100644 index 509f925c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591382298426581.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591387227993749.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591387227993749.jpg deleted file mode 100644 index 8d02f371..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591387227993749.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591392225447432.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591392225447432.jpg deleted file mode 100644 index 8a6501b6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591392225447432.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591392755992505.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591392755992505.jpg deleted file mode 100644 index 6c4e87c4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591392755992505.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591396397814087.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591396397814087.jpg deleted file mode 100644 index f2f1bda5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591396397814087.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591399284239812.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591399284239812.jpg deleted file mode 100644 index 08cf8870..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591399284239812.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591401315337668.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591401315337668.jpg deleted file mode 100644 index 46a6bc81..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591401315337668.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402254627179.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402254627179.jpg deleted file mode 100644 index 69848e3f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402254627179.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402352438329.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402352438329.jpg deleted file mode 100644 index 4d2ae3ea..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402352438329.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402439379271.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402439379271.jpg deleted file mode 100644 index af5b3767..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591402439379271.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591405912527654.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591405912527654.jpg deleted file mode 100644 index b5763a6d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591405912527654.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591406003009692.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591406003009692.jpg deleted file mode 100644 index f135c42a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591406003009692.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591410223078936.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591410223078936.jpg deleted file mode 100644 index 201b70e7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591410223078936.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591415004787794.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591415004787794.jpg deleted file mode 100644 index f7c08e1d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591415004787794.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591416863278856.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591416863278856.jpg deleted file mode 100644 index 6c473df5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591416863278856.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591416934039038.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591416934039038.jpg deleted file mode 100644 index 6abad2f6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591416934039038.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591417064847907.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591417064847907.jpg deleted file mode 100644 index 8f2c7633..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591417064847907.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418009693814.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418009693814.jpg deleted file mode 100644 index cbcc9433..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418009693814.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418108408693.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418108408693.jpg deleted file mode 100644 index 52f21ae9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418108408693.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418188468836.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418188468836.jpg deleted file mode 100644 index 72b44aec..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591418188468836.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426465868635.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426465868635.jpg deleted file mode 100644 index 6fc0cf3b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426465868635.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426524706793.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426524706793.jpg deleted file mode 100644 index 5e53e961..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426524706793.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426665296460.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426665296460.jpg deleted file mode 100644 index 286f38bb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591426665296460.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591441552424791.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591441552424791.jpg deleted file mode 100644 index 384dfb6f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591441552424791.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591441647379140.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591441647379140.jpg deleted file mode 100644 index 704bf51f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591441647379140.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591443536905062.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591443536905062.jpg deleted file mode 100644 index fe6d2216..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591443536905062.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591443640252149.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591443640252149.jpg deleted file mode 100644 index a7ed2a0a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591443640252149.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591450896690529.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591450896690529.jpg deleted file mode 100644 index 43c3def2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591450896690529.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591450987861048.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591450987861048.jpg deleted file mode 100644 index 14ae913a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591450987861048.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591553114144659.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591553114144659.jpg deleted file mode 100644 index 1a0491de..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591553114144659.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591553632852115.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591553632852115.jpg deleted file mode 100644 index 26b2dae3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591553632852115.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591555551976860.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591555551976860.jpg deleted file mode 100644 index 6c437d6c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591555551976860.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591557438034469.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591557438034469.jpg deleted file mode 100644 index 452a2407..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591557438034469.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591560751874487.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591560751874487.jpg deleted file mode 100644 index 38daa310..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591560751874487.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591560858167675.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591560858167675.jpg deleted file mode 100644 index a2d32738..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591560858167675.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591572299959201.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591572299959201.jpg deleted file mode 100644 index ffc86498..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591572299959201.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591572511299738.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591572511299738.jpg deleted file mode 100644 index c912e139..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591572511299738.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591577330010591.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591577330010591.jpg deleted file mode 100644 index 8fa2104c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591577330010591.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591577429605000.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591577429605000.jpg deleted file mode 100644 index a6f72193..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591577429605000.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591580804806419.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591580804806419.jpg deleted file mode 100644 index f914c7ec..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591580804806419.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591580885618197.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591580885618197.jpg deleted file mode 100644 index 2b25ec71..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591580885618197.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591584978849725.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591584978849725.jpg deleted file mode 100644 index 5e88385a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591584978849725.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591585074612177.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591585074612177.jpg deleted file mode 100644 index 0e0e0ed6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591585074612177.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591586159804818.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591586159804818.jpg deleted file mode 100644 index 58b28431..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591586159804818.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591586275942468.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591586275942468.jpg deleted file mode 100644 index 37bb0209..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591586275942468.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591592248263217.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591592248263217.jpg deleted file mode 100644 index f7c8bb6f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591592248263217.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591592332213151.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591592332213151.jpg deleted file mode 100644 index 49491a3c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591592332213151.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591613335797805.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591613335797805.jpg deleted file mode 100644 index 00b80da3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591613335797805.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591616730848342.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591616730848342.jpg deleted file mode 100644 index 56458afa..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591616730848342.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591616814730556.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591616814730556.jpg deleted file mode 100644 index bf5d3210..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591616814730556.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591621741644134.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591621741644134.jpg deleted file mode 100644 index 68ad038d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591621741644134.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591621903416347.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591621903416347.jpg deleted file mode 100644 index d4acbdb9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591621903416347.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628011117334.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628011117334.jpg deleted file mode 100644 index 482e5ecf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628011117334.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628195395640.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628195395640.jpg deleted file mode 100644 index ae1dd06d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628195395640.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628368531895.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628368531895.jpg deleted file mode 100644 index 3b6c3933..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628368531895.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628573582396.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628573582396.jpg deleted file mode 100644 index 8e1166a9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591628573582396.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591629211296320.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591629211296320.jpg deleted file mode 100644 index f2f3361e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591629211296320.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591629312158953.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591629312158953.jpg deleted file mode 100644 index f0b4e371..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591629312158953.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646683260767.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646683260767.jpg deleted file mode 100644 index 3dfd8369..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646683260767.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646783722677.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646783722677.jpg deleted file mode 100644 index 70ab1b8b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646783722677.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646870263039.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646870263039.jpg deleted file mode 100644 index 153013c3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591646870263039.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591660257839275.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591660257839275.jpg deleted file mode 100644 index bf510df3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591660257839275.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591660360452442.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591660360452442.jpg deleted file mode 100644 index f7b9f036..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591660360452442.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591673896567853.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591673896567853.jpg deleted file mode 100644 index 73329c4c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591673896567853.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591673952945541.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591673952945541.jpg deleted file mode 100644 index b136479c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591673952945541.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591674089906988.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591674089906988.jpg deleted file mode 100644 index 9c6e11fb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591674089906988.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680461585773.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680461585773.jpg deleted file mode 100644 index 1b0c76cd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680461585773.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680549057194.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680549057194.jpg deleted file mode 100644 index 74a140bb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680549057194.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680634250884.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680634250884.jpg deleted file mode 100644 index d673c744..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591680634250884.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591686904062816.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591686904062816.jpg deleted file mode 100644 index 394306e4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591686904062816.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591687005748594.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638591687005748594.jpg deleted file mode 100644 index 2e74dd6f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638591687005748594.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592233121467877.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592233121467877.jpg deleted file mode 100644 index 89db5ea3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592233121467877.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234021821314.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234021821314.jpg deleted file mode 100644 index 74d98c14..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234021821314.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234131617872.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234131617872.jpg deleted file mode 100644 index b698cc83..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234131617872.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234341459038.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234341459038.jpg deleted file mode 100644 index f34871a3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592234341459038.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592456272115306.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592456272115306.jpg deleted file mode 100644 index 498f6e9c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592456272115306.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592456832007531.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592456832007531.jpg deleted file mode 100644 index d8eda0e3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592456832007531.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592488442077788.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592488442077788.jpg deleted file mode 100644 index 4bac9d82..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592488442077788.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592489677081217.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592489677081217.jpg deleted file mode 100644 index 5fe68b55..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592489677081217.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592497032402130.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592497032402130.jpg deleted file mode 100644 index 0c834758..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592497032402130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592497147023916.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592497147023916.jpg deleted file mode 100644 index 8cb39411..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592497147023916.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592512339604694.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592512339604694.jpg deleted file mode 100644 index f38208b8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592512339604694.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592513662319962.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592513662319962.jpg deleted file mode 100644 index 6637467c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592513662319962.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592514949980539.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592514949980539.jpg deleted file mode 100644 index 0d12efc3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592514949980539.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592520955865077.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592520955865077.jpg deleted file mode 100644 index 4945e431..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592520955865077.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592521101929000.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592521101929000.jpg deleted file mode 100644 index b3ac114a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592521101929000.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592521189766772.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592521189766772.jpg deleted file mode 100644 index 0f719699..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592521189766772.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592532724019939.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592532724019939.jpg deleted file mode 100644 index d7e413ee..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592532724019939.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592533088121692.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592533088121692.jpg deleted file mode 100644 index 3ac226e2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592533088121692.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592543531258449.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592543531258449.jpg deleted file mode 100644 index bde13d40..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592543531258449.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592544491648677.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638592544491648677.jpg deleted file mode 100644 index 38ba4aef..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638592544491648677.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593104449758356.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593104449758356.jpg deleted file mode 100644 index b3be8aa2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593104449758356.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593104559805589.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593104559805589.jpg deleted file mode 100644 index b8b1a868..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593104559805589.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593105614317879.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593105614317879.jpg deleted file mode 100644 index 7ca4a1b6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593105614317879.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593105709443261.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593105709443261.jpg deleted file mode 100644 index e28dbd37..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593105709443261.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593112980083628.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593112980083628.jpg deleted file mode 100644 index 6af51133..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593112980083628.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593113072092091.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593113072092091.jpg deleted file mode 100644 index b63bfa98..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593113072092091.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593326077362908.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593326077362908.jpg deleted file mode 100644 index 831e5bbe..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593326077362908.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328193634919.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328193634919.jpg deleted file mode 100644 index 737a0911..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328193634919.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328316070983.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328316070983.jpg deleted file mode 100644 index ca1af08a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328316070983.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328401924072.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328401924072.jpg deleted file mode 100644 index 1ebf3cd5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328401924072.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328465541288.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328465541288.jpg deleted file mode 100644 index ac478516..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328465541288.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328595718436.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328595718436.jpg deleted file mode 100644 index d9186ea4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593328595718436.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593339859614497.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593339859614497.jpg deleted file mode 100644 index 0ded28a1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593339859614497.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593347964385677.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593347964385677.jpg deleted file mode 100644 index 3a36f88f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593347964385677.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593348144448592.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593348144448592.jpg deleted file mode 100644 index c6225e91..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593348144448592.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593355447262187.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593355447262187.jpg deleted file mode 100644 index 5b2ec2bc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593355447262187.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593355550188868.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593355550188868.jpg deleted file mode 100644 index 1123fb2e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593355550188868.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593370450137983.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593370450137983.jpg deleted file mode 100644 index 4410fa7a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593370450137983.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593370645526692.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593370645526692.jpg deleted file mode 100644 index bf61e733..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593370645526692.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593372368686803.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593372368686803.jpg deleted file mode 100644 index 541be0ae..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593372368686803.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593372461866708.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593372461866708.jpg deleted file mode 100644 index 32254ba0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593372461866708.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593375483119213.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593375483119213.jpg deleted file mode 100644 index ccf06ea6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593375483119213.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593375664702673.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593375664702673.jpg deleted file mode 100644 index 446f3d8a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593375664702673.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593379065692131.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593379065692131.jpg deleted file mode 100644 index 18305129..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593379065692131.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593379175277870.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593379175277870.jpg deleted file mode 100644 index 19584df3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593379175277870.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593381259216782.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593381259216782.jpg deleted file mode 100644 index a7e58bcd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593381259216782.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593381347028511.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593381347028511.jpg deleted file mode 100644 index 4527f4e0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593381347028511.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593404018016391.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593404018016391.jpg deleted file mode 100644 index 379d7bfc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593404018016391.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593404115795664.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593404115795664.jpg deleted file mode 100644 index 9e6941e8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593404115795664.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593406474039099.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593406474039099.jpg deleted file mode 100644 index 2b285139..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593406474039099.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593407364116797.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638593407364116797.jpg deleted file mode 100644 index e171876f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638593407364116797.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638596857213562001.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638596857213562001.jpg deleted file mode 100644 index 90e9eff8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638596857213562001.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638596857565049353.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638596857565049353.jpg deleted file mode 100644 index 29af806f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638596857565049353.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638600006211729922.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638600006211729922.jpg deleted file mode 100644 index 27989066..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638600006211729922.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638600006826022065.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638600006826022065.jpg deleted file mode 100644 index fa86d8fe..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638600006826022065.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638604400511125868.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638604400511125868.jpg deleted file mode 100644 index b37caca0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638604400511125868.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638604400690705757.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638604400690705757.jpg deleted file mode 100644 index e72b05aa..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638604400690705757.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638610599847685020.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638610599847685020.jpg deleted file mode 100644 index ad06d39c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638610599847685020.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638612174830563743.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638612174830563743.jpg deleted file mode 100644 index 1e84b98b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638612174830563743.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614598556411187.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614598556411187.jpg deleted file mode 100644 index 6199c044..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614598556411187.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614598810865009.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614598810865009.jpg deleted file mode 100644 index 3a069703..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614598810865009.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614703754765081.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614703754765081.jpg deleted file mode 100644 index 136e79a3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614703754765081.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614714731891619.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614714731891619.jpg deleted file mode 100644 index 96849af1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614714731891619.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614715064129476.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614715064129476.jpg deleted file mode 100644 index a9fc31ec..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614715064129476.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614715557882858.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614715557882858.jpg deleted file mode 100644 index b27dff69..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614715557882858.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722136731689.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722136731689.jpg deleted file mode 100644 index cf46ff2a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722136731689.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722564746584.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722564746584.jpg deleted file mode 100644 index 7e0f31ce..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722564746584.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722928643352.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722928643352.jpg deleted file mode 100644 index 3885390e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614722928643352.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614723337450313.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638614723337450313.jpg deleted file mode 100644 index c718e8d1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638614723337450313.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638615592277404013.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638615592277404013.jpg deleted file mode 100644 index 9e0e726b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638615592277404013.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638615597644951975.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638615597644951975.jpg deleted file mode 100644 index c44fb044..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638615597644951975.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638616467786091855.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638616467786091855.jpg deleted file mode 100644 index cccf5836..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638616467786091855.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638616478231627815.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638616478231627815.jpg deleted file mode 100644 index fd7e0305..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638616478231627815.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638616484156262012.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638616484156262012.jpg deleted file mode 100644 index 730df157..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638616484156262012.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617279791383962.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617279791383962.jpg deleted file mode 100644 index d2e975c9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617279791383962.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617281737701662.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617281737701662.jpg deleted file mode 100644 index 5cef0757..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617281737701662.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617285782297609.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617285782297609.jpg deleted file mode 100644 index 29bfc085..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617285782297609.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617346452928673.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617346452928673.jpg deleted file mode 100644 index 968a6e5a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617346452928673.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617361088628758.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617361088628758.jpg deleted file mode 100644 index 0e7bcbc1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617361088628758.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617374024856528.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617374024856528.jpg deleted file mode 100644 index 3bde6401..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617374024856528.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617471490282351.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617471490282351.jpg deleted file mode 100644 index a2f994e6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617471490282351.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617565340478220.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617565340478220.jpg deleted file mode 100644 index 10cd6dca..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617565340478220.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617571693746850.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617571693746850.jpg deleted file mode 100644 index 0983901e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617571693746850.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617574103586175.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617574103586175.jpg deleted file mode 100644 index d6075e9f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617574103586175.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617578972651293.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638617578972651293.jpg deleted file mode 100644 index 540d358f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638617578972651293.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618189456046994.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638618189456046994.jpg deleted file mode 100644 index 5eaed8fb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618189456046994.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618200610381628.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638618200610381628.jpg deleted file mode 100644 index 8f946c85..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618200610381628.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618206945840758.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638618206945840758.jpg deleted file mode 100644 index 54240874..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618206945840758.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618210105253883.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638618210105253883.jpg deleted file mode 100644 index f732b034..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618210105253883.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618210383627296.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638618210383627296.jpg deleted file mode 100644 index d61173b6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618210383627296.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618212969828990.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638618212969828990.jpg deleted file mode 100644 index cb7c2ad5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638618212969828990.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638619230477074222.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638619230477074222.jpg deleted file mode 100644 index 9f61aaaa..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638619230477074222.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638619232208081033.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638619232208081033.jpg deleted file mode 100644 index 2ff35480..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638619232208081033.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638619269117793006.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638619269117793006.jpg deleted file mode 100644 index be0089f8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638619269117793006.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638619270333669864.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638619270333669864.jpg deleted file mode 100644 index ff1e02aa..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638619270333669864.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638627876366579082.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638627876366579082.jpg deleted file mode 100644 index 41f6f10c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638627876366579082.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628754300777111.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628754300777111.jpg deleted file mode 100644 index 3d0e5708..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628754300777111.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628767095273914.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628767095273914.jpg deleted file mode 100644 index 569f6341..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628767095273914.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628774528632168.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628774528632168.jpg deleted file mode 100644 index c7b21528..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628774528632168.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628793012554511.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628793012554511.jpg deleted file mode 100644 index a27d3af6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628793012554511.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628844548704703.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628844548704703.jpg deleted file mode 100644 index 08a43324..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628844548704703.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628853153960678.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628853153960678.jpg deleted file mode 100644 index f30be143..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628853153960678.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628881131348753.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628881131348753.jpg deleted file mode 100644 index 5be2fc3a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628881131348753.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628883910710983.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628883910710983.jpg deleted file mode 100644 index 5fb22f98..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628883910710983.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628884116865791.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628884116865791.jpg deleted file mode 100644 index 3634c832..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628884116865791.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628884198796792.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628884198796792.jpg deleted file mode 100644 index d5856a8b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628884198796792.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628892318211191.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628892318211191.jpg deleted file mode 100644 index 22a05332..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628892318211191.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628893998041183.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628893998041183.jpg deleted file mode 100644 index 15849e53..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628893998041183.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628898856518137.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628898856518137.jpg deleted file mode 100644 index c12d8884..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628898856518137.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628900672876449.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628900672876449.jpg deleted file mode 100644 index 5043f07c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628900672876449.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628905287988870.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628905287988870.jpg deleted file mode 100644 index 71d6e140..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628905287988870.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628906953567132.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628906953567132.jpg deleted file mode 100644 index cf9611fe..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628906953567132.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628907902543062.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638628907902543062.jpg deleted file mode 100644 index 0efe05e0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638628907902543062.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638629667602446011.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638629667602446011.jpg deleted file mode 100644 index b23b50ca..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638629667602446011.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638630497351726213.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638630497351726213.jpg deleted file mode 100644 index cd3ff6a6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638630497351726213.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638630604156221946.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638630604156221946.jpg deleted file mode 100644 index ac9e6e35..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638630604156221946.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638630605622644160.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638630605622644160.jpg deleted file mode 100644 index 76c3b72c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638630605622644160.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631124065857043.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631124065857043.jpg deleted file mode 100644 index a647ddab..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631124065857043.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631131653971664.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631131653971664.jpg deleted file mode 100644 index f480ac2f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631131653971664.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631135747389605.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631135747389605.jpg deleted file mode 100644 index 1497d755..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631135747389605.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631135812165876.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631135812165876.jpg deleted file mode 100644 index 900909e0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631135812165876.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631140669679906.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631140669679906.jpg deleted file mode 100644 index 8a97f430..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631140669679906.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631142766552059.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631142766552059.jpg deleted file mode 100644 index 05ff7b75..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631142766552059.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631153110300652.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631153110300652.jpg deleted file mode 100644 index 293b8496..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631153110300652.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631154807132389.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631154807132389.jpg deleted file mode 100644 index 911924a8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631154807132389.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631157490264385.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631157490264385.jpg deleted file mode 100644 index 5be8edab..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631157490264385.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631293042106139.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631293042106139.jpg deleted file mode 100644 index 7e8ff91a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631293042106139.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631297438881909.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631297438881909.jpg deleted file mode 100644 index 1ded0f44..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631297438881909.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631300805064115.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631300805064115.jpg deleted file mode 100644 index 607e33f0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631300805064115.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631302527145938.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631302527145938.jpg deleted file mode 100644 index 7ba039cd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631302527145938.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631304425481942.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631304425481942.jpg deleted file mode 100644 index c9528006..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631304425481942.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631309123497976.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631309123497976.jpg deleted file mode 100644 index 2023accf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631309123497976.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631314669746596.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631314669746596.jpg deleted file mode 100644 index 7214b479..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631314669746596.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631324634088834.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631324634088834.jpg deleted file mode 100644 index 5d8f3218..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631324634088834.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631327895488547.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638631327895488547.jpg deleted file mode 100644 index f9044b84..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638631327895488547.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638640061530659312.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638640061530659312.jpg deleted file mode 100644 index faa5db69..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638640061530659312.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638640063342591510.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638640063342591510.jpg deleted file mode 100644 index 30cf1b4e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638640063342591510.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638640068376211711.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638640068376211711.jpg deleted file mode 100644 index 586f9db8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638640068376211711.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638640830188981368.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638640830188981368.jpg deleted file mode 100644 index 05903806..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638640830188981368.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641704018103858.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638641704018103858.jpg deleted file mode 100644 index 31f22e5f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641704018103858.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641778809876258.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638641778809876258.jpg deleted file mode 100644 index b4d2e39e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641778809876258.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641815053449865.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638641815053449865.jpg deleted file mode 100644 index a6bac202..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641815053449865.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641833662153331.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638641833662153331.jpg deleted file mode 100644 index d0a8701d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641833662153331.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641836635200535.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638641836635200535.jpg deleted file mode 100644 index 00c40484..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641836635200535.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641838713920218.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638641838713920218.jpg deleted file mode 100644 index 3641c005..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641838713920218.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641838886732551.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638641838886732551.jpg deleted file mode 100644 index 83d4174c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638641838886732551.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638642370833942444.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638642370833942444.jpg deleted file mode 100644 index 159334c7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638642370833942444.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638647795904324835.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638647795904324835.jpg deleted file mode 100644 index 51d91450..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638647795904324835.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638648372867666825.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638648372867666825.jpg deleted file mode 100644 index 55887386..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638648372867666825.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373178780170.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373178780170.jpg deleted file mode 100644 index c07d702c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373178780170.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373287285926.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373287285926.jpg deleted file mode 100644 index abc36b24..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373287285926.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373352294858.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373352294858.jpg deleted file mode 100644 index 0377bc40..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638648373352294858.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652040834238715.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638652040834238715.jpg deleted file mode 100644 index 7736914d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652040834238715.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652040918906742.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638652040918906742.jpg deleted file mode 100644 index 430a25fb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652040918906742.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652045505421020.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638652045505421020.jpg deleted file mode 100644 index 35b7604b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652045505421020.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652769473294306.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638652769473294306.jpg deleted file mode 100644 index 8449a134..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652769473294306.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652786092845419.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638652786092845419.jpg deleted file mode 100644 index 043bc36f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652786092845419.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652788000017395.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638652788000017395.jpg deleted file mode 100644 index fca1bb6d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652788000017395.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652893333987384.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638652893333987384.jpg deleted file mode 100644 index 45a73441..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652893333987384.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652900146164965.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638652900146164965.jpg deleted file mode 100644 index 5d288b88..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638652900146164965.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638653116621942097.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638653116621942097.jpg deleted file mode 100644 index c9d6eb7d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638653116621942097.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638654446668433780.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638654446668433780.jpg deleted file mode 100644 index 10039933..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638654446668433780.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657275906267168.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657275906267168.jpg deleted file mode 100644 index ad2aeb03..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657275906267168.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657352033332408.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657352033332408.jpg deleted file mode 100644 index 72bf16a4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657352033332408.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353029421326.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353029421326.jpg deleted file mode 100644 index 4515f96c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353029421326.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353451303531.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353451303531.jpg deleted file mode 100644 index ec36a237..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353451303531.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353544345357.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353544345357.jpg deleted file mode 100644 index 37ebb996..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353544345357.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353666906515.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353666906515.jpg deleted file mode 100644 index 9db013d5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353666906515.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353694337944.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353694337944.jpg deleted file mode 100644 index 7be90303..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353694337944.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353696187749.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353696187749.jpg deleted file mode 100644 index 2437aa31..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353696187749.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353697775743.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353697775743.jpg deleted file mode 100644 index 5a6146f1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657353697775743.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354825171747.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354825171747.jpg deleted file mode 100644 index c27842dc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354825171747.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354853703567.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354853703567.jpg deleted file mode 100644 index ed80186f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354853703567.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354942683526.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354942683526.jpg deleted file mode 100644 index e610a0ec..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354942683526.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354964909131.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354964909131.jpg deleted file mode 100644 index e3f1e12d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657354964909131.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657355852066500.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657355852066500.jpg deleted file mode 100644 index 783a4e73..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657355852066500.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657952651287978.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638657952651287978.jpg deleted file mode 100644 index f68c9930..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638657952651287978.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658128256155535.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658128256155535.jpg deleted file mode 100644 index 3551dbc4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658128256155535.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658128335293498.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658128335293498.jpg deleted file mode 100644 index 8dcefd90..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658128335293498.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658144972472862.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658144972472862.jpg deleted file mode 100644 index f3950081..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658144972472862.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658145029245864.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658145029245864.jpg deleted file mode 100644 index 0718b685..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658145029245864.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658163212099335.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658163212099335.jpg deleted file mode 100644 index 2e5c412f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658163212099335.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658186282168502.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658186282168502.jpg deleted file mode 100644 index f1512743..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658186282168502.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658191472044127.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658191472044127.jpg deleted file mode 100644 index 90cc32fe..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658191472044127.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658208050047430.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658208050047430.jpg deleted file mode 100644 index c28d7e7e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658208050047430.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658210335968255.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658210335968255.jpg deleted file mode 100644 index a7c4fa4e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658210335968255.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658214807836288.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658214807836288.jpg deleted file mode 100644 index 008fb1c0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658214807836288.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658224533599320.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658224533599320.jpg deleted file mode 100644 index f3cb587d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658224533599320.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658224666942395.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658224666942395.jpg deleted file mode 100644 index 5c8f28c5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658224666942395.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658264996044032.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658264996044032.jpg deleted file mode 100644 index 96e1d2df..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658264996044032.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658268896315154.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658268896315154.jpg deleted file mode 100644 index 45b15541..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658268896315154.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658269344883112.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658269344883112.jpg deleted file mode 100644 index 1aa1381f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658269344883112.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658274268703838.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658274268703838.jpg deleted file mode 100644 index cd43e5eb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658274268703838.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658757414600747.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638658757414600747.jpg deleted file mode 100644 index 45d77571..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638658757414600747.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659112767630350.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659112767630350.jpg deleted file mode 100644 index 5513910b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659112767630350.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659700766732240.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659700766732240.jpg deleted file mode 100644 index a80244f1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659700766732240.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659815070928332.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659815070928332.jpg deleted file mode 100644 index 9658c0ba..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659815070928332.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659831671579010.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659831671579010.jpg deleted file mode 100644 index 1edb5c26..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659831671579010.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659860594953420.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659860594953420.jpg deleted file mode 100644 index afc26f83..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659860594953420.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659860671905715.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659860671905715.jpg deleted file mode 100644 index e6ae6136..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659860671905715.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659875140208964.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659875140208964.jpg deleted file mode 100644 index 8d795ece..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659875140208964.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659876370832289.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659876370832289.jpg deleted file mode 100644 index 0af54414..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659876370832289.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659881405210330.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659881405210330.jpg deleted file mode 100644 index 15de7c11..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659881405210330.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659887440750121.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659887440750121.jpg deleted file mode 100644 index 59464b24..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659887440750121.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659888925675751.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659888925675751.jpg deleted file mode 100644 index 56037138..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659888925675751.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659889862014429.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659889862014429.jpg deleted file mode 100644 index 2667f77e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659889862014429.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659890948150069.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659890948150069.jpg deleted file mode 100644 index 594c5106..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659890948150069.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659896355210873.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659896355210873.jpg deleted file mode 100644 index 50ff5813..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659896355210873.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659901523264005.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659901523264005.jpg deleted file mode 100644 index b08a4987..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659901523264005.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659910548181358.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659910548181358.jpg deleted file mode 100644 index 14319546..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659910548181358.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659910761208011.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659910761208011.jpg deleted file mode 100644 index 262e814a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659910761208011.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659926716568209.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659926716568209.jpg deleted file mode 100644 index 3c8d9b1f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659926716568209.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659929999793662.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638659929999793662.jpg deleted file mode 100644 index 30f89aac..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638659929999793662.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660502646551093.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660502646551093.jpg deleted file mode 100644 index 18902655..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660502646551093.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660505232288796.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660505232288796.jpg deleted file mode 100644 index a33c21b9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660505232288796.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660510800305082.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660510800305082.jpg deleted file mode 100644 index 59993867..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660510800305082.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660512975992167.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660512975992167.jpg deleted file mode 100644 index 980a328c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660512975992167.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660514806850961.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660514806850961.jpg deleted file mode 100644 index a4db081c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660514806850961.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660531669815917.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660531669815917.jpg deleted file mode 100644 index 83b1d866..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660531669815917.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660540414977384.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660540414977384.jpg deleted file mode 100644 index 749b1400..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660540414977384.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660674972304173.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660674972304173.jpg deleted file mode 100644 index f9b872a3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660674972304173.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660701646446556.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660701646446556.jpg deleted file mode 100644 index 5e22cca0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660701646446556.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660750008689055.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660750008689055.jpg deleted file mode 100644 index 6a1b6f84..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660750008689055.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660763845873872.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660763845873872.jpg deleted file mode 100644 index 6b0036fe..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660763845873872.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660763929225639.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660763929225639.jpg deleted file mode 100644 index abd70535..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660763929225639.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660764100727376.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660764100727376.jpg deleted file mode 100644 index 1f58f63f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660764100727376.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660776209752828.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660776209752828.jpg deleted file mode 100644 index 8476c1f9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660776209752828.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784210538807.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784210538807.jpg deleted file mode 100644 index 216361d2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784210538807.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784322112540.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784322112540.jpg deleted file mode 100644 index 688c2da3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784322112540.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784349729479.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784349729479.jpg deleted file mode 100644 index 2c414e07..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660784349729479.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660785446805753.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660785446805753.jpg deleted file mode 100644 index 9dc754e9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660785446805753.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660786117040473.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660786117040473.jpg deleted file mode 100644 index 1cc031f7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660786117040473.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660797581458643.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660797581458643.jpg deleted file mode 100644 index 441b946e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660797581458643.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660797611736666.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660797611736666.jpg deleted file mode 100644 index 09bedde7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660797611736666.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660798164859962.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660798164859962.jpg deleted file mode 100644 index 32d74ddd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660798164859962.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660798618861545.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660798618861545.jpg deleted file mode 100644 index b57cd586..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660798618861545.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660801624315271.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660801624315271.jpg deleted file mode 100644 index ea39c357..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660801624315271.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660805925699442.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660805925699442.jpg deleted file mode 100644 index 93fefeff..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660805925699442.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660807214691311.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660807214691311.jpg deleted file mode 100644 index a8de997f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660807214691311.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808594728632.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808594728632.jpg deleted file mode 100644 index a7bef07c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808594728632.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808691419879.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808691419879.jpg deleted file mode 100644 index 87d4c6f2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808691419879.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808724529786.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808724529786.jpg deleted file mode 100644 index 09b29482..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660808724529786.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660811007603506.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660811007603506.jpg deleted file mode 100644 index 00d08a2a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660811007603506.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660812386921433.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660812386921433.jpg deleted file mode 100644 index a81aee46..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660812386921433.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660815080498076.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660815080498076.jpg deleted file mode 100644 index 632f9936..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660815080498076.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660853176038972.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660853176038972.jpg deleted file mode 100644 index 1c5c0ef7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660853176038972.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660860695678039.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660860695678039.jpg deleted file mode 100644 index f5dc5907..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660860695678039.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660868067309021.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638660868067309021.jpg deleted file mode 100644 index 3edf6c85..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638660868067309021.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638661340707951315.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638661340707951315.jpg deleted file mode 100644 index eb3ef5a1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638661340707951315.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112211366228.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112211366228.jpg deleted file mode 100644 index 3170be6a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112211366228.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112313823721.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112313823721.jpg deleted file mode 100644 index 63daf5e6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112313823721.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112619222687.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112619222687.jpg deleted file mode 100644 index 1cc685c4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663112619222687.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663139204833363.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663139204833363.jpg deleted file mode 100644 index 9851d5e2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663139204833363.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663143720531572.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663143720531572.jpg deleted file mode 100644 index d3646808..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663143720531572.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663289866113875.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663289866113875.jpg deleted file mode 100644 index cac17ed1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663289866113875.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663289938420585.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663289938420585.jpg deleted file mode 100644 index dd744074..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663289938420585.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663290021849807.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663290021849807.jpg deleted file mode 100644 index 58a2e5e4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663290021849807.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663292583476428.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663292583476428.jpg deleted file mode 100644 index 5997bc9c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663292583476428.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663297737384298.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663297737384298.jpg deleted file mode 100644 index ec3e3f90..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663297737384298.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663310061995240.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663310061995240.jpg deleted file mode 100644 index 4f47a69d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663310061995240.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663424690248482.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663424690248482.jpg deleted file mode 100644 index ed9c39e4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663424690248482.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663432423238382.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663432423238382.jpg deleted file mode 100644 index 0eb31e25..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663432423238382.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663435112595105.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663435112595105.jpg deleted file mode 100644 index d055c07f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663435112595105.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663436112153661.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663436112153661.jpg deleted file mode 100644 index 0d267095..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663436112153661.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663438801417430.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663438801417430.jpg deleted file mode 100644 index ce2db102..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663438801417430.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663440299493999.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663440299493999.jpg deleted file mode 100644 index 5fbf85ac..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663440299493999.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663444913866068.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663444913866068.jpg deleted file mode 100644 index d6a1c99b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663444913866068.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663448454527368.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638663448454527368.jpg deleted file mode 100644 index d8e7c3b9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638663448454527368.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664150497037033.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664150497037033.jpg deleted file mode 100644 index f3d4aa1a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664150497037033.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167050204566.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167050204566.jpg deleted file mode 100644 index 74561b53..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167050204566.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167175803892.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167175803892.jpg deleted file mode 100644 index 47485959..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167175803892.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167341800209.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167341800209.jpg deleted file mode 100644 index 1941f9c1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664167341800209.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664171735331499.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664171735331499.jpg deleted file mode 100644 index 660cb636..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664171735331499.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664199515913607.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664199515913607.jpg deleted file mode 100644 index fe8c0a74..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664199515913607.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664227213937561.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664227213937561.jpg deleted file mode 100644 index 82b8962f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664227213937561.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664325795430186.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664325795430186.jpg deleted file mode 100644 index e2beeea4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664325795430186.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664817342294740.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664817342294740.jpg deleted file mode 100644 index 48037b84..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664817342294740.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664823917596822.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664823917596822.jpg deleted file mode 100644 index af586ffc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664823917596822.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664825591625212.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664825591625212.jpg deleted file mode 100644 index bec70edc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664825591625212.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664830707444525.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664830707444525.jpg deleted file mode 100644 index 39795597..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664830707444525.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664832937024646.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664832937024646.jpg deleted file mode 100644 index 78a4186a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664832937024646.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664853023446617.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664853023446617.jpg deleted file mode 100644 index 9922a7e6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664853023446617.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664855510707781.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664855510707781.jpg deleted file mode 100644 index ee0a1e5a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664855510707781.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664892881062814.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638664892881062814.jpg deleted file mode 100644 index f9344feb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638664892881062814.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665007215358188.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665007215358188.jpg deleted file mode 100644 index 9c3860c9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665007215358188.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665008778292133.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665008778292133.jpg deleted file mode 100644 index 183ff41b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665008778292133.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665013031283590.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665013031283590.jpg deleted file mode 100644 index b458460f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665013031283590.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665058802766173.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665058802766173.jpg deleted file mode 100644 index fac59f0a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665058802766173.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665058863758944.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665058863758944.jpg deleted file mode 100644 index 2449b1cf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665058863758944.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665085270480759.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665085270480759.jpg deleted file mode 100644 index f6924350..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665085270480759.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665091987443189.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665091987443189.jpg deleted file mode 100644 index 3f301b37..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665091987443189.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665095431898607.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665095431898607.jpg deleted file mode 100644 index 666b2e54..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665095431898607.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665097791595082.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665097791595082.jpg deleted file mode 100644 index be795adf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665097791595082.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665104889609186.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665104889609186.jpg deleted file mode 100644 index 7dfe5d30..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665104889609186.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665105778372073.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665105778372073.jpg deleted file mode 100644 index eb27b4bc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665105778372073.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665131376315778.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665131376315778.jpg deleted file mode 100644 index 5b005cd8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665131376315778.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665133983478665.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665133983478665.jpg deleted file mode 100644 index d5da3203..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665133983478665.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665169306776440.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665169306776440.jpg deleted file mode 100644 index 7bab701e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665169306776440.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665176154308627.jpg b/SGGL/FineUIPro.Web/FileUpload/Captcha/638665176154308627.jpg deleted file mode 100644 index 787a22a2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Captcha/638665176154308627.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638590733214652775_20231211145654.jpg b/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638590733214652775_20231211145654.jpg deleted file mode 100644 index 892aae71..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638590733214652775_20231211145654.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638590735367661684_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638590735367661684_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 0ea628c2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638590735367661684_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638591401176189118_637963731379062495_637963718588437838_IMG_20220714_110623.jpg b/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638591401176189118_637963731379062495_637963718588437838_IMG_20220714_110623.jpg deleted file mode 100644 index 1e257772..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638591401176189118_637963731379062495_637963718588437838_IMG_20220714_110623.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638591405813234567_637963732177187182_637963719888134354_IMG_20220721_120929.jpg b/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638591405813234567_637963732177187182_637963719888134354_IMG_20220721_120929.jpg deleted file mode 100644 index 7a73a04e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/CheckControl/2024-08/638591405813234567_637963732177187182_637963719888134354_IMG_20220721_120929.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/CoConstructionActivities/2025-02/638748864252160655_222.png b/SGGL/FineUIPro.Web/FileUpload/CoConstructionActivities/2025-02/638748864252160655_222.png new file mode 100644 index 00000000..3ae008e9 Binary files /dev/null and b/SGGL/FineUIPro.Web/FileUpload/CoConstructionActivities/2025-02/638748864252160655_222.png differ diff --git a/SGGL/FineUIPro.Web/FileUpload/ConstructionLog/2024-05/638515542143763734_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/ConstructionLog/2024-05/638515542143763734_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 0ea628c2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/ConstructionLog/2024-05/638515542143763734_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Examine/BonusScoreSituation/2025-02/638748932899212069_111.png b/SGGL/FineUIPro.Web/FileUpload/Examine/BonusScoreSituation/2025-02/638748932899212069_111.png new file mode 100644 index 00000000..91820e72 Binary files /dev/null and b/SGGL/FineUIPro.Web/FileUpload/Examine/BonusScoreSituation/2025-02/638748932899212069_111.png differ diff --git a/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785247718110_20231211145654.jpg b/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785247718110_20231211145654.jpg deleted file mode 100644 index 892aae71..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785247718110_20231211145654.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785359398452_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785359398452_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 0ea628c2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785359398452_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785635427549_637963730758906956_637963724131726322_mmexport1654943574517.jpg b/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785635427549_637963730758906956_637963724131726322_mmexport1654943574517.jpg deleted file mode 100644 index e09dc30d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785635427549_637963730758906956_637963724131726322_mmexport1654943574517.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785729945506_637963731379062495_637963718588437838_IMG_20220714_110623.jpg b/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785729945506_637963731379062495_637963718588437838_IMG_20220714_110623.jpg deleted file mode 100644 index 1e257772..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/PictureAttachUrl/2024-10/638658785729945506_637963731379062495_637963718588437838_IMG_20220714_110623.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20223111043114174.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20223111043114174.jpg deleted file mode 100644 index 143133bd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20223111043114174.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20225426025422211.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20225426025422211.jpg deleted file mode 100644 index 910a87ba..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20225426025422211.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110214408.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110214408.jpg deleted file mode 100644 index 16889d7a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110214408.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215253.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215253.jpg deleted file mode 100644 index e31d5460..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215253.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215283.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215283.jpg deleted file mode 100644 index 9605f0f1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215283.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215291.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215291.jpg deleted file mode 100644 index 1d3728c8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215291.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215300.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215300.jpg deleted file mode 100644 index bf1fe2af..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215300.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215306.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215306.jpg deleted file mode 100644 index cb03958c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215306.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215315.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215315.jpg deleted file mode 100644 index 7e07581e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215315.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215341.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215341.jpg deleted file mode 100644 index 4f8ba9ed..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215341.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215350.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215350.jpg deleted file mode 100644 index b7530bc6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215350.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215357.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215357.jpg deleted file mode 100644 index 0e9c99b3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215357.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215365.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215365.jpg deleted file mode 100644 index b34c7658..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215365.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215371.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215371.jpg deleted file mode 100644 index e69dcabc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215371.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215395.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215395.jpg deleted file mode 100644 index b15fdb4b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215395.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215404.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215404.jpg deleted file mode 100644 index bdfb7ee9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215404.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215428.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215428.jpg deleted file mode 100644 index 8606f798..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215428.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215439.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215439.jpg deleted file mode 100644 index 6ea21e4a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215439.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215447.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215447.jpg deleted file mode 100644 index 2278cfb5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215447.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215455.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215455.jpg deleted file mode 100644 index 651f7b79..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215455.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215470.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215470.jpg deleted file mode 100644 index 5d663c25..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215470.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215476.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215476.jpg deleted file mode 100644 index 125d5b1a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215476.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215484.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215484.jpg deleted file mode 100644 index 2d993465..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215484.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215492.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215492.jpg deleted file mode 100644 index 949a6ad7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215492.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215527.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215527.jpg deleted file mode 100644 index 00785a74..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215527.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215534.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215534.jpg deleted file mode 100644 index 14d5f6bd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215534.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215541.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215541.jpg deleted file mode 100644 index 75038831..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215541.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215549.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215549.jpg deleted file mode 100644 index 2f4c5a32..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215549.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215557.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215557.jpg deleted file mode 100644 index 48ad78d9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215557.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215569.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215569.jpg deleted file mode 100644 index 1d011d17..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215569.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215577.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215577.jpg deleted file mode 100644 index 0c56d3b4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215577.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215584.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215584.jpg deleted file mode 100644 index 1de34435..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215584.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215591.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215591.jpg deleted file mode 100644 index 18bc21d8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215591.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215598.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215598.jpg deleted file mode 100644 index 7324c62d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215598.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215606.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215606.jpg deleted file mode 100644 index b2530441..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215606.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215614.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215614.jpg deleted file mode 100644 index c0255392..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215614.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215621.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215621.jpg deleted file mode 100644 index 59cd54d8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215621.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215657.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215657.jpg deleted file mode 100644 index 334338f5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215657.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215683.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215683.jpg deleted file mode 100644 index 3c25b157..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215683.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215700.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215700.jpg deleted file mode 100644 index a0e1588f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215700.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215735.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215735.jpg deleted file mode 100644 index f14d26fc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215735.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215743.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215743.jpg deleted file mode 100644 index 87daa7b7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215743.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215751.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215751.jpg deleted file mode 100644 index ff41d664..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215751.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215757.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215757.jpg deleted file mode 100644 index cd1b1aee..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215757.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215766.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215766.jpg deleted file mode 100644 index aa9c74f8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215766.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215772.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215772.jpg deleted file mode 100644 index 1a77ef68..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215772.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215779.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215779.jpg deleted file mode 100644 index cb223d0e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215779.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215785.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215785.jpg deleted file mode 100644 index ec7bc3cd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215785.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215793.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215793.jpg deleted file mode 100644 index 045132d7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215793.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215800.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215800.jpg deleted file mode 100644 index 14bbde16..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215800.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215807.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215807.jpg deleted file mode 100644 index 760dfb3f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215807.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215813.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215813.jpg deleted file mode 100644 index 4c01f000..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215813.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215820.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215820.jpg deleted file mode 100644 index dbbbbf56..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215820.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215826.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215826.jpg deleted file mode 100644 index ecff2534..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215826.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215833.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215833.jpg deleted file mode 100644 index 333ba265..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215833.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215840.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215840.jpg deleted file mode 100644 index 4c766105..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215840.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215846.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215846.jpg deleted file mode 100644 index aee37c1a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215846.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215853.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215853.jpg deleted file mode 100644 index 023b771b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215853.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215860.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215860.jpg deleted file mode 100644 index 6ca916a3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215860.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215868.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215868.jpg deleted file mode 100644 index 6fd68d0d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215868.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215874.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215874.jpg deleted file mode 100644 index 2a2cf4c3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215874.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215904.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215904.jpg deleted file mode 100644 index 883e11e1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215904.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215944.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215944.jpg deleted file mode 100644 index 08ec5e21..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215944.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215968.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215968.jpg deleted file mode 100644 index ac04a42a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215968.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215980.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215980.jpg deleted file mode 100644 index 19ddc014..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215980.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215999.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215999.jpg deleted file mode 100644 index 15880554..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110215999.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216036.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216036.jpg deleted file mode 100644 index 5f9b67e6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216036.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216068.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216068.jpg deleted file mode 100644 index a54eec12..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216068.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216102.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216102.jpg deleted file mode 100644 index 41f36a5e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216102.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216127.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216127.jpg deleted file mode 100644 index 384808ff..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216127.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216139.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216139.jpg deleted file mode 100644 index a19e5cea..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216139.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216149.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216149.jpg deleted file mode 100644 index 89bc787c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216149.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216157.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216157.jpg deleted file mode 100644 index 4810ab75..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216157.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216165.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216165.jpg deleted file mode 100644 index 87fa9380..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216165.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216173.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216173.jpg deleted file mode 100644 index 6b203a03..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216173.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216180.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216180.jpg deleted file mode 100644 index 47dbb25e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216180.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216187.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216187.jpg deleted file mode 100644 index 9093a646..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216187.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216193.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216193.jpg deleted file mode 100644 index a43fa97d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216193.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216200.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216200.jpg deleted file mode 100644 index 40668290..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216200.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216207.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216207.jpg deleted file mode 100644 index 0e981160..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216207.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216214.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216214.jpg deleted file mode 100644 index de707890..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216214.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216220.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216220.jpg deleted file mode 100644 index 5d82e824..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216220.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216227.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216227.jpg deleted file mode 100644 index 21680926..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216227.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216233.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216233.jpg deleted file mode 100644 index 6b8334b6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216233.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216240.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216240.jpg deleted file mode 100644 index e1bb9170..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216240.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216247.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216247.jpg deleted file mode 100644 index 4da4fbd2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216247.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216254.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216254.jpg deleted file mode 100644 index bfea4048..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216254.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216288.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216288.jpg deleted file mode 100644 index 372ceb82..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216288.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216297.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216297.jpg deleted file mode 100644 index fc85d310..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216297.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216331.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216331.jpg deleted file mode 100644 index a383dcb7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216331.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216365.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216365.jpg deleted file mode 100644 index 7d1d76f6..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216365.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216376.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216376.jpg deleted file mode 100644 index 02cce0ba..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216376.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216388.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216388.jpg deleted file mode 100644 index 389a131e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216388.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216412.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216412.jpg deleted file mode 100644 index e6740898..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216412.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216421.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216421.jpg deleted file mode 100644 index 019abee7..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216421.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216455.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216455.jpg deleted file mode 100644 index dfee65d1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216455.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216467.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216467.jpg deleted file mode 100644 index 7c0f683c..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216467.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216486.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216486.jpg deleted file mode 100644 index 9d514c7b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216486.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216518.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216518.jpg deleted file mode 100644 index 4004d7a2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216518.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216547.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216547.jpg deleted file mode 100644 index 865a3b9b..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216547.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216578.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216578.jpg deleted file mode 100644 index d8cc63c9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216578.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216615.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216615.jpg deleted file mode 100644 index b8c1e259..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216615.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216627.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216627.jpg deleted file mode 100644 index 046b0340..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216627.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216639.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216639.jpg deleted file mode 100644 index ba009be2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216639.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216650.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216650.jpg deleted file mode 100644 index fb7675ab..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216650.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216672.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216672.jpg deleted file mode 100644 index 5d63ee49..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216672.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216697.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216697.jpg deleted file mode 100644 index 984f3c6d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216697.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216719.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216719.jpg deleted file mode 100644 index f2674665..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216719.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216729.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216729.jpg deleted file mode 100644 index a9bbe91d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216729.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216750.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216750.jpg deleted file mode 100644 index ab8f9dca..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216750.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216783.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216783.jpg deleted file mode 100644 index f539c95d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216783.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216814.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216814.jpg deleted file mode 100644 index a16e3f43..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216814.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216822.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216822.jpg deleted file mode 100644 index b4c8df5a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216822.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216843.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216843.jpg deleted file mode 100644 index 9c5f30d4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216843.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216873.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216873.jpg deleted file mode 100644 index 0b6778d2..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216873.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216907.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216907.jpg deleted file mode 100644 index 70450efe..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216907.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216920.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216920.jpg deleted file mode 100644 index 18c734f1..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216920.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216954.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216954.jpg deleted file mode 100644 index 4505e4d9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216954.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216965.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216965.jpg deleted file mode 100644 index b3d86113..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216965.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216999.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216999.jpg deleted file mode 100644 index e667c695..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110216999.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217011.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217011.jpg deleted file mode 100644 index cd966899..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217011.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217031.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217031.jpg deleted file mode 100644 index 2c3bd086..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217031.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217041.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217041.jpg deleted file mode 100644 index fe5f717d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217041.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217054.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217054.jpg deleted file mode 100644 index 69160d05..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217054.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217064.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217064.jpg deleted file mode 100644 index fef95c01..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217064.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217094.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217094.jpg deleted file mode 100644 index 9efa5dbf..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217094.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217102.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217102.jpg deleted file mode 100644 index 140b0986..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217102.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217122.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217122.jpg deleted file mode 100644 index 4e0d63dd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217122.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217153.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217153.jpg deleted file mode 100644 index b7cbc81e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217153.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217184.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217184.jpg deleted file mode 100644 index 80cb6ad3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217184.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217214.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217214.jpg deleted file mode 100644 index e8688092..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217214.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217236.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217236.jpg deleted file mode 100644 index fa98b2bd..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217236.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217264.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217264.jpg deleted file mode 100644 index b59b66a4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217264.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217294.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217294.jpg deleted file mode 100644 index b13e282f..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217294.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217318.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217318.jpg deleted file mode 100644 index ca279f78..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217318.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217346.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217346.jpg deleted file mode 100644 index 5746e78e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217346.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217359.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217359.jpg deleted file mode 100644 index 32a55f21..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217359.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217379.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217379.jpg deleted file mode 100644 index 5b2d9b75..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217379.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217408.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217408.jpg deleted file mode 100644 index 79c53b94..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217408.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217420.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217420.jpg deleted file mode 100644 index d9e3b6a5..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217420.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217458.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217458.jpg deleted file mode 100644 index c3d1d149..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217458.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217482.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217482.jpg deleted file mode 100644 index 00981e0a..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217482.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217503.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217503.jpg deleted file mode 100644 index e0030183..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217503.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217514.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217514.jpg deleted file mode 100644 index 626bdd45..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217514.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217549.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217549.jpg deleted file mode 100644 index 4bf53c3d..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217549.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217570.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217570.jpg deleted file mode 100644 index 31d4a781..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217570.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217600.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217600.jpg deleted file mode 100644 index 9a5c0adb..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217600.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217610.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217610.jpg deleted file mode 100644 index 0330c0f8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217610.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217629.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217629.jpg deleted file mode 100644 index a9fa5e24..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20230223110217629.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20232615112614661.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20232615112614661.jpg deleted file mode 100644 index 0c1e20a9..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20232615112614661.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230430.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230430.jpg deleted file mode 100644 index fd285860..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230430.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230552.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230552.jpg deleted file mode 100644 index d433abe0..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230552.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230580.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230580.jpg deleted file mode 100644 index f777e1a3..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230580.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230602.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230602.jpg deleted file mode 100644 index 986d1f69..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20233216103230602.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20234410104416821.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20234410104416821.jpg deleted file mode 100644 index c3ec93d4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20234410104416821.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20234410104417030.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20234410104417030.jpg deleted file mode 100644 index ec03c5f8..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20234410104417030.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20240227110203621.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20240227110203621.jpg deleted file mode 100644 index 9586610e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20240227110203621.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20242017102019377.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20242017102019377.jpg deleted file mode 100644 index 9268f8c4..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20242017102019377.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20243614073633113.jpg b/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20243614073633113.jpg deleted file mode 100644 index 2e6f83bc..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/QRCodeFile/20243614073633113.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/RoutingInspection/20227/2022-07/637946231028335576_寤烘姇璐﹀彿.txt b/SGGL/FineUIPro.Web/FileUpload/RoutingInspection/20227/2022-07/637946231028335576_寤烘姇璐﹀彿.txt deleted file mode 100644 index 1e4ccb2a..00000000 --- a/SGGL/FineUIPro.Web/FileUpload/RoutingInspection/20227/2022-07/637946231028335576_寤烘姇璐﹀彿.txt +++ /dev/null @@ -1,8 +0,0 @@ -https://qhse.cncecci.com/HSSE -sysgly -CNCECCI.1234 - -鍒嗗叕鍙 榛勫潳 huangk 203.0016 - - -椤圭洰 鏉庢竻绁 liqx 203.3039 \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/FileUpload/SharingOfSafetyExperience/2025-02/638748699221013912_111.png b/SGGL/FineUIPro.Web/FileUpload/SharingOfSafetyExperience/2025-02/638748699221013912_111.png new file mode 100644 index 00000000..91820e72 Binary files /dev/null and b/SGGL/FineUIPro.Web/FileUpload/SharingOfSafetyExperience/2025-02/638748699221013912_111.png differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971056697205733_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971056697205733_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 24a32068..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971056697205733_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971067613912793_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971067613912793_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 24a32068..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971067613912793_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971070088658496_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971070088658496_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 24a32068..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971070088658496_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971070923496211_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971070923496211_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 24a32068..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971070923496211_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971074397566202_637963730600938311_IMG_20220806_120130.jpg b/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971074397566202_637963730600938311_IMG_20220806_120130.jpg deleted file mode 100644 index 24a32068..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/Solution/2022-08/637971074397566202_637963730600938311_IMG_20220806_120130.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/VisaApplication/2022-08/637961564381238578_鏅烘収宸ュ湴鍜4D琛旀帴浜嬮」.docx b/SGGL/FineUIPro.Web/FileUpload/VisaApplication/2022-08/637961564381238578_鏅烘収宸ュ湴鍜4D琛旀帴浜嬮」.docx deleted file mode 100644 index f5a0f073..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/VisaApplication/2022-08/637961564381238578_鏅烘収宸ュ湴鍜4D琛旀帴浜嬮」.docx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/WeldMat/StockIn/2024-10/638659898809945879_3.jpg b/SGGL/FineUIPro.Web/FileUpload/WeldMat/StockIn/2024-10/638659898809945879_3.jpg deleted file mode 100644 index 0f245f8e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/WeldMat/StockIn/2024-10/638659898809945879_3.jpg and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index a1369abc..f6e672aa 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -113,6 +113,9 @@ False + + ..\packages\MiniExcel.1.38.0\lib\net45\MiniExcel.dll + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll @@ -1751,6 +1754,7 @@ + @@ -1921,6 +1925,22 @@ + + + + + + + + + + + + + + + + @@ -2180,6 +2200,23 @@ + + + + + + + + + + + + + + + + + @@ -2224,6 +2261,7 @@ + @@ -3049,6 +3087,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -11851,6 +11963,13 @@ DriverManagerView.aspx + + BoardData.aspx + ASPXCodeBehind + + + BoardData.aspx + CheckColligation.aspx ASPXCodeBehind @@ -13041,6 +13160,118 @@ PersonListEdit.aspx + + MinusScoreSituation.aspx + ASPXCodeBehind + + + MinusScoreSituation.aspx + + + BonusScoreSituation.aspx + ASPXCodeBehind + + + BonusScoreSituation.aspx + + + MinusScoreSituationEdit.aspx + ASPXCodeBehind + + + MinusScoreSituationEdit.aspx + + + BonusScoreSituationEdit.aspx + ASPXCodeBehind + + + BonusScoreSituationEdit.aspx + + + LeadershipJoinHomeworkAnalysisMeeting.aspx + ASPXCodeBehind + + + LeadershipJoinHomeworkAnalysisMeeting.aspx + + + LeadershipJoinHomeworkAnalysisMeetingEdit.aspx + ASPXCodeBehind + + + LeadershipJoinHomeworkAnalysisMeetingEdit.aspx + + + CoConstructionActivities.aspx + ASPXCodeBehind + + + CoConstructionActivities.aspx + + + CoConstructionActivitiesEdit.aspx + ASPXCodeBehind + + + CoConstructionActivitiesEdit.aspx + + + BehavioralSafetyObservation.aspx + ASPXCodeBehind + + + BehavioralSafetyObservation.aspx + + + BehavioralSafetyObservationEdit.aspx + ASPXCodeBehind + + + BehavioralSafetyObservationEdit.aspx + + + OnePersonPerFile.aspx + ASPXCodeBehind + + + OnePersonPerFile.aspx + + + StaffHSEInfoArchives.aspx + ASPXCodeBehind + + + StaffHSEInfoArchives.aspx + + + SharingOfSafetyExperience.aspx + ASPXCodeBehind + + + SharingOfSafetyExperience.aspx + + + PersonalSafetyActionPlan.aspx + ASPXCodeBehind + + + PersonalSafetyActionPlan.aspx + + + SharingOfSafetyExperienceEdit.aspx + ASPXCodeBehind + + + SharingOfSafetyExperienceEdit.aspx + + + PersonalSafetyActionPlanEdit.aspx + ASPXCodeBehind + + + PersonalSafetyActionPlanEdit.aspx + FinalFileList.aspx ASPXCodeBehind @@ -14854,6 +15085,125 @@ PersonPerfomanceView.aspx + + Record.aspx + ASPXCodeBehind + + + Record.aspx + + + SelectPerson.aspx + ASPXCodeBehind + + + SelectPerson.aspx + + + Standard.aspx + ASPXCodeBehind + + + Standard.aspx + + + StandardDataIn.aspx + ASPXCodeBehind + + + StandardDataIn.aspx + + + CourseDataIn.aspx + ASPXCodeBehind + + + CourseDataIn.aspx + + + RecordEdit.aspx + ASPXCodeBehind + + + RecordEdit.aspx + + + StandardEdit.aspx + ASPXCodeBehind + + + StandardEdit.aspx + + + Teachers.aspx + ASPXCodeBehind + + + Teachers.aspx + + + TeachersEdit.aspx + ASPXCodeBehind + + + TeachersEdit.aspx + + + Method.aspx + ASPXCodeBehind + + + Method.aspx + + + MethodEdit.aspx + ASPXCodeBehind + + + MethodEdit.aspx + + + Course.aspx + ASPXCodeBehind + + + Course.aspx + + + Role.aspx + ASPXCodeBehind + + + Role.aspx + + + Category.aspx + ASPXCodeBehind + + + Category.aspx + + + CourseEdit.aspx + ASPXCodeBehind + + + CourseEdit.aspx + + + RoleEdit.aspx + ASPXCodeBehind + + + RoleEdit.aspx + + + CategoryEdit.aspx + ASPXCodeBehind + + + CategoryEdit.aspx + EquipmentPersonQuality.aspx ASPXCodeBehind @@ -15162,6 +15512,13 @@ MonthReportView.aspx + + OnePersonPerFile.aspx + ASPXCodeBehind + + + OnePersonPerFile.aspx + PersonAskForLeaveEdit.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/HSSE/Check/ContactList.aspx b/SGGL/FineUIPro.Web/HSSE/Check/ContactList.aspx index d4d86856..6bfd25b3 100644 --- a/SGGL/FineUIPro.Web/HSSE/Check/ContactList.aspx +++ b/SGGL/FineUIPro.Web/HSSE/Check/ContactList.aspx @@ -79,7 +79,7 @@ TextAlign="Left"> diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx new file mode 100644 index 00000000..8cc6d7ed --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx @@ -0,0 +1,153 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BehavioralSafetyObservation.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.BehavioralSafetyObservation" %> + + + + + + + 琛屼负瀹夊叏瑙傚療涓庢矡閫 + + + + +
+ + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx.cs new file mode 100644 index 00000000..76c54c6a --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx.cs @@ -0,0 +1,306 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class BehavioralSafetyObservation : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("BehavioralSafetyObservationEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.Examine_BehavioralSafetyObservation + join y in db.Sys_User on x.UserId equals y.UserId + join z in db.Sys_User on x.CompileMan equals z.UserId + where x.ProjectId == this.ProjectId + && (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtUserName.Text.Trim()) || y.UserName.Contains(txtUserName.Text.Trim())) + && (string.IsNullOrEmpty(txtContent.Text.Trim()) || x.Content.Contains(txtContent.Text.Trim())) + select new + { + x.Id, + x.Code, + x.Name, + x.Content, + x.Remark, + x.DateTime, + x.CompileDate, + UserName = y.UserName, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.BehavioralSafetyObservationService.GetBehavioralSafetyObservationById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BehavioralSafetyObservationView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BehavioralSafetyObservationEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.BehavioralSafetyObservationService.GetBehavioralSafetyObservationById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.BehavioralSafetyObservationMenuId, BLL.Const.BtnDelete); + BLL.BehavioralSafetyObservationService.DeleteBehavioralSafetyObservationById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.BehavioralSafetyObservationMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + ///
+ /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("琛屼负瀹夊叏瑙傚療涓庢矡閫" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx.designer.cs new file mode 100644 index 00000000..5ece7c1b --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservation.aspx.designer.cs @@ -0,0 +1,197 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class BehavioralSafetyObservation + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtUserName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtUserName; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtContent; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx new file mode 100644 index 00000000..ebe032cc --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx @@ -0,0 +1,73 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BehavioralSafetyObservationEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.BehavioralSafetyObservationEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫琛屼负瀹夊叏瑙傚療涓庢矡閫 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx.cs new file mode 100644 index 00000000..e70d5546 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx.cs @@ -0,0 +1,165 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class BehavioralSafetyObservationEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + /// + /// 椤圭洰涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.Examine_BehavioralSafetyObservation model = BLL.BehavioralSafetyObservationService.GetBehavioralSafetyObservationById(this.Id); + if (model != null) + { + this.ProjectId = model.ProjectId; + if (this.ProjectId != this.CurrUser.LoginProjectId) + { + this.InitDropDownList(); + } + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", model.DateTime); + if (!string.IsNullOrEmpty(model.UserId)) + { + this.drpUser.SelectedValue = model.UserId; + } + this.txtRemark.Text = model.Remark; + this.txtContent.Text = model.Content; + //this.txtContent.Text = HttpUtility.HtmlDecode(model.Content); + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_BehavioralSafetyObservation", "Code", CurrUser.LoginProjectId); + //////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.BehavioralSafetyObservationMenuId, this.ProjectId, this.CurrUser.UnitId); + this.drpUser.SelectedValue = this.CurrUser.UserId; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + + /// + /// 鍒濆鍖栦笅鎷夋 + /// + private void InitDropDownList() + { + BLL.UserService.InitUserDropDownList(this.drpUser, this.ProjectId, false); + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.Examine_BehavioralSafetyObservation newModel = new Model.Examine_BehavioralSafetyObservation + { + ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + if (this.drpUser.SelectedValue != BLL.Const._Null) + { + newModel.UserId = this.drpUser.SelectedValue; + } + + newModel.DateTime = Funs.GetNewDateTime(this.txtDateTime.Text.Trim()); + newModel.Remark = this.txtRemark.Text.Trim(); + newModel.Name = this.txtName.Text.Trim(); + newModel.Content = this.txtContent.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.BehavioralSafetyObservationService.UpdateBehavioralSafetyObservation(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.BehavioralSafetyObservationMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.Examine_BehavioralSafetyObservation)); + newModel.Id = this.Id; + BLL.BehavioralSafetyObservationService.AddBehavioralSafetyObservation(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.BehavioralSafetyObservationMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + /// + /// 涓婁紶闄勪欢 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + SaveData(BLL.Const.BtnSave); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/Examine/BehavioralSafetyObservation&menuId={1}", Id, BLL.Const.BehavioralSafetyObservationMenuId))); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx.designer.cs new file mode 100644 index 00000000..f699cff5 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BehavioralSafetyObservationEdit.aspx.designer.cs @@ -0,0 +1,143 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class BehavioralSafetyObservationEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpUser 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUser; + + /// + /// txtDateTime 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DatePicker txtDateTime; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtContent; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnAttachUrl; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx new file mode 100644 index 00000000..76a76c7e --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx @@ -0,0 +1,167 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BonusScoreSituation.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.BonusScoreSituation" %> + + + + + + + 鑰冩牳鍔犲垎鎯呭喌 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx.cs new file mode 100644 index 00000000..f90159fa --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx.cs @@ -0,0 +1,310 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class BonusScoreSituation : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("BonusScoreSituationEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.Examine_BonusScoreSituation + join y in db.Sys_User on x.UserId equals y.UserId + join z in db.Sys_User on x.CompileMan equals z.UserId + where x.ProjectId == this.ProjectId + && (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(drpLevel.SelectedValue) || x.Level == drpLevel.SelectedValue) + && (string.IsNullOrEmpty(txtUserName.Text.Trim()) || y.UserName.Contains(txtUserName.Text.Trim())) + && (string.IsNullOrEmpty(txtContent.Text.Trim()) || x.Content.Contains(txtContent.Text.Trim())) + select new + { + x.Id, + x.Code, + x.Name, + x.Level, + x.LevelName, + x.Score, + x.Content, + x.Remark, + x.DateTime, + x.CompileDate, + UserName = y.UserName, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.BonusScoreSituationService.GetBonusScoreSituationById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BonusScoreSituationView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BonusScoreSituationEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.BonusScoreSituationService.GetBonusScoreSituationById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.BonusScoreSituationMenuId, BLL.Const.BtnDelete); + BLL.BonusScoreSituationService.DeleteBonusScoreSituationById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.BonusScoreSituationMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + ///
+ /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("鑰冩牳鍔犲垎鎯呭喌" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx.designer.cs new file mode 100644 index 00000000..5412fd88 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituation.aspx.designer.cs @@ -0,0 +1,206 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class BonusScoreSituation + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtUserName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtUserName; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtContent; + + /// + /// drpLevel 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpLevel; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx new file mode 100644 index 00000000..1a6089cf --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx @@ -0,0 +1,84 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BonusScoreSituationEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.BonusScoreSituationEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫鑰冩牳鍔犲垎鎯呭喌 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx.cs new file mode 100644 index 00000000..454e6d6b --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx.cs @@ -0,0 +1,182 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class BonusScoreSituationEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + /// + /// 椤圭洰涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.Examine_BonusScoreSituation model = BLL.BonusScoreSituationService.GetBonusScoreSituationById(this.Id); + if (model != null) + { + this.ProjectId = model.ProjectId; + if (this.ProjectId != this.CurrUser.LoginProjectId) + { + this.InitDropDownList(); + } + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", model.DateTime); + if (!string.IsNullOrEmpty(model.UserId)) + { + this.drpUser.SelectedValue = model.UserId; + } + this.drpLevel.SelectedValue = model.Level; + this.txtScore.Text = model.Score.ToString(); + this.txtRemark.Text = model.Remark; + this.txtContent.Text = model.Content; + //this.txtContent.Text = HttpUtility.HtmlDecode(model.Content); + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_BonusScoreSituation", "Code", CurrUser.LoginProjectId); + //////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.BonusScoreSituationMenuId, this.ProjectId, this.CurrUser.UnitId); + this.drpUser.SelectedValue = this.CurrUser.UserId; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + + /// + /// 鍒濆鍖栦笅鎷夋 + /// + private void InitDropDownList() + { + BLL.UserService.InitUserDropDownList(this.drpUser, this.ProjectId, false); + } + + /// + /// 绾у埆涓嬫媺鍔犺浇 + /// + /// + /// + protected void drpLevel_SelectedIndexChanged(object sender, EventArgs e) + { + var level = drpLevel.SelectedValue; + this.txtScore.Text = drpLevel.SelectedValue; + } + + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.Examine_BonusScoreSituation newModel = new Model.Examine_BonusScoreSituation + { + ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + if (this.drpUser.SelectedValue != BLL.Const._Null) + { + newModel.UserId = this.drpUser.SelectedValue; + } + + newModel.DateTime = Funs.GetNewDateTime(this.txtDateTime.Text.Trim()); + newModel.Name = this.txtName.Text.Trim(); + newModel.Level = drpLevel.SelectedValue; + newModel.LevelName = drpLevel.SelectedText; + newModel.Score = int.Parse(drpLevel.SelectedValue); + newModel.Remark = this.txtRemark.Text.Trim(); + newModel.Content = this.txtContent.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.BonusScoreSituationService.UpdateBonusScoreSituation(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.BonusScoreSituationMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.Examine_BonusScoreSituation)); + newModel.Id = this.Id; + BLL.BonusScoreSituationService.AddBonusScoreSituation(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.BonusScoreSituationMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + /// + /// 涓婁紶闄勪欢 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + SaveData(BLL.Const.BtnSave); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/Examine/BonusScoreSituation&menuId={1}", Id, BLL.Const.BonusScoreSituationMenuId))); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx.designer.cs new file mode 100644 index 00000000..97563099 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/BonusScoreSituationEdit.aspx.designer.cs @@ -0,0 +1,161 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class BonusScoreSituationEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpUser 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUser; + + /// + /// txtDateTime 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DatePicker txtDateTime; + + /// + /// drpLevel 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpLevel; + + /// + /// txtScore 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.NumberBox txtScore; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtContent; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnAttachUrl; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx new file mode 100644 index 00000000..ce7027c0 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx @@ -0,0 +1,153 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CoConstructionActivities.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.CoConstructionActivities" %> + + + + + + + 涓绾垮厷鍛樿仈绯荤彮缁勫叡寤烘椿鍔 + + + + +
+ + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx.cs new file mode 100644 index 00000000..62efd21f --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx.cs @@ -0,0 +1,306 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class CoConstructionActivities : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("CoConstructionActivitiesEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.Examine_CoConstructionActivities + join y in db.Sys_User on x.UserId equals y.UserId + join z in db.Sys_User on x.CompileMan equals z.UserId + where x.ProjectId == this.ProjectId + && (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtUserName.Text.Trim()) || y.UserName.Contains(txtUserName.Text.Trim())) + && (string.IsNullOrEmpty(txtContent.Text.Trim()) || x.Content.Contains(txtContent.Text.Trim())) + select new + { + x.Id, + x.Code, + x.Name, + x.Content, + x.Remark, + x.DateTime, + x.CompileDate, + UserName = y.UserName, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.CoConstructionActivitiesService.GetCoConstructionActivitiesById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CoConstructionActivitiesView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CoConstructionActivitiesEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.CoConstructionActivitiesService.GetCoConstructionActivitiesById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.CoConstructionActivitiesMenuId, BLL.Const.BtnDelete); + BLL.CoConstructionActivitiesService.DeleteCoConstructionActivitiesById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.CoConstructionActivitiesMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("涓汉瀹夊叏琛屽姩璁″垝" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx.designer.cs new file mode 100644 index 00000000..6f4a0795 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivities.aspx.designer.cs @@ -0,0 +1,197 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class CoConstructionActivities + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtUserName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtUserName; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtContent; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx new file mode 100644 index 00000000..986b992f --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx @@ -0,0 +1,73 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CoConstructionActivitiesEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.CoConstructionActivitiesEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫涓绾垮厷鍛樿仈绯荤彮缁勫叡寤烘椿鍔 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx.cs new file mode 100644 index 00000000..6e856999 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx.cs @@ -0,0 +1,165 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class CoConstructionActivitiesEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + /// + /// 椤圭洰涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.Examine_CoConstructionActivities model = BLL.CoConstructionActivitiesService.GetCoConstructionActivitiesById(this.Id); + if (model != null) + { + this.ProjectId = model.ProjectId; + if (this.ProjectId != this.CurrUser.LoginProjectId) + { + this.InitDropDownList(); + } + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", model.DateTime); + if (!string.IsNullOrEmpty(model.UserId)) + { + this.drpUser.SelectedValue = model.UserId; + } + this.txtRemark.Text = model.Remark; + this.txtContent.Text = model.Content; + //this.txtContent.Text = HttpUtility.HtmlDecode(model.Content); + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_CoConstructionActivities", "Code", CurrUser.LoginProjectId); + //////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.CoConstructionActivitiesMenuId, this.ProjectId, this.CurrUser.UnitId); + this.drpUser.SelectedValue = this.CurrUser.UserId; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + + /// + /// 鍒濆鍖栦笅鎷夋 + /// + private void InitDropDownList() + { + BLL.UserService.InitUserDropDownList(this.drpUser, this.ProjectId, false); + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.Examine_CoConstructionActivities newModel = new Model.Examine_CoConstructionActivities + { + ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + if (this.drpUser.SelectedValue != BLL.Const._Null) + { + newModel.UserId = this.drpUser.SelectedValue; + } + + newModel.DateTime = Funs.GetNewDateTime(this.txtDateTime.Text.Trim()); + newModel.Name = this.txtName.Text.Trim(); + newModel.Remark = this.txtRemark.Text.Trim(); + newModel.Content = this.txtContent.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.CoConstructionActivitiesService.UpdateCoConstructionActivities(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.CoConstructionActivitiesMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.Examine_CoConstructionActivities)); + newModel.Id = this.Id; + BLL.CoConstructionActivitiesService.AddCoConstructionActivities(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.CoConstructionActivitiesMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + /// + /// 涓婁紶闄勪欢 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + SaveData(BLL.Const.BtnSave); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/Examine/CoConstructionActivities&menuId={1}", Id, BLL.Const.CoConstructionActivitiesMenuId))); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx.designer.cs new file mode 100644 index 00000000..8ad1d215 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/CoConstructionActivitiesEdit.aspx.designer.cs @@ -0,0 +1,143 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class CoConstructionActivitiesEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpUser 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUser; + + /// + /// txtDateTime 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DatePicker txtDateTime; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtContent; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnAttachUrl; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx new file mode 100644 index 00000000..2f0e08fd --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx @@ -0,0 +1,153 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeadershipJoinHomeworkAnalysisMeeting.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.LeadershipJoinHomeworkAnalysisMeeting" %> + + + + + + + 棰嗗浜哄憳鍙傚姞鐝粍浣滀笟鍒嗘瀽浼 + + + + +
+ + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx.cs new file mode 100644 index 00000000..01a55340 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx.cs @@ -0,0 +1,306 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class LeadershipJoinHomeworkAnalysisMeeting : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("LeadershipJoinHomeworkAnalysisMeetingEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.Examine_LeadershipJoinHomeworkAnalysisMeeting + join y in db.Sys_User on x.UserId equals y.UserId + join z in db.Sys_User on x.CompileMan equals z.UserId + where x.ProjectId == this.ProjectId + && (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtUserName.Text.Trim()) || y.UserName.Contains(txtUserName.Text.Trim())) + && (string.IsNullOrEmpty(txtContent.Text.Trim()) || x.Content.Contains(txtContent.Text.Trim())) + select new + { + x.Id, + x.Code, + x.Name, + x.Content, + x.Remark, + x.DateTime, + x.CompileDate, + UserName = y.UserName, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.LeadershipJoinHomeworkAnalysisMeetingService.GetLeadershipJoinHomeworkAnalysisMeetingById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("LeadershipJoinHomeworkAnalysisMeetingView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("LeadershipJoinHomeworkAnalysisMeetingEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.LeadershipJoinHomeworkAnalysisMeetingService.GetLeadershipJoinHomeworkAnalysisMeetingById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.LeadershipJoinHomeworkAnalysisMeetingMenuId, BLL.Const.BtnDelete); + BLL.LeadershipJoinHomeworkAnalysisMeetingService.DeleteLeadershipJoinHomeworkAnalysisMeetingById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.LeadershipJoinHomeworkAnalysisMeetingMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("棰嗗浜哄憳鍙傚姞鐝粍浣滀笟鍒嗘瀽浼" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx.designer.cs new file mode 100644 index 00000000..5fcfb7e8 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeeting.aspx.designer.cs @@ -0,0 +1,197 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class LeadershipJoinHomeworkAnalysisMeeting + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtUserName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtUserName; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtContent; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx new file mode 100644 index 00000000..1d7e0b51 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx @@ -0,0 +1,73 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeadershipJoinHomeworkAnalysisMeetingEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.LeadershipJoinHomeworkAnalysisMeetingEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫棰嗗浜哄憳鍙傚姞鐝粍浣滀笟鍒嗘瀽浼 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx.cs new file mode 100644 index 00000000..db5ce0f4 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx.cs @@ -0,0 +1,165 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class LeadershipJoinHomeworkAnalysisMeetingEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + /// + /// 椤圭洰涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.Examine_LeadershipJoinHomeworkAnalysisMeeting model = BLL.LeadershipJoinHomeworkAnalysisMeetingService.GetLeadershipJoinHomeworkAnalysisMeetingById(this.Id); + if (model != null) + { + this.ProjectId = model.ProjectId; + if (this.ProjectId != this.CurrUser.LoginProjectId) + { + this.InitDropDownList(); + } + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", model.DateTime); + if (!string.IsNullOrEmpty(model.UserId)) + { + this.drpUser.SelectedValue = model.UserId; + } + this.txtRemark.Text = model.Remark; + this.txtContent.Text = model.Content; + //this.txtContent.Text = HttpUtility.HtmlDecode(model.Content); + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_LeadershipJoinHomeworkAnalysisMeeting", "Code", CurrUser.LoginProjectId); + //////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.LeadershipJoinHomeworkAnalysisMeetingMenuId, this.ProjectId, this.CurrUser.UnitId); + this.drpUser.SelectedValue = this.CurrUser.UserId; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + + /// + /// 鍒濆鍖栦笅鎷夋 + /// + private void InitDropDownList() + { + BLL.UserService.InitUserDropDownList(this.drpUser, this.ProjectId, false); + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.Examine_LeadershipJoinHomeworkAnalysisMeeting newModel = new Model.Examine_LeadershipJoinHomeworkAnalysisMeeting + { + ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + if (this.drpUser.SelectedValue != BLL.Const._Null) + { + newModel.UserId = this.drpUser.SelectedValue; + } + + newModel.DateTime = Funs.GetNewDateTime(this.txtDateTime.Text.Trim()); + newModel.Name = this.txtName.Text.Trim(); + newModel.Remark = this.txtRemark.Text.Trim(); + newModel.Content = this.txtContent.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.LeadershipJoinHomeworkAnalysisMeetingService.UpdateLeadershipJoinHomeworkAnalysisMeeting(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.LeadershipJoinHomeworkAnalysisMeetingMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.Examine_LeadershipJoinHomeworkAnalysisMeeting)); + newModel.Id = this.Id; + BLL.LeadershipJoinHomeworkAnalysisMeetingService.AddLeadershipJoinHomeworkAnalysisMeeting(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.LeadershipJoinHomeworkAnalysisMeetingMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + /// + /// 涓婁紶闄勪欢 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + SaveData(BLL.Const.BtnSave); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/Examine/LeadershipJoinHomeworkAnalysisMeeting&menuId={1}", Id, BLL.Const.LeadershipJoinHomeworkAnalysisMeetingMenuId))); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx.designer.cs new file mode 100644 index 00000000..780b91e1 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/LeadershipJoinHomeworkAnalysisMeetingEdit.aspx.designer.cs @@ -0,0 +1,143 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class LeadershipJoinHomeworkAnalysisMeetingEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpUser 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUser; + + /// + /// txtDateTime 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DatePicker txtDateTime; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtContent; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnAttachUrl; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx new file mode 100644 index 00000000..21df60e3 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx @@ -0,0 +1,168 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MinusScoreSituation.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.MinusScoreSituation" %> + + + + + + + 鑰冩牳鎵e垎鎯呭喌 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx.cs new file mode 100644 index 00000000..79a0089d --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx.cs @@ -0,0 +1,310 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class MinusScoreSituation : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("MinusScoreSituationEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.Examine_MinusScoreSituation + join y in db.Sys_User on x.UserId equals y.UserId + join z in db.Sys_User on x.CompileMan equals z.UserId + where x.ProjectId == this.ProjectId + && (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(drpLevel.SelectedValue) || x.Level == drpLevel.SelectedValue) + && (string.IsNullOrEmpty(txtUserName.Text.Trim()) || y.UserName.Contains(txtUserName.Text.Trim())) + && (string.IsNullOrEmpty(txtContent.Text.Trim()) || x.Content.Contains(txtContent.Text.Trim())) + select new + { + x.Id, + x.Code, + x.Name, + x.Level, + x.LevelName, + x.Score, + x.Content, + x.Remark, + x.DateTime, + x.CompileDate, + UserName = y.UserName, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.MinusScoreSituationService.GetMinusScoreSituationById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MinusScoreSituationView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MinusScoreSituationEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.MinusScoreSituationService.GetMinusScoreSituationById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.MinusScoreSituationMenuId, BLL.Const.BtnDelete); + BLL.MinusScoreSituationService.DeleteMinusScoreSituationById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.MinusScoreSituationMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("鑰冩牳鎵e垎鎯呭喌" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx.designer.cs new file mode 100644 index 00000000..8c21a74a --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituation.aspx.designer.cs @@ -0,0 +1,206 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class MinusScoreSituation + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtUserName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtUserName; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtContent; + + /// + /// drpLevel 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpLevel; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx new file mode 100644 index 00000000..4c773bee --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx @@ -0,0 +1,85 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MinusScoreSituationEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.MinusScoreSituationEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫鑰冩牳鎵e垎鎯呭喌 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx.cs new file mode 100644 index 00000000..9303d1ea --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx.cs @@ -0,0 +1,182 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class MinusScoreSituationEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + /// + /// 椤圭洰涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.Examine_MinusScoreSituation model = BLL.MinusScoreSituationService.GetMinusScoreSituationById(this.Id); + if (model != null) + { + this.ProjectId = model.ProjectId; + if (this.ProjectId != this.CurrUser.LoginProjectId) + { + this.InitDropDownList(); + } + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", model.DateTime); + if (!string.IsNullOrEmpty(model.UserId)) + { + this.drpUser.SelectedValue = model.UserId; + } + this.drpLevel.SelectedValue = model.Level; + this.txtScore.Text = model.Score.ToString(); + this.txtRemark.Text = model.Remark; + this.txtContent.Text = model.Content; + //this.txtContent.Text = HttpUtility.HtmlDecode(model.Content); + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_MinusScoreSituation", "Code", CurrUser.LoginProjectId); + //////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.MinusScoreSituationMenuId, this.ProjectId, this.CurrUser.UnitId); + this.drpUser.SelectedValue = this.CurrUser.UserId; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + + /// + /// 鍒濆鍖栦笅鎷夋 + /// + private void InitDropDownList() + { + BLL.UserService.InitUserDropDownList(this.drpUser, this.ProjectId, false); + } + + /// + /// 绾у埆涓嬫媺鍔犺浇 + /// + /// + /// + protected void drpLevel_SelectedIndexChanged(object sender, EventArgs e) + { + var level = drpLevel.SelectedValue; + this.txtScore.Text = drpLevel.SelectedValue; + } + + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.Examine_MinusScoreSituation newModel = new Model.Examine_MinusScoreSituation + { + ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + if (this.drpUser.SelectedValue != BLL.Const._Null) + { + newModel.UserId = this.drpUser.SelectedValue; + } + + newModel.DateTime = Funs.GetNewDateTime(this.txtDateTime.Text.Trim()); + newModel.Name = this.txtName.Text.Trim(); + newModel.Level = drpLevel.SelectedValue; + newModel.LevelName = drpLevel.SelectedText; + newModel.Score = int.Parse(drpLevel.SelectedValue); + newModel.Remark = this.txtRemark.Text.Trim(); + newModel.Content = this.txtContent.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.MinusScoreSituationService.UpdateMinusScoreSituation(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.MinusScoreSituationMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.Examine_MinusScoreSituation)); + newModel.Id = this.Id; + BLL.MinusScoreSituationService.AddMinusScoreSituation(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.MinusScoreSituationMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + /// + /// 涓婁紶闄勪欢 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + SaveData(BLL.Const.BtnSave); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/Examine/MinusScoreSituation&menuId={1}", Id, BLL.Const.MinusScoreSituationMenuId))); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx.designer.cs new file mode 100644 index 00000000..281fe867 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/MinusScoreSituationEdit.aspx.designer.cs @@ -0,0 +1,161 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class MinusScoreSituationEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpUser 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUser; + + /// + /// txtDateTime 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DatePicker txtDateTime; + + /// + /// drpLevel 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpLevel; + + /// + /// txtScore 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.NumberBox txtScore; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtContent; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnAttachUrl; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx new file mode 100644 index 00000000..c6f96750 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx @@ -0,0 +1,47 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnePersonPerFile.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.OnePersonPerFile" %> + + + + + + 鍛樺伐HSE淇℃伅妗f + + + + +
+ + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx.cs new file mode 100644 index 00000000..2d3460c4 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx.cs @@ -0,0 +1,303 @@ +锘縰sing BLL; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class OnePersonPerFile : PageBase + { + #region 瀹氫箟椤 + /// + /// 浜哄憳涓婚敭 + /// + public string PersonId + { + get + { + return (string)ViewState["PersonId"]; + } + set + { + ViewState["PersonId"] = value; + } + } + /// + /// 浜哄憳涓婚敭 + /// + public string UserId + { + get + { + return (string)ViewState["UserId"]; + } + set + { + ViewState["UserId"] = value; + } + } + + /// + /// 椤圭洰id + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + /// + /// 鍗曚綅id + /// + public string UnitId + { + get + { + return (string)ViewState["UnitId"]; + } + set + { + ViewState["UnitId"] = value; + } + } + /// + /// 浜哄憳韬唤璇 + /// + public string IdentityCard + { + get + { + return (string)ViewState["IdentityCard"]; + } + set + { + ViewState["IdentityCard"] = value; + } + } + #endregion + + #region 鍔犺浇椤甸潰 + + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.ProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + //鍔犺浇鏍 + this.InitTreeMenu(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + panelCenterRegion.IFrameUrl = $"./StaffHSEInfoArchives.aspx?UserId={this.UserId}&&PersonId={this.PersonId}"; + } + + #endregion + + #region 鏍戜簨浠 + + /// + /// 鍔犺浇鏍 + /// + private void InitTreeMenu() + { + this.tvProjectAndUnitAndPerson.Nodes.Clear(); + this.tvProjectAndUnitAndPerson.ShowBorder = false; + this.tvProjectAndUnitAndPerson.ShowHeader = false; + this.tvProjectAndUnitAndPerson.EnableIcons = true; + this.tvProjectAndUnitAndPerson.AutoScroll = true; + this.tvProjectAndUnitAndPerson.EnableSingleClickExpand = true; + + var project = BLL.ProjectService.GetProjectByProjectId(this.ProjectId); + if (project != null) + { + TreeNode newNode = new TreeNode(); + newNode.Text = project.ProjectName; + newNode.NodeID = project.ProjectId; + newNode.CommandName = "UnitWork"; + newNode.EnableExpandEvent = true; + newNode.EnableClickEvent = true; + this.tvProjectAndUnitAndPerson.Nodes.Add(newNode); + TreeNode emptyNode = new TreeNode(); + emptyNode.Text = ""; + emptyNode.NodeID = ""; + newNode.Nodes.Add(emptyNode); + + } + } + + /// + /// 鐐瑰嚮鏍戣妭鐐逛簨浠 鍔犺浇鍗曚綅浜哄憳鏁版嵁 + /// + protected void tvPerson_NodeExpand(object sender, TreeNodeEventArgs e) + { + e.Node.Nodes.Clear(); + if (e.Node.CommandName == "UnitWork") //灞曞紑鍗曚綅鑺傜偣 + { + List unitLists = BLL.UnitService.GetUnitByProjectIdList(e.NodeID); + if (unitLists.Count() > 0) + { + if (BLL.ProjectUnitService.GetProjectUnitTypeByProjectIdUnitId(e.NodeID, this.CurrUser.UnitId)) + { + unitLists = unitLists.Where(x => x.UnitId == this.CurrUser.UnitId).ToList(); + } + //娣诲姞鍏朵粬鍗曚綅/鏃犲崟浣嶄汉鍛 + Model.Base_Unit otherUnit = new Model.Base_Unit + { + UnitId = "0", + UnitName = "鍏朵粬" + }; + unitLists.Add(otherUnit); + + TreeNode newNode = null; + foreach (var q in unitLists) + { + TreeNode newCNProfessionalNode = new TreeNode(); + newCNProfessionalNode.Text = q.UnitName; + newCNProfessionalNode.NodeID = e.NodeID + "|" + q.UnitId; + newCNProfessionalNode.CommandName = "Person"; + newCNProfessionalNode.EnableExpandEvent = true; + newCNProfessionalNode.EnableClickEvent = true; + e.Node.Nodes.Add(newCNProfessionalNode); + TreeNode tempNode = new TreeNode(); + tempNode.NodeID = ""; + tempNode.Text = ""; + tempNode.EnableExpandEvent = true; + tempNode.EnableClickEvent = true; + newCNProfessionalNode.Nodes.Add(tempNode); + } + } + } + if (e.Node.CommandName == "Person") //灞曞紑浜哄憳鑺傜偣 + { + var str = e.NodeID.Split('|'); + if (str.Count() > 1) + { + var projectId = str[0]; + var unitId = str[1]; + + String strSql1 = @"select PersonName as UserName,IdentityCard from SitePerson_Person where ProjectId='" + projectId + + "' and UnitId='" + unitId + "' and IsUsed = 1"; + String strSql2 = @"select y.UserName,y.IdentityCard from Project_ProjectUser x,Sys_User y where x.ProjectId='" + projectId + + "' and x.UnitId='" + unitId + "' and x.UserId=y.UserId "; + DataTable dt1 = SQLHelper.GetDataTableRunText(strSql1, null); + DataTable dt2 = SQLHelper.GetDataTableRunText(strSql2, null); + DataTable dtCombined = dt1.Clone(); + // 灏哾t1鐨勬暟鎹坊鍔犲埌dtCombined涓 + foreach (DataRow row in dt1.Rows) + { + dtCombined.ImportRow(row); + } + // 灏哾t2鐨勬暟鎹坊鍔犲埌dtCombined涓紝浣嗚鍏堟鏌ユ槸鍚﹀凡瀛樺湪浠ラ伩鍏嶉噸澶 + foreach (DataRow row in dt2.Rows) + { + bool isDuplicate = false; + foreach (DataRow existingRow in dtCombined.Rows) + { + // 杩欓噷鍋囪UserName鍜孖dentityCard鏄叡鍚岀殑鍏抽敭鍒 + if (existingRow["UserName"].Equals(row["UserName"]) && existingRow["IdentityCard"].Equals(row["IdentityCard"])) + { + isDuplicate = true; + break; + } + } + if (!isDuplicate) + { + dtCombined.ImportRow(row); + } + } + + //鏌ヨ椤圭洰鐢ㄦ埛 + if (dtCombined.Rows.Count > 0) + { + for (var i = 0; i < dtCombined.Rows.Count; i++) + { + TreeNode newNode = new TreeNode(); + newNode.Text = dtCombined.Rows[i]["UserName"].ToString(); + newNode.NodeID = projectId + "|" + unitId + "|" + dtCombined.Rows[i]["IdentityCard"]; + newNode.CommandName = "end"; + newNode.EnableExpandEvent = true; + newNode.EnableClickEvent = true; + e.Node.Nodes.Add(newNode); + } + } + } + } + } + + + /// + /// 鐐瑰嚮TreeView + /// + /// + /// + protected void tvProjectAndUnitAndPerson_NodeCommand(object sender, TreeCommandEventArgs e) + { + if (e.Node.CommandName == "end") + { + //姝ゅ涓虹偣鍑讳汉鍛樿妭鐐逛簨浠 杩涜鏁版嵁缁戝畾 + var str = e.NodeID.Split('|'); + if (str.Count() > 1) + { + this.ProjectId = str[0].Trim(); + this.UnitId = str[1].Trim(); + this.IdentityCard = str[2].Trim(); + //閫氳繃韬唤璇佽幏鍙杙ersonid鍜寀serid + String strSql1 = @"select * from [dbo].[SitePerson_Person] where ProjectId='" + this.ProjectId + + "' and UnitId='" + this.UnitId + "' and IsUsed = 1 and IdentityCard='" + + this.IdentityCard + "'"; + String strSql2 = + @"select y.UserId, y.UserName,y.IdentityCard from [dbo].[Project_ProjectUser] x,[dbo].[Sys_User] y where x.ProjectId='" + + this.ProjectId + + "' and x.UnitId='" + this.UnitId + "' and x.UserId=y.UserId and y.IdentityCard='" + + this.IdentityCard + "'"; + DataTable dt1 = SQLHelper.GetDataTableRunText(strSql1, null); + DataTable dt2 = SQLHelper.GetDataTableRunText(strSql2, null); + + if (dt1.Rows.Count > 0) + { + this.PersonId = dt1.Rows[0]["PersonId"].ToString(); + } + else + { + this.PersonId = string.Empty; + } + + if (dt2.Rows.Count > 0) + { + this.UserId = dt2.Rows[0]["UserId"].ToString(); + } + else + { + this.UserId = string.Empty; + } + } + BindGrid(); + } + } + + + #endregion + + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx.designer.cs new file mode 100644 index 00000000..439c226c --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/OnePersonPerFile.aspx.designer.cs @@ -0,0 +1,71 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class OnePersonPerFile + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// panelLeftRegion 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel panelLeftRegion; + + /// + /// tvProjectAndUnitAndPerson 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Tree tvProjectAndUnitAndPerson; + + /// + /// panelCenterRegion 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel panelCenterRegion; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx new file mode 100644 index 00000000..35339a29 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx @@ -0,0 +1,153 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonalSafetyActionPlan.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.PersonalSafetyActionPlan" %> + + + + + + + 涓汉瀹夊叏琛屽姩璁″垝 + + + + +
+ + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx.cs new file mode 100644 index 00000000..467988b3 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx.cs @@ -0,0 +1,306 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class PersonalSafetyActionPlan : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("PersonalSafetyActionPlanEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.Examine_PersonalSafetyActionPlan + join y in db.Sys_User on x.UserId equals y.UserId + join z in db.Sys_User on x.CompileMan equals z.UserId + where x.ProjectId == this.ProjectId + && (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtUserName.Text.Trim()) || y.UserName.Contains(txtUserName.Text.Trim())) + && (string.IsNullOrEmpty(txtContent.Text.Trim()) || x.Content.Contains(txtContent.Text.Trim())) + select new + { + x.Id, + x.Code, + x.Name, + x.Content, + x.Remark, + x.DateTime, + x.CompileDate, + UserName = y.UserName, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.PersonalSafetyActionPlanService.GetPersonalSafetyActionPlanById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PersonalSafetyActionPlanView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PersonalSafetyActionPlanEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.PersonalSafetyActionPlanService.GetPersonalSafetyActionPlanById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PersonalSafetyActionPlanMenuId, BLL.Const.BtnDelete); + BLL.PersonalSafetyActionPlanService.DeletePersonalSafetyActionPlanById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PersonalSafetyActionPlanMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("涓汉瀹夊叏琛屽姩璁″垝" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx.designer.cs new file mode 100644 index 00000000..3d29b055 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlan.aspx.designer.cs @@ -0,0 +1,197 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class PersonalSafetyActionPlan + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtUserName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtUserName; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtContent; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx new file mode 100644 index 00000000..26c0dc11 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx @@ -0,0 +1,73 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonalSafetyActionPlanEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.PersonalSafetyActionPlanEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫涓汉瀹夊叏琛屽姩璁″垝 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx.cs new file mode 100644 index 00000000..1aa6d910 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx.cs @@ -0,0 +1,165 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class PersonalSafetyActionPlanEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + /// + /// 椤圭洰涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.Examine_PersonalSafetyActionPlan model = BLL.PersonalSafetyActionPlanService.GetPersonalSafetyActionPlanById(this.Id); + if (model != null) + { + this.ProjectId = model.ProjectId; + if (this.ProjectId != this.CurrUser.LoginProjectId) + { + this.InitDropDownList(); + } + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", model.DateTime); + if (!string.IsNullOrEmpty(model.UserId)) + { + this.drpUser.SelectedValue = model.UserId; + } + this.txtRemark.Text = model.Remark; + this.txtContent.Text = model.Content; + //this.txtContent.Text = HttpUtility.HtmlDecode(model.Content); + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_PersonalSafetyActionPlan", "Code", CurrUser.LoginProjectId); + //////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.PersonalSafetyActionPlanMenuId, this.ProjectId, this.CurrUser.UnitId); + this.drpUser.SelectedValue = this.CurrUser.UserId; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + + /// + /// 鍒濆鍖栦笅鎷夋 + /// + private void InitDropDownList() + { + BLL.UserService.InitUserDropDownList(this.drpUser, this.ProjectId, false); + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.Examine_PersonalSafetyActionPlan newModel = new Model.Examine_PersonalSafetyActionPlan + { + ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + if (this.drpUser.SelectedValue != BLL.Const._Null) + { + newModel.UserId = this.drpUser.SelectedValue; + } + + newModel.DateTime = Funs.GetNewDateTime(this.txtDateTime.Text.Trim()); + newModel.Name = this.txtName.Text.Trim(); + newModel.Remark = this.txtRemark.Text.Trim(); + newModel.Content = this.txtContent.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.PersonalSafetyActionPlanService.UpdatePersonalSafetyActionPlan(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PersonalSafetyActionPlanMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.Examine_PersonalSafetyActionPlan)); + newModel.Id = this.Id; + BLL.PersonalSafetyActionPlanService.AddPersonalSafetyActionPlan(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PersonalSafetyActionPlanMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + /// + /// 涓婁紶闄勪欢 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + SaveData(BLL.Const.BtnSave); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/Examine/PersonalSafetyActionPlan&menuId={1}", Id, BLL.Const.PersonalSafetyActionPlanMenuId))); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx.designer.cs new file mode 100644 index 00000000..2759f660 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/PersonalSafetyActionPlanEdit.aspx.designer.cs @@ -0,0 +1,143 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class PersonalSafetyActionPlanEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpUser 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUser; + + /// + /// txtDateTime 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DatePicker txtDateTime; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtContent; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnAttachUrl; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx new file mode 100644 index 00000000..e7914d96 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx @@ -0,0 +1,153 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SharingOfSafetyExperience.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.SharingOfSafetyExperience" %> + + + + + + + 瀹夊叏缁忛獙鍒嗕韩 + + + + +
+ + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx.cs new file mode 100644 index 00000000..c2c0124b --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx.cs @@ -0,0 +1,307 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class SharingOfSafetyExperience : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("SharingOfSafetyExperienceEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.Examine_SharingOfSafetyExperience + join y in db.Sys_User on x.UserId equals y.UserId + join z in db.Sys_User on x.CompileMan equals z.UserId + where x.ProjectId == this.ProjectId + && (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtUserName.Text.Trim()) || y.UserName.Contains(txtUserName.Text.Trim())) + && (string.IsNullOrEmpty(txtContent.Text.Trim()) || x.Content.Contains(txtContent.Text.Trim())) + select new + { + x.Id, + x.Code, + x.Name, + x.Content, + x.Remark, + x.DateTime, + x.CompileDate, + UserName = y.UserName, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.SharingOfSafetyExperienceService.GetSharingOfSafetyExperienceById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SharingOfSafetyExperienceView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SharingOfSafetyExperienceEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.SharingOfSafetyExperienceService.GetSharingOfSafetyExperienceById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.SharingOfSafetyExperienceMenuId, BLL.Const.BtnDelete); + BLL.SharingOfSafetyExperienceService.DeleteSharingOfSafetyExperienceById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.SharingOfSafetyExperienceMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("瀹夊叏缁忛獙鍒嗕韩" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx.designer.cs new file mode 100644 index 00000000..8767965e --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperience.aspx.designer.cs @@ -0,0 +1,197 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class SharingOfSafetyExperience + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtUserName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtUserName; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtContent; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx new file mode 100644 index 00000000..1400e873 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx @@ -0,0 +1,73 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SharingOfSafetyExperienceEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.SharingOfSafetyExperienceEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫瀹夊叏缁忛獙鍒嗕韩 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx.cs new file mode 100644 index 00000000..3a74b145 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx.cs @@ -0,0 +1,165 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class SharingOfSafetyExperienceEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + /// + /// 椤圭洰涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.Examine_SharingOfSafetyExperience model = BLL.SharingOfSafetyExperienceService.GetSharingOfSafetyExperienceById(this.Id); + if (model != null) + { + this.ProjectId = model.ProjectId; + if (this.ProjectId != this.CurrUser.LoginProjectId) + { + this.InitDropDownList(); + } + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", model.DateTime); + if (!string.IsNullOrEmpty(model.UserId)) + { + this.drpUser.SelectedValue = model.UserId; + } + this.txtRemark.Text = model.Remark; + this.txtContent.Text = model.Content; + //this.txtContent.Text = HttpUtility.HtmlDecode(model.Content); + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_SharingOfSafetyExperience", "Code", CurrUser.LoginProjectId); + //////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.SharingOfSafetyExperienceMenuId, this.ProjectId, this.CurrUser.UnitId); + this.drpUser.SelectedValue = this.CurrUser.UserId; + this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + + /// + /// 鍒濆鍖栦笅鎷夋 + /// + private void InitDropDownList() + { + BLL.UserService.InitUserDropDownList(this.drpUser, this.ProjectId, false); + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.Examine_SharingOfSafetyExperience newModel = new Model.Examine_SharingOfSafetyExperience + { + ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + if (this.drpUser.SelectedValue != BLL.Const._Null) + { + newModel.UserId = this.drpUser.SelectedValue; + } + + newModel.DateTime = Funs.GetNewDateTime(this.txtDateTime.Text.Trim()); + newModel.Name = this.txtName.Text.Trim(); + newModel.Remark = this.txtRemark.Text.Trim(); + newModel.Content = this.txtContent.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.SharingOfSafetyExperienceService.UpdateSharingOfSafetyExperience(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.SharingOfSafetyExperienceMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.Examine_SharingOfSafetyExperience)); + newModel.Id = this.Id; + BLL.SharingOfSafetyExperienceService.AddSharingOfSafetyExperience(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.SharingOfSafetyExperienceMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + /// + /// 涓婁紶闄勪欢 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + SaveData(BLL.Const.BtnSave); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/Examine/SharingOfSafetyExperience&menuId={1}", Id, BLL.Const.SharingOfSafetyExperienceMenuId))); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx.designer.cs new file mode 100644 index 00000000..399fe2cb --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/SharingOfSafetyExperienceEdit.aspx.designer.cs @@ -0,0 +1,143 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class SharingOfSafetyExperienceEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpUser 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUser; + + /// + /// txtDateTime 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DatePicker txtDateTime; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtContent; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnAttachUrl; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx b/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx new file mode 100644 index 00000000..f9b6a2e9 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx @@ -0,0 +1,146 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StaffHSEInfoArchives.aspx.cs" Inherits="FineUIPro.Web.HSSE.Examine.StaffHSEInfoArchives" %> + + + + + + 鍛樺伐HSE淇℃伅妗f + + + + +
+ <%-- + + + + + + + + + + + + + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- + + + + + + + + + + + + --%> + + + + + + + <%-- + + + + + + + + + + + + + + + + + + + + --%> + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx.cs new file mode 100644 index 00000000..8ab186f6 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx.cs @@ -0,0 +1,387 @@ +锘縰sing BLL; +using System; +using System.Data; +using System.Linq; + +namespace FineUIPro.Web.HSSE.Examine +{ + public partial class StaffHSEInfoArchives : PageBase + { + #region 瀹氫箟椤 + /// + /// 浜哄憳涓婚敭 + /// + public string PersonId + { + get + { + return (string)ViewState["PersonId"]; + } + set + { + ViewState["PersonId"] = value; + } + } + /// + /// 浜哄憳涓婚敭 + /// + public string UserId + { + get + { + return (string)ViewState["UserId"]; + } + set + { + ViewState["UserId"] = value; + } + } + + /// + /// 椤圭洰id + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + /// + /// 鍗曚綅id + /// + public string UnitId + { + get + { + return (string)ViewState["UnitId"]; + } + set + { + ViewState["UnitId"] = value; + } + } + /// + /// 浜哄憳韬唤璇 + /// + public string IdentityCard + { + get + { + return (string)ViewState["IdentityCard"]; + } + set + { + ViewState["IdentityCard"] = value; + } + } + #endregion + + #region 鍔犺浇椤甸潰 + + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.ProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + this.PersonId = Request.Params["PersonId"]; + + var lstYesr = BLL.ConstValue.drpConstItemList(ConstValue.Group_0008); + this.drpYear.DataTextField = "ConstText"; + this.drpYear.DataValueField = "ConstValue"; + this.drpYear.DataSource = lstYesr.OrderByDescending(x => x.SortIndex); + this.drpYear.DataBind(); + this.drpYear.SelectedValue = DateTime.Now.Year.ToString(); + + + var personInfo = PersonService.GetPersonInfoById(this.PersonId); + if (personInfo != null) + { + this.txtPersonName.Text = personInfo.PersonName; + this.txtIdentityCard.Text = personInfo.IdentityCard; + this.txtUnitName.Text = personInfo.UnitName; + this.txtWorkPostName.Text = personInfo.WorkPostName; + this.txtPoliticsStatusName.Text = personInfo.PoliticsStatusName; + } + + this.BindGrid(); + } + } + + /// + /// 鏌ヨ + /// + /// + /// + protected void btnSearch_Click(object sender, EventArgs e) + { + this.BindGrid(); + } + + public DataTable GridTable = new DataTable(); + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + FineUIPro.BoundField bf; + FineUIPro.RenderField rf; + FineUIPro.TextBox txTextBox; + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "ScoreItems"; + bf.DataField = "ScoreItems"; + bf.HeaderText = "鍒嗗奸」鐩"; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + bf.Locked = true; + Grid1.Columns.Add(bf); + + #region 鍩烘湰椤癸紙婊″垎80鍒嗭級 + + GroupField p1 = new GroupField(); + p1.HeaderText = "鍩烘湰椤癸紙婊″垎80鍒嗭級"; + p1.TextAlign = TextAlign.Center; + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "骞村害鍩硅"; + bf.DataField = "骞村害鍩硅"; + bf.HeaderText = "骞村害鍩硅"; + bf.HeaderToolTip = "瀹屾垚搴斿煿璁鏃跺熀纭60鍒嗭紝瓒呭嚭1灏忔椂1鍒嗭紱婊″垎80鍒"; + bf.Width = 80; + //bf.HeaderStyle.CssClass = "multiline-header"; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "闂矗鎴栧嚭闂椤瑰煿璁"; + bf.DataField = "闂矗鎴栧嚭闂椤瑰煿璁"; + bf.HeaderText = "闂矗/闂椤瑰煿璁"; + bf.HeaderToolTip = "瀹屾垚搴斿煿璁鏃跺熀纭60鍒嗭紝1瀛︽椂1鍒嗭紱婊″垎20鍒"; + bf.Width = 150; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "鎸囨爣瀹屾垚鎯呭喌"; + bf.DataField = "鎸囨爣瀹屾垚鎯呭喌"; + bf.HeaderText = "鎸囨爣瀹屾垚鎯呭喌"; + bf.HeaderToolTip = "銆婅川閲忋佸仴搴峰畨鍏ㄧ幆淇濊矗浠讳功銆嬩腑鐩爣鎸囨爣瀹屾垚鎯呭喌锛涘叏閮ㄥ畬鎴100鍒"; + bf.Width = 110; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "宀椾綅HSE鑱岃矗"; + bf.DataField = "宀椾綅HSE鑱岃矗"; + bf.HeaderText = "宀椾綅HSE鑱岃矗"; + bf.HeaderToolTip = "鍏ㄩ儴灞ヨ亴100鍒"; + bf.MaxWidth = 150; + bf.MinWidth = 120; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "涓汉瀹夊叏琛屽姩璁″垝"; + bf.DataField = "涓汉瀹夊叏琛屽姩璁″垝"; + bf.HeaderText = "涓汉瀹夊叏琛屽姩璁″垝"; + bf.HeaderToolTip = "1骞4娆"; + bf.MaxWidth = 150; + bf.MinWidth = 120; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "瀹夊叏缁忛獙鍒嗕韩"; + bf.DataField = "瀹夊叏缁忛獙鍒嗕韩"; + bf.HeaderText = "瀹夊叏缁忛獙鍒嗕韩"; + bf.HeaderToolTip = "1鏈1娆★紝1娆10鍒嗭紝婊″垎100"; + bf.MaxWidth = 150; + bf.MinWidth = 120; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "棰嗗浜哄憳鍙傚姞鐝粍浣滀笟椋庨櫓浼氬垎鏋愪細"; + bf.DataField = "棰嗗浜哄憳鍙傚姞鐝粍浣滀笟椋庨櫓浼氬垎鏋愪細"; + bf.HeaderText = "棰嗗浜哄憳鍙傚姞鐝粍浣滀笟椋庨櫓浼氬垎鏋愪細"; + bf.HeaderToolTip = "1瀛e害1娆★紝1瀛e害25鍒"; + bf.MaxWidth = 150; + bf.MinWidth = 120; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "涓绾垮厷鍛樿仈绯荤彮缁勫厷寤烘椿鍔"; + bf.DataField = "涓绾垮厷鍛樿仈绯荤彮缁勫厷寤烘椿鍔"; + bf.HeaderText = "涓绾垮厷鍛樿仈绯荤彮缁勫厷寤烘椿鍔"; + bf.HeaderToolTip = "鍗婂勾1娆★紝1娆50鍒"; + bf.MaxWidth = 150; + bf.MinWidth = 120; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "琛屼负瀹夊叏瑙傚療涓庢椿鍔"; + bf.DataField = "琛屼负瀹夊叏瑙傚療涓庢椿鍔"; + bf.HeaderText = "琛屼负瀹夊叏瑙傚療涓庢椿鍔"; + bf.HeaderToolTip = "1骞4娆"; + bf.MaxWidth = 150; + bf.MinWidth = 120; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p1.Columns.Add(bf); + + Grid1.Columns.Add(p1); + + #endregion + + #region 鎵e垎椤癸紙鏃犲皝椤讹級 + + GroupField p2 = new GroupField(); + p2.HeaderText = "鎵e垎椤癸紙鏃犲皝椤讹級"; + p2.TextAlign = TextAlign.Center; + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "杞诲井闂"; + bf.DataField = "杞诲井闂"; + bf.HeaderText = "杞诲井闂"; + bf.HeaderToolTip = "1涓1鍒"; + bf.Width = 80; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p2.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "涓鑸棶棰"; + bf.DataField = "涓鑸棶棰"; + bf.HeaderText = "涓鑸棶棰"; + bf.HeaderToolTip = "1涓2鍒"; + bf.Width = 80; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p2.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "杈冨ぇ闂"; + bf.DataField = "杈冨ぇ闂"; + bf.HeaderText = "杈冨ぇ闂"; + bf.HeaderToolTip = "1涓3鍒"; + bf.Width = 80; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p2.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "涓ラ噸闂"; + bf.DataField = "涓ラ噸闂"; + bf.HeaderText = "涓ラ噸闂"; + bf.HeaderToolTip = "1涓4鍒"; + bf.Width = 80; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p2.Columns.Add(bf); + + Grid1.Columns.Add(p2); + + #endregion + + #region 鍔犲垎椤癸紙婊″垎20鍒嗭級 + + GroupField p3 = new GroupField(); + p3.HeaderText = "鍔犲垎椤癸紙婊″垎20鍒嗭級"; + p3.TextAlign = TextAlign.Center; + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "闆嗗洟绾у厛杩"; + bf.DataField = "闆嗗洟绾у厛杩"; + bf.HeaderText = "闆嗗洟绾у厛杩"; + bf.HeaderToolTip = "1涓3鍒"; + bf.Width = 100; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p3.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "CPECC绾у厛杩"; + bf.DataField = "CPECC绾у厛杩"; + bf.HeaderText = "CPECC绾у厛杩"; + bf.HeaderToolTip = "1涓2鍒"; + bf.Width = 120; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p3.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "鍏徃绾у厛杩"; + bf.DataField = "鍏徃绾у厛杩"; + bf.HeaderText = "鍏徃绾у厛杩"; + bf.HeaderToolTip = "1涓1鍒"; + bf.Width = 100; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p3.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "鍏ㄥ憳鏌ラ殣鎮"; + bf.DataField = "鍏ㄥ憳鏌ラ殣鎮"; + bf.HeaderText = "鍏ㄥ憳鏌ラ殣鎮"; + bf.HeaderToolTip = "100鏉1鍒嗭紝200鏉2鍒...1000鏉10鍒嗘弧鍒"; + bf.Width = 100; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p3.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "浜旀槦璁″垝"; + bf.DataField = "浜旀槦璁″垝"; + bf.HeaderText = "浜旀槦璁″垝"; + bf.HeaderToolTip = "2鏄1鍒嗭紝3鏄2鍒嗭紝4鏄3鍒嗭紝5鏄4鍒"; + bf.Width = 80; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p3.Columns.Add(bf); + + bf = new FineUIPro.BoundField(); + bf.ColumnID = "瀹夊叏瓒呭競绉垎"; + bf.DataField = "瀹夊叏瓒呭競绉垎"; + bf.HeaderText = "瀹夊叏瓒呭競绉垎"; + bf.HeaderToolTip = "1娆1鍒嗭紝婊″垎10鍒"; + bf.Width = 110; + bf.HeaderTextAlign = TextAlign.Center; + bf.TextAlign = TextAlign.Center; + p3.Columns.Add(bf); + + Grid1.Columns.Add(p3); + + #endregion + + } + + #endregion + + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx.designer.cs new file mode 100644 index 00000000..e1b8980f --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/Examine/StaffHSEInfoArchives.aspx.designer.cs @@ -0,0 +1,161 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.Examine +{ + + + public partial class StaffHSEInfoArchives + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel5 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel5; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// drpYear 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpYear; + + /// + /// btnSearch 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSearch; + + /// + /// Panel2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel2; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtPersonName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtPersonName; + + /// + /// txtIdentityCard 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtIdentityCard; + + /// + /// txtUnitName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtUnitName; + + /// + /// txtWorkPostName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtWorkPostName; + + /// + /// txtPoliticsStatusName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtPoliticsStatusName; + + /// + /// Panel3 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel3; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx new file mode 100644 index 00000000..23e15153 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx @@ -0,0 +1,130 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Category.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.Category" %> + + + + + + + 宀椾綅鍩硅绫诲埆 + + + + +
+ + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx.cs new file mode 100644 index 00000000..9f6ba268 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx.cs @@ -0,0 +1,301 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class Category : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("CategoryEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.PostTraining_Category + join z in db.Sys_User on x.CompileMan equals z.UserId + where (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtRemark.Text.Trim()) || x.Remark.Contains(txtRemark.Text.Trim())) + orderby x.Code + select new + { + x.Id, + x.Code, + x.Name, + x.Remark, + x.CompileDate, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.PostTrainingCategoryService.GetCategoryById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CategoryView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CategoryEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.PostTrainingCategoryService.GetCategoryById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingCategoryMenuId, BLL.Const.BtnDelete); + BLL.PostTrainingCategoryService.DeleteCategoryById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PostTrainingCategoryMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("宀椾綅鍩硅绫诲埆" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx.designer.cs new file mode 100644 index 00000000..37782e7e --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Category.aspx.designer.cs @@ -0,0 +1,179 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class Category + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtRemark; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx new file mode 100644 index 00000000..0c6a4c97 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx @@ -0,0 +1,53 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CategoryEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.CategoryEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫宀椾綅鍩硅绫诲埆 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx.cs new file mode 100644 index 00000000..700eb5db --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx.cs @@ -0,0 +1,135 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class CategoryEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + ///// + ///// 椤圭洰涓婚敭 + ///// + //public string ProjectId + //{ + // get + // { + // return (string)ViewState["ProjectId"]; + // } + // set + // { + // ViewState["ProjectId"] = value; + // } + //} + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + //this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + //this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.PostTraining_Category model = BLL.PostTrainingCategoryService.GetCategoryById(this.Id); + if (model != null) + { + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtRemark.Text = model.Remark; + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.PostTraining_Category", "Code", CurrUser.LoginProjectId); + this.txtCode.Text = SQLHelper.RunProcNewId("SpGetNewCode3", "dbo.PostTraining_Category", "Code", ""); + } + } + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.PostTraining_Category newModel = new Model.PostTraining_Category + { + //ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + newModel.Name = this.txtName.Text.Trim(); + newModel.Remark = this.txtRemark.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.PostTrainingCategoryService.UpdateCategory(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingCategoryMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Category)); + newModel.Id = this.Id; + BLL.PostTrainingCategoryService.AddCategory(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingCategoryMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + ///// + ///// 涓婁紶闄勪欢 + ///// + ///// + ///// + //protected void btnAttachUrl_Click(object sender, EventArgs e) + //{ + // if (string.IsNullOrEmpty(this.Id)) + // { + // SaveData(BLL.Const.BtnSave); + // } + // PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PostTraining/Category&menuId={1}", Id, BLL.Const.PostTrainingCategoryMenuId))); + //} + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx.designer.cs new file mode 100644 index 00000000..1f866bd4 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CategoryEdit.aspx.designer.cs @@ -0,0 +1,98 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class CategoryEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx new file mode 100644 index 00000000..98efd73a --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx @@ -0,0 +1,163 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Course.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.Course" %> + + + + + + + 宀椾綅鍩硅璇剧▼ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx.cs new file mode 100644 index 00000000..fe503640 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx.cs @@ -0,0 +1,364 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class Course : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + this.InitDropDownList(); + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("CourseEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 涓嬫媺妗嗗姞杞 + /// + private void InitDropDownList() + { + //鑾峰彇鍩硅绫诲埆涓嬫媺妗 + PostTrainingCategoryService.InitPostTrainingCategoryDropDownList(this.drpCategory, true); + //鑾峰彇鍩硅鏂瑰紡涓涓嬫媺妗 + PostTrainingMethodService.InitPostTrainingMethodDropDownList(this.drpMethod1, null, true); + //鑾峰彇鍩硅甯堣祫涓涓嬫媺妗 + PostTrainingTeachersService.InitPostTrainingTeachersDropDownList(this.drpTeachers1, null, true); + } + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + string strSql = @"SELECT Course.* ,CompileMan.UserName AS CompileManName + FROM PostTraining_Course as Course LEFT JOIN Sys_User AS CompileMan ON CompileMan.UserId=Course.CompileMan + WHERE 1=1 "; + List listStr = new List(); + if (!string.IsNullOrEmpty(this.txtCode.Text.Trim())) + { + strSql += " AND Course.Code LIKE @Code"; + listStr.Add(new SqlParameter("@Code", "%" + this.txtCode.Text.Trim() + "%")); + } + if (!string.IsNullOrEmpty(this.txtName.Text.Trim())) + { + strSql += " AND Course.Name LIKE @Name"; + listStr.Add(new SqlParameter("@Name", "%" + this.txtName.Text.Trim() + "%")); + } + if (!string.IsNullOrEmpty(this.txtRemark.Text.Trim())) + { + strSql += " AND Course.Remark LIKE @Remark"; + listStr.Add(new SqlParameter("@Remark", "%" + this.txtRemark.Text.Trim() + "%")); + } + if (this.drpCategory.SelectedValue != BLL.Const._Null) + { + strSql += " AND Course.CategoryId = @CategoryId"; + listStr.Add(new SqlParameter("@CategoryId", this.drpCategory.SelectedValue)); + } + if (this.drpMethod1.SelectedValue != BLL.Const._Null) + { + strSql += " AND Course.Method1 = @Method1"; + listStr.Add(new SqlParameter("@Method1", this.drpMethod1.SelectedValue)); + } + if (this.drpTeachers1.SelectedValue != BLL.Const._Null) + { + strSql += " AND Course.Teachers1 = @Teachers1"; + listStr.Add(new SqlParameter("@Teachers1", this.drpTeachers1.SelectedValue)); + } + + strSql += " ORDER BY Course.Code ASC"; + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + + Grid1.RecordCount = tb.Rows.Count; + var table = this.GetPagedDataTable(Grid1, tb); + + Grid1.DataSource = table; + Grid1.DataBind(); + + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.PostTrainingCourseService.GetCourseById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CourseView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CourseEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.PostTrainingCourseService.GetCourseById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingCourseMenuId, BLL.Const.BtnDelete); + BLL.PostTrainingCourseService.DeleteCourseById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PostTrainingCourseMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 鍏抽棴寮瑰嚭绐 + /// + /// 鍏抽棴寮瑰嚭绐 + /// + /// + /// + protected void WindowAtt_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("宀椾綅鍩硅绫诲埆" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + + #region 瀵煎叆 + + /// + /// 瀵煎叆 + /// + /// + /// + protected void btnImport_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("CourseDataIn.aspx?", "瀵煎叆 - "))); + } + + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx.designer.cs new file mode 100644 index 00000000..5c7bdebc --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Course.aspx.designer.cs @@ -0,0 +1,224 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class Course + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// drpCategory 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpCategory; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpMethod1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpMethod1; + + /// + /// drpTeachers1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpTeachers1; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtRemark; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnImport 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnImport; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx new file mode 100644 index 00000000..977b9d1e --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx @@ -0,0 +1,59 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CourseDataIn.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.CourseDataIn" %> + + + + + + + 瀵煎叆 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx.cs new file mode 100644 index 00000000..ac470e28 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx.cs @@ -0,0 +1,158 @@ +锘縰sing BLL; +using Model; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Web; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class CourseDataIn : PageBase + { + #region 鍔犺浇 + + + /// + ///鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + + } + } + + #endregion + + #region 瀵煎叆 + + /// + /// 閿欒闆嗗悎 + /// + public static List errorList = new List(); + + /// + ///瀵煎叆 + /// + /// + /// + protected void btnImport_Click(object sender, EventArgs e) + { + errorList.Clear(); + var message = string.Empty; + errorInfos = string.Empty; + if (fuAttachUrl.HasFile == false) + { + ShowNotify("璇烽夋嫨Excel鏂囦欢!", MessageBoxIcon.Warning); + return; + } + + var IsXls = Path.GetExtension(fuAttachUrl.FileName).Trim().ToLower(); + if (IsXls != ".xlsx") + { + ShowNotify("鍙兘閫夋嫨Excel鏂囦欢!", MessageBoxIcon.Warning); + return; + } + if (!string.IsNullOrEmpty(errorInfos)) errorInfos = string.Empty; + var rootPath = Server.MapPath("~/"); + var initFullPath = rootPath + initPath; + if (!Directory.Exists(initFullPath)) Directory.CreateDirectory(initFullPath); + //鎸囧畾涓婁紶鏂囦欢鍚嶇О + hdFileName.Text = Funs.GetNewFileName() + IsXls; + //涓婁紶鏂囦欢璺緞 + var filePath = initFullPath + hdFileName.Text; + //鏂囦欢涓婁紶鏈嶅姟鍣 + fuAttachUrl.PostedFile.SaveAs(filePath); + //鏂囦欢涓婁紶鏈嶅姟鍣ㄥ悗鐨勫悕绉 + var fileName = rootPath + initPath + hdFileName.Text; + + ResponeData responeData; + responeData = PostTrainingCourseService.ImportData(fuAttachUrl.FileName, fileName, this.CurrUser.LoginProjectId, this.CurrUser.UserId,ref errorList); + + this.gvErrorInfo.DataSource = errorList; + this.gvErrorInfo.DataBind(); + if (responeData.code == 1) + { + ShowNotify("鏁版嵁瀵煎叆鎴愬姛!", MessageBoxIcon.Success); + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + } + else if(errorList.Any()) + { + Alert alert = new Alert(); + alert.Message = responeData.message; + alert.MessageBoxIcon = MessageBoxIcon.Error; + alert.Show(); + } + else + { + Alert alert = new Alert(); + alert.Message = responeData.message; + alert.MessageBoxIcon = MessageBoxIcon.Error; + alert.Show(); + } + } + + #endregion + + #region 瀹氫箟椤 + + /// + ///涓婁紶棰勮鐨勮櫄鎷熻矾寰 + /// + private readonly string initPath = Const.ExcelUrl; //"File\\Excel\\DataIn\\"; + + /// + ///閿欒闆嗗悎 + /// + public static string errorInfos = string.Empty; + + #endregion + + #region 妯℃澘涓嬭浇 + + /// + ///妯℃澘涓嬭浇 + /// + /// + /// + protected void btnDownLoad_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(Confirm.GetShowReference("纭畾瑕佷笅杞芥ā鏉垮悧?", string.Empty, + MessageBoxIcon.Question, PageManager1.GetCustomEventReference(false, "Confirm_OK"), + PageManager1.GetCustomEventReference("Confirm_Cancel"))); + } + + /// + ///涓嬭浇瀵煎叆妯℃澘 + /// + /// + /// + protected void PageManager1_CustomEvent(object sender, CustomEventArgs e) + { + if (e.EventArgument == "Confirm_OK") + { + var rootPath = Server.MapPath("~/"); + var uploadfilepath = rootPath + Const.PostTrainingCourseTemplateUrl; + var filePath = Const.PostTrainingCourseTemplateUrl; + var fileName = Path.GetFileName(filePath); + var info = new FileInfo(uploadfilepath); + var fileSize = info.Length; + Response.ClearContent(); + Response.AddHeader("Content-Disposition", + "attachment;filename=" + HttpUtility.UrlEncode(fileName, Encoding.UTF8)); + Response.ContentType = "excel/plain"; + Response.ContentEncoding = Encoding.UTF8; + Response.AddHeader("Content-Length", fileSize.ToString().Trim()); + Response.TransmitFile(uploadfilepath, 0, fileSize); + Response.End(); + } + } + + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx.designer.cs new file mode 100644 index 00000000..4593f185 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseDataIn.aspx.designer.cs @@ -0,0 +1,125 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class CourseDataIn + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// fuAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.FileUpload fuAttachUrl; + + /// + /// hdFileName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.HiddenField hdFileName; + + /// + /// lb1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Label lb1; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnImport 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnImport; + + /// + /// btnDownLoad 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnDownLoad; + + /// + /// gvErrorInfo 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid gvErrorInfo; + + /// + /// lblPageIndex 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblPageIndex; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx new file mode 100644 index 00000000..8c134a09 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx @@ -0,0 +1,71 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CourseEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.CourseEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫宀椾綅鍩硅璇剧▼ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx.cs new file mode 100644 index 00000000..1b67dcf9 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx.cs @@ -0,0 +1,202 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class CourseEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + ///// + ///// 椤圭洰涓婚敭 + ///// + //public string ProjectId + //{ + // get + // { + // return (string)ViewState["ProjectId"]; + // } + // set + // { + // ViewState["ProjectId"] = value; + // } + //} + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + //this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.PostTraining_Course model = BLL.PostTrainingCourseService.GetCourseById(this.Id); + if (model != null) + { + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtRemark.Text = model.Remark; + if (!string.IsNullOrWhiteSpace(model.CategoryId)) + { + this.drpCategory.SelectedValue = model.CategoryId; + } + if (!string.IsNullOrWhiteSpace(model.Method1)) + { + this.drpMethod1.SelectedValue = model.Method1; + } + if (!string.IsNullOrWhiteSpace(model.Method2)) + { + this.drpMethod2.SelectedValue = model.Method2; + } + if (!string.IsNullOrWhiteSpace(model.Teachers1)) + { + this.drpTeachers1.SelectedValue = model.Teachers1; + } + if (!string.IsNullOrWhiteSpace(model.Teachers2)) + { + this.drpTeachers2.SelectedValue = model.Teachers2; + } + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.PostTraining_Course", "Code", CurrUser.LoginProjectId); + this.txtCode.Text = SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.PostTraining_Course", "Code", ""); + } + } + } + + /// + /// 涓嬫媺妗嗗姞杞 + /// + private void InitDropDownList() + { + //鑾峰彇鍩硅绫诲埆涓嬫媺妗 + PostTrainingCategoryService.InitPostTrainingCategoryDropDownList(this.drpCategory, false); + //鑾峰彇鍩硅鏂瑰紡涓涓嬫媺妗 + PostTrainingMethodService.InitPostTrainingMethodDropDownList(this.drpMethod1, null, false); + //鍩硅鏂瑰紡浜 + PostTrainingMethodService.InitPostTrainingMethodDropDownList(this.drpMethod2, this.drpMethod1.SelectedText, true); + //鑾峰彇鍩硅甯堣祫涓涓嬫媺妗 + PostTrainingTeachersService.InitPostTrainingTeachersDropDownList(this.drpTeachers1, null, false); + //鍩硅甯堣祫浜 + PostTrainingTeachersService.InitPostTrainingTeachersDropDownList(this.drpTeachers2, this.drpTeachers1.SelectedText, true); + } + + /// + /// 鍩硅鏂瑰紡涓涓嬫媺鍔犺浇 + /// + /// + /// + protected void drpMethod1_SelectedIndexChanged(object sender, EventArgs e) + { + //鍩硅鏂瑰紡浜 + PostTrainingMethodService.InitPostTrainingMethodDropDownList(this.drpMethod2, this.drpMethod1.SelectedText, true); + } + + /// + /// 鍩硅甯堣祫涓涓嬫媺鍔犺浇 + /// + /// + /// + protected void drpTeachers1_SelectedIndexChanged(object sender, EventArgs e) + { + //鍩硅甯堣祫浜 + PostTrainingTeachersService.InitPostTrainingTeachersDropDownList(this.drpTeachers2, this.drpTeachers1.SelectedText, true); + } + + + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.PostTraining_Course newModel = new Model.PostTraining_Course + { + //ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + newModel.Name = this.txtName.Text.Trim(); + newModel.CategoryId = this.drpCategory.SelectedValue; + newModel.CategoryName = this.drpCategory.SelectedText; + newModel.Method1 = this.drpMethod1.SelectedValue; + newModel.Method2 = this.drpMethod2.SelectedValue; + newModel.Teachers1 = this.drpTeachers1.SelectedValue; + newModel.Teachers2 = this.drpTeachers2.SelectedValue; + newModel.Remark = this.txtRemark.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.PostTrainingCourseService.UpdateCourse(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingCourseMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Course)); + newModel.Id = this.Id; + BLL.PostTrainingCourseService.AddCourse(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingCourseMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + ///// + ///// 涓婁紶闄勪欢 + ///// + ///// + ///// + //protected void btnAttachUrl_Click(object sender, EventArgs e) + //{ + // if (string.IsNullOrEmpty(this.Id)) + // { + // SaveData(BLL.Const.BtnSave); + // } + // PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PostTraining/Course&menuId={1}", Id, BLL.Const.PostTrainingCourseMenuId))); + //} + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx.designer.cs new file mode 100644 index 00000000..f99ee30e --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/CourseEdit.aspx.designer.cs @@ -0,0 +1,143 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class CourseEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpCategory 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpCategory; + + /// + /// drpMethod1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpMethod1; + + /// + /// drpMethod2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpMethod2; + + /// + /// drpTeachers1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpTeachers1; + + /// + /// drpTeachers2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpTeachers2; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx new file mode 100644 index 00000000..02f741c2 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx @@ -0,0 +1,130 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Method.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.Method" %> + + + + + + + 宀椾綅鍩硅鏂瑰紡 + + + + +
+ + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx.cs new file mode 100644 index 00000000..9accc6bb --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx.cs @@ -0,0 +1,301 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class Method : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("MethodEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.PostTraining_Method + join z in db.Sys_User on x.CompileMan equals z.UserId + where (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtRemark.Text.Trim()) || x.Remark.Contains(txtRemark.Text.Trim())) + orderby x.Code + select new + { + x.Id, + x.Code, + x.Name, + x.Remark, + x.CompileDate, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.PostTrainingMethodService.GetMethodById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MethodView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MethodEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.PostTrainingMethodService.GetMethodById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingMethodMenuId, BLL.Const.BtnDelete); + BLL.PostTrainingMethodService.DeleteMethodById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PostTrainingMethodMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("宀椾綅鍩硅鏂瑰紡" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx.designer.cs new file mode 100644 index 00000000..521af2f9 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Method.aspx.designer.cs @@ -0,0 +1,179 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class Method + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtRemark; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx new file mode 100644 index 00000000..9575d78a --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx @@ -0,0 +1,53 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MethodEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.MethodEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫宀椾綅鍩硅鏂瑰紡 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx.cs new file mode 100644 index 00000000..d8fd9e46 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx.cs @@ -0,0 +1,135 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class MethodEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + ///// + ///// 椤圭洰涓婚敭 + ///// + //public string ProjectId + //{ + // get + // { + // return (string)ViewState["ProjectId"]; + // } + // set + // { + // ViewState["ProjectId"] = value; + // } + //} + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + //this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + //this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.PostTraining_Method model = BLL.PostTrainingMethodService.GetMethodById(this.Id); + if (model != null) + { + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtRemark.Text = model.Remark; + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.PostTraining_Method", "Code", CurrUser.LoginProjectId); + this.txtCode.Text = SQLHelper.RunProcNewId("SpGetNewCode3", "dbo.PostTraining_Method", "Code", ""); + } + } + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.PostTraining_Method newModel = new Model.PostTraining_Method + { + //ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + newModel.Name = this.txtName.Text.Trim(); + newModel.Remark = this.txtRemark.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.PostTrainingMethodService.UpdateMethod(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingMethodMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Method)); + newModel.Id = this.Id; + BLL.PostTrainingMethodService.AddMethod(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingMethodMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + ///// + ///// 涓婁紶闄勪欢 + ///// + ///// + ///// + //protected void btnAttachUrl_Click(object sender, EventArgs e) + //{ + // if (string.IsNullOrEmpty(this.Id)) + // { + // SaveData(BLL.Const.BtnSave); + // } + // PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PostTraining/Method&menuId={1}", Id, BLL.Const.PostTrainingMethodMenuId))); + //} + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx.designer.cs new file mode 100644 index 00000000..103fe5de --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/MethodEdit.aspx.designer.cs @@ -0,0 +1,98 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class MethodEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx new file mode 100644 index 00000000..ff3c8f73 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx @@ -0,0 +1,184 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Record.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.Record" %> + + + + + + + 宀椾綅鍩硅璁板綍 + + + + +
+ + + + + + + + + + + + <%-- + + + + + + + --%> + <%-- + --%> + <%-- + --%> + + + <%-- + --%> + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + <%-- + + + + + + + + + --%> + + + + + + + + + + + <%-- + + --%> + + + + + + + + + + + + + + + + + <%----%> + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx.cs new file mode 100644 index 00000000..93041d73 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx.cs @@ -0,0 +1,378 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class Record : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + this.InitDropDownList(); + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("RecordEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 涓嬫媺妗嗗姞杞 + /// + private void InitDropDownList() + { + ////鑾峰彇閫傜敤宀椾綅涓嬫媺妗 + //PostTrainingRoleService.InitPostTrainingRoleDropDownList(this.drpRole, true); + ////鑾峰彇鍩硅绫诲埆涓嬫媺妗 + //PostTrainingCategoryService.InitPostTrainingCategoryDropDownList(this.drpCategory, true); + ////鑾峰彇鍩硅鏂瑰紡涓嬫媺妗 + //PostTrainingMethodService.InitPostTrainingMethodDropDownList(this.drpMethod, null, true); + ////鑾峰彇鍩硅甯堣祫涓嬫媺妗 + //PostTrainingTeachersService.InitPostTrainingTeachersDropDownList(this.drpTeachers, null, true); + ////鑾峰彇鍩硅鏁堟灉涓嬫媺妗 + //PostTrainingRecordService.InitPostTrainingOutcomeDropDownList(this.drpOutcome, true); + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + string strSql = @"SELECT Record.*,Person.PersonName,Role.Name AS RoleName + FROM PostTraining_Record_Detail AS Detail + LEFT JOIN PostTraining_Record AS Record ON Record.Id=Detail.RecordId + LEFT JOIN SitePerson_Person AS Person ON Person.PersonId=Detail.PersonId + LEFT JOIN PostTraining_Role AS Role ON Role.Id=Person.PostTrainingRoleId + LEFT JOIN Sys_User AS SUser ON SUser.UserId=Record.CompileMan + WHERE 1=1 "; + List listStr = new List(); + if (!string.IsNullOrEmpty(this.txtCode.Text.Trim())) + { + strSql += " AND Record.Code LIKE @Code"; + listStr.Add(new SqlParameter("@Code", "%" + this.txtCode.Text.Trim() + "%")); + } + if (!string.IsNullOrEmpty(this.txtPersonName.Text.Trim())) + { + strSql += " AND Person.PersonName LIKE @PersonName"; + listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text.Trim() + "%")); + } + //if (this.drpRole.SelectedValue != BLL.Const._Null) + //{ + // strSql += " AND Record.RoleId = @RoleId"; + // listStr.Add(new SqlParameter("@RoleId", this.drpRole.SelectedValue)); + //} + //if (this.drpCategory.SelectedValue != BLL.Const._Null) + //{ + // strSql += " AND Course.CategoryId = @CategoryId"; + // listStr.Add(new SqlParameter("@CategoryId", this.drpCategory.SelectedValue)); + //} + //if (this.drpMethod.SelectedValue != BLL.Const._Null) + //{ + // strSql += " AND Record.Method = @Method"; + // listStr.Add(new SqlParameter("@Method", this.drpMethod.SelectedValue)); + //} + //if (this.drpTeachers.SelectedValue != BLL.Const._Null) + //{ + // strSql += " AND Record.Teachers = @Teachers"; + // listStr.Add(new SqlParameter("@Teachers", this.drpTeachers.SelectedValue)); + //} + //if (this.drpOutcome.SelectedValue != BLL.Const._Null) + //{ + // strSql += " AND Record.Outcome = @Outcome"; + // listStr.Add(new SqlParameter("@Outcome", this.drpOutcome.SelectedValue)); + //} + + strSql += " ORDER BY Record.Code ASC "; + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + + Grid1.RecordCount = tb.Rows.Count; + var table = this.GetPagedDataTable(Grid1, tb); + + Grid1.DataSource = table; + Grid1.DataBind(); + + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.PostTrainingRecordService.GetRecordById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("RecordView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("RecordEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.PostTrainingRecordService.GetRecordById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingRecordMenuId, BLL.Const.BtnDelete); + BLL.PostTrainingRecordService.DeleteRecordById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PostTrainingRecordMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 鍏抽棴寮瑰嚭绐 + /// + /// 鍏抽棴寮瑰嚭绐 + /// + /// + /// + protected void WindowAtt_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("宀椾綅鍩硅绫诲埆" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + + #region 瀵煎叆 + + /// + /// 瀵煎叆 + /// + /// + /// + protected void btnImport_Click(object sender, EventArgs e) + { + //PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("RecordDataIn.aspx?", "瀵煎叆 - "))); + } + + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx.designer.cs new file mode 100644 index 00000000..97396b2a --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Record.aspx.designer.cs @@ -0,0 +1,170 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class Record + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtPersonName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtPersonName; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx new file mode 100644 index 00000000..29a21dd6 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx @@ -0,0 +1,186 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RecordEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.RecordEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫宀椾綅鍩硅璁板綍 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- --%> + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx.cs new file mode 100644 index 00000000..05942f2c --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx.cs @@ -0,0 +1,350 @@ +锘縰sing BLL; +using FineUIPro.Web.HSSE.EduTrain; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class RecordEdit : PageBase + { + #region 瀹氫箟椤 + + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + /// + /// 椤圭洰涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + + /// + /// 瀹氫箟闆嗗悎 + /// + private static List recordDetails = new List(); + + #endregion + + #region 鍔犺浇 + + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.PostTraining_Record model = BLL.PostTrainingRecordService.GetRecordById(this.Id); + if (model != null) + { + this.txtCode.Text = model.Code; + this.txtRemark.Text = model.Remark; + if (!string.IsNullOrWhiteSpace(model.CourseId)) + { + var course = BLL.PostTrainingCourseService.GetCourseById(model.CourseId); + this.drpCategory.SelectedValue = course.CategoryId; + //鍩硅璇剧▼ + PostTrainingCourseService.InitPostTrainingCourseDropDownList(this.drpCourse, course.CategoryId, false); + this.drpCourse.SelectedValue = model.CourseId; + } + if (!string.IsNullOrWhiteSpace(model.Method)) + { + this.drpMethod.SelectedValue = model.Method; + } + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + this.txtCode.Text = SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.PostTraining_Record", "Code", ""); + } + } + } + + /// + /// 涓嬫媺妗嗗姞杞 + /// + private void InitDropDownList() + { + //鍩硅鍗曚綅 + UnitService.InitUnitDropDownList(this.drpUnits, this.ProjectId, false); + //鑾峰彇閫傜敤宀椾綅涓嬫媺妗 + PostTrainingRoleService.InitPostTrainingRoleDropDownList(this.drpRole, false); + //鑾峰彇鍩硅绫诲埆涓嬫媺妗 + PostTrainingCategoryService.InitPostTrainingCategoryDropDownList(this.drpCategory, false); + //鑾峰彇鍩硅鏂瑰紡涓嬫媺妗 + PostTrainingMethodService.InitPostTrainingMethodDropDownList(this.drpMethod, null, false); + + this.drpUnits.SelectedValue = this.CurrUser.UnitId; + + ////鑾峰彇鍩硅甯堣祫涓嬫媺妗 + //PostTrainingTeachersService.InitPostTrainingTeachersDropDownList(this.drpTeachers, null, false); + //鍩硅鏁堟灉 + ////PostTrainingRecordService.InitPostTrainingOutcomeDropDownList(this.drpOutcome, false); + } + + /// + /// 鍩硅绫诲埆涓嬫媺鍔犺浇 + /// + /// + /// + protected void drpCategory_SelectedIndexChanged(object sender, EventArgs e) + { + //鍩硅璇剧▼ + PostTrainingCourseService.InitPostTrainingCourseDropDownList(this.drpCourse, this.drpCategory.SelectedValue, false); + } + + /// + /// 缁戝畾 Grid1 + /// + private void Grid1DataBind() + { + recordDetails = (from x in Funs.DB.View_PostTraining_RecordDetail + where x.RecordId == this.Id + orderby x.UnitName, x.RoleName, x.PersonName + select x).ToList(); + Grid1.DataSource = recordDetails; + Grid1.DataBind(); + //for (int i = 0; i < Grid1.Rows.Count; i++) + //{ + // bool isRed = true; + // string trainDetailId = Grid1.Rows[i].DataKeys[0].ToString(); + // var getAtt = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == trainDetailId); + // if (getAtt != null) + // { + // isRed = false; + // } + // if (isRed) + // { + // var getRecordDetail = recordDetails.FirstOrDefault(x => x.DetailId == trainDetailId); + // if (getRecordDetail != null && !string.IsNullOrEmpty(this.TestPlanId)) ////鏈弬鍔犺繃鍩硅鐨勪汉鍛 + // { + // var getTestRecord = Funs.DB.Training_TestRecord.FirstOrDefault(x => x.TestManId == getRecordDetail.PersonId && x.TestPlanId == this.TestPlanId); + // if (getTestRecord != null) + // { + // isRed = false; + // } + // } + // } + // if (isRed) + // { + // Grid1.Rows[i].RowCssClass = "Red"; + // } + //} + } + + #endregion + + #region 閫夋嫨鎸夐挳 + /// + /// 閫夋嫨鎸夐挳 + /// + /// + /// + protected void btnSelect_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + this.SaveData(BLL.Const.BtnSave); + } + //鍩硅宀椾綅 + string roleIds = string.Empty; + foreach (var item in this.drpRole.SelectedValueArray) + { + roleIds += item + ","; + } + if (!string.IsNullOrEmpty(roleIds)) + { + roleIds = roleIds.Substring(0, roleIds.LastIndexOf(",")); + } + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SelectPerson.aspx?RecordId={0}&RoleIds={1}", this.Id, roleIds, "缂栬緫 - "))); + } + #endregion + + #region 鍒犻櫎 + /// + /// 鎵归噺鍒犻櫎 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + BLL.PostTrainingRecordDetailService.DeleteTrainDetailByTrainDetail(rowID); + } + + this.Grid1DataBind(); + this.txtPersonNum.Text = recordDetails.Count.ToString(); + this.ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!锛堣〃鏍兼暟鎹凡閲嶆柊缁戝畾锛"); + } + } + #endregion + + #region 鍏抽棴寮瑰嚭绐 + + /// + /// 鍏抽棴寮瑰嚭绐 + /// + /// + /// + protected void Window1_Close(object sender, EventArgs e) + { + this.Grid1DataBind(); + this.txtPersonNum.Text = recordDetails.Count.ToString(); + } + + #endregion + + #region 淇濆瓨 + + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.PostTraining_Record newModel = new Model.PostTraining_Record + { + ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId, + PersonNum = this.Grid1.Rows.Count, + TrainingTime = Funs.GetNewDateTimeOrNow(this.txtTrainingTime.Text.Trim()) + }; + newModel.Name = this.txtName.Text.Trim(); + newModel.Content = this.txtContent.Text.Trim(); + newModel.CategoryId = this.drpCategory.SelectedValue; + newModel.CategoryName = this.drpCategory.SelectedText; + newModel.CourseId = this.drpCourse.SelectedValue; + newModel.CourseName = this.drpCourse.SelectedText; + newModel.Location = this.txtLocation.Text.Trim(); + newModel.Method = this.drpMethod.SelectedText; + newModel.Lecturer = this.txtLecturer.Text.Trim(); + newModel.Duration = decimal.Parse(this.txtDuration.Text.Trim()); + newModel.Remark = this.txtRemark.Text.Trim(); + + //鍩硅鍗曚綅 + string unitIds = string.Empty; + foreach (var item in this.drpUnits.SelectedValueArray) + { + unitIds += item + ","; + } + if (!string.IsNullOrEmpty(unitIds)) + { + unitIds = unitIds.Substring(0, unitIds.LastIndexOf(",")); + } + + //鍩硅宀椾綅 + string roleIds = string.Empty; + foreach (var item in this.drpRole.SelectedValueArray) + { + roleIds += item + ","; + } + if (!string.IsNullOrEmpty(roleIds)) + { + roleIds = roleIds.Substring(0, roleIds.LastIndexOf(",")); + } + + newModel.UnitIds = unitIds; + newModel.RoleIds = roleIds; + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.PostTrainingRecordService.UpdateRecord(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingRecordMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Record)); + newModel.Id = this.Id; + BLL.PostTrainingRecordService.AddRecord(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingRecordMenuId, BLL.Const.BtnAdd); + } + + //JArray mergedData = Grid1.GetMergedData(); + //foreach (JObject mergedRow in mergedData) + //{ + // string status = mergedRow.Value("status"); + // JObject values = mergedRow.Value("values"); + // Model.PostTraining_Record_Detail detail = BLL.PostTrainingRecordDetailService.GetRecordDetailById(values.Value("DetailId").ToString()); + // if (detail != null) + // { + // if (values.Value("CheckResult").ToString() == "1") + // { + // detail.CheckResult = true; + // } + // else + // { + // detail.CheckResult = false; + // } + // detail.CheckScore = Funs.GetNewDecimalOrZero(values.Value("CheckScore").ToString()); ; + // BLL.EduTrain_TrainRecordDetailService.UpdateTrainDetail(detail); + // } + //} + } + #endregion + + #region 闄勪欢涓婁紶 + /// + /// 涓婁紶闄勪欢 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.Id)) + { + SaveData(BLL.Const.BtnSave); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PostTraining/Record&menuId={1}", Id, BLL.Const.PostTrainingRecordMenuId))); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx.designer.cs new file mode 100644 index 00000000..f86f1863 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/RecordEdit.aspx.designer.cs @@ -0,0 +1,296 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class RecordEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// drpCategory 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpCategory; + + /// + /// drpCourse 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpCourse; + + /// + /// txtTrainingTime 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DatePicker txtTrainingTime; + + /// + /// txtDuration 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.NumberBox txtDuration; + + /// + /// drpMethod 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpMethod; + + /// + /// txtLocation 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtLocation; + + /// + /// txtPersonNum 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.NumberBox txtPersonNum; + + /// + /// txtLecturer 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtLecturer; + + /// + /// drpUnits 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUnits; + + /// + /// trRole 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.FormRow trRole; + + /// + /// drpRole 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpRole; + + /// + /// txtContent 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtContent; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnSelect 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSelect; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// lbTemp 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Label lbTemp; + + /// + /// btnAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnAttachUrl; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx new file mode 100644 index 00000000..260c8227 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx @@ -0,0 +1,130 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Role.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.Role" %> + + + + + + + 宀椾綅鍩硅瑙掕壊 + + + + +
+ + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx.cs new file mode 100644 index 00000000..ab88ecaa --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx.cs @@ -0,0 +1,301 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class Role : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("RoleEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.PostTraining_Role + join z in db.Sys_User on x.CompileMan equals z.UserId + where (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtRemark.Text.Trim()) || x.Remark.Contains(txtRemark.Text.Trim())) + orderby x.Code + select new + { + x.Id, + x.Code, + x.Name, + x.Remark, + x.CompileDate, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.PostTrainingRoleService.GetRoleById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("RoleView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("RoleEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.PostTrainingRoleService.GetRoleById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingRoleMenuId, BLL.Const.BtnDelete); + BLL.PostTrainingRoleService.DeleteRoleById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PostTrainingRoleMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("宀椾綅鍩硅绫诲埆" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx.designer.cs new file mode 100644 index 00000000..7c51f57c --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Role.aspx.designer.cs @@ -0,0 +1,179 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class Role + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtRemark; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx new file mode 100644 index 00000000..46db1616 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx @@ -0,0 +1,53 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RoleEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.RoleEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫宀椾綅鍩硅瑙掕壊 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx.cs new file mode 100644 index 00000000..bed80bcf --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx.cs @@ -0,0 +1,135 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class RoleEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + ///// + ///// 椤圭洰涓婚敭 + ///// + //public string ProjectId + //{ + // get + // { + // return (string)ViewState["ProjectId"]; + // } + // set + // { + // ViewState["ProjectId"] = value; + // } + //} + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + //this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + //this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.PostTraining_Role model = BLL.PostTrainingRoleService.GetRoleById(this.Id); + if (model != null) + { + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtRemark.Text = model.Remark; + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.PostTraining_Role", "Code", CurrUser.LoginProjectId); + this.txtCode.Text = SQLHelper.RunProcNewId("SpGetNewCode3", "dbo.PostTraining_Role", "Code", ""); + } + } + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.PostTraining_Role newModel = new Model.PostTraining_Role + { + //ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + newModel.Name = this.txtName.Text.Trim(); + newModel.Remark = this.txtRemark.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.PostTrainingRoleService.UpdateRole(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingRoleMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Role)); + newModel.Id = this.Id; + BLL.PostTrainingRoleService.AddRole(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingRoleMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + ///// + ///// 涓婁紶闄勪欢 + ///// + ///// + ///// + //protected void btnAttachUrl_Click(object sender, EventArgs e) + //{ + // if (string.IsNullOrEmpty(this.Id)) + // { + // SaveData(BLL.Const.BtnSave); + // } + // PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PostTraining/Role&menuId={1}", Id, BLL.Const.PostTrainingRoleMenuId))); + //} + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx.designer.cs new file mode 100644 index 00000000..3f496f1e --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/RoleEdit.aspx.designer.cs @@ -0,0 +1,98 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class RoleEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx new file mode 100644 index 00000000..ab9ee182 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx @@ -0,0 +1,87 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectPerson.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.SelectPerson" %> + + + + + + 鏌ユ壘浜哄憳 + + + +
+ + + + + + + + + + + + + + + + <%-- + + + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx.cs new file mode 100644 index 00000000..178bdb05 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx.cs @@ -0,0 +1,236 @@ +锘縰sing BLL; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; +using System.Web.Security; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class SelectPerson : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string RecordId + { + get + { + return (string)ViewState["RecordId"]; + } + set + { + ViewState["RecordId"] = value; + } + } + + ///// + ///// GV琚夋嫨椤瑰垪琛 + ///// + //public List ItemSelectedList + //{ + // get + // { + // return (List)ViewState["ItemSelectedList"]; + // } + // set + // { + // ViewState["ItemSelectedList"] = value; + // } + //} + + /// + /// 椤圭洰id + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 椤甸潰鍔犺浇 + /// + /// 椤甸潰鍔犺浇 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.ProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + //鍗曚綅 + BLL.UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true); + this.RecordId = Request.Params["RecordId"]; + // 缁戝畾琛ㄦ牸 + BindGrid(); + } + } + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + //var sss = Grid1; + //var item = Grid1.Rows[rowIndex]; + //var sssrrr22 = Grid1.Rows[rowIndex].RowID; + //var sssrrr2233 = item.GetType().GetProperty("PostTrainingRoleId").GetValue(item, null); ; + string personId = Grid1.DataKeys[rowIndex][0].ToString(); + //string roleId = Grid1.DataKeys[rowIndex][1].ToString(); + var recordDetail = BLL.PostTrainingRecordDetailService.GetRecordDetailByRecordIdPersonId(this.RecordId, personId); + if (recordDetail == null && !string.IsNullOrEmpty(personId)) + { + string newKeyID = SQLHelper.GetNewID(typeof(Model.PostTraining_Record_Detail)); + Model.PostTraining_Record_Detail detail = new Model.PostTraining_Record_Detail + { + Id = newKeyID, + RecordId = this.RecordId, + PersonId = personId + }; + BLL.PostTrainingRecordDetailService.AddRecordDetail(detail); + } + } + + //鏇存柊鍩硅浜烘暟 + var record = BLL.PostTrainingRecordService.GetRecordById(this.RecordId); + if (record != null) + { + var item = BLL.PostTrainingRecordDetailService.GetRecordDetailByRecordId(this.RecordId); + record.PersonNum = item.Count(); + BLL.PostTrainingRecordService.UpdateRecord(record); + } + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + } + else + { + Alert.ShowInParent("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒"); + return; + } + + } + #endregion + + #region 缁戝畾鏁版嵁 + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + string roleIds = Request.Params["RoleIds"]; + //var trainType = BLL.TrainTypeService.GetTrainTypeById(type); + if (!string.IsNullOrWhiteSpace(roleIds)) + { + string roleIdStr = StringHelper.StringConvert(roleIds); + string strSql = $@"SELECT viewPerSon.PersonId,viewPerSon.UnitName,viewPerSon.PersonName,viewPerSon.CardNo,viewPerSon.SexName,PostTrainingRoleId,PostTrainingRoleName,viewPerSon.IdentityCard,TeamGroupName,WorkAreaName,InTime + FROM View_SitePerson_Person AS viewPerSon + WHERE viewPerSon.ProjectId='{this.ProjectId}' AND viewPerSon.IsUsed='1' "; + + List listStr = new List(); + if (BLL.PostTrainingRecordDetailService.GetRecordDetailByRecordId(this.RecordId).Count() > 0) + { + strSql += $@" AND (viewPerSon.PersonId NOT IN ( + SELECT PersonId FROM PostTraining_Record AS R + LEFT JOIN PostTraining_Record_Detail AS D ON R.Id = D.RecordId + WHERE R.ProjectId='{this.ProjectId}' AND R.Id = '{this.RecordId}')) "; + } + + strSql += $@" AND viewPerSon.PostTrainingRoleId IN ({roleIdStr})"; + + //if (!trainType.IsRepeat.HasValue || trainType.IsRepeat == false) + //{ + // strSql += @" AND viewPerSon.PersonId NOT IN + // (SELECT PersonId FROM PostTraining_Record AS R + // LEFT JOIN PostTraining_Record_Detail AS D ON R.RecordId = D.RecordId + // WHERE R.ProjectId='" + this.ProjectId + "' AND R.TrainTypeId ='" + type + "' AND D.CheckResult = 1)"; + //} + + if (this.drpUnit.SelectedValue != BLL.Const._Null) + { + strSql += " AND viewPerSon.UnitId=@UnitId"; + listStr.Add(new SqlParameter("@UnitId", this.drpUnit.SelectedValue)); + } + if (!string.IsNullOrEmpty(this.txtPersonName.Text.Trim())) + { + strSql += " AND viewPerSon.PersonName LIKE @PersonName"; + listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text.Trim() + "%")); + } + + if (!string.IsNullOrEmpty(this.txtCardNo.Text.Trim())) + { + strSql += " AND viewPerSon.CardNo LIKE @CardNo"; + listStr.Add(new SqlParameter("@CardNo", "%" + this.txtCardNo.Text.Trim() + "%")); + } + if (!string.IsNullOrEmpty(this.txtRoleName.Text.Trim())) + { + strSql += " AND viewPerSon.PostTrainingRoleName LIKE @RoleName"; + listStr.Add(new SqlParameter("@RoleName", "%" + this.txtRoleName.Text.Trim() + "%")); + } + //if (ckPostType2.Checked) + //{ + // strSql += " AND viewPerSon.PostType = @PostType"; + // listStr.Add(new SqlParameter("@PostType", BLL.Const.PostType_2)); + //} + //if (ckIsHsse.Checked) + //{ + // strSql += " AND IsHsse = @IsHsse"; + // listStr.Add(new SqlParameter("@IsHsse", true)); + //} + strSql += " group by viewPerSon.PersonId,viewPerSon.UnitName,viewPerSon.PersonName,viewPerSon.CardNo,viewPerSon.Sex,PostTrainingRoleId,PostTrainingRoleName,viewPerSon.IdentityCard,TeamGroupName,WorkAreaName,InTime,SexName"; + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + + Grid1.RecordCount = tb.Rows.Count; + var table1 = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table1; + Grid1.DataBind(); + } + } + #endregion + + #region 鎺掑簭 + /// + /// Grid1鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, GridSortEventArgs e) + { + Grid1.SortDirection = e.SortDirection; + Grid1.SortField = e.SortField; + BindGrid(); + } + #endregion + + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx.designer.cs new file mode 100644 index 00000000..46565441 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/SelectPerson.aspx.designer.cs @@ -0,0 +1,107 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class SelectPerson + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// drpUnit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpUnit; + + /// + /// txtPersonName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtPersonName; + + /// + /// txtCardNo 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCardNo; + + /// + /// txtRoleName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtRoleName; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx new file mode 100644 index 00000000..0ef48f26 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx @@ -0,0 +1,177 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Standard.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.Standard" %> + + + + + + + 宀椾綅鍩硅鏍囧噯 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx.cs new file mode 100644 index 00000000..e9e3668a --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx.cs @@ -0,0 +1,377 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class Standard : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + this.InitDropDownList(); + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("StandardEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 涓嬫媺妗嗗姞杞 + /// + private void InitDropDownList() + { + //鑾峰彇閫傜敤宀椾綅涓嬫媺妗 + PostTrainingRoleService.InitPostTrainingRoleDropDownList(this.drpRole, true); + //鑾峰彇鍩硅绫诲埆涓嬫媺妗 + PostTrainingCategoryService.InitPostTrainingCategoryDropDownList(this.drpCategory, true); + //鑾峰彇鍩硅鏂瑰紡涓嬫媺妗 + PostTrainingMethodService.InitPostTrainingMethodDropDownList(this.drpMethod, null, true); + //鑾峰彇鍩硅甯堣祫涓嬫媺妗 + PostTrainingTeachersService.InitPostTrainingTeachersDropDownList(this.drpTeachers, null, true); + //鑾峰彇鍩硅鏁堟灉涓嬫媺妗 + PostTrainingStandardService.InitPostTrainingOutcomeDropDownList(this.drpOutcome, true); + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + string strSql = @"SELECT Standard.* ,Course.Name AS CourseName,Course.CategoryName,Role.Name AS RoleName,CompileMan.UserName AS CompileManName + FROM PostTraining_Standard as Standard + LEFT JOIN PostTraining_Role AS Role ON Role.Id=Standard.RoleId + LEFT JOIN PostTraining_Course AS Course ON Course.Id=Standard.CourseId + LEFT JOIN Sys_User AS CompileMan ON CompileMan.UserId=Standard.CompileMan + WHERE 1=1 "; + List listStr = new List(); + if (!string.IsNullOrEmpty(this.txtCode.Text.Trim())) + { + strSql += " AND Standard.Code LIKE @Code"; + listStr.Add(new SqlParameter("@Code", "%" + this.txtCode.Text.Trim() + "%")); + } + if (!string.IsNullOrEmpty(this.txtRemark.Text.Trim())) + { + strSql += " AND Standard.Remark LIKE @Remark"; + listStr.Add(new SqlParameter("@Remark", "%" + this.txtRemark.Text.Trim() + "%")); + } + if (this.drpRole.SelectedValue != BLL.Const._Null) + { + strSql += " AND Standard.RoleId = @RoleId"; + listStr.Add(new SqlParameter("@RoleId", this.drpRole.SelectedValue)); + } + if (this.drpCategory.SelectedValue != BLL.Const._Null) + { + strSql += " AND Course.CategoryId = @CategoryId"; + listStr.Add(new SqlParameter("@CategoryId", this.drpCategory.SelectedValue)); + } + if (this.drpMethod.SelectedValue != BLL.Const._Null) + { + strSql += " AND Standard.Method = @Method"; + listStr.Add(new SqlParameter("@Method", this.drpMethod.SelectedValue)); + } + if (this.drpTeachers.SelectedValue != BLL.Const._Null) + { + strSql += " AND Standard.Teachers = @Teachers"; + listStr.Add(new SqlParameter("@Teachers", this.drpTeachers.SelectedValue)); + } + if (this.drpOutcome.SelectedValue != BLL.Const._Null) + { + strSql += " AND Standard.Outcome = @Outcome"; + listStr.Add(new SqlParameter("@Outcome", this.drpOutcome.SelectedValue)); + } + + strSql += " ORDER BY Standard.Code ASC "; + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + + Grid1.RecordCount = tb.Rows.Count; + var table = this.GetPagedDataTable(Grid1, tb); + + Grid1.DataSource = table; + Grid1.DataBind(); + + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.PostTrainingStandardService.GetStandardById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("StandardView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("StandardEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.PostTrainingStandardService.GetStandardById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingStandardMenuId, BLL.Const.BtnDelete); + BLL.PostTrainingStandardService.DeleteStandardById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PostTrainingStandardMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 鍏抽棴寮瑰嚭绐 + /// + /// 鍏抽棴寮瑰嚭绐 + /// + /// + /// + protected void WindowAtt_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("宀椾綅鍩硅绫诲埆" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + + #region 瀵煎叆 + + /// + /// 瀵煎叆 + /// + /// + /// + protected void btnImport_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("StandardDataIn.aspx?", "瀵煎叆 - "))); + } + + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx.designer.cs new file mode 100644 index 00000000..2c41a23d --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Standard.aspx.designer.cs @@ -0,0 +1,233 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class Standard + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// drpRole 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpRole; + + /// + /// drpCategory 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpCategory; + + /// + /// drpMethod 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpMethod; + + /// + /// drpTeachers 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpTeachers; + + /// + /// drpOutcome 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpOutcome; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtRemark; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnImport 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnImport; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// WindowAtt 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx new file mode 100644 index 00000000..c81a2da5 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx @@ -0,0 +1,59 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StandardDataIn.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.StandardDataIn" %> + + + + + + + 瀵煎叆 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx.cs new file mode 100644 index 00000000..f362558b --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx.cs @@ -0,0 +1,158 @@ +锘縰sing BLL; +using Model; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Web; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class StandardDataIn : PageBase + { + #region 鍔犺浇 + + + /// + ///鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + + } + } + + #endregion + + #region 瀵煎叆 + + /// + /// 閿欒闆嗗悎 + /// + public static List errorList = new List(); + + /// + ///瀵煎叆 + /// + /// + /// + protected void btnImport_Click(object sender, EventArgs e) + { + errorList.Clear(); + var message = string.Empty; + errorInfos = string.Empty; + if (fuAttachUrl.HasFile == false) + { + ShowNotify("璇烽夋嫨Excel鏂囦欢!", MessageBoxIcon.Warning); + return; + } + + var IsXls = Path.GetExtension(fuAttachUrl.FileName).Trim().ToLower(); + if (IsXls != ".xlsx") + { + ShowNotify("鍙兘閫夋嫨Excel鏂囦欢!", MessageBoxIcon.Warning); + return; + } + if (!string.IsNullOrEmpty(errorInfos)) errorInfos = string.Empty; + var rootPath = Server.MapPath("~/"); + var initFullPath = rootPath + initPath; + if (!Directory.Exists(initFullPath)) Directory.CreateDirectory(initFullPath); + //鎸囧畾涓婁紶鏂囦欢鍚嶇О + hdFileName.Text = Funs.GetNewFileName() + IsXls; + //涓婁紶鏂囦欢璺緞 + var filePath = initFullPath + hdFileName.Text; + //鏂囦欢涓婁紶鏈嶅姟鍣 + fuAttachUrl.PostedFile.SaveAs(filePath); + //鏂囦欢涓婁紶鏈嶅姟鍣ㄥ悗鐨勫悕绉 + var fileName = rootPath + initPath + hdFileName.Text; + + ResponeData responeData; + responeData = PostTrainingStandardService.ImportData(fuAttachUrl.FileName, fileName, this.CurrUser.LoginProjectId, this.CurrUser.UserId,ref errorList); + + this.gvErrorInfo.DataSource = errorList; + this.gvErrorInfo.DataBind(); + if (responeData.code == 1) + { + ShowNotify("鏁版嵁瀵煎叆鎴愬姛!", MessageBoxIcon.Success); + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + } + else if(errorList.Any()) + { + Alert alert = new Alert(); + alert.Message = responeData.message; + alert.MessageBoxIcon = MessageBoxIcon.Error; + alert.Show(); + } + else + { + Alert alert = new Alert(); + alert.Message = responeData.message; + alert.MessageBoxIcon = MessageBoxIcon.Error; + alert.Show(); + } + } + + #endregion + + #region 瀹氫箟椤 + + /// + ///涓婁紶棰勮鐨勮櫄鎷熻矾寰 + /// + private readonly string initPath = Const.ExcelUrl; //"File\\Excel\\DataIn\\"; + + /// + ///閿欒闆嗗悎 + /// + public static string errorInfos = string.Empty; + + #endregion + + #region 妯℃澘涓嬭浇 + + /// + ///妯℃澘涓嬭浇 + /// + /// + /// + protected void btnDownLoad_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(Confirm.GetShowReference("纭畾瑕佷笅杞芥ā鏉垮悧?", string.Empty, + MessageBoxIcon.Question, PageManager1.GetCustomEventReference(false, "Confirm_OK"), + PageManager1.GetCustomEventReference("Confirm_Cancel"))); + } + + /// + ///涓嬭浇瀵煎叆妯℃澘 + /// + /// + /// + protected void PageManager1_CustomEvent(object sender, CustomEventArgs e) + { + if (e.EventArgument == "Confirm_OK") + { + var rootPath = Server.MapPath("~/"); + var uploadfilepath = rootPath + Const.PostTrainingStandardTemplateUrl; + var filePath = Const.PostTrainingStandardTemplateUrl; + var fileName = Path.GetFileName(filePath); + var info = new FileInfo(uploadfilepath); + var fileSize = info.Length; + Response.ClearContent(); + Response.AddHeader("Content-Disposition", + "attachment;filename=" + HttpUtility.UrlEncode(fileName, Encoding.UTF8)); + Response.ContentType = "excel/plain"; + Response.ContentEncoding = Encoding.UTF8; + Response.AddHeader("Content-Length", fileSize.ToString().Trim()); + Response.TransmitFile(uploadfilepath, 0, fileSize); + Response.End(); + } + } + + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx.designer.cs new file mode 100644 index 00000000..6c753c29 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardDataIn.aspx.designer.cs @@ -0,0 +1,125 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class StandardDataIn + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// fuAttachUrl 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.FileUpload fuAttachUrl; + + /// + /// hdFileName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.HiddenField hdFileName; + + /// + /// lb1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Label lb1; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnImport 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnImport; + + /// + /// btnDownLoad 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnDownLoad; + + /// + /// gvErrorInfo 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid gvErrorInfo; + + /// + /// lblPageIndex 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblPageIndex; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx new file mode 100644 index 00000000..e93563d6 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx @@ -0,0 +1,78 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StandardEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.StandardEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫宀椾綅鍩硅鏍囧噯 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx.cs new file mode 100644 index 00000000..763d089a --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx.cs @@ -0,0 +1,195 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class StandardEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + ///// + ///// 椤圭洰涓婚敭 + ///// + //public string ProjectId + //{ + // get + // { + // return (string)ViewState["ProjectId"]; + // } + // set + // { + // ViewState["ProjectId"] = value; + // } + //} + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + //this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.PostTraining_Standard model = BLL.PostTrainingStandardService.GetStandardById(this.Id); + if (model != null) + { + this.txtCode.Text = model.Code; + this.txtClassHour.Text = model.ClassHour.ToString(); + this.txtCycle.Text = model.Cycle.ToString(); + this.txtRemark.Text = model.Remark; + if (!string.IsNullOrWhiteSpace(model.RoleId)) + { + this.drpRole.SelectedValue = model.RoleId; + } + if (!string.IsNullOrWhiteSpace(model.CourseId)) + { + var course = BLL.PostTrainingCourseService.GetCourseById(model.CourseId); + this.drpCategory.SelectedValue = course.CategoryId; + //鍩硅璇剧▼ + PostTrainingCourseService.InitPostTrainingCourseDropDownList(this.drpCourse, course.CategoryId, false); + this.drpCourse.SelectedValue = model.CourseId; + } + if (!string.IsNullOrWhiteSpace(model.Method)) + { + this.drpMethod.SelectedValue = model.Method; + } + if (!string.IsNullOrWhiteSpace(model.Teachers)) + { + this.drpTeachers.SelectedValue = model.Teachers; + } + if (!string.IsNullOrWhiteSpace(model.Outcome)) + { + this.drpOutcome.SelectedValue = model.Outcome; + } + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.PostTraining_Standard", "Code", CurrUser.LoginProjectId); + this.txtCode.Text = SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.PostTraining_Standard", "Code", ""); + } + } + } + + /// + /// 涓嬫媺妗嗗姞杞 + /// + private void InitDropDownList() + { + //鑾峰彇閫傜敤宀椾綅涓嬫媺妗 + PostTrainingRoleService.InitPostTrainingRoleDropDownList(this.drpRole, false); + //鑾峰彇鍩硅绫诲埆涓嬫媺妗 + PostTrainingCategoryService.InitPostTrainingCategoryDropDownList(this.drpCategory, false); + //鑾峰彇鍩硅鏂瑰紡涓嬫媺妗 + PostTrainingMethodService.InitPostTrainingMethodDropDownList(this.drpMethod, null, false); + //鑾峰彇鍩硅甯堣祫涓嬫媺妗 + PostTrainingTeachersService.InitPostTrainingTeachersDropDownList(this.drpTeachers, null, false); + //鍩硅鏁堟灉 + PostTrainingStandardService.InitPostTrainingOutcomeDropDownList(this.drpOutcome, false); + } + + /// + /// 鍩硅绫诲埆涓嬫媺鍔犺浇 + /// + /// + /// + protected void drpCategory_SelectedIndexChanged(object sender, EventArgs e) + { + //鍩硅璇剧▼ + PostTrainingCourseService.InitPostTrainingCourseDropDownList(this.drpCourse, this.drpCategory.SelectedValue, false); + } + + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.PostTraining_Standard newModel = new Model.PostTraining_Standard + { + //ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + newModel.RoleId = this.drpRole.SelectedValue; + newModel.CourseId = this.drpCourse.SelectedValue; + newModel.ClassHour = decimal.Parse(this.txtClassHour.Text.Trim()); + newModel.Cycle = decimal.Parse(this.txtCycle.Text.Trim()); + newModel.Method = this.drpMethod.SelectedText; + newModel.Outcome = this.drpOutcome.SelectedText; + newModel.Teachers = this.drpTeachers.SelectedText; + newModel.Remark = this.txtRemark.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.PostTrainingStandardService.UpdateStandard(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingStandardMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Standard)); + newModel.Id = this.Id; + BLL.PostTrainingStandardService.AddStandard(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingStandardMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + ///// + ///// 涓婁紶闄勪欢 + ///// + ///// + ///// + //protected void btnAttachUrl_Click(object sender, EventArgs e) + //{ + // if (string.IsNullOrEmpty(this.Id)) + // { + // SaveData(BLL.Const.BtnSave); + // } + // PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PostTraining/Standard&menuId={1}", Id, BLL.Const.PostTrainingStandardMenuId))); + //} + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx.designer.cs new file mode 100644 index 00000000..59d59f52 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/StandardEdit.aspx.designer.cs @@ -0,0 +1,179 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class StandardEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// drpRole 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpRole; + + /// + /// drpCategory 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpCategory; + + /// + /// drpCourse 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpCourse; + + /// + /// txtClassHour 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.NumberBox txtClassHour; + + /// + /// labClassHour 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Label labClassHour; + + /// + /// txtCycle 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.NumberBox txtCycle; + + /// + /// labCycle 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Label labCycle; + + /// + /// drpMethod 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpMethod; + + /// + /// drpTeachers 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpTeachers; + + /// + /// drpOutcome 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpOutcome; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx new file mode 100644 index 00000000..649c495f --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx @@ -0,0 +1,130 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Teachers.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.Teachers" %> + + + + + + + 宀椾綅鍩硅鏁欒祫 + + + + +
+ + + + + + + + + + + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx.cs new file mode 100644 index 00000000..c2dec714 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx.cs @@ -0,0 +1,301 @@ +锘縰sing System; +using System.Data; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class Teachers : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + this.btnNew.OnClientClick = Window1.GetShowReference("TeachersEdit.aspx") + "return false;"; + if (this.CurrUser != null && this.CurrUser.PageSize.HasValue) + { + Grid1.PageSize = this.CurrUser.PageSize.Value; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + this.BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + if (string.IsNullOrEmpty(this.ProjectId)) + { + return; + } + var db = Funs.DB; + var queryData = from x in db.PostTraining_Teachers + join z in db.Sys_User on x.CompileMan equals z.UserId + where (string.IsNullOrEmpty(txtCode.Text.Trim()) || x.Code.Contains(txtCode.Text.Trim())) + && (string.IsNullOrEmpty(txtName.Text.Trim()) || x.Name.Contains(txtName.Text.Trim())) + && (string.IsNullOrEmpty(txtRemark.Text.Trim()) || x.Remark.Contains(txtRemark.Text.Trim())) + orderby x.Code + select new + { + x.Id, + x.Code, + x.Name, + x.Remark, + x.CompileDate, + CompileManName = z.UserName + }; + Grid1.RecordCount = queryData.Count(); + Grid1.DataSource = queryData; + Grid1.DataBind(); + } + + #region 鍒嗛〉 鎺掑簭 + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 鍒嗛〉涓嬫媺閫夋嫨浜嬩欢 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 鎺掑簭 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 鏌ヨ + /// + /// 鏌ヨ + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 缂栬緫 + /// + /// 鍙屽嚮浜嬩欢 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.EditData(); + } + + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (this.btnMenuEdit.Hidden) + { + Alert.ShowInTop("鎶辨瓑锛佹偍娌℃湁缂栬緫鏉冮檺锛", MessageBoxIcon.Warning); + return; + } + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string id = Grid1.SelectedRowID; + var model = BLL.PostTrainingTeachersService.GetTeachersById(id); + if (model != null) + { + if (this.btnMenuEdit.Hidden) ////鍙屽嚮浜嬩欢 缂栬緫鏉冮檺鏈夛細缂栬緫椤甸潰锛屾棤锛氭煡鐪嬮〉闈 鎴栬呯姸鎬佹槸瀹屾垚鏃舵煡鐪嬮〉闈 + { + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("TeachersView.aspx?Id={0}", id, "鏌ョ湅 - "))); + } + else + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("TeachersEdit.aspx?Id={0}", id, "缂栬緫 - "))); + } + } + } + #endregion + + #region 鍒犻櫎 + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var newModel = BLL.PostTrainingTeachersService.GetTeachersById(rowID); + if (newModel != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingTeachersMenuId, BLL.Const.BtnDelete); + BLL.PostTrainingTeachersService.DeleteTeachersById(rowID); + } + } + + this.BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PostTrainingTeachersMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDelete.Hidden = false; + } + } + } + #endregion + + #region 瀵煎嚭鎸夐挳 + /// 瀵煎嚭鎸夐挳 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("宀椾綅鍩硅鏁欒祫" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + this.Grid1.PageSize = 5000; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + /// + /// 瀵煎嚭鏂规硶 + /// + /// + /// + private string GetGridTableHtml(Grid grid) + { + StringBuilder sb = new StringBuilder(); + sb.Append(""); + sb.Append(""); + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + sb.AppendFormat("", column.HeaderText); + } + sb.Append(""); + foreach (GridRow row in grid.Rows) + { + sb.Append(""); + foreach (GridColumn column in grid.Columns) + { + string html = row.Values[column.ColumnIndex].ToString(); + if (column.ColumnID == "tfNumber") + { + html = (row.FindControl("lblNumber") as AspNet.Label).Text; + } + sb.AppendFormat("", html); + } + + sb.Append(""); + } + + sb.Append("
{0}
{0}
"); + + return sb.ToString(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx.designer.cs new file mode 100644 index 00000000..45aceec8 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/Teachers.aspx.designer.cs @@ -0,0 +1,179 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class Teachers + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtRemark; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblNumber 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx b/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx new file mode 100644 index 00000000..9b8e43ca --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx @@ -0,0 +1,53 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeachersEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.PostTraining.TeachersEdit" ValidateRequest="false" %> + +<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl" TagPrefix="uc1" %> + + + + + + 缂栬緫宀椾綅鍩硅鏁欒祫 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx.cs new file mode 100644 index 00000000..c52a92d7 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx.cs @@ -0,0 +1,135 @@ +锘縰sing BLL; +using System; + +namespace FineUIPro.Web.HSSE.PostTraining +{ + public partial class TeachersEdit : PageBase + { + #region 瀹氫箟椤 + /// + /// 涓婚敭 + /// + public string Id + { + get + { + return (string)ViewState["Id"]; + } + set + { + ViewState["Id"] = value; + } + } + ///// + ///// 椤圭洰涓婚敭 + ///// + //public string ProjectId + //{ + // get + // { + // return (string)ViewState["ProjectId"]; + // } + // set + // { + // ViewState["ProjectId"] = value; + // } + //} + #endregion + + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + //this.ProjectId = this.CurrUser.LoginProjectId; + this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + //this.InitDropDownList(); + + this.Id = Request.Params["Id"]; + if (!string.IsNullOrEmpty(this.Id)) + { + Model.PostTraining_Teachers model = BLL.PostTrainingTeachersService.GetTeachersById(this.Id); + if (model != null) + { + this.txtCode.Text = model.Code; + this.txtName.Text = model.Name; + this.txtRemark.Text = model.Remark; + } + } + else + { + ////鑷姩鐢熸垚缂栫爜 + //this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.PostTraining_Teachers", "Code", CurrUser.LoginProjectId); + this.txtCode.Text = SQLHelper.RunProcNewId("SpGetNewCode3", "dbo.PostTraining_Teachers", "Code", ""); + } + } + } + + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + this.SaveData(BLL.Const.BtnSave); + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + /// + /// 淇濆瓨鏁版嵁 + /// + /// + private void SaveData(string type) + { + Model.PostTraining_Teachers newModel = new Model.PostTraining_Teachers + { + //ProjectId = this.ProjectId, + Code = this.txtCode.Text.Trim(), + CompileDate = DateTime.Now, + CompileMan = this.CurrUser.UserId + }; + newModel.Name = this.txtName.Text.Trim(); + newModel.Remark = this.txtRemark.Text.Trim(); + + if (!string.IsNullOrEmpty(this.Id)) + { + newModel.Id = this.Id; + BLL.PostTrainingTeachersService.UpdateTeachers(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingTeachersMenuId, BLL.Const.BtnModify); + } + else + { + this.Id = SQLHelper.GetNewID(typeof(Model.PostTraining_Teachers)); + newModel.Id = this.Id; + BLL.PostTrainingTeachersService.AddTeachers(newModel); + BLL.LogService.AddSys_Log(this.CurrUser, newModel.Code, newModel.Id, BLL.Const.PostTrainingTeachersMenuId, BLL.Const.BtnAdd); + } + } + #endregion + + #region 闄勪欢涓婁紶 + ///// + ///// 涓婁紶闄勪欢 + ///// + ///// + ///// + //protected void btnAttachUrl_Click(object sender, EventArgs e) + //{ + // if (string.IsNullOrEmpty(this.Id)) + // { + // SaveData(BLL.Const.BtnSave); + // } + // PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PostTraining/Teachers&menuId={1}", Id, BLL.Const.PostTrainingTeachersMenuId))); + //} + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx.designer.cs new file mode 100644 index 00000000..88206271 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/PostTraining/TeachersEdit.aspx.designer.cs @@ -0,0 +1,98 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.PostTraining +{ + + + public partial class TeachersEdit + { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnClose 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnClose; + } +} diff --git a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx index afbe6aad..2840727a 100644 --- a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx +++ b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx @@ -58,6 +58,9 @@ + + @@ -113,6 +116,9 @@ + + <%-- --%> diff --git a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx.cs b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx.cs index f8e913ba..995df8bf 100644 --- a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx.cs @@ -65,6 +65,7 @@ namespace FineUIPro.Web.HSSE.SitePerson this.btnMenuDelete.ConfirmText = String.Format("浣犵‘瀹氳鍒犻櫎閫変腑鐨  琛屾暟鎹悧锛", Grid1.GetSelectedCountReference()); this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString(); BLL.WorkPostService.InitWorkPostDropDownList(this.drpPost, true); + PostTrainingRoleService.InitPostTrainingRoleDropDownList(this.drpRole, true); this.InitTreeMenu();//鍔犺浇鏍 } } @@ -293,6 +294,22 @@ namespace FineUIPro.Web.HSSE.SitePerson strSql += ")"; } + if (this.drpRole.SelectedItemArray.Count() > 1 || (this.drpRole.SelectedValue != BLL.Const._Null && this.drpRole.SelectedItemArray.Count() == 1)) + { + strSql += " AND (1=2 "; + int i = 0; + foreach (var item in this.drpRole.SelectedValueArray) + { + if (!string.IsNullOrEmpty(item) && item != BLL.Const._Null) + { + strSql += " OR PostTrainingRoleId = @PostTrainingRoleId" + i.ToString(); + listStr.Add(new SqlParameter("@PostTrainingRoleId" + i.ToString(), item)); + } + i++; + } + strSql += ")"; + } + if (this.ckTrain.Checked) { strSql += " AND TrainCount is null "; diff --git a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx.designer.cs index 213f0926..bc9164c2 100644 --- a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonList.aspx.designer.cs @@ -131,6 +131,15 @@ namespace FineUIPro.Web.HSSE.SitePerson /// protected global::FineUIPro.DropDownList drpPost; + /// + /// drpRole 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpRole; + /// /// drpTreamGroup 鎺т欢銆 /// diff --git a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx index 010f3a02..37ad4825 100644 --- a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx +++ b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx @@ -144,6 +144,8 @@ + + diff --git a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.cs index 03ad5271..90165ab4 100644 --- a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.cs @@ -113,6 +113,10 @@ namespace FineUIPro.Web.HSSE.SitePerson { this.drpPost.SelectedValue = person.WorkPostId; } + if (!string.IsNullOrEmpty(person.PostTrainingRoleId)) + { + this.drpRole.SelectedValue = person.PostTrainingRoleId; + } if (!string.IsNullOrEmpty(person.PositionId)) { this.drpPosition.SelectedValue = person.PositionId; @@ -264,7 +268,10 @@ namespace FineUIPro.Web.HSSE.SitePerson { gvWorkArea.DataSource = BLL.UnitWorkService.GetUnitWorkLists(this.ProjectId); gvWorkArea.DataBind();//鍗曚綅宸ョ▼ + //鎵灞炲矖浣 WorkPostService.InitWorkPostDropDownList(this.drpPost, true); + //鍩硅宀椾綅 + PostTrainingRoleService.InitPostTrainingRoleDropDownList(this.drpRole, true); PositionService.InitPositionDropDownList(this.drpPosition, true); PostTitleService.InitPostTitleDropDownList(this.drpTitle, true); TeamGroupService.InitTeamGroupProjectUnitDropDownList(this.drpTeamGroup, this.ProjectId, this.UnitId, true); @@ -326,6 +333,11 @@ namespace FineUIPro.Web.HSSE.SitePerson ShowNotify("璇烽夋嫨鎵灞炲矖浣嶏紒", MessageBoxIcon.Warning); return; } + if (this.drpRole.SelectedValue == BLL.Const._Null) + { + ShowNotify("璇烽夋嫨鍩硅宀椾綅锛", MessageBoxIcon.Warning); + return; + } if (string.IsNullOrEmpty(this.txtInTime.Text)) { ShowNotify("鍏ュ満鏃堕棿涓嶈兘涓虹┖锛", MessageBoxIcon.Warning); @@ -386,6 +398,10 @@ namespace FineUIPro.Web.HSSE.SitePerson { person.WorkPostId = this.drpPost.SelectedValue; } + if (this.drpRole.SelectedValue != BLL.Const._Null) + { + person.PostTrainingRoleId = this.drpRole.SelectedValue; + } if (this.drpPosition.SelectedValue != BLL.Const._Null) { person.PositionId = this.drpPosition.SelectedValue; diff --git a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.designer.cs index 79820032..a9808df1 100644 --- a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.designer.cs @@ -401,6 +401,15 @@ namespace FineUIPro.Web.HSSE.SitePerson /// protected global::FineUIPro.RadioButtonList rblIsUsed; + /// + /// drpRole 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.DropDownList drpRole; + /// /// Panel5 鎺т欢銆 /// diff --git a/SGGL/FineUIPro.Web/common/PageBase.cs b/SGGL/FineUIPro.Web/common/PageBase.cs index e03489ba..4a488fdf 100644 --- a/SGGL/FineUIPro.Web/common/PageBase.cs +++ b/SGGL/FineUIPro.Web/common/PageBase.cs @@ -1,5 +1,4 @@ 锘縰sing BLL; -using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; @@ -7,7 +6,6 @@ using System.Data; using System.IO; using System.Linq; using System.Reflection; -using System.Security.Policy; using System.Text; using System.Web; using System.Web.Security; diff --git a/SGGL/FineUIPro.Web/index.aspx b/SGGL/FineUIPro.Web/index.aspx index 9b415d1b..cdb4fbc7 100644 --- a/SGGL/FineUIPro.Web/index.aspx +++ b/SGGL/FineUIPro.Web/index.aspx @@ -172,13 +172,13 @@
-
+ <%--
-
+
--%>
-
@@ -188,7 +188,7 @@
-
鏅烘収鏂藉伐绠$悊绯荤粺
+
HSE绠$悊淇℃伅绯荤粺
-
+ <%--
-
+
--%>
diff --git a/SGGL/FineUIPro.Web/index.aspx.designer.cs b/SGGL/FineUIPro.Web/index.aspx.designer.cs index 3840048c..b3333994 100644 --- a/SGGL/FineUIPro.Web/index.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/index.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web { - - - public partial class index { - +namespace FineUIPro.Web +{ + + + public partial class index + { + /// /// form1 鎺т欢銆 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 鎺т欢銆 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 鎺т欢銆 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Panel Panel1; - + /// /// topPanel 鎺т欢銆 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.ContentPanel topPanel; - + /// /// ContentPanel1 鎺т欢銆 /// @@ -56,16 +58,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.ContentPanel ContentPanel1; - - /// - /// btnProject 鎺т欢銆 - /// - /// - /// 鑷姩鐢熸垚鐨勫瓧娈点 - /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 - /// - protected global::FineUIPro.Button btnProject; - + /// /// btnDigData 鎺т欢銆 /// @@ -74,7 +67,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Button btnDigData; - + /// /// btnServer 鎺т欢銆 /// @@ -83,7 +76,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Button btnServer; - + /// /// btnNotice 鎺т欢銆 /// @@ -92,7 +85,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Button btnNotice; - + /// /// btnPerson 鎺т欢銆 /// @@ -101,16 +94,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Button btnPerson; - - /// - /// btnZHGL 鎺т欢銆 - /// - /// - /// 鑷姩鐢熸垚鐨勫瓧娈点 - /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 - /// - protected global::FineUIPro.Button btnZHGL; - + /// /// btnPersonal 鎺т欢銆 /// @@ -119,7 +103,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Button btnPersonal; - + /// /// Button7 鎺т欢銆 /// @@ -128,7 +112,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Button Button7; - + /// /// btnRetweet 鎺т欢銆 /// @@ -137,7 +121,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Button btnRetweet; - + /// /// leftPanel 鎺т欢銆 /// @@ -146,7 +130,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Panel leftPanel; - + /// /// leftPanelToolCollapse 鎺т欢銆 /// @@ -155,7 +139,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Tool leftPanelToolCollapse; - + /// /// leftPanelToolGear 鎺т欢銆 /// @@ -164,7 +148,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Tool leftPanelToolGear; - + /// /// btnExpandAll 鎺т欢銆 /// @@ -173,7 +157,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuButton btnExpandAll; - + /// /// btnCollapseAll 鎺т欢銆 /// @@ -182,7 +166,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuButton btnCollapseAll; - + /// /// MenuMode 鎺т欢銆 /// @@ -191,7 +175,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuButton MenuMode; - + /// /// MenuModeNormal 鎺т欢銆 /// @@ -200,7 +184,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuCheckBox MenuModeNormal; - + /// /// MenuModeCompact 鎺т欢銆 /// @@ -209,7 +193,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuCheckBox MenuModeCompact; - + /// /// MenuModeLarge 鎺т欢銆 /// @@ -218,7 +202,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuCheckBox MenuModeLarge; - + /// /// MenuStyle 鎺т欢銆 /// @@ -227,7 +211,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuButton MenuStyle; - + /// /// MenuStyleTree 鎺т欢銆 /// @@ -236,7 +220,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuCheckBox MenuStyleTree; - + /// /// MenuStyleMiniModeTree 鎺т欢銆 /// @@ -245,7 +229,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuCheckBox MenuStyleMiniModeTree; - + /// /// MenuStylePlainTree 鎺т欢銆 /// @@ -254,7 +238,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuCheckBox MenuStylePlainTree; - + /// /// MenuLang 鎺т欢銆 /// @@ -263,7 +247,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuButton MenuLang; - + /// /// MenuLangZHCN 鎺т欢銆 /// @@ -272,7 +256,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.MenuCheckBox MenuLangZHCN; - + /// /// mainTabStrip 鎺т欢銆 /// @@ -281,7 +265,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.TabStrip mainTabStrip; - + /// /// Tab1 鎺т欢銆 /// @@ -290,7 +274,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Tab Tab1; - + /// /// toolRefresh 鎺т欢銆 /// @@ -299,7 +283,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Tool toolRefresh; - + /// /// toolNewWindow 鎺т欢銆 /// @@ -308,7 +292,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Tool toolNewWindow; - + /// /// toolMaximize 鎺т欢銆 /// @@ -317,7 +301,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Tool toolMaximize; - + /// /// toolSignOut 鎺т欢銆 /// @@ -326,7 +310,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Tool toolSignOut; - + /// /// windowCustomQuery 鎺т欢銆 /// @@ -335,7 +319,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Window windowCustomQuery; - + /// /// hdHomePage 鎺т欢銆 /// @@ -344,7 +328,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.HiddenField hdHomePage; - + /// /// btnChangeHomePage 鎺т欢銆 /// @@ -353,7 +337,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::FineUIPro.Button btnChangeHomePage; - + /// /// XmlDataSource1 鎺т欢銆 /// @@ -362,7 +346,7 @@ namespace FineUIPro.Web { /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 /// protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1; - + /// /// btnHome 鎺т欢銆 /// diff --git a/SGGL/FineUIPro.Web/indexProject.aspx b/SGGL/FineUIPro.Web/indexProject.aspx index 3fd58cdd..67caf053 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx +++ b/SGGL/FineUIPro.Web/indexProject.aspx @@ -6,7 +6,7 @@ - 鏅烘収鏂藉伐绠$悊淇℃伅绯荤粺 + HSE绠$悊淇℃伅绯荤粺 <%-- --%> @@ -277,26 +277,26 @@
--%>
--%>
diff --git a/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs b/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs index 601f3f3b..825c33a2 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs @@ -59,15 +59,6 @@ namespace FineUIPro.Web /// protected global::FineUIPro.ContentPanel ContentPanel1; - /// - /// btnCQMS 鎺т欢銆 - /// - /// - /// 鑷姩鐢熸垚鐨勫瓧娈点 - /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 - /// - protected global::FineUIPro.Button btnCQMS; - /// /// btnHSSE 鎺т欢銆 /// @@ -77,24 +68,6 @@ namespace FineUIPro.Web /// protected global::FineUIPro.Button btnHSSE; - /// - /// btnJDGL 鎺т欢銆 - /// - /// - /// 鑷姩鐢熸垚鐨勫瓧娈点 - /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 - /// - protected global::FineUIPro.Button btnJDGL; - - /// - /// btnHJGL 鎺т欢銆 - /// - /// - /// 鑷姩鐢熸垚鐨勫瓧娈点 - /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 - /// - protected global::FineUIPro.Button btnHJGL; - /// /// btnHome 鎺т欢銆 /// @@ -104,33 +77,6 @@ namespace FineUIPro.Web /// protected global::FineUIPro.Button btnHome; - /// - /// btnDigitalSite 鎺т欢銆 - /// - /// - /// 鑷姩鐢熸垚鐨勫瓧娈点 - /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 - /// - protected global::FineUIPro.Button btnDigitalSite; - - /// - /// btnPDigData 鎺т欢銆 - /// - /// - /// 鑷姩鐢熸垚鐨勫瓧娈点 - /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 - /// - protected global::FineUIPro.Button btnPDigData; - - /// - /// butSubPackMage 鎺т欢銆 - /// - /// - /// 鑷姩鐢熸垚鐨勫瓧娈点 - /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 - /// - protected global::FineUIPro.Button butSubPackMage; - /// /// btnFiveStars 鎺т欢銆 /// diff --git a/SGGL/Model/HSSE/PostTraining/PostTrainingCourse_InputDataIn.cs b/SGGL/Model/HSSE/PostTraining/PostTrainingCourse_InputDataIn.cs new file mode 100644 index 00000000..fecbac1c --- /dev/null +++ b/SGGL/Model/HSSE/PostTraining/PostTrainingCourse_InputDataIn.cs @@ -0,0 +1,37 @@ +锘縰sing MiniExcelLibs.Attributes; + +namespace Model +{ + public class PostTrainingCourse_InputDataIn + { + /// + /// 鍩硅绫诲埆 + /// + [ExcelColumnIndex("A")] public string CategoryName { get; set; } + /// + /// 璇剧▼鍚嶇О + /// + [ExcelColumnIndex("B")] public string Name { get; set; } + /// + /// 鍩硅鏂瑰紡涓 + /// + [ExcelColumnIndex("C")] public string Method1 { get; set; } + /// + /// 鍩硅鏂瑰紡浜 + /// + [ExcelColumnIndex("D")] public string Method2 { get; set; } + /// + /// 鍩硅甯堣祫涓 + /// + [ExcelColumnIndex("E")] public string Teachers1 { get; set; } + /// + /// 鍩硅甯堣祫浜 + /// + [ExcelColumnIndex("F")] public string Teachers2 { get; set; } + /// + /// 澶囨敞 + /// + [ExcelColumnIndex("G")] public string Remark { get; set; } + + } +} \ No newline at end of file diff --git a/SGGL/Model/HSSE/PostTraining/PostTrainingStandardInfo.cs b/SGGL/Model/HSSE/PostTraining/PostTrainingStandardInfo.cs new file mode 100644 index 00000000..afd00adf --- /dev/null +++ b/SGGL/Model/HSSE/PostTraining/PostTrainingStandardInfo.cs @@ -0,0 +1,48 @@ +锘縰sing MiniExcelLibs.Attributes; + +namespace Model +{ + public class PostTrainingStandardInfo + { + /// + /// 閫傜敤宀椾綅瑙掕壊 + /// + public string RoleName { get; set; } + public string RoleId { get; set; } + /// + /// 鍩硅绫诲埆 + /// + public string CategoryName { get; set; } + public string CourseId { get; set; } + /// + /// 鍩硅璇剧▼ + /// + public string CourseName { get; set; } + /// + /// 鍩硅璇炬椂锛堝鏃讹級 + /// + public decimal ClassHour { get; set; } + /// + /// 鍩硅鍛ㄦ湡锛堝勾/娆★級 + /// + public decimal Cycle { get; set; } + /// + /// 鍩硅鏂瑰紡 + /// + public string Method { get; set; } + /// + /// 鍩硅鏁堟灉 + /// + public string Outcome { get; set; } + /// + /// 鎺堣浜-鍩硅甯堣祫 + /// + public string Teachers { get; set; } + + /// + /// 澶囨敞 + /// + public string Remark { get; set; } + + } +} \ No newline at end of file diff --git a/SGGL/Model/HSSE/PostTraining/PostTrainingStandard_InputDataIn.cs b/SGGL/Model/HSSE/PostTraining/PostTrainingStandard_InputDataIn.cs new file mode 100644 index 00000000..6dbe5c56 --- /dev/null +++ b/SGGL/Model/HSSE/PostTraining/PostTrainingStandard_InputDataIn.cs @@ -0,0 +1,46 @@ +锘縰sing MiniExcelLibs.Attributes; + +namespace Model +{ + public class PostTrainingStandard_InputDataIn + { + /// + /// 閫傜敤宀椾綅瑙掕壊 + /// + [ExcelColumnIndex("A")] public string RoleName { get; set; } + /// + /// 鍩硅绫诲埆 + /// + [ExcelColumnIndex("B")] public string CategoryName { get; set; } + /// + /// 鍩硅璇剧▼ + /// + [ExcelColumnIndex("C")] public string CourseName { get; set; } + /// + /// 鍩硅璇炬椂锛堝鏃讹級 + /// + [ExcelColumnIndex("D")] public string ClassHour { get; set; } + /// + /// 鍩硅鍛ㄦ湡锛堝勾/娆★級 + /// + [ExcelColumnIndex("E")] public string Cycle { get; set; } + /// + /// 鍩硅鏂瑰紡 + /// + [ExcelColumnIndex("F")] public string Method { get; set; } + /// + /// 鍩硅鏁堟灉 + /// + [ExcelColumnIndex("G")] public string Outcome { get; set; } + /// + /// 鎺堣浜-鍩硅甯堣祫 + /// + [ExcelColumnIndex("H")] public string Teachers { get; set; } + + /// + /// 澶囨敞 + /// + [ExcelColumnIndex("I")] public string Remark { get; set; } + + } +} \ No newline at end of file diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 1fb0017e..d36f11cb 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -1004,6 +1004,27 @@ namespace Model partial void InsertEpidemic_Vaccin(Epidemic_Vaccin instance); partial void UpdateEpidemic_Vaccin(Epidemic_Vaccin instance); partial void DeleteEpidemic_Vaccin(Epidemic_Vaccin instance); + partial void InsertExamine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation instance); + partial void UpdateExamine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation instance); + partial void DeleteExamine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation instance); + partial void InsertExamine_BonusScoreSituation(Examine_BonusScoreSituation instance); + partial void UpdateExamine_BonusScoreSituation(Examine_BonusScoreSituation instance); + partial void DeleteExamine_BonusScoreSituation(Examine_BonusScoreSituation instance); + partial void InsertExamine_CoConstructionActivities(Examine_CoConstructionActivities instance); + partial void UpdateExamine_CoConstructionActivities(Examine_CoConstructionActivities instance); + partial void DeleteExamine_CoConstructionActivities(Examine_CoConstructionActivities instance); + partial void InsertExamine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting instance); + partial void UpdateExamine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting instance); + partial void DeleteExamine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting instance); + partial void InsertExamine_MinusScoreSituation(Examine_MinusScoreSituation instance); + partial void UpdateExamine_MinusScoreSituation(Examine_MinusScoreSituation instance); + partial void DeleteExamine_MinusScoreSituation(Examine_MinusScoreSituation instance); + partial void InsertExamine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan instance); + partial void UpdateExamine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan instance); + partial void DeleteExamine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan instance); + partial void InsertExamine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience instance); + partial void UpdateExamine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience instance); + partial void DeleteExamine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience instance); partial void InsertExchange_Content(Exchange_Content instance); partial void UpdateExchange_Content(Exchange_Content instance); partial void DeleteExchange_Content(Exchange_Content instance); @@ -1784,6 +1805,30 @@ namespace Model partial void InsertPersonTrain_TrainPlan(PersonTrain_TrainPlan instance); partial void UpdatePersonTrain_TrainPlan(PersonTrain_TrainPlan instance); partial void DeletePersonTrain_TrainPlan(PersonTrain_TrainPlan instance); + partial void InsertPostTraining_Category(PostTraining_Category instance); + partial void UpdatePostTraining_Category(PostTraining_Category instance); + partial void DeletePostTraining_Category(PostTraining_Category instance); + partial void InsertPostTraining_Course(PostTraining_Course instance); + partial void UpdatePostTraining_Course(PostTraining_Course instance); + partial void DeletePostTraining_Course(PostTraining_Course instance); + partial void InsertPostTraining_Method(PostTraining_Method instance); + partial void UpdatePostTraining_Method(PostTraining_Method instance); + partial void DeletePostTraining_Method(PostTraining_Method instance); + partial void InsertPostTraining_Record(PostTraining_Record instance); + partial void UpdatePostTraining_Record(PostTraining_Record instance); + partial void DeletePostTraining_Record(PostTraining_Record instance); + partial void InsertPostTraining_Record_Detail(PostTraining_Record_Detail instance); + partial void UpdatePostTraining_Record_Detail(PostTraining_Record_Detail instance); + partial void DeletePostTraining_Record_Detail(PostTraining_Record_Detail instance); + partial void InsertPostTraining_Role(PostTraining_Role instance); + partial void UpdatePostTraining_Role(PostTraining_Role instance); + partial void DeletePostTraining_Role(PostTraining_Role instance); + partial void InsertPostTraining_Standard(PostTraining_Standard instance); + partial void UpdatePostTraining_Standard(PostTraining_Standard instance); + partial void DeletePostTraining_Standard(PostTraining_Standard instance); + partial void InsertPostTraining_Teachers(PostTraining_Teachers instance); + partial void UpdatePostTraining_Teachers(PostTraining_Teachers instance); + partial void DeletePostTraining_Teachers(PostTraining_Teachers instance); partial void InsertProcessControl_HotProessManage(ProcessControl_HotProessManage instance); partial void UpdateProcessControl_HotProessManage(ProcessControl_HotProessManage instance); partial void DeleteProcessControl_HotProessManage(ProcessControl_HotProessManage instance); @@ -5295,6 +5340,62 @@ namespace Model } } + public System.Data.Linq.Table Examine_BehavioralSafetyObservation + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Examine_BonusScoreSituation + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Examine_CoConstructionActivities + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Examine_LeadershipJoinHomeworkAnalysisMeeting + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Examine_MinusScoreSituation + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Examine_PersonalSafetyActionPlan + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Examine_SharingOfSafetyExperience + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Exchange_Content { get @@ -7391,6 +7492,70 @@ namespace Model } } + public System.Data.Linq.Table PostTraining_Category + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table PostTraining_Course + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table PostTraining_Method + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table PostTraining_Record + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table PostTraining_Record_Detail + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table PostTraining_Role + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table PostTraining_Standard + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table PostTraining_Teachers + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table ProcessControl_HotProessManage { get @@ -10487,6 +10652,14 @@ namespace Model } } + public System.Data.Linq.Table View_PostTraining_RecordDetail + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table View_ProcessControl_InspectionManagement { get @@ -28155,6 +28328,20 @@ namespace Model private EntitySet _Environmental_ProjectOperationReport; + private EntitySet _Examine_BehavioralSafetyObservation; + + private EntitySet _Examine_BonusScoreSituation; + + private EntitySet _Examine_CoConstructionActivities; + + private EntitySet _Examine_LeadershipJoinHomeworkAnalysisMeeting; + + private EntitySet _Examine_MinusScoreSituation; + + private EntitySet _Examine_PersonalSafetyActionPlan; + + private EntitySet _Examine_SharingOfSafetyExperience; + private EntitySet _FinalFileManage_FinalFileList; private EntitySet _FinalFileManage_HSEFinalFileList; @@ -28337,6 +28524,8 @@ namespace Model private EntitySet _HJGL_WeldingDaily; + private EntitySet _PostTraining_Record; + private EntitySet _ProcessControl_HotProessManage; private EntitySet _ProcessControl_InspectionManagement; @@ -28473,14 +28662,6 @@ namespace Model private EntitySet _TP_TestPackage; - private EntitySet _Training_Plan; - - private EntitySet _Training_Task; - - private EntitySet _Training_TestPlan; - - private EntitySet _Training_TestRecord; - private EntitySet _Unqualified_WorkContact; private EntitySet _WBS_BreakdownProject; @@ -28713,6 +28894,13 @@ namespace Model this._Environmental_ProjectArchitectureReport = new EntitySet(new Action(this.attach_Environmental_ProjectArchitectureReport), new Action(this.detach_Environmental_ProjectArchitectureReport)); this._Environmental_ProjectChemicalReport = new EntitySet(new Action(this.attach_Environmental_ProjectChemicalReport), new Action(this.detach_Environmental_ProjectChemicalReport)); this._Environmental_ProjectOperationReport = new EntitySet(new Action(this.attach_Environmental_ProjectOperationReport), new Action(this.detach_Environmental_ProjectOperationReport)); + this._Examine_BehavioralSafetyObservation = new EntitySet(new Action(this.attach_Examine_BehavioralSafetyObservation), new Action(this.detach_Examine_BehavioralSafetyObservation)); + this._Examine_BonusScoreSituation = new EntitySet(new Action(this.attach_Examine_BonusScoreSituation), new Action(this.detach_Examine_BonusScoreSituation)); + this._Examine_CoConstructionActivities = new EntitySet(new Action(this.attach_Examine_CoConstructionActivities), new Action(this.detach_Examine_CoConstructionActivities)); + this._Examine_LeadershipJoinHomeworkAnalysisMeeting = new EntitySet(new Action(this.attach_Examine_LeadershipJoinHomeworkAnalysisMeeting), new Action(this.detach_Examine_LeadershipJoinHomeworkAnalysisMeeting)); + this._Examine_MinusScoreSituation = new EntitySet(new Action(this.attach_Examine_MinusScoreSituation), new Action(this.detach_Examine_MinusScoreSituation)); + this._Examine_PersonalSafetyActionPlan = new EntitySet(new Action(this.attach_Examine_PersonalSafetyActionPlan), new Action(this.detach_Examine_PersonalSafetyActionPlan)); + this._Examine_SharingOfSafetyExperience = new EntitySet(new Action(this.attach_Examine_SharingOfSafetyExperience), new Action(this.detach_Examine_SharingOfSafetyExperience)); this._FinalFileManage_FinalFileList = new EntitySet(new Action(this.attach_FinalFileManage_FinalFileList), new Action(this.detach_FinalFileManage_FinalFileList)); this._FinalFileManage_HSEFinalFileList = new EntitySet(new Action(this.attach_FinalFileManage_HSEFinalFileList), new Action(this.detach_FinalFileManage_HSEFinalFileList)); this._FinalFileManage_OtherDocumentList = new EntitySet(new Action(this.attach_FinalFileManage_OtherDocumentList), new Action(this.detach_FinalFileManage_OtherDocumentList)); @@ -28804,6 +28992,7 @@ namespace Model this._PersonTrain_TrainContent = new EntitySet(new Action(this.attach_PersonTrain_TrainContent), new Action(this.detach_PersonTrain_TrainContent)); this._PersonTrain_TrainPlan = new EntitySet(new Action(this.attach_PersonTrain_TrainPlan), new Action(this.detach_PersonTrain_TrainPlan)); this._HJGL_WeldingDaily = new EntitySet(new Action(this.attach_HJGL_WeldingDaily), new Action(this.detach_HJGL_WeldingDaily)); + this._PostTraining_Record = new EntitySet(new Action(this.attach_PostTraining_Record), new Action(this.detach_PostTraining_Record)); this._ProcessControl_HotProessManage = new EntitySet(new Action(this.attach_ProcessControl_HotProessManage), new Action(this.detach_ProcessControl_HotProessManage)); this._ProcessControl_InspectionManagement = new EntitySet(new Action(this.attach_ProcessControl_InspectionManagement), new Action(this.detach_ProcessControl_InspectionManagement)); this._ProcessControl_NondestructiveTest = new EntitySet(new Action(this.attach_ProcessControl_NondestructiveTest), new Action(this.detach_ProcessControl_NondestructiveTest)); @@ -28872,10 +29061,6 @@ namespace Model this._Sys_UserRead = new EntitySet(new Action(this.attach_Sys_UserRead), new Action(this.detach_Sys_UserRead)); this._TC_CostStatistic = new EntitySet(new Action(this.attach_TC_CostStatistic), new Action(this.detach_TC_CostStatistic)); this._TP_TestPackage = new EntitySet(new Action(this.attach_TP_TestPackage), new Action(this.detach_TP_TestPackage)); - this._Training_Plan = new EntitySet(new Action(this.attach_Training_Plan), new Action(this.detach_Training_Plan)); - this._Training_Task = new EntitySet(new Action(this.attach_Training_Task), new Action(this.detach_Training_Task)); - this._Training_TestPlan = new EntitySet(new Action(this.attach_Training_TestPlan), new Action(this.detach_Training_TestPlan)); - this._Training_TestRecord = new EntitySet(new Action(this.attach_Training_TestRecord), new Action(this.detach_Training_TestRecord)); this._Unqualified_WorkContact = new EntitySet(new Action(this.attach_Unqualified_WorkContact), new Action(this.detach_Unqualified_WorkContact)); this._WBS_BreakdownProject = new EntitySet(new Action(this.attach_WBS_BreakdownProject), new Action(this.detach_WBS_BreakdownProject)); this._WBS_DivisionProject = new EntitySet(new Action(this.attach_WBS_DivisionProject), new Action(this.detach_WBS_DivisionProject)); @@ -31225,6 +31410,97 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_Base_Project", Storage="_Examine_BehavioralSafetyObservation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet Examine_BehavioralSafetyObservation + { + get + { + return this._Examine_BehavioralSafetyObservation; + } + set + { + this._Examine_BehavioralSafetyObservation.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_Base_Project", Storage="_Examine_BonusScoreSituation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet Examine_BonusScoreSituation + { + get + { + return this._Examine_BonusScoreSituation; + } + set + { + this._Examine_BonusScoreSituation.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_Base_Project", Storage="_Examine_CoConstructionActivities", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet Examine_CoConstructionActivities + { + get + { + return this._Examine_CoConstructionActivities; + } + set + { + this._Examine_CoConstructionActivities.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Base_Project", Storage="_Examine_LeadershipJoinHomeworkAnalysisMeeting", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet Examine_LeadershipJoinHomeworkAnalysisMeeting + { + get + { + return this._Examine_LeadershipJoinHomeworkAnalysisMeeting; + } + set + { + this._Examine_LeadershipJoinHomeworkAnalysisMeeting.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_Base_Project", Storage="_Examine_MinusScoreSituation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet Examine_MinusScoreSituation + { + get + { + return this._Examine_MinusScoreSituation; + } + set + { + this._Examine_MinusScoreSituation.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_PersonalSafetyActionPlan_Base_Project", Storage="_Examine_PersonalSafetyActionPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet Examine_PersonalSafetyActionPlan + { + get + { + return this._Examine_PersonalSafetyActionPlan; + } + set + { + this._Examine_PersonalSafetyActionPlan.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_SharingOfSafetyExperience_Base_Project", Storage="_Examine_SharingOfSafetyExperience", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet Examine_SharingOfSafetyExperience + { + get + { + return this._Examine_SharingOfSafetyExperience; + } + set + { + this._Examine_SharingOfSafetyExperience.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_FinalFileManage_FinalFileList_Base_Project", Storage="_FinalFileManage_FinalFileList", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet FinalFileManage_FinalFileList { @@ -32408,6 +32684,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_Base_Project", Storage="_PostTraining_Record", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Record + { + get + { + return this._PostTraining_Record; + } + set + { + this._PostTraining_Record.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProcessControl_HotProessManage_Base_Project", Storage="_ProcessControl_HotProessManage", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet ProcessControl_HotProessManage { @@ -33292,58 +33581,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Plan_Base_Project", Storage="_Training_Plan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Training_Plan - { - get - { - return this._Training_Plan; - } - set - { - this._Training_Plan.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Task_Base_Project", Storage="_Training_Task", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Training_Task - { - get - { - return this._Training_Task; - } - set - { - this._Training_Task.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestPlan_Base_Project", Storage="_Training_TestPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Training_TestPlan - { - get - { - return this._Training_TestPlan; - } - set - { - this._Training_TestPlan.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestRecord_Base_Project", Storage="_Training_TestRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Training_TestRecord - { - get - { - return this._Training_TestRecord; - } - set - { - this._Training_TestRecord.Assign(value); - } - } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Unqualified_WorkContact_Base_Project", Storage="_Unqualified_WorkContact", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet Unqualified_WorkContact { @@ -34988,6 +35225,90 @@ namespace Model entity.Base_Project = null; } + private void attach_Examine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_Examine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + + private void attach_Examine_BonusScoreSituation(Examine_BonusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_Examine_BonusScoreSituation(Examine_BonusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + + private void attach_Examine_CoConstructionActivities(Examine_CoConstructionActivities entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_Examine_CoConstructionActivities(Examine_CoConstructionActivities entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + + private void attach_Examine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_Examine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + + private void attach_Examine_MinusScoreSituation(Examine_MinusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_Examine_MinusScoreSituation(Examine_MinusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + + private void attach_Examine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_Examine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + + private void attach_Examine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_Examine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + private void attach_FinalFileManage_FinalFileList(FinalFileManage_FinalFileList entity) { this.SendPropertyChanging(); @@ -36080,6 +36401,18 @@ namespace Model entity.Base_Project = null; } + private void attach_PostTraining_Record(PostTraining_Record entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_PostTraining_Record(PostTraining_Record entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + private void attach_ProcessControl_HotProessManage(ProcessControl_HotProessManage entity) { this.SendPropertyChanging(); @@ -36896,54 +37229,6 @@ namespace Model entity.Base_Project = null; } - private void attach_Training_Plan(Training_Plan entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Training_Plan(Training_Plan entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Training_Task(Training_Task entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Training_Task(Training_Task entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Training_TestPlan(Training_TestPlan entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Training_TestPlan(Training_TestPlan entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Training_TestRecord(Training_TestRecord entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Training_TestRecord(Training_TestRecord entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - private void attach_Unqualified_WorkContact(Unqualified_WorkContact entity) { this.SendPropertyChanging(); @@ -158774,6 +159059,2916 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Examine_BehavioralSafetyObservation")] + public partial class Examine_BehavioralSafetyObservation : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Code; + + private string _Name; + + private string _UserId; + + private System.Nullable _DateTime; + + private string _Content; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + private EntityRef _User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnUserIdChanging(string value); + partial void OnUserIdChanged(); + partial void OnDateTimeChanging(System.Nullable value); + partial void OnDateTimeChanged(); + partial void OnContentChanging(string value); + partial void OnContentChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public Examine_BehavioralSafetyObservation() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + this._User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] + public string UserId + { + get + { + return this._UserId; + } + set + { + if ((this._UserId != value)) + { + if (this._User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnUserIdChanging(value); + this.SendPropertyChanging(); + this._UserId = value; + this.SendPropertyChanged("UserId"); + this.OnUserIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")] + public System.Nullable DateTime + { + get + { + return this._DateTime; + } + set + { + if ((this._DateTime != value)) + { + this.OnDateTimeChanging(value); + this.SendPropertyChanging(); + this._DateTime = value; + this.SendPropertyChanged("DateTime"); + this.OnDateTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")] + public string Content + { + get + { + return this._Content; + } + set + { + if ((this._Content != value)) + { + this.OnContentChanging(value); + this.SendPropertyChanging(); + this._Content = value; + this.SendPropertyChanged("Content"); + this.OnContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.Examine_BehavioralSafetyObservation.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.Examine_BehavioralSafetyObservation.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.Examine_BehavioralSafetyObservation.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.Examine_BehavioralSafetyObservation.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] + public Sys_User User + { + get + { + return this._User.Entity; + } + set + { + Sys_User previousValue = this._User.Entity; + if (((previousValue != value) + || (this._User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._User.Entity = null; + previousValue.Examine_BehavioralSafetyObservation_User.Remove(this); + } + this._User.Entity = value; + if ((value != null)) + { + value.Examine_BehavioralSafetyObservation_User.Add(this); + this._UserId = value.UserId; + } + else + { + this._UserId = default(string); + } + this.SendPropertyChanged("User"); + } + } + } + + 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.Examine_BonusScoreSituation")] + public partial class Examine_BonusScoreSituation : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Code; + + private string _Name; + + private string _Level; + + private string _LevelName; + + private int _Score; + + private string _UserId; + + private System.Nullable _DateTime; + + private string _Content; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + private EntityRef _User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnLevelChanging(string value); + partial void OnLevelChanged(); + partial void OnLevelNameChanging(string value); + partial void OnLevelNameChanged(); + partial void OnScoreChanging(int value); + partial void OnScoreChanged(); + partial void OnUserIdChanging(string value); + partial void OnUserIdChanged(); + partial void OnDateTimeChanging(System.Nullable value); + partial void OnDateTimeChanged(); + partial void OnContentChanging(string value); + partial void OnContentChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public Examine_BonusScoreSituation() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + this._User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Level", DbType="NVarChar(200)")] + public string Level + { + get + { + return this._Level; + } + set + { + if ((this._Level != value)) + { + this.OnLevelChanging(value); + this.SendPropertyChanging(); + this._Level = value; + this.SendPropertyChanged("Level"); + this.OnLevelChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LevelName", DbType="NVarChar(200)")] + public string LevelName + { + get + { + return this._LevelName; + } + set + { + if ((this._LevelName != value)) + { + this.OnLevelNameChanging(value); + this.SendPropertyChanging(); + this._LevelName = value; + this.SendPropertyChanged("LevelName"); + this.OnLevelNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Score", DbType="Int NOT NULL")] + public int Score + { + get + { + return this._Score; + } + set + { + if ((this._Score != value)) + { + this.OnScoreChanging(value); + this.SendPropertyChanging(); + this._Score = value; + this.SendPropertyChanged("Score"); + this.OnScoreChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] + public string UserId + { + get + { + return this._UserId; + } + set + { + if ((this._UserId != value)) + { + if (this._User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnUserIdChanging(value); + this.SendPropertyChanging(); + this._UserId = value; + this.SendPropertyChanged("UserId"); + this.OnUserIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")] + public System.Nullable DateTime + { + get + { + return this._DateTime; + } + set + { + if ((this._DateTime != value)) + { + this.OnDateTimeChanging(value); + this.SendPropertyChanging(); + this._DateTime = value; + this.SendPropertyChanged("DateTime"); + this.OnDateTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")] + public string Content + { + get + { + return this._Content; + } + set + { + if ((this._Content != value)) + { + this.OnContentChanging(value); + this.SendPropertyChanging(); + this._Content = value; + this.SendPropertyChanged("Content"); + this.OnContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.Examine_BonusScoreSituation.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.Examine_BonusScoreSituation.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.Examine_BonusScoreSituation.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.Examine_BonusScoreSituation.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] + public Sys_User User + { + get + { + return this._User.Entity; + } + set + { + Sys_User previousValue = this._User.Entity; + if (((previousValue != value) + || (this._User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._User.Entity = null; + previousValue.Examine_BonusScoreSituation_User.Remove(this); + } + this._User.Entity = value; + if ((value != null)) + { + value.Examine_BonusScoreSituation_User.Add(this); + this._UserId = value.UserId; + } + else + { + this._UserId = default(string); + } + this.SendPropertyChanged("User"); + } + } + } + + 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.Examine_CoConstructionActivities")] + public partial class Examine_CoConstructionActivities : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Code; + + private string _Name; + + private string _UserId; + + private System.Nullable _DateTime; + + private string _Content; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + private EntityRef _User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnUserIdChanging(string value); + partial void OnUserIdChanged(); + partial void OnDateTimeChanging(System.Nullable value); + partial void OnDateTimeChanged(); + partial void OnContentChanging(string value); + partial void OnContentChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public Examine_CoConstructionActivities() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + this._User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] + public string UserId + { + get + { + return this._UserId; + } + set + { + if ((this._UserId != value)) + { + if (this._User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnUserIdChanging(value); + this.SendPropertyChanging(); + this._UserId = value; + this.SendPropertyChanged("UserId"); + this.OnUserIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")] + public System.Nullable DateTime + { + get + { + return this._DateTime; + } + set + { + if ((this._DateTime != value)) + { + this.OnDateTimeChanging(value); + this.SendPropertyChanging(); + this._DateTime = value; + this.SendPropertyChanged("DateTime"); + this.OnDateTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")] + public string Content + { + get + { + return this._Content; + } + set + { + if ((this._Content != value)) + { + this.OnContentChanging(value); + this.SendPropertyChanging(); + this._Content = value; + this.SendPropertyChanged("Content"); + this.OnContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.Examine_CoConstructionActivities.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.Examine_CoConstructionActivities.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.Examine_CoConstructionActivities.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.Examine_CoConstructionActivities.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] + public Sys_User User + { + get + { + return this._User.Entity; + } + set + { + Sys_User previousValue = this._User.Entity; + if (((previousValue != value) + || (this._User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._User.Entity = null; + previousValue.Examine_CoConstructionActivities_User.Remove(this); + } + this._User.Entity = value; + if ((value != null)) + { + value.Examine_CoConstructionActivities_User.Add(this); + this._UserId = value.UserId; + } + else + { + this._UserId = default(string); + } + this.SendPropertyChanged("User"); + } + } + } + + 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.Examine_LeadershipJoinHomeworkAnalysisMeeting")] + public partial class Examine_LeadershipJoinHomeworkAnalysisMeeting : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Code; + + private string _Name; + + private string _UserId; + + private System.Nullable _DateTime; + + private string _Content; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + private EntityRef _User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnUserIdChanging(string value); + partial void OnUserIdChanged(); + partial void OnDateTimeChanging(System.Nullable value); + partial void OnDateTimeChanged(); + partial void OnContentChanging(string value); + partial void OnContentChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public Examine_LeadershipJoinHomeworkAnalysisMeeting() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + this._User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] + public string UserId + { + get + { + return this._UserId; + } + set + { + if ((this._UserId != value)) + { + if (this._User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnUserIdChanging(value); + this.SendPropertyChanging(); + this._UserId = value; + this.SendPropertyChanged("UserId"); + this.OnUserIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")] + public System.Nullable DateTime + { + get + { + return this._DateTime; + } + set + { + if ((this._DateTime != value)) + { + this.OnDateTimeChanging(value); + this.SendPropertyChanging(); + this._DateTime = value; + this.SendPropertyChanged("DateTime"); + this.OnDateTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")] + public string Content + { + get + { + return this._Content; + } + set + { + if ((this._Content != value)) + { + this.OnContentChanging(value); + this.SendPropertyChanging(); + this._Content = value; + this.SendPropertyChanged("Content"); + this.OnContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.Examine_LeadershipJoinHomeworkAnalysisMeeting.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.Examine_LeadershipJoinHomeworkAnalysisMeeting.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.Examine_LeadershipJoinHomeworkAnalysisMeeting.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.Examine_LeadershipJoinHomeworkAnalysisMeeting.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] + public Sys_User User + { + get + { + return this._User.Entity; + } + set + { + Sys_User previousValue = this._User.Entity; + if (((previousValue != value) + || (this._User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._User.Entity = null; + previousValue.Examine_LeadershipJoinHomeworkAnalysisMeeting_User.Remove(this); + } + this._User.Entity = value; + if ((value != null)) + { + value.Examine_LeadershipJoinHomeworkAnalysisMeeting_User.Add(this); + this._UserId = value.UserId; + } + else + { + this._UserId = default(string); + } + this.SendPropertyChanged("User"); + } + } + } + + 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.Examine_MinusScoreSituation")] + public partial class Examine_MinusScoreSituation : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Code; + + private string _Name; + + private string _Level; + + private string _LevelName; + + private int _Score; + + private string _UserId; + + private System.Nullable _DateTime; + + private string _Content; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + private EntityRef _User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnLevelChanging(string value); + partial void OnLevelChanged(); + partial void OnLevelNameChanging(string value); + partial void OnLevelNameChanged(); + partial void OnScoreChanging(int value); + partial void OnScoreChanged(); + partial void OnUserIdChanging(string value); + partial void OnUserIdChanged(); + partial void OnDateTimeChanging(System.Nullable value); + partial void OnDateTimeChanged(); + partial void OnContentChanging(string value); + partial void OnContentChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public Examine_MinusScoreSituation() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + this._User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Level", DbType="NVarChar(200)")] + public string Level + { + get + { + return this._Level; + } + set + { + if ((this._Level != value)) + { + this.OnLevelChanging(value); + this.SendPropertyChanging(); + this._Level = value; + this.SendPropertyChanged("Level"); + this.OnLevelChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LevelName", DbType="NVarChar(200)")] + public string LevelName + { + get + { + return this._LevelName; + } + set + { + if ((this._LevelName != value)) + { + this.OnLevelNameChanging(value); + this.SendPropertyChanging(); + this._LevelName = value; + this.SendPropertyChanged("LevelName"); + this.OnLevelNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Score", DbType="Int NOT NULL")] + public int Score + { + get + { + return this._Score; + } + set + { + if ((this._Score != value)) + { + this.OnScoreChanging(value); + this.SendPropertyChanging(); + this._Score = value; + this.SendPropertyChanged("Score"); + this.OnScoreChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] + public string UserId + { + get + { + return this._UserId; + } + set + { + if ((this._UserId != value)) + { + if (this._User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnUserIdChanging(value); + this.SendPropertyChanging(); + this._UserId = value; + this.SendPropertyChanged("UserId"); + this.OnUserIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")] + public System.Nullable DateTime + { + get + { + return this._DateTime; + } + set + { + if ((this._DateTime != value)) + { + this.OnDateTimeChanging(value); + this.SendPropertyChanging(); + this._DateTime = value; + this.SendPropertyChanged("DateTime"); + this.OnDateTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")] + public string Content + { + get + { + return this._Content; + } + set + { + if ((this._Content != value)) + { + this.OnContentChanging(value); + this.SendPropertyChanging(); + this._Content = value; + this.SendPropertyChanged("Content"); + this.OnContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.Examine_MinusScoreSituation.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.Examine_MinusScoreSituation.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.Examine_MinusScoreSituation.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.Examine_MinusScoreSituation.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] + public Sys_User User + { + get + { + return this._User.Entity; + } + set + { + Sys_User previousValue = this._User.Entity; + if (((previousValue != value) + || (this._User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._User.Entity = null; + previousValue.Examine_MinusScoreSituation_User.Remove(this); + } + this._User.Entity = value; + if ((value != null)) + { + value.Examine_MinusScoreSituation_User.Add(this); + this._UserId = value.UserId; + } + else + { + this._UserId = default(string); + } + this.SendPropertyChanged("User"); + } + } + } + + 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.Examine_PersonalSafetyActionPlan")] + public partial class Examine_PersonalSafetyActionPlan : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Code; + + private string _Name; + + private string _UserId; + + private System.Nullable _DateTime; + + private string _Content; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnUserIdChanging(string value); + partial void OnUserIdChanged(); + partial void OnDateTimeChanging(System.Nullable value); + partial void OnDateTimeChanged(); + partial void OnContentChanging(string value); + partial void OnContentChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public Examine_PersonalSafetyActionPlan() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] + public string UserId + { + get + { + return this._UserId; + } + set + { + if ((this._UserId != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnUserIdChanging(value); + this.SendPropertyChanging(); + this._UserId = value; + this.SendPropertyChanged("UserId"); + this.OnUserIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")] + public System.Nullable DateTime + { + get + { + return this._DateTime; + } + set + { + if ((this._DateTime != value)) + { + this.OnDateTimeChanging(value); + this.SendPropertyChanging(); + this._DateTime = value; + this.SendPropertyChanged("DateTime"); + this.OnDateTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")] + public string Content + { + get + { + return this._Content; + } + set + { + if ((this._Content != value)) + { + this.OnContentChanging(value); + this.SendPropertyChanging(); + this._Content = value; + this.SendPropertyChanged("Content"); + this.OnContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_PersonalSafetyActionPlan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.Examine_PersonalSafetyActionPlan.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.Examine_PersonalSafetyActionPlan.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_PersonalSafetyActionPlan_Sys_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.Examine_PersonalSafetyActionPlan.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.Examine_PersonalSafetyActionPlan.Add(this); + this._UserId = value.UserId; + } + else + { + this._UserId = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + 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.Examine_SharingOfSafetyExperience")] + public partial class Examine_SharingOfSafetyExperience : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Code; + + private string _Name; + + private string _UserId; + + private System.Nullable _DateTime; + + private string _Content; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + private EntityRef _User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnUserIdChanging(string value); + partial void OnUserIdChanged(); + partial void OnDateTimeChanging(System.Nullable value); + partial void OnDateTimeChanged(); + partial void OnContentChanging(string value); + partial void OnContentChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public Examine_SharingOfSafetyExperience() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + this._User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] + public string UserId + { + get + { + return this._UserId; + } + set + { + if ((this._UserId != value)) + { + if (this._User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnUserIdChanging(value); + this.SendPropertyChanging(); + this._UserId = value; + this.SendPropertyChanged("UserId"); + this.OnUserIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")] + public System.Nullable DateTime + { + get + { + return this._DateTime; + } + set + { + if ((this._DateTime != value)) + { + this.OnDateTimeChanging(value); + this.SendPropertyChanging(); + this._DateTime = value; + this.SendPropertyChanged("DateTime"); + this.OnDateTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")] + public string Content + { + get + { + return this._Content; + } + set + { + if ((this._Content != value)) + { + this.OnContentChanging(value); + this.SendPropertyChanging(); + this._Content = value; + this.SendPropertyChanged("Content"); + this.OnContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_SharingOfSafetyExperience_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.Examine_SharingOfSafetyExperience.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.Examine_SharingOfSafetyExperience.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_SharingOfSafetyExperience_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.Examine_SharingOfSafetyExperience.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.Examine_SharingOfSafetyExperience.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_SharingOfSafetyExperience_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] + public Sys_User User + { + get + { + return this._User.Entity; + } + set + { + Sys_User previousValue = this._User.Entity; + if (((previousValue != value) + || (this._User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._User.Entity = null; + previousValue.Examine_SharingOfSafetyExperience_User.Remove(this); + } + this._User.Entity = value; + if ((value != null)) + { + value.Examine_SharingOfSafetyExperience_User.Add(this); + this._UserId = value.UserId; + } + else + { + this._UserId = default(string); + } + this.SendPropertyChanged("User"); + } + } + } + + 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.Exchange_Content")] public partial class Exchange_Content : INotifyPropertyChanging, INotifyPropertyChanged { @@ -284794,6 +287989,2756 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PostTraining_Category")] + public partial class PostTraining_Category : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _Code; + + private string _Name; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Sys_User; + + private EntitySet _PostTraining_Course; + + private EntitySet _PostTraining_Record; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public PostTraining_Category() + { + this._Sys_User = default(EntityRef); + this._PostTraining_Course = new EntitySet(new Action(this.attach_PostTraining_Course), new Action(this.detach_PostTraining_Course)); + this._PostTraining_Record = new EntitySet(new Action(this.attach_PostTraining_Record), new Action(this.detach_PostTraining_Record)); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Category_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.PostTraining_Category.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.PostTraining_Category.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Course_PostTraining_Category", Storage="_PostTraining_Course", ThisKey="Id", OtherKey="CategoryId", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Course + { + get + { + return this._PostTraining_Course; + } + set + { + this._PostTraining_Course.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_PostTraining_Category", Storage="_PostTraining_Record", ThisKey="Id", OtherKey="CategoryId", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Record + { + get + { + return this._PostTraining_Record; + } + set + { + this._PostTraining_Record.Assign(value); + } + } + + 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)); + } + } + + private void attach_PostTraining_Course(PostTraining_Course entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Category = this; + } + + private void detach_PostTraining_Course(PostTraining_Course entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Category = null; + } + + private void attach_PostTraining_Record(PostTraining_Record entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Category = this; + } + + private void detach_PostTraining_Record(PostTraining_Record entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Category = null; + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PostTraining_Course")] + public partial class PostTraining_Course : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _Code; + + private string _Name; + + private string _CategoryId; + + private string _CategoryName; + + private string _Method1; + + private string _Method2; + + private string _Teachers1; + + private string _Teachers2; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _PostTraining_Category; + + private EntityRef _Sys_User; + + private EntitySet _PostTraining_Record; + + private EntitySet _PostTraining_Standard; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnCategoryIdChanging(string value); + partial void OnCategoryIdChanged(); + partial void OnCategoryNameChanging(string value); + partial void OnCategoryNameChanged(); + partial void OnMethod1Changing(string value); + partial void OnMethod1Changed(); + partial void OnMethod2Changing(string value); + partial void OnMethod2Changed(); + partial void OnTeachers1Changing(string value); + partial void OnTeachers1Changed(); + partial void OnTeachers2Changing(string value); + partial void OnTeachers2Changed(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public PostTraining_Course() + { + this._PostTraining_Category = default(EntityRef); + this._Sys_User = default(EntityRef); + this._PostTraining_Record = new EntitySet(new Action(this.attach_PostTraining_Record), new Action(this.detach_PostTraining_Record)); + this._PostTraining_Standard = new EntitySet(new Action(this.attach_PostTraining_Standard), new Action(this.detach_PostTraining_Standard)); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="NVarChar(50)")] + public string CategoryId + { + get + { + return this._CategoryId; + } + set + { + if ((this._CategoryId != value)) + { + if (this._PostTraining_Category.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCategoryIdChanging(value); + this.SendPropertyChanging(); + this._CategoryId = value; + this.SendPropertyChanged("CategoryId"); + this.OnCategoryIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryName", DbType="NVarChar(200)")] + public string CategoryName + { + get + { + return this._CategoryName; + } + set + { + if ((this._CategoryName != value)) + { + this.OnCategoryNameChanging(value); + this.SendPropertyChanging(); + this._CategoryName = value; + this.SendPropertyChanged("CategoryName"); + this.OnCategoryNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Method1", DbType="NVarChar(200)")] + public string Method1 + { + get + { + return this._Method1; + } + set + { + if ((this._Method1 != value)) + { + this.OnMethod1Changing(value); + this.SendPropertyChanging(); + this._Method1 = value; + this.SendPropertyChanged("Method1"); + this.OnMethod1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Method2", DbType="NVarChar(200)")] + public string Method2 + { + get + { + return this._Method2; + } + set + { + if ((this._Method2 != value)) + { + this.OnMethod2Changing(value); + this.SendPropertyChanging(); + this._Method2 = value; + this.SendPropertyChanged("Method2"); + this.OnMethod2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Teachers1", DbType="NVarChar(200)")] + public string Teachers1 + { + get + { + return this._Teachers1; + } + set + { + if ((this._Teachers1 != value)) + { + this.OnTeachers1Changing(value); + this.SendPropertyChanging(); + this._Teachers1 = value; + this.SendPropertyChanged("Teachers1"); + this.OnTeachers1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Teachers2", DbType="NVarChar(200)")] + public string Teachers2 + { + get + { + return this._Teachers2; + } + set + { + if ((this._Teachers2 != value)) + { + this.OnTeachers2Changing(value); + this.SendPropertyChanging(); + this._Teachers2 = value; + this.SendPropertyChanged("Teachers2"); + this.OnTeachers2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Course_PostTraining_Category", Storage="_PostTraining_Category", ThisKey="CategoryId", OtherKey="Id", IsForeignKey=true)] + public PostTraining_Category PostTraining_Category + { + get + { + return this._PostTraining_Category.Entity; + } + set + { + PostTraining_Category previousValue = this._PostTraining_Category.Entity; + if (((previousValue != value) + || (this._PostTraining_Category.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._PostTraining_Category.Entity = null; + previousValue.PostTraining_Course.Remove(this); + } + this._PostTraining_Category.Entity = value; + if ((value != null)) + { + value.PostTraining_Course.Add(this); + this._CategoryId = value.Id; + } + else + { + this._CategoryId = default(string); + } + this.SendPropertyChanged("PostTraining_Category"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Course_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.PostTraining_Course.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.PostTraining_Course.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_PostTraining_Course", Storage="_PostTraining_Record", ThisKey="Id", OtherKey="CourseId", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Record + { + get + { + return this._PostTraining_Record; + } + set + { + this._PostTraining_Record.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_PostTraining_Course", Storage="_PostTraining_Standard", ThisKey="Id", OtherKey="CourseId", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Standard + { + get + { + return this._PostTraining_Standard; + } + set + { + this._PostTraining_Standard.Assign(value); + } + } + + 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)); + } + } + + private void attach_PostTraining_Record(PostTraining_Record entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Course = this; + } + + private void detach_PostTraining_Record(PostTraining_Record entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Course = null; + } + + private void attach_PostTraining_Standard(PostTraining_Standard entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Course = this; + } + + private void detach_PostTraining_Standard(PostTraining_Standard entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Course = null; + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PostTraining_Method")] + public partial class PostTraining_Method : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _Code; + + private string _Name; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Sys_User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public PostTraining_Method() + { + this._Sys_User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Method_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.PostTraining_Method.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.PostTraining_Method.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + 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.PostTraining_Record")] + public partial class PostTraining_Record : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Code; + + private string _Name; + + private string _Content; + + private string _CategoryId; + + private string _CategoryName; + + private string _CourseId; + + private string _CourseName; + + private string _Location; + + private string _Method; + + private string _Lecturer; + + private string _UnitIds; + + private string _RoleIds; + + private int _PersonNum; + + private System.DateTime _TrainingTime; + + private decimal _Duration; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Base_Project; + + private EntitySet _PostTraining_Record_Detail; + + private EntityRef _PostTraining_Category; + + private EntityRef _PostTraining_Course; + + private EntityRef _Sys_User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnContentChanging(string value); + partial void OnContentChanged(); + partial void OnCategoryIdChanging(string value); + partial void OnCategoryIdChanged(); + partial void OnCategoryNameChanging(string value); + partial void OnCategoryNameChanged(); + partial void OnCourseIdChanging(string value); + partial void OnCourseIdChanged(); + partial void OnCourseNameChanging(string value); + partial void OnCourseNameChanged(); + partial void OnLocationChanging(string value); + partial void OnLocationChanged(); + partial void OnMethodChanging(string value); + partial void OnMethodChanged(); + partial void OnLecturerChanging(string value); + partial void OnLecturerChanged(); + partial void OnUnitIdsChanging(string value); + partial void OnUnitIdsChanged(); + partial void OnRoleIdsChanging(string value); + partial void OnRoleIdsChanged(); + partial void OnPersonNumChanging(int value); + partial void OnPersonNumChanged(); + partial void OnTrainingTimeChanging(System.DateTime value); + partial void OnTrainingTimeChanged(); + partial void OnDurationChanging(decimal value); + partial void OnDurationChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public PostTraining_Record() + { + this._Base_Project = default(EntityRef); + this._PostTraining_Record_Detail = new EntitySet(new Action(this.attach_PostTraining_Record_Detail), new Action(this.detach_PostTraining_Record_Detail)); + this._PostTraining_Category = default(EntityRef); + this._PostTraining_Course = default(EntityRef); + this._Sys_User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(500)")] + public string Content + { + get + { + return this._Content; + } + set + { + if ((this._Content != value)) + { + this.OnContentChanging(value); + this.SendPropertyChanging(); + this._Content = value; + this.SendPropertyChanged("Content"); + this.OnContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="NVarChar(50)")] + public string CategoryId + { + get + { + return this._CategoryId; + } + set + { + if ((this._CategoryId != value)) + { + if (this._PostTraining_Category.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCategoryIdChanging(value); + this.SendPropertyChanging(); + this._CategoryId = value; + this.SendPropertyChanged("CategoryId"); + this.OnCategoryIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryName", DbType="NVarChar(200)")] + public string CategoryName + { + get + { + return this._CategoryName; + } + set + { + if ((this._CategoryName != value)) + { + this.OnCategoryNameChanging(value); + this.SendPropertyChanging(); + this._CategoryName = value; + this.SendPropertyChanged("CategoryName"); + this.OnCategoryNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CourseId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + public string CourseId + { + get + { + return this._CourseId; + } + set + { + if ((this._CourseId != value)) + { + if (this._PostTraining_Course.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCourseIdChanging(value); + this.SendPropertyChanging(); + this._CourseId = value; + this.SendPropertyChanged("CourseId"); + this.OnCourseIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CourseName", DbType="NVarChar(200)")] + public string CourseName + { + get + { + return this._CourseName; + } + set + { + if ((this._CourseName != value)) + { + this.OnCourseNameChanging(value); + this.SendPropertyChanging(); + this._CourseName = value; + this.SendPropertyChanged("CourseName"); + this.OnCourseNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Location", DbType="NVarChar(200)")] + public string Location + { + get + { + return this._Location; + } + set + { + if ((this._Location != value)) + { + this.OnLocationChanging(value); + this.SendPropertyChanging(); + this._Location = value; + this.SendPropertyChanged("Location"); + this.OnLocationChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Method", DbType="NVarChar(200)")] + public string Method + { + get + { + return this._Method; + } + set + { + if ((this._Method != value)) + { + this.OnMethodChanging(value); + this.SendPropertyChanging(); + this._Method = value; + this.SendPropertyChanged("Method"); + this.OnMethodChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Lecturer", DbType="NVarChar(200)")] + public string Lecturer + { + get + { + return this._Lecturer; + } + set + { + if ((this._Lecturer != value)) + { + this.OnLecturerChanging(value); + this.SendPropertyChanging(); + this._Lecturer = value; + this.SendPropertyChanged("Lecturer"); + this.OnLecturerChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string UnitIds + { + get + { + return this._UnitIds; + } + set + { + if ((this._UnitIds != value)) + { + this.OnUnitIdsChanging(value); + this.SendPropertyChanging(); + this._UnitIds = value; + this.SendPropertyChanged("UnitIds"); + this.OnUnitIdsChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string RoleIds + { + get + { + return this._RoleIds; + } + set + { + if ((this._RoleIds != value)) + { + this.OnRoleIdsChanging(value); + this.SendPropertyChanging(); + this._RoleIds = value; + this.SendPropertyChanged("RoleIds"); + this.OnRoleIdsChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonNum", DbType="Int NOT NULL")] + public int PersonNum + { + get + { + return this._PersonNum; + } + set + { + if ((this._PersonNum != value)) + { + this.OnPersonNumChanging(value); + this.SendPropertyChanging(); + this._PersonNum = value; + this.SendPropertyChanged("PersonNum"); + this.OnPersonNumChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingTime", DbType="DateTime NOT NULL")] + public System.DateTime TrainingTime + { + get + { + return this._TrainingTime; + } + set + { + if ((this._TrainingTime != value)) + { + this.OnTrainingTimeChanging(value); + this.SendPropertyChanging(); + this._TrainingTime = value; + this.SendPropertyChanged("TrainingTime"); + this.OnTrainingTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration", DbType="Decimal(10,2) NOT NULL")] + public decimal Duration + { + get + { + return this._Duration; + } + set + { + if ((this._Duration != value)) + { + this.OnDurationChanging(value); + this.SendPropertyChanging(); + this._Duration = value; + this.SendPropertyChanged("Duration"); + this.OnDurationChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.PostTraining_Record.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.PostTraining_Record.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_Detail_PostTraining_Record", Storage="_PostTraining_Record_Detail", ThisKey="Id", OtherKey="RecordId", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Record_Detail + { + get + { + return this._PostTraining_Record_Detail; + } + set + { + this._PostTraining_Record_Detail.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_PostTraining_Category", Storage="_PostTraining_Category", ThisKey="CategoryId", OtherKey="Id", IsForeignKey=true)] + public PostTraining_Category PostTraining_Category + { + get + { + return this._PostTraining_Category.Entity; + } + set + { + PostTraining_Category previousValue = this._PostTraining_Category.Entity; + if (((previousValue != value) + || (this._PostTraining_Category.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._PostTraining_Category.Entity = null; + previousValue.PostTraining_Record.Remove(this); + } + this._PostTraining_Category.Entity = value; + if ((value != null)) + { + value.PostTraining_Record.Add(this); + this._CategoryId = value.Id; + } + else + { + this._CategoryId = default(string); + } + this.SendPropertyChanged("PostTraining_Category"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_PostTraining_Course", Storage="_PostTraining_Course", ThisKey="CourseId", OtherKey="Id", IsForeignKey=true)] + public PostTraining_Course PostTraining_Course + { + get + { + return this._PostTraining_Course.Entity; + } + set + { + PostTraining_Course previousValue = this._PostTraining_Course.Entity; + if (((previousValue != value) + || (this._PostTraining_Course.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._PostTraining_Course.Entity = null; + previousValue.PostTraining_Record.Remove(this); + } + this._PostTraining_Course.Entity = value; + if ((value != null)) + { + value.PostTraining_Record.Add(this); + this._CourseId = value.Id; + } + else + { + this._CourseId = default(string); + } + this.SendPropertyChanged("PostTraining_Course"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.PostTraining_Record.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.PostTraining_Record.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + 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)); + } + } + + private void attach_PostTraining_Record_Detail(PostTraining_Record_Detail entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Record = this; + } + + private void detach_PostTraining_Record_Detail(PostTraining_Record_Detail entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Record = null; + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PostTraining_Record_Detail")] + public partial class PostTraining_Record_Detail : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _RecordId; + + private string _PersonId; + + private EntityRef _PostTraining_Record; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnRecordIdChanging(string value); + partial void OnRecordIdChanged(); + partial void OnPersonIdChanging(string value); + partial void OnPersonIdChanged(); + #endregion + + public PostTraining_Record_Detail() + { + this._PostTraining_Record = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordId", DbType="NVarChar(50)")] + public string RecordId + { + get + { + return this._RecordId; + } + set + { + if ((this._RecordId != value)) + { + if (this._PostTraining_Record.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnRecordIdChanging(value); + this.SendPropertyChanging(); + this._RecordId = value; + this.SendPropertyChanged("RecordId"); + this.OnRecordIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonId", DbType="NVarChar(50)")] + public string PersonId + { + get + { + return this._PersonId; + } + set + { + if ((this._PersonId != value)) + { + this.OnPersonIdChanging(value); + this.SendPropertyChanging(); + this._PersonId = value; + this.SendPropertyChanged("PersonId"); + this.OnPersonIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_Detail_PostTraining_Record", Storage="_PostTraining_Record", ThisKey="RecordId", OtherKey="Id", IsForeignKey=true)] + public PostTraining_Record PostTraining_Record + { + get + { + return this._PostTraining_Record.Entity; + } + set + { + PostTraining_Record previousValue = this._PostTraining_Record.Entity; + if (((previousValue != value) + || (this._PostTraining_Record.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._PostTraining_Record.Entity = null; + previousValue.PostTraining_Record_Detail.Remove(this); + } + this._PostTraining_Record.Entity = value; + if ((value != null)) + { + value.PostTraining_Record_Detail.Add(this); + this._RecordId = value.Id; + } + else + { + this._RecordId = default(string); + } + this.SendPropertyChanged("PostTraining_Record"); + } + } + } + + 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.PostTraining_Role")] + public partial class PostTraining_Role : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _Code; + + private string _Name; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Sys_User; + + private EntitySet _PostTraining_Standard; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public PostTraining_Role() + { + this._Sys_User = default(EntityRef); + this._PostTraining_Standard = new EntitySet(new Action(this.attach_PostTraining_Standard), new Action(this.detach_PostTraining_Standard)); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Role_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.PostTraining_Role.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.PostTraining_Role.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_PostTraining_Role", Storage="_PostTraining_Standard", ThisKey="Id", OtherKey="RoleId", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Standard + { + get + { + return this._PostTraining_Standard; + } + set + { + this._PostTraining_Standard.Assign(value); + } + } + + 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)); + } + } + + private void attach_PostTraining_Standard(PostTraining_Standard entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Role = this; + } + + private void detach_PostTraining_Standard(PostTraining_Standard entity) + { + this.SendPropertyChanging(); + entity.PostTraining_Role = null; + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PostTraining_Standard")] + public partial class PostTraining_Standard : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _Code; + + private string _RoleId; + + private string _CourseId; + + private decimal _ClassHour; + + private decimal _Cycle; + + private string _Method; + + private string _Outcome; + + private string _Teachers; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _PostTraining_Course; + + private EntityRef _PostTraining_Role; + + private EntityRef _Sys_User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnRoleIdChanging(string value); + partial void OnRoleIdChanged(); + partial void OnCourseIdChanging(string value); + partial void OnCourseIdChanged(); + partial void OnClassHourChanging(decimal value); + partial void OnClassHourChanged(); + partial void OnCycleChanging(decimal value); + partial void OnCycleChanged(); + partial void OnMethodChanging(string value); + partial void OnMethodChanged(); + partial void OnOutcomeChanging(string value); + partial void OnOutcomeChanged(); + partial void OnTeachersChanging(string value); + partial void OnTeachersChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public PostTraining_Standard() + { + this._PostTraining_Course = default(EntityRef); + this._PostTraining_Role = default(EntityRef); + this._Sys_User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + public string RoleId + { + get + { + return this._RoleId; + } + set + { + if ((this._RoleId != value)) + { + if (this._PostTraining_Role.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnRoleIdChanging(value); + this.SendPropertyChanging(); + this._RoleId = value; + this.SendPropertyChanged("RoleId"); + this.OnRoleIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CourseId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + public string CourseId + { + get + { + return this._CourseId; + } + set + { + if ((this._CourseId != value)) + { + if (this._PostTraining_Course.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCourseIdChanging(value); + this.SendPropertyChanging(); + this._CourseId = value; + this.SendPropertyChanged("CourseId"); + this.OnCourseIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassHour", DbType="Decimal(10,2) NOT NULL")] + public decimal ClassHour + { + get + { + return this._ClassHour; + } + set + { + if ((this._ClassHour != value)) + { + this.OnClassHourChanging(value); + this.SendPropertyChanging(); + this._ClassHour = value; + this.SendPropertyChanged("ClassHour"); + this.OnClassHourChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cycle", DbType="Decimal(10,2) NOT NULL")] + public decimal Cycle + { + get + { + return this._Cycle; + } + set + { + if ((this._Cycle != value)) + { + this.OnCycleChanging(value); + this.SendPropertyChanging(); + this._Cycle = value; + this.SendPropertyChanged("Cycle"); + this.OnCycleChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Method", DbType="NVarChar(200)")] + public string Method + { + get + { + return this._Method; + } + set + { + if ((this._Method != value)) + { + this.OnMethodChanging(value); + this.SendPropertyChanging(); + this._Method = value; + this.SendPropertyChanged("Method"); + this.OnMethodChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Outcome", DbType="NVarChar(200)")] + public string Outcome + { + get + { + return this._Outcome; + } + set + { + if ((this._Outcome != value)) + { + this.OnOutcomeChanging(value); + this.SendPropertyChanging(); + this._Outcome = value; + this.SendPropertyChanged("Outcome"); + this.OnOutcomeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Teachers", DbType="NVarChar(200)")] + public string Teachers + { + get + { + return this._Teachers; + } + set + { + if ((this._Teachers != value)) + { + this.OnTeachersChanging(value); + this.SendPropertyChanging(); + this._Teachers = value; + this.SendPropertyChanged("Teachers"); + this.OnTeachersChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_PostTraining_Course", Storage="_PostTraining_Course", ThisKey="CourseId", OtherKey="Id", IsForeignKey=true)] + public PostTraining_Course PostTraining_Course + { + get + { + return this._PostTraining_Course.Entity; + } + set + { + PostTraining_Course previousValue = this._PostTraining_Course.Entity; + if (((previousValue != value) + || (this._PostTraining_Course.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._PostTraining_Course.Entity = null; + previousValue.PostTraining_Standard.Remove(this); + } + this._PostTraining_Course.Entity = value; + if ((value != null)) + { + value.PostTraining_Standard.Add(this); + this._CourseId = value.Id; + } + else + { + this._CourseId = default(string); + } + this.SendPropertyChanged("PostTraining_Course"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_PostTraining_Role", Storage="_PostTraining_Role", ThisKey="RoleId", OtherKey="Id", IsForeignKey=true)] + public PostTraining_Role PostTraining_Role + { + get + { + return this._PostTraining_Role.Entity; + } + set + { + PostTraining_Role previousValue = this._PostTraining_Role.Entity; + if (((previousValue != value) + || (this._PostTraining_Role.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._PostTraining_Role.Entity = null; + previousValue.PostTraining_Standard.Remove(this); + } + this._PostTraining_Role.Entity = value; + if ((value != null)) + { + value.PostTraining_Standard.Add(this); + this._RoleId = value.Id; + } + else + { + this._RoleId = default(string); + } + this.SendPropertyChanged("PostTraining_Role"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.PostTraining_Standard.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.PostTraining_Standard.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + 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.PostTraining_Teachers")] + public partial class PostTraining_Teachers : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _Code; + + private string _Name; + + private string _Remark; + + private System.Nullable _CompileDate; + + private string _CompileMan; + + private EntityRef _Sys_User; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnCodeChanging(string value); + partial void OnCodeChanged(); + partial void OnNameChanging(string value); + partial void OnNameChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + #endregion + + public PostTraining_Teachers() + { + this._Sys_User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] + public string Code + { + get + { + return this._Code; + } + set + { + if ((this._Code != value)) + { + this.OnCodeChanging(value); + this.SendPropertyChanging(); + this._Code = value; + this.SendPropertyChanged("Code"); + this.OnCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")] + public string Name + { + get + { + return this._Name; + } + set + { + if ((this._Name != value)) + { + this.OnNameChanging(value); + this.SendPropertyChanging(); + this._Name = value; + this.SendPropertyChanged("Name"); + this.OnNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable 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="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Teachers_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.PostTraining_Teachers.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.PostTraining_Teachers.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + 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.ProcessControl_HotProessManage")] public partial class ProcessControl_HotProessManage : INotifyPropertyChanging, INotifyPropertyChanged { @@ -338995,6 +344940,8 @@ namespace Model private string _States; + private string _PostTrainingRoleId; + private EntitySet _Accident_AccidentPersonRecord; private EntitySet _Accident_AccidentReportOtherItem; @@ -339045,12 +344992,6 @@ namespace Model private EntitySet _SitePerson_PersonInOut; - private EntitySet _Training_Task; - - private EntitySet _Training_TaskItem; - - private EntitySet _Training_TestRecord; - private EntitySet _Welder_WelderQualify; #region 鍙墿灞曟ф柟娉曞畾涔 @@ -339187,6 +345128,8 @@ namespace Model partial void OnBlackReasonChanged(); partial void OnStatesChanging(string value); partial void OnStatesChanged(); + partial void OnPostTrainingRoleIdChanging(string value); + partial void OnPostTrainingRoleIdChanged(); #endregion public SitePerson_Person() @@ -339216,9 +345159,6 @@ namespace Model this._ProjectData_TeamGroup = default(EntityRef); this._Sys_User = default(EntityRef); this._SitePerson_PersonInOut = new EntitySet(new Action(this.attach_SitePerson_PersonInOut), new Action(this.detach_SitePerson_PersonInOut)); - this._Training_Task = new EntitySet(new Action(this.attach_Training_Task), new Action(this.detach_Training_Task)); - this._Training_TaskItem = new EntitySet(new Action(this.attach_Training_TaskItem), new Action(this.detach_Training_TaskItem)); - this._Training_TestRecord = new EntitySet(new Action(this.attach_Training_TestRecord), new Action(this.detach_Training_TestRecord)); this._Welder_WelderQualify = new EntitySet(new Action(this.attach_Welder_WelderQualify), new Action(this.detach_Welder_WelderQualify)); OnCreated(); } @@ -340555,6 +346495,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleId", DbType="NVarChar(50)")] + public string PostTrainingRoleId + { + get + { + return this._PostTrainingRoleId; + } + set + { + if ((this._PostTrainingRoleId != value)) + { + this.OnPostTrainingRoleIdChanging(value); + this.SendPropertyChanging(); + this._PostTrainingRoleId = value; + this.SendPropertyChanged("PostTrainingRoleId"); + this.OnPostTrainingRoleIdChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentPersonRecord_SitePerson_Person", Storage="_Accident_AccidentPersonRecord", ThisKey="PersonId", OtherKey="PersonId", DeleteRule="NO ACTION")] public EntitySet Accident_AccidentPersonRecord { @@ -341048,45 +347008,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Task_SitePerson_Person", Storage="_Training_Task", ThisKey="PersonId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet Training_Task - { - get - { - return this._Training_Task; - } - set - { - this._Training_Task.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TaskItem_SitePerson_Person", Storage="_Training_TaskItem", ThisKey="PersonId", OtherKey="PersonId", DeleteRule="NO ACTION")] - public EntitySet Training_TaskItem - { - get - { - return this._Training_TaskItem; - } - set - { - this._Training_TaskItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestRecord_SitePerson_Person", Storage="_Training_TestRecord", ThisKey="PersonId", OtherKey="TestManId", DeleteRule="NO ACTION")] - public EntitySet Training_TestRecord - { - get - { - return this._Training_TestRecord; - } - set - { - this._Training_TestRecord.Assign(value); - } - } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Welder_WelderQualify_SitePerson_Person", Storage="_Welder_WelderQualify", ThisKey="PersonId", OtherKey="WelderId", DeleteRule="NO ACTION")] public EntitySet Welder_WelderQualify { @@ -341324,42 +347245,6 @@ namespace Model entity.SitePerson_Person = null; } - private void attach_Training_Task(Training_Task entity) - { - this.SendPropertyChanging(); - entity.SitePerson_Person = this; - } - - private void detach_Training_Task(Training_Task entity) - { - this.SendPropertyChanging(); - entity.SitePerson_Person = null; - } - - private void attach_Training_TaskItem(Training_TaskItem entity) - { - this.SendPropertyChanging(); - entity.SitePerson_Person = this; - } - - private void detach_Training_TaskItem(Training_TaskItem entity) - { - this.SendPropertyChanging(); - entity.SitePerson_Person = null; - } - - private void attach_Training_TestRecord(Training_TestRecord entity) - { - this.SendPropertyChanging(); - entity.SitePerson_Person = this; - } - - private void detach_Training_TestRecord(Training_TestRecord entity) - { - this.SendPropertyChanging(); - entity.SitePerson_Person = null; - } - private void attach_Welder_WelderQualify(Welder_WelderQualify entity) { this.SendPropertyChanging(); @@ -369095,6 +374980,32 @@ namespace Model private EntitySet _Environmental_UnexpectedEnvironmental; + private EntitySet _Examine_BehavioralSafetyObservation; + + private EntitySet _Examine_BehavioralSafetyObservation_User; + + private EntitySet _Examine_BonusScoreSituation; + + private EntitySet _Examine_BonusScoreSituation_User; + + private EntitySet _Examine_CoConstructionActivities; + + private EntitySet _Examine_CoConstructionActivities_User; + + private EntitySet _Examine_LeadershipJoinHomeworkAnalysisMeeting; + + private EntitySet _Examine_LeadershipJoinHomeworkAnalysisMeeting_User; + + private EntitySet _Examine_MinusScoreSituation; + + private EntitySet _Examine_MinusScoreSituation_User; + + private EntitySet _Examine_PersonalSafetyActionPlan; + + private EntitySet _Examine_SharingOfSafetyExperience; + + private EntitySet _Examine_SharingOfSafetyExperience_User; + private EntitySet _Exchange_Content; private EntitySet _FinalFileManage_FinalFileList; @@ -369357,6 +375268,20 @@ namespace Model private EntitySet _HJGL_WeldingDaily; + private EntitySet _PostTraining_Category; + + private EntitySet _PostTraining_Course; + + private EntitySet _PostTraining_Method; + + private EntitySet _PostTraining_Record; + + private EntitySet _PostTraining_Role; + + private EntitySet _PostTraining_Standard; + + private EntitySet _PostTraining_Teachers; + private EntitySet _ProcessControl_HotProessManage; private EntitySet _ProcessControl_InspectionManagement; @@ -369765,6 +375690,19 @@ namespace Model this._Environmental_EnvironmentalEmergencyPlan = new EntitySet(new Action(this.attach_Environmental_EnvironmentalEmergencyPlan), new Action(this.detach_Environmental_EnvironmentalEmergencyPlan)); this._Environmental_EnvironmentalMonitoring = new EntitySet(new Action(this.attach_Environmental_EnvironmentalMonitoring), new Action(this.detach_Environmental_EnvironmentalMonitoring)); this._Environmental_UnexpectedEnvironmental = new EntitySet(new Action(this.attach_Environmental_UnexpectedEnvironmental), new Action(this.detach_Environmental_UnexpectedEnvironmental)); + this._Examine_BehavioralSafetyObservation = new EntitySet(new Action(this.attach_Examine_BehavioralSafetyObservation), new Action(this.detach_Examine_BehavioralSafetyObservation)); + this._Examine_BehavioralSafetyObservation_User = new EntitySet(new Action(this.attach_Examine_BehavioralSafetyObservation_User), new Action(this.detach_Examine_BehavioralSafetyObservation_User)); + this._Examine_BonusScoreSituation = new EntitySet(new Action(this.attach_Examine_BonusScoreSituation), new Action(this.detach_Examine_BonusScoreSituation)); + this._Examine_BonusScoreSituation_User = new EntitySet(new Action(this.attach_Examine_BonusScoreSituation_User), new Action(this.detach_Examine_BonusScoreSituation_User)); + this._Examine_CoConstructionActivities = new EntitySet(new Action(this.attach_Examine_CoConstructionActivities), new Action(this.detach_Examine_CoConstructionActivities)); + this._Examine_CoConstructionActivities_User = new EntitySet(new Action(this.attach_Examine_CoConstructionActivities_User), new Action(this.detach_Examine_CoConstructionActivities_User)); + this._Examine_LeadershipJoinHomeworkAnalysisMeeting = new EntitySet(new Action(this.attach_Examine_LeadershipJoinHomeworkAnalysisMeeting), new Action(this.detach_Examine_LeadershipJoinHomeworkAnalysisMeeting)); + this._Examine_LeadershipJoinHomeworkAnalysisMeeting_User = new EntitySet(new Action(this.attach_Examine_LeadershipJoinHomeworkAnalysisMeeting_User), new Action(this.detach_Examine_LeadershipJoinHomeworkAnalysisMeeting_User)); + this._Examine_MinusScoreSituation = new EntitySet(new Action(this.attach_Examine_MinusScoreSituation), new Action(this.detach_Examine_MinusScoreSituation)); + this._Examine_MinusScoreSituation_User = new EntitySet(new Action(this.attach_Examine_MinusScoreSituation_User), new Action(this.detach_Examine_MinusScoreSituation_User)); + this._Examine_PersonalSafetyActionPlan = new EntitySet(new Action(this.attach_Examine_PersonalSafetyActionPlan), new Action(this.detach_Examine_PersonalSafetyActionPlan)); + this._Examine_SharingOfSafetyExperience = new EntitySet(new Action(this.attach_Examine_SharingOfSafetyExperience), new Action(this.detach_Examine_SharingOfSafetyExperience)); + this._Examine_SharingOfSafetyExperience_User = new EntitySet(new Action(this.attach_Examine_SharingOfSafetyExperience_User), new Action(this.detach_Examine_SharingOfSafetyExperience_User)); this._Exchange_Content = new EntitySet(new Action(this.attach_Exchange_Content), new Action(this.detach_Exchange_Content)); this._FinalFileManage_FinalFileList = new EntitySet(new Action(this.attach_FinalFileManage_FinalFileList), new Action(this.detach_FinalFileManage_FinalFileList)); this._FinalFileManage_HSEFinalFileList = new EntitySet(new Action(this.attach_FinalFileManage_HSEFinalFileList), new Action(this.detach_FinalFileManage_HSEFinalFileList)); @@ -369896,6 +375834,13 @@ namespace Model this._PersonTotal_Sys_User1 = new EntitySet(new Action(this.attach_PersonTotal_Sys_User1), new Action(this.detach_PersonTotal_Sys_User1)); this._PersonTrain_TrainPlan = new EntitySet(new Action(this.attach_PersonTrain_TrainPlan), new Action(this.detach_PersonTrain_TrainPlan)); this._HJGL_WeldingDaily = new EntitySet(new Action(this.attach_HJGL_WeldingDaily), new Action(this.detach_HJGL_WeldingDaily)); + this._PostTraining_Category = new EntitySet(new Action(this.attach_PostTraining_Category), new Action(this.detach_PostTraining_Category)); + this._PostTraining_Course = new EntitySet(new Action(this.attach_PostTraining_Course), new Action(this.detach_PostTraining_Course)); + this._PostTraining_Method = new EntitySet(new Action(this.attach_PostTraining_Method), new Action(this.detach_PostTraining_Method)); + this._PostTraining_Record = new EntitySet(new Action(this.attach_PostTraining_Record), new Action(this.detach_PostTraining_Record)); + this._PostTraining_Role = new EntitySet(new Action(this.attach_PostTraining_Role), new Action(this.detach_PostTraining_Role)); + this._PostTraining_Standard = new EntitySet(new Action(this.attach_PostTraining_Standard), new Action(this.detach_PostTraining_Standard)); + this._PostTraining_Teachers = new EntitySet(new Action(this.attach_PostTraining_Teachers), new Action(this.detach_PostTraining_Teachers)); this._ProcessControl_HotProessManage = new EntitySet(new Action(this.attach_ProcessControl_HotProessManage), new Action(this.detach_ProcessControl_HotProessManage)); this._ProcessControl_InspectionManagement = new EntitySet(new Action(this.attach_ProcessControl_InspectionManagement), new Action(this.detach_ProcessControl_InspectionManagement)); this._ProcessControl_InspectionManagementApprove = new EntitySet(new Action(this.attach_ProcessControl_InspectionManagementApprove), new Action(this.detach_ProcessControl_InspectionManagementApprove)); @@ -372598,6 +378543,175 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_Sys_User", Storage="_Examine_BehavioralSafetyObservation", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet Examine_BehavioralSafetyObservation + { + get + { + return this._Examine_BehavioralSafetyObservation; + } + set + { + this._Examine_BehavioralSafetyObservation.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_User", Storage="_Examine_BehavioralSafetyObservation_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] + public EntitySet Examine_BehavioralSafetyObservation_User + { + get + { + return this._Examine_BehavioralSafetyObservation_User; + } + set + { + this._Examine_BehavioralSafetyObservation_User.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_Sys_User", Storage="_Examine_BonusScoreSituation", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet Examine_BonusScoreSituation + { + get + { + return this._Examine_BonusScoreSituation; + } + set + { + this._Examine_BonusScoreSituation.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_User", Storage="_Examine_BonusScoreSituation_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] + public EntitySet Examine_BonusScoreSituation_User + { + get + { + return this._Examine_BonusScoreSituation_User; + } + set + { + this._Examine_BonusScoreSituation_User.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_Sys_User", Storage="_Examine_CoConstructionActivities", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet Examine_CoConstructionActivities + { + get + { + return this._Examine_CoConstructionActivities; + } + set + { + this._Examine_CoConstructionActivities.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_User", Storage="_Examine_CoConstructionActivities_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] + public EntitySet Examine_CoConstructionActivities_User + { + get + { + return this._Examine_CoConstructionActivities_User; + } + set + { + this._Examine_CoConstructionActivities_User.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Sys_User", Storage="_Examine_LeadershipJoinHomeworkAnalysisMeeting", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet Examine_LeadershipJoinHomeworkAnalysisMeeting + { + get + { + return this._Examine_LeadershipJoinHomeworkAnalysisMeeting; + } + set + { + this._Examine_LeadershipJoinHomeworkAnalysisMeeting.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_User", Storage="_Examine_LeadershipJoinHomeworkAnalysisMeeting_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] + public EntitySet Examine_LeadershipJoinHomeworkAnalysisMeeting_User + { + get + { + return this._Examine_LeadershipJoinHomeworkAnalysisMeeting_User; + } + set + { + this._Examine_LeadershipJoinHomeworkAnalysisMeeting_User.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_Sys_User", Storage="_Examine_MinusScoreSituation", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet Examine_MinusScoreSituation + { + get + { + return this._Examine_MinusScoreSituation; + } + set + { + this._Examine_MinusScoreSituation.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_User", Storage="_Examine_MinusScoreSituation_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] + public EntitySet Examine_MinusScoreSituation_User + { + get + { + return this._Examine_MinusScoreSituation_User; + } + set + { + this._Examine_MinusScoreSituation_User.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_PersonalSafetyActionPlan_Sys_User", Storage="_Examine_PersonalSafetyActionPlan", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] + public EntitySet Examine_PersonalSafetyActionPlan + { + get + { + return this._Examine_PersonalSafetyActionPlan; + } + set + { + this._Examine_PersonalSafetyActionPlan.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_SharingOfSafetyExperience_Sys_User", Storage="_Examine_SharingOfSafetyExperience", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet Examine_SharingOfSafetyExperience + { + get + { + return this._Examine_SharingOfSafetyExperience; + } + set + { + this._Examine_SharingOfSafetyExperience.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_SharingOfSafetyExperience_User", Storage="_Examine_SharingOfSafetyExperience_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] + public EntitySet Examine_SharingOfSafetyExperience_User + { + get + { + return this._Examine_SharingOfSafetyExperience_User; + } + set + { + this._Examine_SharingOfSafetyExperience_User.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Exchange_Content_Sys_User", Storage="_Exchange_Content", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] public EntitySet Exchange_Content { @@ -374301,6 +380415,97 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Category_Sys_User", Storage="_PostTraining_Category", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Category + { + get + { + return this._PostTraining_Category; + } + set + { + this._PostTraining_Category.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Course_Sys_User", Storage="_PostTraining_Course", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Course + { + get + { + return this._PostTraining_Course; + } + set + { + this._PostTraining_Course.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Method_Sys_User", Storage="_PostTraining_Method", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Method + { + get + { + return this._PostTraining_Method; + } + set + { + this._PostTraining_Method.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_Sys_User", Storage="_PostTraining_Record", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Record + { + get + { + return this._PostTraining_Record; + } + set + { + this._PostTraining_Record.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Role_Sys_User", Storage="_PostTraining_Role", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Role + { + get + { + return this._PostTraining_Role; + } + set + { + this._PostTraining_Role.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_Sys_User", Storage="_PostTraining_Standard", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Standard + { + get + { + return this._PostTraining_Standard; + } + set + { + this._PostTraining_Standard.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Teachers_Sys_User", Storage="_PostTraining_Teachers", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet PostTraining_Teachers + { + get + { + return this._PostTraining_Teachers; + } + set + { + this._PostTraining_Teachers.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProcessControl_HotProessManage_Sys_User", Storage="_ProcessControl_HotProessManage", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] public EntitySet ProcessControl_HotProessManage { @@ -376880,6 +383085,162 @@ namespace Model entity.Sys_User = null; } + private void attach_Examine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_Examine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_Examine_BehavioralSafetyObservation_User(Examine_BehavioralSafetyObservation entity) + { + this.SendPropertyChanging(); + entity.User = this; + } + + private void detach_Examine_BehavioralSafetyObservation_User(Examine_BehavioralSafetyObservation entity) + { + this.SendPropertyChanging(); + entity.User = null; + } + + private void attach_Examine_BonusScoreSituation(Examine_BonusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_Examine_BonusScoreSituation(Examine_BonusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_Examine_BonusScoreSituation_User(Examine_BonusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.User = this; + } + + private void detach_Examine_BonusScoreSituation_User(Examine_BonusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.User = null; + } + + private void attach_Examine_CoConstructionActivities(Examine_CoConstructionActivities entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_Examine_CoConstructionActivities(Examine_CoConstructionActivities entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_Examine_CoConstructionActivities_User(Examine_CoConstructionActivities entity) + { + this.SendPropertyChanging(); + entity.User = this; + } + + private void detach_Examine_CoConstructionActivities_User(Examine_CoConstructionActivities entity) + { + this.SendPropertyChanging(); + entity.User = null; + } + + private void attach_Examine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_Examine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_Examine_LeadershipJoinHomeworkAnalysisMeeting_User(Examine_LeadershipJoinHomeworkAnalysisMeeting entity) + { + this.SendPropertyChanging(); + entity.User = this; + } + + private void detach_Examine_LeadershipJoinHomeworkAnalysisMeeting_User(Examine_LeadershipJoinHomeworkAnalysisMeeting entity) + { + this.SendPropertyChanging(); + entity.User = null; + } + + private void attach_Examine_MinusScoreSituation(Examine_MinusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_Examine_MinusScoreSituation(Examine_MinusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_Examine_MinusScoreSituation_User(Examine_MinusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.User = this; + } + + private void detach_Examine_MinusScoreSituation_User(Examine_MinusScoreSituation entity) + { + this.SendPropertyChanging(); + entity.User = null; + } + + private void attach_Examine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_Examine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_Examine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_Examine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_Examine_SharingOfSafetyExperience_User(Examine_SharingOfSafetyExperience entity) + { + this.SendPropertyChanging(); + entity.User = this; + } + + private void detach_Examine_SharingOfSafetyExperience_User(Examine_SharingOfSafetyExperience entity) + { + this.SendPropertyChanging(); + entity.User = null; + } + private void attach_Exchange_Content(Exchange_Content entity) { this.SendPropertyChanging(); @@ -378452,6 +384813,90 @@ namespace Model entity.Sys_User = null; } + private void attach_PostTraining_Category(PostTraining_Category entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_PostTraining_Category(PostTraining_Category entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_PostTraining_Course(PostTraining_Course entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_PostTraining_Course(PostTraining_Course entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_PostTraining_Method(PostTraining_Method entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_PostTraining_Method(PostTraining_Method entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_PostTraining_Record(PostTraining_Record entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_PostTraining_Record(PostTraining_Record entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_PostTraining_Role(PostTraining_Role entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_PostTraining_Role(PostTraining_Role entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_PostTraining_Standard(PostTraining_Standard entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_PostTraining_Standard(PostTraining_Standard entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + + private void attach_PostTraining_Teachers(PostTraining_Teachers entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_PostTraining_Teachers(PostTraining_Teachers entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + private void attach_ProcessControl_HotProessManage(ProcessControl_HotProessManage entity) { this.SendPropertyChanging(); @@ -394714,6 +401159,10 @@ namespace Model private string _WorkPostIds; + private System.Nullable _LearningTime; + + private string _TestTrainingIds; + private EntitySet _Person_TrainingTask; private EntityRef _Training_CompanyTraining; @@ -394738,6 +401187,10 @@ namespace Model partial void OnCompileDateChanged(); partial void OnWorkPostIdsChanging(string value); partial void OnWorkPostIdsChanged(); + partial void OnLearningTimeChanging(System.Nullable value); + partial void OnLearningTimeChanged(); + partial void OnTestTrainingIdsChanging(string value); + partial void OnTestTrainingIdsChanged(); #endregion public Training_CompanyTrainingItem() @@ -394911,6 +401364,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LearningTime", DbType="Int")] + public System.Nullable LearningTime + { + get + { + return this._LearningTime; + } + set + { + if ((this._LearningTime != value)) + { + this.OnLearningTimeChanging(value); + this.SendPropertyChanging(); + this._LearningTime = value; + this.SendPropertyChanged("LearningTime"); + this.OnLearningTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestTrainingIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string TestTrainingIds + { + get + { + return this._TestTrainingIds; + } + set + { + if ((this._TestTrainingIds != value)) + { + this.OnTestTrainingIdsChanging(value); + this.SendPropertyChanging(); + this._TestTrainingIds = value; + this.SendPropertyChanged("TestTrainingIds"); + this.OnTestTrainingIdsChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_TrainingTask_Training_CompanyTrainingItem", Storage="_Person_TrainingTask", ThisKey="CompanyTrainingItemId", OtherKey="CompanyTrainingItemId", DeleteRule="NO ACTION")] public EntitySet Person_TrainingTask { @@ -395679,9 +402172,11 @@ namespace Model private string _Cycle; - private EntitySet _EduTrain_TrainRecord; + private string _DepartIds; - private EntityRef _Base_Project; + private string _DepartNames; + + private EntitySet _EduTrain_TrainRecord; private EntityRef _Base_TrainLevel; @@ -395741,12 +402236,15 @@ namespace Model partial void OnQRCodeUrlChanged(); partial void OnCycleChanging(string value); partial void OnCycleChanged(); + partial void OnDepartIdsChanging(string value); + partial void OnDepartIdsChanged(); + partial void OnDepartNamesChanging(string value); + partial void OnDepartNamesChanged(); #endregion public Training_Plan() { this._EduTrain_TrainRecord = new EntitySet(new Action(this.attach_EduTrain_TrainRecord), new Action(this.detach_EduTrain_TrainRecord)); - this._Base_Project = default(EntityRef); this._Base_TrainLevel = default(EntityRef); this._Base_TrainType = default(EntityRef); this._Sys_User = default(EntityRef); @@ -395788,10 +402286,6 @@ namespace Model { if ((this._ProjectId != value)) { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnProjectIdChanging(value); this.SendPropertyChanging(); this._ProjectId = value; @@ -396173,6 +402667,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartIds", DbType="NVarChar(2000)")] + public string DepartIds + { + get + { + return this._DepartIds; + } + set + { + if ((this._DepartIds != value)) + { + this.OnDepartIdsChanging(value); + this.SendPropertyChanging(); + this._DepartIds = value; + this.SendPropertyChanged("DepartIds"); + this.OnDepartIdsChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartNames", DbType="NVarChar(2000)")] + public string DepartNames + { + get + { + return this._DepartNames; + } + set + { + if ((this._DepartNames != value)) + { + this.OnDepartNamesChanging(value); + this.SendPropertyChanging(); + this._DepartNames = value; + this.SendPropertyChanged("DepartNames"); + this.OnDepartNamesChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_EduTrain_TrainRecord_Training_Plan", Storage="_EduTrain_TrainRecord", ThisKey="PlanId", OtherKey="PlanId", DeleteRule="NO ACTION")] public EntitySet EduTrain_TrainRecord { @@ -396186,40 +402720,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Plan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Training_Plan.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Training_Plan.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Plan_Base_TrainLevel", Storage="_Base_TrainLevel", ThisKey="TrainLevelId", OtherKey="TrainLevelId", IsForeignKey=true)] public Base_TrainLevel Base_TrainLevel { @@ -396819,10 +403319,6 @@ namespace Model private string _States; - private EntityRef _Base_Project; - - private EntityRef _SitePerson_Person; - private EntityRef _Training_Plan; private EntitySet _Training_TaskItem; @@ -396847,8 +403343,6 @@ namespace Model public Training_Task() { - this._Base_Project = default(EntityRef); - this._SitePerson_Person = default(EntityRef); this._Training_Plan = default(EntityRef); this._Training_TaskItem = new EntitySet(new Action(this.attach_Training_TaskItem), new Action(this.detach_Training_TaskItem)); OnCreated(); @@ -396885,10 +403379,6 @@ namespace Model { if ((this._ProjectId != value)) { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnProjectIdChanging(value); this.SendPropertyChanging(); this._ProjectId = value; @@ -396933,10 +403423,6 @@ namespace Model { if ((this._UserId != value)) { - if (this._SitePerson_Person.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnUserIdChanging(value); this.SendPropertyChanging(); this._UserId = value; @@ -396986,74 +403472,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Task_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Training_Task.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Training_Task.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Task_SitePerson_Person", Storage="_SitePerson_Person", ThisKey="UserId", OtherKey="PersonId", IsForeignKey=true)] - public SitePerson_Person SitePerson_Person - { - get - { - return this._SitePerson_Person.Entity; - } - set - { - SitePerson_Person previousValue = this._SitePerson_Person.Entity; - if (((previousValue != value) - || (this._SitePerson_Person.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._SitePerson_Person.Entity = null; - previousValue.Training_Task.Remove(this); - } - this._SitePerson_Person.Entity = value; - if ((value != null)) - { - value.Training_Task.Add(this); - this._UserId = value.PersonId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("SitePerson_Person"); - } - } - } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Task_Training_Plan", Storage="_Training_Plan", ThisKey="PlanId", OtherKey="PlanId", IsForeignKey=true)] public Training_Plan Training_Plan { @@ -397162,7 +403580,7 @@ namespace Model private System.Nullable _VideoProgress; - private EntityRef _SitePerson_Person; + private string _CompanyTrainingItemId; private EntityRef _Training_Plan; @@ -397194,11 +403612,12 @@ namespace Model partial void OnLearnTimeChanged(); partial void OnVideoProgressChanging(System.Nullable value); partial void OnVideoProgressChanged(); + partial void OnCompanyTrainingItemIdChanging(string value); + partial void OnCompanyTrainingItemIdChanged(); #endregion public Training_TaskItem() { - this._SitePerson_Person = default(EntityRef); this._Training_Plan = default(EntityRef); this._Training_Task = default(EntityRef); OnCreated(); @@ -397283,10 +403702,6 @@ namespace Model { if ((this._PersonId != value)) { - if (this._SitePerson_Person.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnPersonIdChanging(value); this.SendPropertyChanging(); this._PersonId = value; @@ -397436,36 +403851,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TaskItem_SitePerson_Person", Storage="_SitePerson_Person", ThisKey="PersonId", OtherKey="PersonId", IsForeignKey=true)] - public SitePerson_Person SitePerson_Person + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyTrainingItemId", DbType="NVarChar(100)")] + public string CompanyTrainingItemId { get { - return this._SitePerson_Person.Entity; + return this._CompanyTrainingItemId; } set { - SitePerson_Person previousValue = this._SitePerson_Person.Entity; - if (((previousValue != value) - || (this._SitePerson_Person.HasLoadedOrAssignedValue == false))) + if ((this._CompanyTrainingItemId != value)) { + this.OnCompanyTrainingItemIdChanging(value); this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._SitePerson_Person.Entity = null; - previousValue.Training_TaskItem.Remove(this); - } - this._SitePerson_Person.Entity = value; - if ((value != null)) - { - value.Training_TaskItem.Add(this); - this._PersonId = value.PersonId; - } - else - { - this._PersonId = default(string); - } - this.SendPropertyChanged("SitePerson_Person"); + this._CompanyTrainingItemId = value; + this.SendPropertyChanged("CompanyTrainingItemId"); + this.OnCompanyTrainingItemIdChanged(); } } } @@ -397613,7 +404014,7 @@ namespace Model private int _JValue; - private EntityRef _Base_Project; + private string _TrainTypeId; private EntityRef _Sys_User; @@ -397675,11 +404076,12 @@ namespace Model partial void OnMValueChanged(); partial void OnJValueChanging(int value); partial void OnJValueChanged(); + partial void OnTrainTypeIdChanging(string value); + partial void OnTrainTypeIdChanged(); #endregion public Training_TestPlan() { - this._Base_Project = default(EntityRef); this._Sys_User = default(EntityRef); this._Training_Plan = default(EntityRef); this._Training_TestPlanTraining = new EntitySet(new Action(this.attach_Training_TestPlanTraining), new Action(this.detach_Training_TestPlanTraining)); @@ -397718,10 +404120,6 @@ namespace Model { if ((this._ProjectId != value)) { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnProjectIdChanging(value); this.SendPropertyChanging(); this._ProjectId = value; @@ -398179,36 +404577,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestPlan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainTypeId", DbType="NVarChar(50)")] + public string TrainTypeId { get { - return this._Base_Project.Entity; + return this._TrainTypeId; } set { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) + if ((this._TrainTypeId != value)) { + this.OnTrainTypeIdChanging(value); this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Training_TestPlan.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Training_TestPlan.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); + this._TrainTypeId = value; + this.SendPropertyChanged("TrainTypeId"); + this.OnTrainTypeIdChanged(); } } } @@ -398644,9 +405028,11 @@ namespace Model private int _Duration; - private EntityRef _Base_Project; + private string _Signature; - private EntityRef _SitePerson_Person; + private string _Fingerprint; + + private string _CompanyTrainingItemId; private EntityRef _Training_TestPlan; @@ -398678,12 +405064,16 @@ namespace Model partial void OnIsFiledChanged(); partial void OnDurationChanging(int value); partial void OnDurationChanged(); + partial void OnSignatureChanging(string value); + partial void OnSignatureChanged(); + partial void OnFingerprintChanging(string value); + partial void OnFingerprintChanged(); + partial void OnCompanyTrainingItemIdChanging(string value); + partial void OnCompanyTrainingItemIdChanged(); #endregion public Training_TestRecord() { - this._Base_Project = default(EntityRef); - this._SitePerson_Person = default(EntityRef); this._Training_TestPlan = default(EntityRef); this._Training_TestRecordItem = new EntitySet(new Action(this.attach_Training_TestRecordItem), new Action(this.detach_Training_TestRecordItem)); OnCreated(); @@ -398720,10 +405110,6 @@ namespace Model { if ((this._ProjectId != value)) { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnProjectIdChanging(value); this.SendPropertyChanging(); this._ProjectId = value; @@ -398768,10 +405154,6 @@ namespace Model { if ((this._TestManId != value)) { - if (this._SitePerson_Person.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnTestManIdChanging(value); this.SendPropertyChanging(); this._TestManId = value; @@ -398921,70 +405303,62 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestRecord_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Signature", DbType="NVarChar(1000)")] + public string Signature { get { - return this._Base_Project.Entity; + return this._Signature; } set { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) + if ((this._Signature != value)) { + this.OnSignatureChanging(value); this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Training_TestRecord.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Training_TestRecord.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); + this._Signature = value; + this.SendPropertyChanged("Signature"); + this.OnSignatureChanged(); } } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestRecord_SitePerson_Person", Storage="_SitePerson_Person", ThisKey="TestManId", OtherKey="PersonId", IsForeignKey=true)] - public SitePerson_Person SitePerson_Person + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Fingerprint", DbType="NVarChar(1000)")] + public string Fingerprint { get { - return this._SitePerson_Person.Entity; + return this._Fingerprint; } set { - SitePerson_Person previousValue = this._SitePerson_Person.Entity; - if (((previousValue != value) - || (this._SitePerson_Person.HasLoadedOrAssignedValue == false))) + if ((this._Fingerprint != value)) { + this.OnFingerprintChanging(value); this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._SitePerson_Person.Entity = null; - previousValue.Training_TestRecord.Remove(this); - } - this._SitePerson_Person.Entity = value; - if ((value != null)) - { - value.Training_TestRecord.Add(this); - this._TestManId = value.PersonId; - } - else - { - this._TestManId = default(string); - } - this.SendPropertyChanged("SitePerson_Person"); + this._Fingerprint = value; + this.SendPropertyChanged("Fingerprint"); + this.OnFingerprintChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyTrainingItemId", DbType="NVarChar(50)")] + public string CompanyTrainingItemId + { + get + { + return this._CompanyTrainingItemId; + } + set + { + if ((this._CompanyTrainingItemId != value)) + { + this.OnCompanyTrainingItemIdChanging(value); + this.SendPropertyChanging(); + this._CompanyTrainingItemId = value; + this.SendPropertyChanged("CompanyTrainingItemId"); + this.OnCompanyTrainingItemIdChanged(); } } } @@ -399969,6 +406343,10 @@ namespace Model private string _EItemEng; + private string _DepartIds; + + private string _DepartNames; + private EntityRef _Training_TestTraining; private EntityRef _Training; @@ -400021,6 +406399,10 @@ namespace Model partial void OnDItemEngChanged(); partial void OnEItemEngChanging(string value); partial void OnEItemEngChanged(); + partial void OnDepartIdsChanging(string value); + partial void OnDepartIdsChanged(); + partial void OnDepartNamesChanging(string value); + partial void OnDepartNamesChanged(); #endregion public Training_TestTrainingItem() @@ -400474,6 +406856,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartIds", DbType="NVarChar(4000)")] + public string DepartIds + { + get + { + return this._DepartIds; + } + set + { + if ((this._DepartIds != value)) + { + this.OnDepartIdsChanging(value); + this.SendPropertyChanging(); + this._DepartIds = value; + this.SendPropertyChanged("DepartIds"); + this.OnDepartIdsChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartNames", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string DepartNames + { + get + { + return this._DepartNames; + } + set + { + if ((this._DepartNames != value)) + { + this.OnDepartNamesChanging(value); + this.SendPropertyChanging(); + this._DepartNames = value; + this.SendPropertyChanged("DepartNames"); + this.OnDepartNamesChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestTrainingItem_Training_TestTraining", Storage="_Training_TestTraining", ThisKey="TrainingId", OtherKey="TrainingId", IsForeignKey=true)] public Training_TestTraining Training_TestTraining { @@ -400887,6 +407309,8 @@ namespace Model private string _UpState; + private System.Nullable _LearningTime; + private EntitySet _Training_PlanItem; private EntityRef _Sys_User; @@ -400929,6 +407353,8 @@ namespace Model partial void OnUnitIdChanged(); partial void OnUpStateChanging(string value); partial void OnUpStateChanged(); + partial void OnLearningTimeChanging(System.Nullable value); + partial void OnLearningTimeChanged(); #endregion public Training_TrainingItem() @@ -401267,6 +407693,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LearningTime", DbType="Int")] + public System.Nullable LearningTime + { + get + { + return this._LearningTime; + } + set + { + if ((this._LearningTime != value)) + { + this.OnLearningTimeChanging(value); + this.SendPropertyChanging(); + this._LearningTime = value; + this.SendPropertyChanged("LearningTime"); + this.OnLearningTimeChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_PlanItem_Training_TrainingItem", Storage="_Training_PlanItem", ThisKey="TrainingItemId", OtherKey="TrainingEduItemId", DeleteRule="NO ACTION")] public EntitySet Training_PlanItem { @@ -420589,6 +427035,8 @@ namespace Model private string _ResponsibilityManName; + private string _ResponsibilityManId; + private string _ResponsibilityManTel; private string _CheckManName; @@ -421231,6 +427679,22 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityManId", DbType="NVarChar(50)")] + public string ResponsibilityManId + { + get + { + return this._ResponsibilityManId; + } + set + { + if ((this._ResponsibilityManId != value)) + { + this._ResponsibilityManId = value; + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityManTel", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ResponsibilityManTel { @@ -446528,6 +452992,141 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_PostTraining_RecordDetail")] + public partial class View_PostTraining_RecordDetail + { + + private string _DetailId; + + private string _RecordId; + + private string _PersonId; + + private string _UnitId; + + private string _UnitName; + + private string _PersonName; + + private string _RoleName; + + public View_PostTraining_RecordDetail() + { + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + public string DetailId + { + get + { + return this._DetailId; + } + set + { + if ((this._DetailId != value)) + { + this._DetailId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordId", DbType="NVarChar(50)")] + public string RecordId + { + get + { + return this._RecordId; + } + set + { + if ((this._RecordId != value)) + { + this._RecordId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonId", DbType="NVarChar(50)")] + public string PersonId + { + get + { + return this._PersonId; + } + set + { + if ((this._PersonId != value)) + { + this._PersonId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] + public string UnitId + { + get + { + return this._UnitId; + } + set + { + if ((this._UnitId != value)) + { + this._UnitId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(200)")] + public string UnitName + { + get + { + return this._UnitName; + } + set + { + if ((this._UnitName != value)) + { + this._UnitName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonName", DbType="NVarChar(50)")] + public string PersonName + { + get + { + return this._PersonName; + } + set + { + if ((this._PersonName != value)) + { + this._PersonName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(200)")] + public string RoleName + { + get + { + return this._RoleName; + } + set + { + if ((this._RoleName != value)) + { + this._RoleName = value; + } + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ProcessControl_InspectionManagement")] public partial class View_ProcessControl_InspectionManagement { @@ -450563,6 +457162,10 @@ namespace Model private System.Nullable _LevelValue; + private string _PostTrainingRoleId; + + private string _PostTrainingRoleName; + public View_SitePerson_Person() { } @@ -451782,6 +458385,38 @@ namespace Model } } } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleId", DbType="NVarChar(50)")] + public string PostTrainingRoleId + { + get + { + return this._PostTrainingRoleId; + } + set + { + if ((this._PostTrainingRoleId != value)) + { + this._PostTrainingRoleId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleName", DbType="NVarChar(200)")] + public string PostTrainingRoleName + { + get + { + return this._PostTrainingRoleName; + } + set + { + if ((this._PostTrainingRoleName != value)) + { + this._PostTrainingRoleName = value; + } + } + } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_SitePerson_PersonList")] @@ -451832,6 +458467,12 @@ namespace Model private System.Nullable _TrainCount; + private string _PoliticsStatusName; + + private string _PostTrainingRoleId; + + private string _PostTrainingRoleName; + public View_SitePerson_PersonList() { } @@ -452187,6 +458828,54 @@ namespace Model } } } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PoliticsStatusName", DbType="NVarChar(500)")] + public string PoliticsStatusName + { + get + { + return this._PoliticsStatusName; + } + set + { + if ((this._PoliticsStatusName != value)) + { + this._PoliticsStatusName = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleId", DbType="NVarChar(50)")] + public string PostTrainingRoleId + { + get + { + return this._PostTrainingRoleId; + } + set + { + if ((this._PostTrainingRoleId != value)) + { + this._PostTrainingRoleId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleName", DbType="NVarChar(200)")] + public string PostTrainingRoleName + { + get + { + return this._PostTrainingRoleName; + } + set + { + if ((this._PostTrainingRoleName != value)) + { + this._PostTrainingRoleName = value; + } + } + } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Solution_LargerHazardListItem")] @@ -456705,6 +463394,10 @@ namespace Model private string _AnswerItems; + private string _DepartIds; + + private string _DepartNames; + public View_Training_TestTrainingItem() { } @@ -457092,6 +463785,38 @@ namespace Model } } } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartIds", DbType="NVarChar(4000)")] + public string DepartIds + { + get + { + return this._DepartIds; + } + set + { + if ((this._DepartIds != value)) + { + this._DepartIds = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartNames", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string DepartNames + { + get + { + return this._DepartNames; + } + set + { + if ((this._DepartNames != value)) + { + this._DepartNames = value; + } + } + } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Training_TrainingItem")] diff --git a/SGGL/Model/Model.csproj b/SGGL/Model/Model.csproj index 70d6f664..447d151b 100644 --- a/SGGL/Model/Model.csproj +++ b/SGGL/Model/Model.csproj @@ -45,12 +45,16 @@ ..\packages\EmitMapper.1.0.0\lib\EmitMapper.dll + + ..\packages\MiniExcel.1.38.0\lib\net45\MiniExcel.dll + ..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll + @@ -227,6 +231,9 @@ + + +