From 8edb9a4bb99819e11d286ccf4f12ec2f8a4fdb0f Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Wed, 14 Dec 2022 11:38:29 +0800 Subject: [PATCH] =?UTF-8?q?2022-12-14-001=20=E5=90=88=E5=90=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vs/SGGL_SeDin/v17/.wsuo | Bin 24064 -> 23040 bytes DataBase/版本日志/SGGLDB_V2022-012-12-001.sql | 51 +++ .../1-6合同管理(Menu_PHTGL).sql | 170 +++++++++ SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 24 ++ .../Filing/BidDocumentsStandingBook.aspx | 172 +++++++++ .../Filing/BidDocumentsStandingBook.aspx.cs | 334 ++++++++++++++++++ .../BidDocumentsStandingBook.aspx.designer.cs | 179 ++++++++++ .../PHTGL/Filing/ContractStandingBook.aspx | 16 + .../PHTGL/Filing/ContractStandingBook.aspx.cs | 17 + .../ContractStandingBook.aspx.designer.cs | 26 ++ SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx | 82 +++++ SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.cs | 171 +++++++++ .../PHTGL/Filing/Files.aspx.designer.cs | 134 +++++++ SGGL/FineUIPro.Web/common/Menu_CQMS.xml | 50 ++- SGGL/FineUIPro.Web/common/Menu_HJGL.xml | 2 - SGGL/FineUIPro.Web/common/Menu_HTGL.xml | 2 - SGGL/FineUIPro.Web/common/Menu_PHTGL.xml | 6 +- SGGL/FineUIPro.Web/common/Menu_PZHGL.xml | 11 +- SGGL/FineUIPro.Web/common/Menu_SysSet.xml | 1 - 19 files changed, 1409 insertions(+), 39 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_V2022-012-12-001.sql create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.cs create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.designer.cs create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx.cs create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx.designer.cs create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.cs create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.designer.cs diff --git a/.vs/SGGL_SeDin/v17/.wsuo b/.vs/SGGL_SeDin/v17/.wsuo index e70d3c602a32a3a656a2c04f78a16cf14eb93c11..d3d1449442b72ce4b3dca4ef381acdbc016e9e2a 100644 GIT binary patch delta 1226 zcmaJ=Ur19?7{BLk)2VlV)Ts;nv*j{Tug<$Wy<6FCZOe&UZEP5*FPn1}NP<`h5iaPl zhuRlJSv`z`UW(c+g29Ft*}A~A+&SmW>d)nzkAO4-S0c+_x(BXcPRb} zy%?j5{C_k<7c?+IFDvB~MQz~$foc;>%Hl|Xby6=fFG2k9<8R!4Lf zYOBC|qWKWvceIgc$oct^*Ji*xiIVVpwUzJj*`=-Y3usH_uu>XT1hL)b?SPbGJV==j zZacfGv#?OvlThzBPHN?eYL7Cn2Lk$LX{x;+!2;bWt<^BJc6D*0{KumczZb8WE`C!P zuRz9UP7J1#L+HO3rD|P>AxA26(uoRbvd%Aq8;0XaBTDF;s%-W0dEb_)%P^$u|HP2a zsPZ$Ua``L}%UT;IQVRUR;{bh4OGugTC*sGDVlY`Rih}gHb!er__6Im;a6rajE`TxB zvPL5-thY?Vq_!4rwMG@BOmbBT1&hgvk(W zSg#^8T<)4iov_}um1ULC>8_I0hF=Js0%UhE2%8ePeWyb(XW$ubAn4B$&Y)kqY3C8d z?PAhSOX;3CUOPk(9b!_HL)tk5Gp-|uf;pE1AvoFV1ktVAg*)yxFw#2dleMA?gQ zHs*YSf;>qI+#UzGJbcOU*EdgAW*-bAY^{gSo}-ZVT&mE`Z_d|yA3uyfzgxd*^HQ0& zAodNwa$gIi`^-I9IHK;!rmhc}rbLROpWze9qcqv9vDip7%(D?om}B|KsD%|c&cbq| zLX;D%LO2|Y0PBszcW+RJV+E(L2Si^pJoV`zj^~b$K5?d`(I!}I-4P4NM)^)F%Xi1D ztSuVpVk2C5WJDMhtmaXv&3hlAap?6Ki5H}O;&#LCFZE6@!;(uQX+l2{qz6S9Xsm(v WgS^!5e~sW-NC}$Id1-tgfc^qh@XW{n delta 1109 zcmb7CL2nXK5aullY;mEbfN8a;l&x(Dn=C8PrM1m#poD`WMv6_^gT%(fq?a~mycqcl zG8bcvhc!JKD^KI4MiS{&F)^M!)SHRbV2nMqz6VR(7&UaVvu}3hn|a^NY~>lMY@y9n z&aT{;8QgWjI`=_1ZLwGmsKC2`1Z8UlU4rk{lXHEB+euG1RR`5$RD)C*e4na|+9Sp{ z^D$w5CIXar?|HuwJz<VSU%BPGtYrGfA10B4*UG6t$=SMzCBe3IKu`w$9cQ2Bfm_l&f`QE~7Ym~J7BKJ?GwUIOud78%llWr<02l7^UABezaG7mUd z2R!locxrxX`O}MyotF=mzih92b|23E*uE`Y|Lh9hB+Y_?4%Zx{J&Mr}*&BO<%neE6 zFl8fBWzy5-wQ!3gt+0ryu?94J2dr}&TX%u{lpUO|ay2EzK`If2vYLlRLV=drgvO*| z3sIB+Yx92M*1jSAEJq)LXE6diSJyEQIK4!cG8;(G@OqYuJf?UbRY{G<6|HnlkrP)Z zH94lP#N<-66qifdnS>Hc#FI&tL~{2L*z;4>Twmxg_(!-%NfZMJo-Agdzc3B=F0YaP l!dFD_VjV$!0rxZ)z(aL-Ra7Cn;MRu`ROWd|4{e!TzX0Rq(Fp(m diff --git a/DataBase/版本日志/SGGLDB_V2022-012-12-001.sql b/DataBase/版本日志/SGGLDB_V2022-012-12-001.sql new file mode 100644 index 00000000..98b5d63d --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2022-012-12-001.sql @@ -0,0 +1,51 @@ + + +/****** Object: View [dbo].[View_HJGL_WPQ] Script Date: 2022/12/12 18:05:43 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + +--select * from [View_HJGL_WPQ] where WPQCode='PQR2019052' +ALTER VIEW [dbo].[View_HJGL_WPQ] +AS +SELECT wpq.WPQId,wpq.WPQCode,wpq.UnitId,u.UnitName,wpq.CompileDate,wpq.Specifications,c.ConsumablesName WeldingRod,wpq.ProjectId, + c1.ConsumablesName WeldingWire,wpq.GrooveType, g.GrooveTypeName,wpq.WeldingPosition,wpq.WeldingMethodId,wpq.State,wpq.ApproveManId, + wpq.MaterialId1,wpq.MaterialId2,mat1.MaterialCode AS MaterialCode1,mat2.MaterialCode AS MaterialCode2, + wpq.MinImpactDia,wpq.MaxImpactDia, wpq.MinCImpactDia,wpq.MaxCImpactDia,wpq.WeldingWireSpecification,wpq.WeldingRodSpecification, + wpq.MinImpactThickness,wpq.MaxImpactThickness, wpq.NoMinImpactThickness,wpq.NoMaxImpactThickness, + CAST(wpq.MinImpactDia AS VARCHAR(10))+'~'+CAST(wpq.MaxImpactDia AS VARCHAR(10)) AS DiaRange, + CAST(wpq.MinCImpactDia AS VARCHAR(10))+'~'+CAST(wpq.MaxCImpactDia AS VARCHAR(10)) AS CDiaRange, + CAST(wpq.MinImpactThickness AS VARCHAR(10))+'~'+ CAST(wpq.MaxImpactThickness AS VARCHAR(10)) AS ThicknessRange, + CAST(wpq.NoMinImpactThickness AS VARCHAR(10))+'~'+ CAST(wpq.NoMaxImpactThickness AS VARCHAR(10)) AS CThicknessRange, + (CASE wpq.IsHotProess WHEN 1 THEN '' ELSE '' END) AS IsHotProess,wpq.GasProtectionModeId,gpm.GasProtectionModeName, + wpq.WPQStandard,wpq.PreTemperature,wpq.Remark,wpq.JointType,wpq.Motorization,wpq.ProtectiveGas,wpq.ProtectionGasId,pg.ProtectionGasName, + wpq.Stretching,wpq.Bend,wpq.ToAttack,wpq.Others,wmt.WeldingMethodCode, + wpq.Material1Class, wpq.Material2Class,wpq.Material1Group,wpq.Material2Group, + CASE WHEN wpq.Material1Class!='' AND wpq.Material1Class is not NULL THEN SUBSTRING(wpq.Material1Class,CHARINDEX('-',wpq.Material1Class)+1,1) ELSE '' END AS SNClass1, + CASE WHEN wpq.Material2Class!='' AND wpq.Material2Class is not NULL THEN SUBSTRING(wpq.Material2Class,CHARINDEX('-',wpq.Material2Class)+1,1) ELSE '' END AS SNClass2, + CASE WHEN wpq.Material1Group!='' AND wpq.Material1Group is not NULL THEN LEFT(wpq.Material1Group,LEN(wpq.Material1Group)-2) ELSE '' END AS PreGroup1, + CASE WHEN wpq.Material2Group!='' AND wpq.Material2Group is not NULL THEN LEFT(wpq.Material2Group,LEN(wpq.Material2Group)-2) ELSE '' END AS PreGroup2, + CASE WHEN wpq.Material1Group!='' AND wpq.Material1Group is not NULL THEN RIGHT(wpq.Material1Group,1) ELSE '' END AS SNGroup1, + CASE WHEN wpq.Material2Group!='' AND wpq.Material2Group is not NULL THEN RIGHT(wpq.Material2Group,1) ELSE '' END AS SNGroup2 +FROM WPQ_WPQList AS wpq +LEFT JOIN Base_Material AS mat1 ON mat1.MaterialId = wpq.MaterialId1 +LEFT JOIN Base_Material AS mat2 ON mat2.MaterialId = wpq.MaterialId2 +LEFT JOIN Base_WeldingMethod AS wmt ON wmt.WeldingMethodId = wpq.WeldingMethodId +LEFT JOIN dbo.Base_Unit u ON u.UnitId=wpq.UnitId +LEFT JOIN dbo.Base_Consumables c ON c.ConsumablesId=wpq.WeldingRod +LEFT JOIN dbo.Base_Consumables c1 ON c1.ConsumablesId=wpq.WeldingWire +LEFT JOIN dbo.Base_GrooveType g ON g.GrooveTypeId=wpq.GrooveType +LEFT JOIN dbo.Base_GasProtectionMode gpm ON gpm.GasProtectionModeId=wpq.GasProtectionModeId +LEFT JOIN dbo.Base_ProtectionGas pg ON pg.ProtectionGasId=wpq.ProtectionGasId + + + + + +GO + + diff --git a/DataBase/菜单初始化脚本/1-6合同管理(Menu_PHTGL).sql b/DataBase/菜单初始化脚本/1-6合同管理(Menu_PHTGL).sql index e69de29b..9c55a28f 100644 --- a/DataBase/菜单初始化脚本/1-6合同管理(Menu_PHTGL).sql +++ b/DataBase/菜单初始化脚本/1-6合同管理(Menu_PHTGL).sql @@ -0,0 +1,170 @@ +delete from Sys_ButtonToMenu where MenuId in (select MenuId from Sys_Menu where MenuType='Menu_PHTGL') +go +delete from Sys_Menu where MenuType='Menu_PHTGL' +go + +INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'04DEBC8A-1D09-4DD8-9464-496A4533FE03',N'б',10,N'0',N'Menu_PHTGL',0,0,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'2E57E92E-31BE-46B3-89AF-E08DAE8FC8E7',N'ʵʩƻ',N'PHTGL/BiddingManagement/ActionPlanFormation.aspx',10,N'04DEBC8A-1D09-4DD8-9464-496A4533FE03',N'Menu_PHTGL',0,1,1) + GO + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'0F612E3C-6B5E-4355-BDD1-30711664F1DA',N'2E57E92E-31BE-46B3-89AF-E08DAE8FC8E7',N'',4) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'BDB47C06-DED1-46A4-BC86-A9B6DE1B43CB',N'2E57E92E-31BE-46B3-89AF-E08DAE8FC8E7',N'',1) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'4B30E181-190C-4F4B-B037-0FCFA4043C57',N'2E57E92E-31BE-46B3-89AF-E08DAE8FC8E7',N'ɾ',3) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'4BCB5746-FFD8-4D9A-99A7-47CBC45D4025',N'2E57E92E-31BE-46B3-89AF-E08DAE8FC8E7',N'޸',2) + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'303B6753-ED3C-438A-A860-F9C5E5489C8F',N'ʵʩƻ',N'PHTGL/BiddingManagement/ActionPlanReview.aspx',20,N'04DEBC8A-1D09-4DD8-9464-496A4533FE03',N'Menu_PHTGL',0,1,1) + GO + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'EB267FA5-640F-4557-ACD7-32042B27237F',N'303B6753-ED3C-438A-A860-F9C5E5489C8F',N'ɾ',3) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'42EFEF0B-8140-4FAC-902E-C9D1453E1DDD',N'303B6753-ED3C-438A-A860-F9C5E5489C8F',N'',4) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'9B20CD95-4EC8-42E8-BBE5-90FDB9D88F0D',N'303B6753-ED3C-438A-A860-F9C5E5489C8F',N'޸',2) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'A9D1392C-4FE0-4394-8F1F-DF310D05D9F0',N'303B6753-ED3C-438A-A860-F9C5E5489C8F',N'',1) + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'0BB31BB1-469D-41E8-9039-A53A2B1EEB86',N'бļ',N'PHTGL/BiddingManagement/BidDocumentsReview.aspx',30,N'04DEBC8A-1D09-4DD8-9464-496A4533FE03',N'Menu_PHTGL',0,1,1) + GO + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'46D11254-79E4-4B76-A686-03D594D0020F',N'0BB31BB1-469D-41E8-9039-A53A2B1EEB86',N'',1) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'CCFD1CB2-5619-47DE-9099-E4B5FD1EF9F8',N'0BB31BB1-469D-41E8-9039-A53A2B1EEB86',N'',4) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'DE0C8050-4FF1-4655-B158-55329BED3928',N'0BB31BB1-469D-41E8-9039-A53A2B1EEB86',N'޸',2) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'EEE4E7CB-7196-447E-BFA6-18BDFC5E993C',N'0BB31BB1-469D-41E8-9039-A53A2B1EEB86',N'ɾ',3) + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'133C55A1-3744-40F5-9C74-24E85AB1261F',N'С',N'PHTGL/BiddingManagement/ApproveUserReview.aspx',40,N'04DEBC8A-1D09-4DD8-9464-496A4533FE03',N'Menu_PHTGL',0,1,1) + GO + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'33A2EC75-F307-4ADB-8712-6341BF68BDE6',N'133C55A1-3744-40F5-9C74-24E85AB1261F',N'',1) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'525693F6-3C0D-4E9A-BDC7-287577C3A5BD',N'133C55A1-3744-40F5-9C74-24E85AB1261F',N'',4) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'7013561C-1EEE-463E-8B0D-2A42D54B49AE',N'133C55A1-3744-40F5-9C74-24E85AB1261F',N'ɾ',3) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'CB178B40-5AC8-4386-ABF2-4C8F30068CC2',N'133C55A1-3744-40F5-9C74-24E85AB1261F',N'޸',2) + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'11503AD6-742D-406D-96F1-17BA3B9E7580',N'ȷְ',N'PHTGL/BiddingManagement/SetSubReview.aspx',50,N'04DEBC8A-1D09-4DD8-9464-496A4533FE03',N'Menu_PHTGL',0,1,1) + GO + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'D2A084E2-4224-4693-98CE-F1232D020AD2',N'11503AD6-742D-406D-96F1-17BA3B9E7580',N'޸',2) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'A9F937A4-0EE3-4794-9A50-740DD7E467C9',N'11503AD6-742D-406D-96F1-17BA3B9E7580',N'',4) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'B40C4F88-6D2B-4810-AA2A-1BD232FDF67E',N'11503AD6-742D-406D-96F1-17BA3B9E7580',N'',1) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'4342B20C-FD3D-4D19-9B7C-99CAD53DAAD4',N'11503AD6-742D-406D-96F1-17BA3B9E7580',N'ɾ',3) + Go + +INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) +VALUES ( N'C041D799-47A0-4ECA-A6A2-C387857165D6',N'ͬ',20,N'0',N'Menu_PHTGL',0,0,1) +Go + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'C609FEA5-0904-4F59-A920-22B6459F1A94',N'ͬ',N'PHTGL/ContractCompile/ContractFormation.aspx',10,N'C041D799-47A0-4ECA-A6A2-C387857165D6',N'Menu_PHTGL',0,1,1) + Go + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'7B7AED5D-1DCE-41A5-9631-3C094C9B51CA',N'C609FEA5-0904-4F59-A920-22B6459F1A94',N'ɾ',3) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'619FB4DE-5EA7-4EFD-B2DC-A49D7DEA2402',N'C609FEA5-0904-4F59-A920-22B6459F1A94',N'޸',2) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'13EEF59C-D936-4F0D-B419-6254E10010CC',N'C609FEA5-0904-4F59-A920-22B6459F1A94',N'',1) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'D3505307-B1B1-4741-AFB4-81DC45E00950',N'C609FEA5-0904-4F59-A920-22B6459F1A94',N'',4) + + Go + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'B32E7F62-5AA3-46B2-A438-E286909A47B4',N'ͬ',N'PHTGL/ContractCompile/ContractReview_Countersign.aspx',20,N'C041D799-47A0-4ECA-A6A2-C387857165D6',N'Menu_PHTGL',0,1,1) + Go + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'319615E2-148A-4D9D-B1EA-BAA8CC07E4A3',N'B32E7F62-5AA3-46B2-A438-E286909A47B4',N'',4) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'6B3D36C8-2731-46A3-A92C-FD214761EA4A',N'B32E7F62-5AA3-46B2-A438-E286909A47B4',N'޸',2) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'9260C6FF-7F17-4E43-ACF7-437F88027643',N'B32E7F62-5AA3-46B2-A438-E286909A47B4',N'',1) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'934EFEC7-4C05-49B4-9C65-EE2287A06A07',N'B32E7F62-5AA3-46B2-A438-E286909A47B4',N'ɾ',3) + Go + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'E50F243C-CE5A-4174-B473-15CD565A7796',N'ͬ',N'PHTGL/ContractCompile/ContractReview.aspx',30,N'C041D799-47A0-4ECA-A6A2-C387857165D6',N'Menu_PHTGL',0,1,1) + Go + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'E988FCAE-E96C-465B-882E-84B8BDAFE610',N'E50F243C-CE5A-4174-B473-15CD565A7796',N'޸',2) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'1C483B8D-5D6B-4E88-9E5B-2C4E7ABC22ED',N'E50F243C-CE5A-4174-B473-15CD565A7796',N'ɾ',3) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'8D7295C6-AA1F-49C2-8F85-7B02E6F18EC9',N'E50F243C-CE5A-4174-B473-15CD565A7796',N'',4) + INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) + VALUES ( N'A536C304-4E1E-4F34-B259-15FB74537B31',N'E50F243C-CE5A-4174-B473-15CD565A7796',N'',1) + Go + --INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + --VALUES ( N'522ECE81-132E-4704-867B-ABD0DBCFB15D',N'̨ͬ',N'PHTGL/ContractCompile/ContractStandingBook.aspx',40,N'C041D799-47A0-4ECA-A6A2-C387857165D6',N'Menu_PHTGL',0,0,1) + --Go + +INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'',30,N'0',N'Menu_PHTGL',0,0,1) + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'FBCCEE66-D3EF-4275-A7EA-6A8796D6FD4E',N'б',10,N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'Menu_PHTGL',0,0,1) + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'E4095CAC-E016-4D63-9A7A-580B51DC96FF',N'ʩְʵʩƻ',N'PHTGL/Filing/ActionPlanFile.aspx',10,N'FBCCEE66-D3EF-4275-A7EA-6A8796D6FD4E',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'2A1EB845-847A-4722-8A22-7DB9DB914C88',N'бļ',N'PHTGL/Filing/BidDocumentsFile.aspx',20,N'FBCCEE66-D3EF-4275-A7EA-6A8796D6FD4E',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'99F81507-2121-4442-ABB9-1D2F60FC0AC6',N'ר',N'PHTGL/Filing/ApproveUserFile.aspx',30,N'FBCCEE66-D3EF-4275-A7EA-6A8796D6FD4E',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'60F42D82-7890-47A5-9108-FE60F8DAE384',N'',N'PHTGL/Filing/SetSubFile.aspx',40,N'FBCCEE66-D3EF-4275-A7EA-6A8796D6FD4E',N'Menu_PHTGL',0,1,1) + + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'88CB0F1B-2516-4B4A-A61E-CD0FA94DEEBF',N'ͬ',20,N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'Menu_PHTGL',0,0,1) + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'7E03F115-B80E-41BA-926D-CFE1BA5FD1C1',N'ʩְͬ',N'PHTGL/Filing/ContractFile.aspx',10,N'88CB0F1B-2516-4B4A-A61E-CD0FA94DEEBF',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'9D9A32F9-9FEF-455A-BD90-D8CBC2DE612F',N'ʩְͬ',20,N'88CB0F1B-2516-4B4A-A61E-CD0FA94DEEBF',N'Menu_PHTGL',0,1,1) + GO + + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'11f4f882-28a9-4610-a657-6a58336097d2',N'б깤̨',N'PHTGL/Filing/BidDocumentsStandingBook.aspx',30,N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'dedaf6f6-af14-4e4e-9fc6-164aa808cab9',N'̨ͬ',N'PHTGL/Filing/ContractFile.aspx',40,N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'9a772430-8a74-4d70-876d-136db8ce01a4',N'ļ鵵',N'PHTGL/Filing/Files.aspx',50,N'79A6D6B1-E29F-4921-8867-142CEED7997B',N'Menu_PHTGL',0,1,1) + + + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'۸ϵ',30,N'0',N'Menu_PHTGL',0,0,1) + GO + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'C8C719BC-450F-43AB-B17F-AB5DECD83E17',N'',10,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'BBA09E69-5017-411C-A516-64D0140AF70E',N'',20,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'999FCA97-E28A-46FA-9293-0399D1172AC9',N'',30,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'838ED633-B375-4937-A4E1-F95FCCF640A0',N'DZ',40,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'AD5C7CBB-310D-4D15-9AFF-530BF765F460',N'ˮ',50,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'0141B1F4-970A-4C23-B58A-BDF0785CA96E',N'ůͨ',60,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'8A1D2885-2584-44AD-A4DD-ED3F98198C8A',N'',70,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'48216E20-7103-48AB-A12F-237E28605952',N'',80,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + INSERT [Sys_Menu] ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) + VALUES ( N'5EB73242-63F0-402C-A42B-2BCDC0AC2229',N'ٽʩ',90,N'7D8CF5B4-B945-4254-B134-4ABF55255497',N'Menu_PHTGL',0,1,1) + + + GO \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index d2fdfd74..162b4883 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -1123,7 +1123,10 @@ + + + @@ -11399,6 +11402,13 @@ BidDocumentsFile.aspx + + BidDocumentsStandingBook.aspx + ASPXCodeBehind + + + BidDocumentsStandingBook.aspx + ContractFile.aspx ASPXCodeBehind @@ -11406,6 +11416,20 @@ ContractFile.aspx + + ContractStandingBook.aspx + ASPXCodeBehind + + + ContractStandingBook.aspx + + + Files.aspx + ASPXCodeBehind + + + Files.aspx + SetSubFile.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx new file mode 100644 index 00000000..0e802b6c --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx @@ -0,0 +1,172 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BidDocumentsStandingBook.aspx.cs" Inherits="FineUIPro.Web.PHTGL.Filing.BidDocumentsStandingBook" %> + + + + + + + + +
+ + + + + + + + + + + + <%-- + --%> + + + + + + + <%-- + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- + + --%> + + + + + + + + + + + + + + + + + + <%-- + + + + + --%> + + + + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.cs new file mode 100644 index 00000000..102b908d --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.cs @@ -0,0 +1,334 @@ +using BLL; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; + +namespace FineUIPro.Web.PHTGL.Filing +{ + public partial class BidDocumentsStandingBook : 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) + { + ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // btnNew.OnClientClick = Window1.GetShowReference("ContractFormationEdit.aspx", "基本信息") + "return false;"; + GetButtonPower(); + this.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) + { + this.ProjectId = Request.Params["projectId"]; + } + + //this.drpStates.DataValueField = "Value"; + //drpStates.DataTextField = "Text"; + //drpStates.DataSource = BLL.DropListService.GetState(); + //drpStates.DataBind(); + //Funs.FineUIPleaseSelect(drpStates); + + BindGrid(); + + } + } + + /// + /// 数据绑定 + /// + private void BindGrid() + { + + } + #endregion + + #region 分页 排序 + /// + /// 改变索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉选择事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + + #region 关闭弹出窗体 + /// + /// 关闭弹出窗体 + /// + /// + /// + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } + #endregion + + #region 查询 + /// + /// 查询按钮 + /// + /// + /// + protected void btnSearch_Click(object sender, EventArgs e) + { + BindGrid(); + } + #endregion + protected void btnReset_Click(object sender, EventArgs e) + { + txtProjectCode.Text = string.Empty; + txtShortName.Text = string.Empty; + txtContractNum.Text = string.Empty; + txtContractName.Text = string.Empty; + txtSubConstruction.Text = string.Empty; + } + + #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 (Grid1.SelectedRowIndexArray.Length == 0) + //{ + // Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning); + // return; + //} + //string id = Grid1.SelectedRowID; + //var contract = BLL.ContractService.GetContractById(id); + //Model.PHTGL_Contract _Contract = BLL.ContractService.GetContractById(id); + //_Contract.ApproveState = 0; + //ContractService.UpdateContract(_Contract); + //if (contract != null) + //{ + // PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ContractFormationEdit.aspx?ContractId={0}", id, "编辑 - "))); + //} + } + #endregion + + #region 删除 + /// + /// 右键删除事件 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + //if (Grid1.SelectedRowIndexArray.Length > 0) + //{ + // bool isShow = false; + // if (Grid1.SelectedRowIndexArray.Length == 1) + // { + // isShow = true; + // } + // foreach (int rowIndex in Grid1.SelectedRowIndexArray) + // { + // string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + // if (this.judgementDelete(rowID, isShow)) + // { + // var p = BLL.ContractService.GetContractById(rowID); + // var Sub = BLL.SubcontractAgreementService.GetSubcontractAgreementByContractId(rowID); + // var Spe = PHTGL_SpecialTermsConditionsService.GetSpecialTermsConditionsByContractId(rowID); + // if (Sub != null) + // { + // SubcontractAgreementService.DeleteSubcontractAgreementBycontractId(rowID); + // } + // if (Spe != null) + // { + // PHTGL_SpecialTermsConditionsService.DeleteSpecialTermsConditionsBycontractId(rowID); + // } + // if (p != null) + // { + // BLL.LogService.AddSys_Log(this.CurrUser, p.ContractName, p.ContractId, BLL.Const.ContractMenuId, BLL.Const.BtnDelete); + // BLL.ContractService.DeleteContractById(rowID); + // } + // } + // } + // BindGrid(); + // ShowNotify("删除数据成功!", MessageBoxIcon.Success); + //} + } + + /// + /// 判断是否可以删除 + /// + /// + private bool judgementDelete(string id, bool isShow) + { + string content = string.Empty; + + if (string.IsNullOrEmpty(content)) + { + return true; + } + else + { + if (isShow) + { + Alert.ShowInTop(content); + } + return false; + } + } + #endregion + + #region 获取按钮权限 + /// + /// 获取按钮权限 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = CommonService.GetAllButtonList(CurrUser.LoginProjectId, CurrUser.PersonId, Const.ContractFormation); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(Const.BtnAdd)) + { + //btnNew.Hidden = false; + } + if (buttonList.Contains(Const.BtnModify)) + { + // btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(Const.BtnDelete)) + { + // 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 = this.; + BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + + //#pragma warning disable CS0108 // “PersonList.GetGridTableHtml(Grid)”隐藏继承的成员“PageBase.GetGridTableHtml(Grid)”。如果是有意隐藏,请使用关键字 new。 + // /// + // /// 导出方法 + // /// + // /// + // /// + // private string GetGridTableHtml(Grid grid) + //#pragma warning restore CS0108 // “PersonList.GetGridTableHtml(Grid)”隐藏继承的成员“PageBase.GetGridTableHtml(Grid)”。如果是有意隐藏,请使用关键字 new。 + // { + // 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("labNumber") as AspNet.Label).Text; + // } + // if (column.ColumnID == "tfI") + // { + // html = (row.FindControl("lbI") as AspNet.Label).Text; + // } + // //sb.AppendFormat("", html); + // sb.AppendFormat("", html); + // } + + // sb.Append(""); + // } + + // sb.Append("
{0}
{0}{0}
"); + + // return sb.ToString(); + // } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.designer.cs new file mode 100644 index 00000000..f8d50fca --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.designer.cs @@ -0,0 +1,179 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.PHTGL.Filing +{ + + + public partial class BidDocumentsStandingBook + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtProjectCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtProjectCode; + + /// + /// txtShortName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtShortName; + + /// + /// txtContractNum 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtContractNum; + + /// + /// txtContractName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtContractName; + + /// + /// txtSubConstruction 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSubConstruction; + + /// + /// btnSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSearch; + + /// + /// Button1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button Button1; + + /// + /// btnOut 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnOut; + + /// + /// lblPageIndex 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label lblPageIndex; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + } +} diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx b/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx new file mode 100644 index 00000000..a10fd361 --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContractStandingBook.aspx.cs" Inherits="FineUIPro.Web.PHTGL.Filing.ContractStandingBook" %> + + + + + + + + + +
+
+
+
+ + diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx.cs new file mode 100644 index 00000000..be456a27 --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace FineUIPro.Web.PHTGL.Filing +{ + public partial class ContractStandingBook : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx.designer.cs new file mode 100644 index 00000000..18ce8e56 --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/ContractStandingBook.aspx.designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// 此代码是由工具生成的。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.PHTGL.Filing +{ + + + public partial class ContractStandingBook + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx b/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx new file mode 100644 index 00000000..6e6fbf58 --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx @@ -0,0 +1,82 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Files.aspx.cs" Inherits="FineUIPro.Web.PHTGL.Filing.Files" %> + + + + + + + 文档归档 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.cs new file mode 100644 index 00000000..1b18fa88 --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.cs @@ -0,0 +1,171 @@ +using BLL; +using FineUIPro.Web.PHTGL.BiddingManagement; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; + +namespace FineUIPro.Web.PHTGL.Filing +{ + public partial class Files : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + GetButtonPower(); + BindGrid(); + } + } + + #endregion + + #region 数据绑定 + /// + /// 数据绑定 + /// + private void BindGrid() + { + + } + #endregion + + #region 分页 排序 + /// + /// 改变索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉选择事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + + protected void Grid1_RowCommand(object sender, GridCommandEventArgs e) + { + //object[] keys = Grid1.DataKeys[e.RowIndex]; + //string fileId = string.Empty; + //if (keys == null) + //{ + // return; + //} + //else + //{ + // fileId = keys[0].ToString(); + //} + //if (e.CommandName == "export") + //{ + // ActionPlanFormation actionPlanFormation = new ActionPlanFormation(); + // var Act = BLL.PHTGL_ActionPlanReviewService.GetPHTGL_ActionPlanReviewById(fileId); + // actionPlanFormation.Print(Act.ActionPlanID); + // return; + //} + //if (e.CommandName == "download") + //{ + // PageContext.RegisterStartupScript(Windowtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ActionPlanAttachUrl&menuId={1}", fileId, BLL.Const.ActionPlanReview))); + // return; + //} + } + #endregion + + + + #region 查询 重置 + /// + /// 查询按钮 + /// + /// + /// + protected void btnSearch_Click(object sender, EventArgs e) + { + BindGrid(); + } + + protected void btnRset_Click(object sender, EventArgs e) + { + txtActionPlanCode.Text = ""; + BindGrid(); + } + + #endregion + + + #region 获取按钮权限 + /// + /// 获取按钮权限 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == "0") + { + return; + } + var buttonList = CommonService.GetAllButtonList(CurrUser.LoginProjectId, CurrUser.PersonId, Const.ActionPlanReview); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(Const.BtnAdd)) + { + } + + if (buttonList.Contains(Const.BtnDelete)) + { + } + } + } + #endregion + + #region 打印 + protected void btnPrinter_Click(object sender, EventArgs e) + { + //if (Grid1.SelectedRowIndexArray.Length == 0) + //{ + // Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning); + // return; + //} + //string Id = Grid1.SelectedRowID; + //var Act = PHTGL_ActionPlanReviewService.GetPHTGL_ActionPlanReviewById(Id); + //if (Act == null) + //{ + // Alert.ShowInTop("还未创建审批流无法导出!", MessageBoxIcon.Warning); + // return; + //} + //string ActionPlanID = Act.ActionPlanID; + //ActionPlanFormation actionPlanFormation = new ActionPlanFormation(); + //actionPlanFormation.Print(ActionPlanID); + } + #endregion + + + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.designer.cs new file mode 100644 index 00000000..8f27fd9e --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/Files.aspx.designer.cs @@ -0,0 +1,134 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.PHTGL.Filing +{ + + + public partial class Files + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtActionPlanCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtActionPlanCode; + + /// + /// btnQuery 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnQuery; + + /// + /// btnRset 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnRset; + + /// + /// lblPageIndex 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label lblPageIndex; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Windowtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Windowtt; + } +} diff --git a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml index 72f956cd..c460a9f5 100644 --- a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml +++ b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml @@ -1,15 +1,22 @@  - - + + - - - + + + + + + + + + + @@ -18,43 +25,30 @@ - - + + + + + + + + - - - - - - - - - - - + + - - - - - - - - - - diff --git a/SGGL/FineUIPro.Web/common/Menu_HJGL.xml b/SGGL/FineUIPro.Web/common/Menu_HJGL.xml index 30c699a6..1ea05d70 100644 --- a/SGGL/FineUIPro.Web/common/Menu_HJGL.xml +++ b/SGGL/FineUIPro.Web/common/Menu_HJGL.xml @@ -4,7 +4,6 @@ - @@ -32,7 +31,6 @@ - diff --git a/SGGL/FineUIPro.Web/common/Menu_HTGL.xml b/SGGL/FineUIPro.Web/common/Menu_HTGL.xml index 2e0976fd..ee18d81b 100644 --- a/SGGL/FineUIPro.Web/common/Menu_HTGL.xml +++ b/SGGL/FineUIPro.Web/common/Menu_HTGL.xml @@ -7,6 +7,4 @@ - - \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/Menu_PHTGL.xml b/SGGL/FineUIPro.Web/common/Menu_PHTGL.xml index 49f7ea7f..3ff79d95 100644 --- a/SGGL/FineUIPro.Web/common/Menu_PHTGL.xml +++ b/SGGL/FineUIPro.Web/common/Menu_PHTGL.xml @@ -11,7 +11,6 @@ - @@ -21,6 +20,10 @@ + + + + @@ -31,5 +34,4 @@ - \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/Menu_PZHGL.xml b/SGGL/FineUIPro.Web/common/Menu_PZHGL.xml index 15117ad8..e67fa0a1 100644 --- a/SGGL/FineUIPro.Web/common/Menu_PZHGL.xml +++ b/SGGL/FineUIPro.Web/common/Menu_PZHGL.xml @@ -1,15 +1,18 @@  - + - - - + + + + + + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/Menu_SysSet.xml b/SGGL/FineUIPro.Web/common/Menu_SysSet.xml index 3aea3562..759a7fe5 100644 --- a/SGGL/FineUIPro.Web/common/Menu_SysSet.xml +++ b/SGGL/FineUIPro.Web/common/Menu_SysSet.xml @@ -11,7 +11,6 @@ -