Compare commits
No commits in common. "8e6eedf614cf2ebd2ddd2e75c61c481dd6fbafe1" and "8ea587a495d795a114952a3b126972326028fba4" have entirely different histories.
8e6eedf614
...
8ea587a495
|
|
@ -25,9 +25,9 @@ REM --------------
|
||||||
|
|
||||||
@echo 设置.net控制台环境
|
@echo 设置.net控制台环境
|
||||||
@echo.
|
@echo.
|
||||||
@call "%VS100COMNTOOLS%"vsvars32.bat
|
@call "%VS150%"
|
||||||
|
|
||||||
SqlMetal /views /server:.\SQL2016 /database:HJGLDB_ZJBSF /code:%Model_ROOT%\Model.cs /namespace:Model
|
SqlMetal /views /server:. /database:HJGLDB_ZJBSF /code:%Model_ROOT%\Model.cs /namespace:Model
|
||||||
|
|
||||||
@ECHO 完成
|
@ECHO 完成
|
||||||
pause
|
pause
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
||||||
-- 管线焊工 增加是否 PMI处理
|
|
||||||
alter table Pipeline_WeldJoint add isPMI bit NULL
|
|
||||||
GO
|
|
||||||
update Pipeline_WeldJoint set isPMI=0
|
|
||||||
GO
|
|
||||||
|
|
||||||
ALTER VIEW [dbo].[View_Pipeline_WeldJoint]
|
ALTER VIEW [dbo].[View_Pipeline_WeldJoint]
|
||||||
AS
|
AS
|
||||||
|
|
@ -82,7 +77,6 @@ CoverWelder.WelderName AS CoverWelderName,
|
||||||
pipingClass.PipingClassCode,pip.PIPClassCode,
|
pipingClass.PipingClassCode,pip.PIPClassCode,
|
||||||
CONVERT(VARCHAR(100), WeldingDaily.WeldingDate, 23) AS WeldingDate,
|
CONVERT(VARCHAR(100), WeldingDaily.WeldingDate, 23) AS WeldingDate,
|
||||||
WeldJoint.IsCancel,
|
WeldJoint.IsCancel,
|
||||||
WeldJoint.IsPMI,
|
|
||||||
WeldJoint.IsGoldJoint,
|
WeldJoint.IsGoldJoint,
|
||||||
WeldJoint.WPQId,wps.WPQCode,
|
WeldJoint.WPQId,wps.WPQCode,
|
||||||
WeldJoint.DetectionType,
|
WeldJoint.DetectionType,
|
||||||
|
|
@ -207,6 +201,7 @@ FROM Pipeline_WeldJoint AS weldJoint
|
||||||
|
|
||||||
GO
|
GO
|
||||||
|
|
||||||
|
|
||||||
UPDATE dbo.Template_Files SET title=REPLACE(title,cast(sortindex as nvarchar(50))+'-','')
|
UPDATE dbo.Template_Files SET title=REPLACE(title,cast(sortindex as nvarchar(50))+'-','')
|
||||||
GO
|
GO
|
||||||
|
|
||||||
|
|
@ -217,73 +212,4 @@ INSERT INTO [dbo].[Template_Files]([id],[title],[filePath],[SortIndex])
|
||||||
VALUES('95125974-3DD4-4E16-B4F0-A9D9C9A1406D','밗돛보쌈쌈庫PMI쇱꿎궐절횅훰깊','',25)
|
VALUES('95125974-3DD4-4E16-B4F0-A9D9C9A1406D','밗돛보쌈쌈庫PMI쇱꿎궐절횅훰깊','',25)
|
||||||
GO
|
GO
|
||||||
|
|
||||||
-- PMI处理委托
|
|
||||||
create table PMI_Delegation
|
|
||||||
(
|
|
||||||
Id nvarchar(50) not null primary key,
|
|
||||||
DelegationNo nvarchar(50) not null,
|
|
||||||
DelegationDate datetime,
|
|
||||||
ProjectId nvarchar(50) not null,
|
|
||||||
InstallationId nvarchar(50),
|
|
||||||
UnitId nvarchar(50),
|
|
||||||
DetectionStandard nvarchar(50),
|
|
||||||
Tabler nvarchar(50),
|
|
||||||
Remark nvarchar(255),
|
|
||||||
CreatedTime datetime default getdate()
|
|
||||||
)
|
|
||||||
go
|
|
||||||
---- PMI处理委托 明细
|
|
||||||
create table PMI_DelegationDetails
|
|
||||||
(
|
|
||||||
Id nvarchar(50) not null primary key,
|
|
||||||
PMIId nvarchar(50) not null,
|
|
||||||
JointId nvarchar(50) not null,
|
|
||||||
QualityNo nvarchar(255),
|
|
||||||
Acceptance nvarchar(255),
|
|
||||||
Status int not null,
|
|
||||||
CreatedTime datetime default getdate()
|
|
||||||
)
|
|
||||||
go
|
|
||||||
|
|
||||||
|
|
||||||
-- 插入PMI委托菜单
|
|
||||||
insert into Sys_Menu values('A6FB44C3-0920-4F77-862F-D814FD5E5D23','PMI检测管理','PMI detection management','',21,0,3,NUll,1)
|
|
||||||
insert into Sys_Menu values(NEWID(),'PMI委托','PMI delegation','/WeldingProcess/PMI/PMIDelegation.aspx',1,'A6FB44C3-0920-4F77-862F-D814FD5E5D23',3,NULL,1)
|
|
||||||
insert into Sys_Menu values(NEWID(),'PMI检测录入','PMI detection entry','/WeldingProcess/PMI/PMIDetectionEntry.aspx',2,'A6FB44C3-0920-4F77-862F-D814FD5E5D23',3,NULL,1)
|
|
||||||
GO
|
|
||||||
|
|
||||||
|
|
||||||
/*******PMI委托明细视图***********/
|
|
||||||
|
|
||||||
ALTER VIEW [dbo].[View_PMI_DelegationDetails]
|
|
||||||
AS
|
|
||||||
/********热处理明细********/
|
|
||||||
SELECT
|
|
||||||
TrustItem.Id,
|
|
||||||
TrustItem.Acceptance,
|
|
||||||
TrustItem.CreatedTime,
|
|
||||||
TrustItem.JointId as WeldJointId,
|
|
||||||
TrustItem.status,
|
|
||||||
TrustItem.QualityNo,
|
|
||||||
TrustItem.PMIId,
|
|
||||||
Trust.ProjectId,
|
|
||||||
Trust.DelegationNo,
|
|
||||||
Trust.DelegationDate,
|
|
||||||
WeldJoint.WeldJointCode,
|
|
||||||
Pipeline.PipelineCode,
|
|
||||||
WeldJoint.Specification,
|
|
||||||
Material.MaterialCode,
|
|
||||||
Pipeline.WorkAreaId
|
|
||||||
FROM PMI_DelegationDetails AS TrustItem
|
|
||||||
LEFT JOIN PMI_Delegation AS Trust ON Trust.Id=TrustItem.PMIId
|
|
||||||
LEFT JOIN Pipeline_WeldJoint AS WeldJoint ON WeldJoint.WeldJointId=TrustItem.JointId
|
|
||||||
LEFT JOIN Pipeline_Pipeline AS Pipeline ON Pipeline.PipelineId=WeldJoint.PipelineId
|
|
||||||
LEFT JOIN Base_Material AS Material ON Material.MaterialId=WeldJoint.Material1Id
|
|
||||||
GO
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,7 @@
|
||||||
</site>
|
</site>
|
||||||
<site name="WebApi" id="2">
|
<site name="WebApi" id="2">
|
||||||
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||||
<virtualDirectory path="/" physicalPath="E:\MyProject\ZJ_BSF\Basf_TCC7\HJGL\WebApi" />
|
<virtualDirectory path="/" physicalPath="E:\湛江巴斯夫\Basf_TCC7\HJGL\WebApi" />
|
||||||
</application>
|
</application>
|
||||||
<bindings>
|
<bindings>
|
||||||
<binding protocol="http" bindingInformation="*:3862:localhost" />
|
<binding protocol="http" bindingInformation="*:3862:localhost" />
|
||||||
|
|
@ -256,6 +256,14 @@
|
||||||
<binding protocol="http" bindingInformation="*:13960:localhost" />
|
<binding protocol="http" bindingInformation="*:13960:localhost" />
|
||||||
</bindings>
|
</bindings>
|
||||||
</site>
|
</site>
|
||||||
|
<site name="FineUIPro.Web(11)" id="14">
|
||||||
|
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||||
|
<virtualDirectory path="/" physicalPath="E:\湛江巴斯夫\Basf_TCC7\HJGL\FineUIPro.Web" />
|
||||||
|
</application>
|
||||||
|
<bindings>
|
||||||
|
<binding protocol="http" bindingInformation="*:57613:localhost" />
|
||||||
|
</bindings>
|
||||||
|
</site>
|
||||||
<siteDefaults>
|
<siteDefaults>
|
||||||
<!-- To enable logging, please change the below attribute "enabled" to "true" -->
|
<!-- To enable logging, please change the below attribute "enabled" to "true" -->
|
||||||
<logFile logFormat="W3C" directory="%AppData%\Microsoft\IISExpressLogs" enabled="false" />
|
<logFile logFormat="W3C" directory="%AppData%\Microsoft\IISExpressLogs" enabled="false" />
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectView>ShowAllFiles</ProjectView>
|
<ProjectView>ProjectFiles</ProjectView>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -252,12 +252,6 @@ namespace BLL
|
||||||
{
|
{
|
||||||
newWeldJoint.Electricity = weldJoint.Electricity;
|
newWeldJoint.Electricity = weldJoint.Electricity;
|
||||||
}
|
}
|
||||||
if (weldJoint.IsPMI != null)
|
|
||||||
{
|
|
||||||
newWeldJoint.IsPMI = weldJoint.IsPMI;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(weldJoint.Voltage))
|
if (!string.IsNullOrEmpty(weldJoint.Voltage))
|
||||||
{
|
{
|
||||||
newWeldJoint.Voltage = weldJoint.Voltage;
|
newWeldJoint.Voltage = weldJoint.Voltage;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
use HJGLDB_ZJBSF
|
||||||
|
go
|
||||||
|
create table PMI_Delegation
|
||||||
|
(
|
||||||
|
Id nvarchar(50) not null primary key,
|
||||||
|
DelegationNo nvarchar(50) not null,
|
||||||
|
DelegationDate datetime,
|
||||||
|
ProjectId nvarchar(50) not null,
|
||||||
|
InstallationId nvarchar(50),
|
||||||
|
UnitId nvarchar(50),
|
||||||
|
DetectionStandard nvarchar(50),
|
||||||
|
Remark nvarchar(255),
|
||||||
|
CreatedTime datetime default getdate()
|
||||||
|
)
|
||||||
|
go
|
||||||
|
create table PMI_DelegationDetails
|
||||||
|
(
|
||||||
|
Id nvarchar(50) not null primary key,
|
||||||
|
PMIId nvarchar(50) not null,
|
||||||
|
JointId nvarchar(50) not null,
|
||||||
|
QualityNo nvarchar(255),
|
||||||
|
Acceptance nvarchar(255),
|
||||||
|
Status int not null,
|
||||||
|
CreatedTime datetime default getdate()
|
||||||
|
)
|
||||||
|
go
|
||||||
|
|
||||||
|
-- 管线焊工 增加是否 PMI处理
|
||||||
|
alter table Pipeline_WeldJoint add isPMI bit null
|
||||||
|
update Pipeline_WeldJoint set isPMI=0
|
||||||
|
-- 插入PMI委托菜单
|
||||||
|
insert into Sys_Menu values('A6FB44C3-0920-4F77-862F-D814FD5E5D23','PMI检测管理','PMI detection management','',21,0,3,NUll,1)
|
||||||
|
insert into Sys_Menu values(NEWID(),'PMI委托','PMI delegation','/WeldingProcess/PMI/PMIDelegation.aspx',0,'A6FB44C3-0920-4F77-862F-D814FD5E5D23',3,NULL,1)
|
||||||
|
insert into Sys_Menu values(NEWID(),'PMI检测录入','PMI detection entry','/WeldingProcess/PMI/PMIDetectionEntry.aspx',0,'A6FB44C3-0920-4F77-862F-D814FD5E5D23',3,NULL,1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CREATE VIEW [dbo].[View_PMI_DelegationDetails]
|
||||||
|
AS
|
||||||
|
/*******硬度委托明细***********/
|
||||||
|
SELECT
|
||||||
|
B.PMIId,
|
||||||
|
B.JointId,
|
||||||
|
B.QualityNo,
|
||||||
|
B.Acceptance,
|
||||||
|
B.CreatedTime,
|
||||||
|
B.status,
|
||||||
|
Pipeline.PipelineCode,
|
||||||
|
WeldJoint.WeldJointCode,
|
||||||
|
WeldJoint.Specification,
|
||||||
|
WeldJoint.Remark,
|
||||||
|
Pipeline.SingleNumber,
|
||||||
|
(CASE WHEN WeldJoint.CoverWelderCode IS NOT NULL AND WeldJoint.BackingWelderCode IS NOT NULL
|
||||||
|
THEN WeldJoint.CoverWelderCode + '/' + WeldJoint.BackingWelderCode
|
||||||
|
ELSE (ISNULL(WeldJoint.CoverWelderCode,'') + ISNULL(WeldJoint.BackingWelderCode,'')) END) AS WelderCode, --焊工
|
||||||
|
(CASE WHEN WeldJoint.Material1Code IS NOT NULL AND WeldJoint.Material2Code IS NOT NULL
|
||||||
|
THEN WeldJoint.Material1Code + '/' + WeldJoint.Material2Code
|
||||||
|
ELSE (ISNULL(WeldJoint.Material1Code,'') + ISNULL(WeldJoint.Material2Code,'')) END) AS MaterialCode --材质
|
||||||
|
FROM PMI_Delegation AS A INNER JOIN
|
||||||
|
PMI_DelegationDetails AS B ON A.Id=B.PMIId
|
||||||
|
LEFT JOIN View_Pipeline_WeldJoint AS WeldJoint ON WeldJoint.WeldJointId=B.JointId
|
||||||
|
LEFT JOIN Pipeline_Pipeline AS Pipeline ON Pipeline.PipelineId=WeldJoint.PipelineId
|
||||||
|
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,117 @@
|
||||||
|
USE [HJGLDB_ZJBSF]
|
||||||
|
GO
|
||||||
|
|
||||||
|
/****** Object: View [dbo].[View_Pipeline_WeldJoint] Script Date: 2024-5-11 14:44:42 ******/
|
||||||
|
SET ANSI_NULLS ON
|
||||||
|
GO
|
||||||
|
|
||||||
|
SET QUOTED_IDENTIFIER ON
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
|
ALTER VIEW [dbo].[View_Pipeline_WeldJoint]
|
||||||
|
AS
|
||||||
|
/************焊口信息视图*****************/
|
||||||
|
SELECT WeldJoint.WeldJointId,
|
||||||
|
WeldJoint.ProjectId,
|
||||||
|
WeldJoint.PipelineId,
|
||||||
|
WeldJoint.WeldJointCode,
|
||||||
|
dbo.Fun_GetParseInt(WeldJoint.WeldJointCode) AS ConvertWeldJoint,
|
||||||
|
WeldJoint.WeldTypeId,
|
||||||
|
WeldJoint.Material1Id,
|
||||||
|
WeldJoint.Material2Id,
|
||||||
|
WeldJoint.ANSISCH,
|
||||||
|
WeldJoint.Thickness,
|
||||||
|
WeldJoint.Dia,
|
||||||
|
WeldJoint.Size,
|
||||||
|
WeldJoint.JointAttribute,
|
||||||
|
WeldJoint.JointArea,
|
||||||
|
WeldJoint.WeldingMethodId,
|
||||||
|
WeldJoint.IsHotProess,
|
||||||
|
WeldJoint.WeldingLocationId,
|
||||||
|
WeldJoint.WeldMatId,
|
||||||
|
WeldJoint.WeldSilkId,
|
||||||
|
WeldJoint.GrooveTypeId,
|
||||||
|
WeldJoint.PipeSegment,
|
||||||
|
WeldJoint.PipeAssembly1Id,
|
||||||
|
WeldJoint.PipeAssembly2Id,
|
||||||
|
WeldJoint.PipeAssemblyCount,
|
||||||
|
WeldJoint.HeartNo1,
|
||||||
|
WeldJoint.HeartNo2,
|
||||||
|
WeldJoint.LastTemp,
|
||||||
|
WeldJoint.CellTemp,
|
||||||
|
WeldJoint.PrepareTemp,
|
||||||
|
WeldJoint.Electricity,
|
||||||
|
WeldJoint.SystemNumber,
|
||||||
|
WeldJoint.Remark,
|
||||||
|
WeldJoint.DoneDin,
|
||||||
|
WeldJoint.Voltage,
|
||||||
|
WeldJoint.TestPackageNo,
|
||||||
|
WeldJoint.WeldingDailyCode,
|
||||||
|
WeldJoint.WeldingDailyId,
|
||||||
|
WeldJoint.BackingWelderId,
|
||||||
|
WeldJoint.CoverWelderId,
|
||||||
|
WeldJoint.PipingClassId,
|
||||||
|
WeldJoint.Specification,
|
||||||
|
WeldJoint.CancelResult,
|
||||||
|
Project.ProjectCode,
|
||||||
|
Project.ProjectName,
|
||||||
|
Pipeline.PipelineCode,
|
||||||
|
Pipeline.InstallationId,
|
||||||
|
Pipeline.UnitId,
|
||||||
|
Pipeline.SingleNumber,
|
||||||
|
Pipeline.WorkAreaId,
|
||||||
|
WeldType.WeldTypeCode,
|
||||||
|
Material1.MaterialCode AS Material1Code,
|
||||||
|
Material2.MaterialCode AS Material2Code,
|
||||||
|
WeldingMethod.WeldingMethodCode,
|
||||||
|
WeldingLocation.WeldingLocationCode,
|
||||||
|
WeldMat.ConsumablesCode AS WeldMatCode,
|
||||||
|
--WeldSilk.ConsumablesCode AS WeldSilkCode,
|
||||||
|
'' AS WeldSilkCode,
|
||||||
|
GrooveType.GrooveTypeCode,
|
||||||
|
CASE WHEN WeldJoint.WeldingDailyId IS NULL THEN '否' ELSE '是' END AS Is_hjName,
|
||||||
|
CASE WHEN WeldJoint.IsHotProess=1 THEN '是' ELSE '否' END AS IsHotProessStr,
|
||||||
|
Components1.ComponentsCode AS ComponentsCode1,
|
||||||
|
Components2.ComponentsCode AS ComponentsCode2,
|
||||||
|
BackingWelder.WelderCode AS BackingWelderCode,
|
||||||
|
BackingWelder.WelderName AS BackingWelderName,
|
||||||
|
CoverWelder.WelderCode AS CoverWelderCode,
|
||||||
|
CoverWelder.WelderName AS CoverWelderName,
|
||||||
|
(CASE WHEN CoverWelder.WelderCode IS NOT NULL AND BackingWelder.WelderCode IS NOT NULL
|
||||||
|
THEN CoverWelder.WelderCode + '/' + BackingWelder.WelderCode
|
||||||
|
ELSE (ISNULL(CoverWelder.WelderCode,'') + ISNULL(BackingWelder.WelderCode,'')) END) AS WelderCode, --焊工
|
||||||
|
(CASE WHEN Material1.MaterialCode IS NOT NULL AND Material2.MaterialCode IS NOT NULL
|
||||||
|
THEN Material1.MaterialCode + '/' + Material2.MaterialCode
|
||||||
|
ELSE (ISNULL(Material1.MaterialCode,'') + ISNULL(Material2.MaterialCode,'')) END) AS MaterialCode, --材质
|
||||||
|
pipingClass.PipingClassCode,
|
||||||
|
CONVERT(VARCHAR(100), WeldingDaily.WeldingDate, 23) AS WeldingDate,
|
||||||
|
WeldJoint.IsCancel,
|
||||||
|
WeldJoint.IsPMI,
|
||||||
|
WeldJoint.IsGoldJoint,
|
||||||
|
WeldJoint.WPQId,wps.WPQCode,
|
||||||
|
WeldJoint.DetectionType,
|
||||||
|
WeldJoint.PageNum
|
||||||
|
FROM Pipeline_WeldJoint AS WeldJoint
|
||||||
|
LEFT JOIN Base_Project AS Project ON Project.ProjectId=WeldJoint.ProjectId
|
||||||
|
LEFT JOIN Pipeline_Pipeline AS Pipeline ON Pipeline.PipelineId = WeldJoint.PipelineId
|
||||||
|
LEFT JOIN Base_WeldType AS WeldType ON WeldType.WeldTypeId=WeldJoint.WeldTypeId
|
||||||
|
LEFT JOIN Base_Material AS Material1 ON Material1.MaterialId = WeldJoint.Material1Id
|
||||||
|
LEFT JOIN Base_Material AS Material2 ON Material2.MaterialId = WeldJoint.Material2Id
|
||||||
|
LEFT JOIN Base_WeldingMethod AS WeldingMethod ON WeldingMethod.WeldingMethodId=WeldJoint.WeldingMethodId
|
||||||
|
LEFT JOIN Base_WeldingLocation AS WeldingLocation ON WeldingLocation.WeldingLocationId=WeldJoint.WeldingLocationId
|
||||||
|
LEFT JOIN Base_Consumables AS WeldMat ON WeldMat.ConsumablesId=WeldJoint.WeldMatId
|
||||||
|
--LEFT JOIN Base_Consumables AS WeldSilk ON WeldSilk.ConsumablesId=WeldJoint.WeldSilkId
|
||||||
|
LEFT JOIN Base_GrooveType AS GrooveType ON GrooveType.GrooveTypeId=WeldJoint.GrooveTypeId
|
||||||
|
LEFT JOIN Base_Components AS Components1 ON Components1.ComponentsId = WeldJoint.PipeAssembly1Id
|
||||||
|
LEFT JOIN Base_Components AS Components2 ON Components2.ComponentsId = WeldJoint.PipeAssembly2Id
|
||||||
|
LEFT JOIN Welder_Welder AS BackingWelder ON BackingWelder.WelderId=WeldJoint.BackingWelderId
|
||||||
|
LEFT JOIN Welder_Welder AS CoverWelder ON CoverWelder.WelderId=WeldJoint.CoverWelderId
|
||||||
|
LEFT JOIN Pipeline_WeldingDaily AS WeldingDaily ON WeldingDaily.WeldingDailyId=WeldJoint.WeldingDailyId
|
||||||
|
LEFT JOIN Base_PipingClass AS pipingClass ON pipingClass.PipingClassId=WeldJoint.PipingClassId
|
||||||
|
LEFT JOIN dbo.WPQ_WPQList wps ON wps.WPQId=WeldJoint.WPQId
|
||||||
|
|
||||||
|
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -240,7 +240,6 @@
|
||||||
<Content Include="PublicInfo\BaseInfo\PIPClassEdit.aspx" />
|
<Content Include="PublicInfo\BaseInfo\PIPClassEdit.aspx" />
|
||||||
<Content Include="res\DataInTable.js" />
|
<Content Include="res\DataInTable.js" />
|
||||||
<Content Include="res\ProcessBar.js" />
|
<Content Include="res\ProcessBar.js" />
|
||||||
<Content Include="WelderManage\AnalysisEdit.aspx" />
|
|
||||||
<Content Include="WelderManage\QualificationAnalysis.aspx" />
|
<Content Include="WelderManage\QualificationAnalysis.aspx" />
|
||||||
<Content Include="WelderManage\QualifiedProject.aspx" />
|
<Content Include="WelderManage\QualifiedProject.aspx" />
|
||||||
<Content Include="WelderManage\QualifiedProjectEdit.aspx" />
|
<Content Include="WelderManage\QualifiedProjectEdit.aspx" />
|
||||||
|
|
@ -3430,13 +3429,6 @@
|
||||||
<Compile Include="PublicInfo\BaseInfo\PIPClassEdit.aspx.designer.cs">
|
<Compile Include="PublicInfo\BaseInfo\PIPClassEdit.aspx.designer.cs">
|
||||||
<DependentUpon>PIPClassEdit.aspx</DependentUpon>
|
<DependentUpon>PIPClassEdit.aspx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="WelderManage\AnalysisEdit.aspx.cs">
|
|
||||||
<DependentUpon>AnalysisEdit.aspx</DependentUpon>
|
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="WelderManage\AnalysisEdit.aspx.designer.cs">
|
|
||||||
<DependentUpon>AnalysisEdit.aspx</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="WelderManage\QualificationAnalysis.aspx.cs">
|
<Compile Include="WelderManage\QualificationAnalysis.aspx.cs">
|
||||||
<DependentUpon>QualificationAnalysis.aspx</DependentUpon>
|
<DependentUpon>QualificationAnalysis.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
|
@ -4473,7 +4465,6 @@
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="WeldingProcess\PMI\PMIDetectionEntry.aspx.cs">
|
<Compile Include="WeldingProcess\PMI\PMIDetectionEntry.aspx.cs">
|
||||||
<DependentUpon>PMIDetectionEntry.aspx</DependentUpon>
|
<DependentUpon>PMIDetectionEntry.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="WeldingProcess\PMI\PMIDetectionEntry.aspx.designer.cs">
|
<Compile Include="WeldingProcess\PMI\PMIDetectionEntry.aspx.designer.cs">
|
||||||
<DependentUpon>PMIDetectionEntry.aspx</DependentUpon>
|
<DependentUpon>PMIDetectionEntry.aspx</DependentUpon>
|
||||||
|
|
@ -4911,6 +4902,7 @@
|
||||||
<Content Include="App_GlobalResources\Lan.resx">
|
<Content Include="App_GlobalResources\Lan.resx">
|
||||||
<Generator>GlobalResourceProxyGenerator</Generator>
|
<Generator>GlobalResourceProxyGenerator</Generator>
|
||||||
<LastGenOutput>Lan.Designer.cs</LastGenOutput>
|
<LastGenOutput>Lan.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
<AutoAssignPort>True</AutoAssignPort>
|
<AutoAssignPort>True</AutoAssignPort>
|
||||||
<DevelopmentServerPort>0</DevelopmentServerPort>
|
<DevelopmentServerPort>0</DevelopmentServerPort>
|
||||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||||
<IISUrl>http://localhost:13960/</IISUrl>
|
<IISUrl>http://localhost:57613/</IISUrl>
|
||||||
<NTLMAuthentication>False</NTLMAuthentication>
|
<NTLMAuthentication>False</NTLMAuthentication>
|
||||||
<UseCustomServer>False</UseCustomServer>
|
<UseCustomServer>False</UseCustomServer>
|
||||||
<CustomServerUrl>
|
<CustomServerUrl>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
|
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
|
||||||
</configSections>
|
</configSections>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="HJGLDBConnectionString" connectionString="Data Source=.\sql2016;Initial Catalog=HJGLDB_ZJBSF;uid=sa;pwd=1111;"/>
|
<add name="HJGLDBConnectionString" connectionString="Data Source=.;Initial Catalog=HJGLDB_ZJBSF;uid=sa;pwd=Sh@nghai9;"/>
|
||||||
<!--<add name="HJGLDBConnectionString" connectionString="Data Source=.;Initial Catalog=HJGLDB;Integrated Security=True"
|
<!--<add name="HJGLDBConnectionString" connectionString="Data Source=.;Initial Catalog=HJGLDB;Integrated Security=True"
|
||||||
providerName="System.Data.SqlClient" />-->
|
providerName="System.Data.SqlClient" />-->
|
||||||
</connectionStrings>
|
</connectionStrings>
|
||||||
|
|
|
||||||
|
|
@ -1,93 +0,0 @@
|
||||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AnalysisEdit.aspx.cs" Inherits="FineUIPro.Web.WelderManage.AnalysisEdit" %>
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head runat="server">
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<title></title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<form id="form1" runat="server">
|
|
||||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
|
||||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
|
||||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
||||||
<Rows>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:Label runat="server" ID="lbWedlerName" Label="焊工姓名" LabelWidth="120px"></f:Label>
|
|
||||||
<f:Label runat="server" ID="lbWedlerCode" Label="焊工代号" LabelWidth="120px"></f:Label>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:Label ID="txtQualifiedProjectCode" runat="server" Label="合格项目代号" LabelWidth="120px">
|
|
||||||
</f:Label>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:DropDownList runat="server" Label="可焊焊接方法" ID="drpWeldingMethod" EnableMultiSelect="true" ShowRedStar="true" Required="true" LabelWidth="120px" EnableCheckBoxSelect="true">
|
|
||||||
</f:DropDownList>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:DropDownList ID="drpMaterialType" runat="server" EnableMultiSelect="true" Label="焊接材质类型范围" MaxLength="50" LabelWidth="120px" EnableCheckBoxSelect="true">
|
|
||||||
<f:ListItem Value="" Text=""/>
|
|
||||||
<f:ListItem Value="FeⅠ" Text="FeⅠ"/>
|
|
||||||
<f:ListItem Value="FeⅡ" Text="FeⅡ"/>
|
|
||||||
<f:ListItem Value="FeⅢ" Text="FeⅢ"/>
|
|
||||||
<f:ListItem Value="FeIV" Text="FeIV"/>
|
|
||||||
<f:ListItem Value="其它" Text="其它"/>
|
|
||||||
</f:DropDownList>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:DropDownList runat="server" Label="焊接位置范围" ID="drpWeldingLocation" LabelWidth="120px" EnableMultiSelect="true" EnableEdit="false" EnableCheckBoxSelect="true">
|
|
||||||
</f:DropDownList>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:NumberBox ID="numThicknessMax" runat="server" Label="壁厚范围(<=)" MaxLength="50" LabelWidth="120px" DecimalPrecision="2">
|
|
||||||
</f:NumberBox>
|
|
||||||
<f:Label runat="server" Text="0表示不限"></f:Label>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:NumberBox ID="numSizesMin" runat="server" Label="外径范围(>=)" MaxLength="50" LabelWidth="120px" DecimalPrecision="2">
|
|
||||||
</f:NumberBox>
|
|
||||||
<f:Label runat="server" Text="0表示不限"></f:Label>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:DropDownList runat="server" Label="可焊焊缝类型" ID="drpWeldType" LabelWidth="120px" EnableMultiSelect="true" EnableEdit="false" EnableCheckBoxSelect="true">
|
|
||||||
<f:ListItem Value="" Text=""/>
|
|
||||||
<f:ListItem Value="1" Text="对接"/>
|
|
||||||
<f:ListItem Value="2" Text="角焊缝"/>
|
|
||||||
<f:ListItem Value="3" Text="支管连接焊缝"/>
|
|
||||||
</f:DropDownList>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
</Rows>
|
|
||||||
<Toolbars>
|
|
||||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
|
||||||
<Items>
|
|
||||||
<f:Label runat="server" ID="lbTemp"></f:Label>
|
|
||||||
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
|
|
||||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
|
||||||
OnClick="btnSave_Click">
|
|
||||||
</f:Button>
|
|
||||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
|
||||||
</f:Button>
|
|
||||||
</Items>
|
|
||||||
</f:Toolbar>
|
|
||||||
</Toolbars>
|
|
||||||
</f:Form>
|
|
||||||
</form>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,135 +0,0 @@
|
||||||
using BLL;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using System.Web.UI;
|
|
||||||
using System.Web.UI.WebControls;
|
|
||||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement.Header;
|
|
||||||
|
|
||||||
namespace FineUIPro.Web.WelderManage
|
|
||||||
{
|
|
||||||
public partial class AnalysisEdit : PageBase
|
|
||||||
{
|
|
||||||
#region 定义项
|
|
||||||
/// <summary>
|
|
||||||
/// 合格项目id
|
|
||||||
/// </summary>
|
|
||||||
public string WelderQualifiedProjectId
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return (string)ViewState["WelderQualifiedProjectId"];
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
ViewState["WelderQualifiedProjectId"] = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (!IsPostBack)
|
|
||||||
{
|
|
||||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
|
||||||
this.WelderQualifiedProjectId = Request.Params["WelderQualifiedProjectId"];
|
|
||||||
|
|
||||||
drpWeldingLocation.DataValueField = "WeldingLocationCode";
|
|
||||||
drpWeldingLocation.DataTextField = "WeldingLocationCode";
|
|
||||||
drpWeldingLocation.DataSource = (from x in Funs.DB.Base_WeldingLocation orderby x.WeldingLocationCode select x).ToList();
|
|
||||||
drpWeldingLocation.DataBind();
|
|
||||||
Funs.FineUIPleaseSelect(drpWeldingLocation, "");
|
|
||||||
|
|
||||||
drpWeldingMethod.DataValueField = "WeldingMethodCode";
|
|
||||||
drpWeldingMethod.DataTextField = "WeldingMethodCode";
|
|
||||||
drpWeldingMethod.DataSource = (from x in Funs.DB.Base_WeldingMethod orderby x.WeldingMethodCode select x).ToList();
|
|
||||||
drpWeldingMethod.DataBind();
|
|
||||||
Funs.FineUIPleaseSelect(drpWeldingMethod, "");
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(this.WelderQualifiedProjectId))
|
|
||||||
{
|
|
||||||
var welderQualifiedProject = BLL.WelderQualifiedService.GetWelderQualifiedProjectById(this.WelderQualifiedProjectId);
|
|
||||||
if (welderQualifiedProject != null)
|
|
||||||
{
|
|
||||||
string wlederId = welderQualifiedProject.WelderId;
|
|
||||||
this.txtQualifiedProjectCode.Text = welderQualifiedProject.QualifiedProjectCode;
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(welderQualifiedProject.WeldingMethodId))
|
|
||||||
{
|
|
||||||
drpWeldingMethod.SelectedValueArray = welderQualifiedProject.WeldingMethodId.Split(',');
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(welderQualifiedProject.MaterialType))
|
|
||||||
{
|
|
||||||
drpMaterialType.SelectedValueArray = welderQualifiedProject.MaterialType.Split(',');
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(welderQualifiedProject.WeldingLocationId))
|
|
||||||
{
|
|
||||||
drpWeldingLocation.SelectedValueArray = welderQualifiedProject.WeldingLocationId.Split(',');
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(welderQualifiedProject.WeldType))
|
|
||||||
{
|
|
||||||
drpWeldType.SelectedValueArray = welderQualifiedProject.WeldType.Split(',');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (welderQualifiedProject.ThicknessMax != null)
|
|
||||||
{
|
|
||||||
numThicknessMax.Text = welderQualifiedProject.ThicknessMax.Value.ToString();
|
|
||||||
}
|
|
||||||
if (welderQualifiedProject.SizesMin != null)
|
|
||||||
{
|
|
||||||
numSizesMin.Text = welderQualifiedProject.SizesMin.Value.ToString();
|
|
||||||
}
|
|
||||||
|
|
||||||
Model.Welder_Welder welder = BLL.WelderService.GetWelderById(wlederId);
|
|
||||||
if (welder != null)
|
|
||||||
{
|
|
||||||
this.lbWedlerName.Text = welder.WelderName;
|
|
||||||
this.lbWedlerCode.Text = welder.WelderCode;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected void btnSave_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
Model.Welder_WelderQualify updateQue = Funs.DB.Welder_WelderQualify.FirstOrDefault(x => x.WelderQualifiedProjectId == this.WelderQualifiedProjectId);
|
|
||||||
if (!string.IsNullOrEmpty(drpWeldingMethod.SelectedValue))
|
|
||||||
{
|
|
||||||
updateQue.WeldingMethodId = String.Join(",", drpWeldingMethod.SelectedValueArray);
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(drpMaterialType.SelectedValue))
|
|
||||||
{
|
|
||||||
updateQue.MaterialType = String.Join(",", drpMaterialType.SelectedValueArray);
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(drpWeldingLocation.SelectedValue))
|
|
||||||
{
|
|
||||||
updateQue.WeldingLocationId = String.Join(",", drpWeldingLocation.SelectedValueArray);
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(drpWeldType.SelectedValue))
|
|
||||||
{
|
|
||||||
updateQue.WeldType = String.Join(",", drpWeldType.SelectedValueArray);
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(numSizesMin.Text))
|
|
||||||
{
|
|
||||||
updateQue.SizesMin = Convert.ToInt32(numSizesMin.Text);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
updateQue.SizesMin = 0;
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(numThicknessMax.Text))
|
|
||||||
{
|
|
||||||
updateQue.ThicknessMax = Convert.ToInt32(numThicknessMax.Text);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
updateQue.ThicknessMax = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
Funs.DB.SubmitChanges();
|
|
||||||
BLL.Sys_LogService.AddLog(Const.System_1, this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.Welder_QualifiedProjectMenuId, Const.BtnModify, this.WelderQualifiedProjectId);
|
|
||||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,170 +0,0 @@
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// <自动生成>
|
|
||||||
// 此代码由工具生成。
|
|
||||||
//
|
|
||||||
// 对此文件的更改可能导致不正确的行为,如果
|
|
||||||
// 重新生成代码,则所做更改将丢失。
|
|
||||||
// </自动生成>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace FineUIPro.Web.WelderManage
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
public partial class AnalysisEdit
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// form1 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// PageManager1 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.PageManager PageManager1;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// SimpleForm1 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Form SimpleForm1;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// lbWedlerName 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Label lbWedlerName;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// lbWedlerCode 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Label lbWedlerCode;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// txtQualifiedProjectCode 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Label txtQualifiedProjectCode;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// drpWeldingMethod 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.DropDownList drpWeldingMethod;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// drpMaterialType 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.DropDownList drpMaterialType;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// drpWeldingLocation 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.DropDownList drpWeldingLocation;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// numThicknessMax 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.NumberBox numThicknessMax;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// numSizesMin 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.NumberBox numSizesMin;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// drpWeldType 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.DropDownList drpWeldType;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Toolbar1 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Toolbar Toolbar1;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// lbTemp 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Label lbTemp;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// ToolbarFill1 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnSave 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnSave;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnClose 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnClose;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -142,17 +142,10 @@
|
||||||
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
|
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||||
Width="600px" Height="420px">
|
Width="600px" Height="420px">
|
||||||
</f:Window>
|
</f:Window>
|
||||||
<f:Window ID="Window2" Title="手动资质分析" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
|
||||||
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
|
|
||||||
Width="600px" Height="480px">
|
|
||||||
</f:Window>
|
|
||||||
<f:Menu ID="Menu1" runat="server">
|
<f:Menu ID="Menu1" runat="server">
|
||||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
||||||
runat="server" Text="编辑" Icon="TableEdit">
|
runat="server" Text="编辑" Icon="TableEdit">
|
||||||
</f:MenuButton>
|
</f:MenuButton>
|
||||||
<f:MenuButton ID="btnMenuAnalysis" OnClick="btnMenuAnalysis_Click" EnablePostBack="true"
|
|
||||||
runat="server" Text="手动资质分析" Icon="ApplicationGet">
|
|
||||||
</f:MenuButton>
|
|
||||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||||
ConfirmText="删除选中行?" ConfirmTarget="Top" runat="server" Text="删除" Icon="Delete">
|
ConfirmText="删除选中行?" ConfirmTarget="Top" runat="server" Text="删除" Icon="Delete">
|
||||||
</f:MenuButton>
|
</f:MenuButton>
|
||||||
|
|
|
||||||
|
|
@ -207,16 +207,6 @@ namespace FineUIPro.Web.WelderManage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void btnMenuAnalysis_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("AnalysisEdit.aspx?WelderQualifiedProjectId={0}", Grid1.SelectedRowID, "维护 - ")));
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 删除
|
/// 删除
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,11 @@
|
||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.WelderManage
|
namespace FineUIPro.Web.WelderManage {
|
||||||
{
|
|
||||||
|
|
||||||
|
public partial class QualifiedProject {
|
||||||
public partial class QualifiedProject
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -22,7 +20,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// PageManager1 控件。
|
/// PageManager1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -31,7 +29,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.PageManager PageManager1;
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Panel1 控件。
|
/// Panel1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -40,7 +38,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Panel Panel1;
|
protected global::FineUIPro.Panel Panel1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// panelLeftRegion 控件。
|
/// panelLeftRegion 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -49,7 +47,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Panel panelLeftRegion;
|
protected global::FineUIPro.Panel panelLeftRegion;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Toolbar4 控件。
|
/// Toolbar4 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -58,7 +56,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Toolbar Toolbar4;
|
protected global::FineUIPro.Toolbar Toolbar4;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpUnitId 控件。
|
/// drpUnitId 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -67,7 +65,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpUnitId;
|
protected global::FineUIPro.DropDownList drpUnitId;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Toolbar1 控件。
|
/// Toolbar1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -76,7 +74,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Toolbar Toolbar1;
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtWelderCodeS 控件。
|
/// txtWelderCodeS 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -85,7 +83,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.TextBox txtWelderCodeS;
|
protected global::FineUIPro.TextBox txtWelderCodeS;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Toolbar3 控件。
|
/// Toolbar3 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -94,7 +92,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Toolbar Toolbar3;
|
protected global::FineUIPro.Toolbar Toolbar3;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtWelderNameS 控件。
|
/// txtWelderNameS 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -103,7 +101,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.TextBox txtWelderNameS;
|
protected global::FineUIPro.TextBox txtWelderNameS;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// tvControlItem 控件。
|
/// tvControlItem 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -112,7 +110,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Tree tvControlItem;
|
protected global::FineUIPro.Tree tvControlItem;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// panelCenterRegion 控件。
|
/// panelCenterRegion 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -121,7 +119,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Panel panelCenterRegion;
|
protected global::FineUIPro.Panel panelCenterRegion;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Grid1 控件。
|
/// Grid1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -130,7 +128,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Grid Grid1;
|
protected global::FineUIPro.Grid Grid1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Toolbar2 控件。
|
/// Toolbar2 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -139,7 +137,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Toolbar Toolbar2;
|
protected global::FineUIPro.Toolbar Toolbar2;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lblCode 控件。
|
/// lblCode 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -148,7 +146,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Label lblCode;
|
protected global::FineUIPro.Label lblCode;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lblName 控件。
|
/// lblName 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -157,7 +155,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Label lblName;
|
protected global::FineUIPro.Label lblName;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarFill1 控件。
|
/// ToolbarFill1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -166,7 +164,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// fileUpload 控件。
|
/// fileUpload 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -175,7 +173,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.FileUpload fileUpload;
|
protected global::FineUIPro.FileUpload fileUpload;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnImport 控件。
|
/// btnImport 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -184,7 +182,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnImport;
|
protected global::FineUIPro.Button btnImport;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnDownLoad 控件。
|
/// btnDownLoad 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -193,7 +191,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnDownLoad;
|
protected global::FineUIPro.Button btnDownLoad;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnAdd 控件。
|
/// btnAdd 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -202,7 +200,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnAdd;
|
protected global::FineUIPro.Button btnAdd;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnQualificationAnalysis 控件。
|
/// btnQualificationAnalysis 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -211,7 +209,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnQualificationAnalysis;
|
protected global::FineUIPro.Button btnQualificationAnalysis;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// hidFileName 控件。
|
/// hidFileName 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -220,7 +218,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.HiddenField hidFileName;
|
protected global::FineUIPro.HiddenField hidFileName;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lbWeldType 控件。
|
/// lbWeldType 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -229,7 +227,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.Label lbWeldType;
|
protected global::System.Web.UI.WebControls.Label lbWeldType;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarSeparator1 控件。
|
/// ToolbarSeparator1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -238,7 +236,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarText1 控件。
|
/// ToolbarText1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -247,7 +245,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ddlPageSize 控件。
|
/// ddlPageSize 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -256,7 +254,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Window1 控件。
|
/// Window1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -265,16 +263,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Window Window1;
|
protected global::FineUIPro.Window Window1;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Window2 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Window Window2;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Menu1 控件。
|
/// Menu1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -283,7 +272,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Menu Menu1;
|
protected global::FineUIPro.Menu Menu1;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnMenuEdit 控件。
|
/// btnMenuEdit 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -292,16 +281,7 @@ namespace FineUIPro.Web.WelderManage
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnMenuAnalysis 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.MenuButton btnMenuAnalysis;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnMenuDelete 控件。
|
/// btnMenuDelete 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,6 @@
|
||||||
using BLL;
|
using BLL;
|
||||||
using FineUIPro.Web.common.BaseInfo;
|
|
||||||
using Model;
|
using Model;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using NPOI.SS.Formula.Functions;
|
|
||||||
using NPOI.SS.Formula.PTG;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
|
|
@ -171,10 +168,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
|
|
||||||
var workAreaCode = Funs.DB.Project_WorkArea.AsQueryable().Where(t => workdAreaIdList.Contains(t.WorkAreaId)).Distinct().FirstOrDefault()?.WorkAreaCode;
|
var workAreaCode = Funs.DB.Project_WorkArea.AsQueryable().Where(t => workdAreaIdList.Contains(t.WorkAreaId)).Distinct().FirstOrDefault()?.WorkAreaCode;
|
||||||
|
|
||||||
string perfix = string.Empty;
|
this.txtDelegationNo.Text = $"PMI-{unitCode}-{workAreaCode}-PI-";
|
||||||
perfix = $"PMI-{unitCode}-{workAreaCode}-PI-";
|
|
||||||
this.txtDelegationNo.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode", "dbo.PMI_Delegation", "DelegationNo", this.CurrUser.LoginProjectId, perfix);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -203,7 +197,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
|
|
||||||
ShowNotify(Resources.Lan.SaveSuccessfully, MessageBoxIcon.Success);
|
ShowNotify(Resources.Lan.SaveSuccessfully, MessageBoxIcon.Success);
|
||||||
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(this.PMIDelegationId)
|
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(this.PMIDelegationId)
|
||||||
+ ActiveWindow.GetHidePostBackReference());
|
+ ActiveWindow.GetHideReference());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -143,25 +143,16 @@
|
||||||
DataField="MaterialCode" SortField="MaterialCode" FieldType="String" HeaderTextAlign="Center"
|
DataField="MaterialCode" SortField="MaterialCode" FieldType="String" HeaderTextAlign="Center"
|
||||||
TextAlign="Center" Width="120px">
|
TextAlign="Center" Width="120px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="<%$ Resources:Lan,TrustDate %>" ColumnID="CreatedTime"
|
||||||
|
DataField="CreatedTime" SortField="CreatedTime" FieldType="Date" Renderer="Date"
|
||||||
|
HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||||
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,QualityNo %>" ColumnID="QualityNo" DataField="QualityNo"
|
<f:RenderField HeaderText="<%$ Resources:Lan,QualityNo %>" ColumnID="QualityNo" DataField="QualityNo"
|
||||||
FieldType="String" TextAlign="Left" Width="150px">
|
FieldType="String" TextAlign="Left" Width="150px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,Acceptance %>" ColumnID="Acceptance"
|
<f:RenderField HeaderText="<%$ Resources:Lan,Acceptance %>" ColumnID="Acceptance"
|
||||||
DataField="Acceptance" FieldType="String" TextAlign="Left" Width="150px">
|
DataField="Acceptance" FieldType="String" TextAlign="Left" Width="150px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="检测日期" ColumnID="CreatedTime"
|
|
||||||
DataField="CreatedTime" SortField="CreatedTime" FieldType="Date" Renderer="Date"
|
|
||||||
HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
|
||||||
</f:RenderField>
|
|
||||||
<f:RenderField HeaderText="报告日期" FieldType="String" HeaderTextAlign="Center"
|
|
||||||
TextAlign="Left" Width="100px">
|
|
||||||
</f:RenderField>
|
|
||||||
<f:RenderField HeaderText="报告编号" FieldType="String" HeaderTextAlign="Center"
|
|
||||||
TextAlign="Left" Width="100px">
|
|
||||||
</f:RenderField>
|
|
||||||
|
|
||||||
|
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,IsPass %>" ColumnID="StatusText"
|
<f:RenderField HeaderText="<%$ Resources:Lan,IsPass %>" ColumnID="StatusText"
|
||||||
DataField="StatusText" SortField="status" FieldType="String" HeaderTextAlign="Center"
|
DataField="StatusText" SortField="status" FieldType="String" HeaderTextAlign="Center"
|
||||||
TextAlign="Left" Width="100px">
|
TextAlign="Left" Width="100px">
|
||||||
|
|
|
||||||
|
|
@ -407,24 +407,24 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
|
||||||
reportModel.GetRow(rowIndex).GetCell(5).CellStyle.SetFont(cs_content_Font);
|
reportModel.GetRow(rowIndex).GetCell(5).CellStyle.SetFont(cs_content_Font);
|
||||||
|
|
||||||
//焊口号
|
//焊口号
|
||||||
if (reportModel.GetRow(rowIndex).GetCell(11) == null) reportModel.GetRow(rowIndex).CreateCell(11);
|
if (reportModel.GetRow(rowIndex).GetCell(9) == null) reportModel.GetRow(rowIndex).CreateCell(9);
|
||||||
reportModel.GetRow(rowIndex).GetCell(11).SetCellValue(jotNum.Count());
|
reportModel.GetRow(rowIndex).GetCell(9).SetCellValue(jotNum.Count());
|
||||||
reportModel.GetRow(rowIndex).GetCell(11).CellStyle.SetFont(cs_content_Font);
|
reportModel.GetRow(rowIndex).GetCell(9).CellStyle.SetFont(cs_content_Font);
|
||||||
|
|
||||||
// 寸径
|
// 寸径
|
||||||
if (reportModel.GetRow(rowIndex).GetCell(14) == null) reportModel.GetRow(rowIndex).CreateCell(14);
|
if (reportModel.GetRow(rowIndex).GetCell(12) == null) reportModel.GetRow(rowIndex).CreateCell(12);
|
||||||
reportModel.GetRow(rowIndex).GetCell(14).SetCellValue(jotNum.Sum(x => Convert.ToDouble(x.Size)));
|
reportModel.GetRow(rowIndex).GetCell(12).SetCellValue(jotNum.Sum(x => Convert.ToDouble(x.Size)));
|
||||||
reportModel.GetRow(rowIndex).GetCell(14).CellStyle.SetFont(cs_content_Font);
|
reportModel.GetRow(rowIndex).GetCell(12).CellStyle.SetFont(cs_content_Font);
|
||||||
|
|
||||||
//打底焊工号
|
//打底焊工号
|
||||||
if (reportModel.GetRow(rowIndex).GetCell(23) == null) reportModel.GetRow(rowIndex).CreateCell(23);
|
if (reportModel.GetRow(rowIndex).GetCell(21) == null) reportModel.GetRow(rowIndex).CreateCell(21);
|
||||||
reportModel.GetRow(rowIndex).GetCell(23).SetCellValue(backingWelder.Count().ToString());
|
reportModel.GetRow(rowIndex).GetCell(21).SetCellValue(backingWelder.Count().ToString());
|
||||||
reportModel.GetRow(rowIndex).GetCell(23).CellStyle.SetFont(cs_content_Font);
|
reportModel.GetRow(rowIndex).GetCell(21).CellStyle.SetFont(cs_content_Font);
|
||||||
|
|
||||||
//盖面焊工号
|
//盖面焊工号
|
||||||
if (reportModel.GetRow(rowIndex).GetCell(24) == null) reportModel.GetRow(rowIndex).CreateCell(24);
|
if (reportModel.GetRow(rowIndex).GetCell(22) == null) reportModel.GetRow(rowIndex).CreateCell(22);
|
||||||
reportModel.GetRow(rowIndex).GetCell(24).SetCellValue(coverWelder.Count().ToString());
|
reportModel.GetRow(rowIndex).GetCell(22).SetCellValue(coverWelder.Count().ToString());
|
||||||
reportModel.GetRow(rowIndex).GetCell(24).CellStyle.SetFont(cs_content_Font);
|
reportModel.GetRow(rowIndex).GetCell(22).CellStyle.SetFont(cs_content_Font);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
reportModel.ForceFormulaRecalculation = true;
|
reportModel.ForceFormulaRecalculation = true;
|
||||||
|
|
|
||||||
|
|
@ -66,10 +66,10 @@
|
||||||
<Items>
|
<Items>
|
||||||
<f:ContentPanel ShowHeader="false" runat="server" ID="ContentPanel1" Margin="0 0 0 0">
|
<f:ContentPanel ShowHeader="false" runat="server" ID="ContentPanel1" Margin="0 0 0 0">
|
||||||
<div id="divArea1">
|
<div id="divArea1">
|
||||||
<h4>  Welders Ranking Report gives you the impression of BASF</h4>
|
<h4>  Welders Ranking Report gives you the impression of BSF</h4>
|
||||||
<h4>  welders rank list. (The rank is according to the rejected rates.) </h4>
|
<h4>  welders rank list. (The rank is according to the rejected rates.) </h4>
|
||||||
<h4>  Each year for the rank can be easily ranked out.</h4>
|
<h4>  Each year for the rank can be easily ranked out.</h4>
|
||||||
<h4>  焊工排名报表是所有在BASF从事焊接工作的焊工年度排名</h4>
|
<h4>  焊工排名报表是所有在BSF从事焊接工作的焊工年度排名</h4>
|
||||||
<h4> (排名是根据焊工拍片量及拍片合格率确定的)。</h4>
|
<h4> (排名是根据焊工拍片量及拍片合格率确定的)。</h4>
|
||||||
<h4>  查询时可选择不同年份查询每年的焊工合格率排名情况。</h4>
|
<h4>  查询时可选择不同年份查询每年的焊工合格率排名情况。</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -161,12 +161,12 @@
|
||||||
<f:ContentPanel ShowHeader="false" runat="server" ID="ContentPanel2" Margin="0 0 0 0">
|
<f:ContentPanel ShowHeader="false" runat="server" ID="ContentPanel2" Margin="0 0 0 0">
|
||||||
<div id="divArea4">
|
<div id="divArea4">
|
||||||
<h4>  Weld Contractors Report gives the welding quality information</h4>
|
<h4>  Weld Contractors Report gives the welding quality information</h4>
|
||||||
<h4>  of all the contractors of BASF according to choice the </h4>
|
<h4>  of all the contractors of BSF according to choice the </h4>
|
||||||
<h4>  different period and different contractor.</h4>
|
<h4>  different period and different contractor.</h4>
|
||||||
<h4>  Accumulated rejection rate was calculated from Jan 2024.</h4>
|
<h4>  Accumulated rejection rate was calculated from Jan 2006.</h4>
|
||||||
<h4>  该报告提供了所有在BASF从事焊接工作的承包商在不同时期的焊接质量状况。</h4>
|
<h4>  该报告提供了所有在BSF从事焊接工作的承包商在不同时期的焊接质量状况。</h4>
|
||||||
<h4>  查询时可通过选择不同日期及不同承包商名称查看相关信息。</h4>
|
<h4>  查询时可通过选择不同日期及不同承包商名称查看相关信息。</h4>
|
||||||
<h4>  其中,累计焊接返修率是从2024年1月起计算的。</h4>
|
<h4>  其中,累计焊接返修率是从2006年1月起计算的。</h4>
|
||||||
</div>
|
</div>
|
||||||
</f:ContentPanel>
|
</f:ContentPanel>
|
||||||
</Items>
|
</Items>
|
||||||
|
|
|
||||||
|
|
@ -85,12 +85,12 @@ namespace FineUIPro.Web.common
|
||||||
string strSql = @"SELECT (WelderName+'('+WelderCode+') 焊工证过期,有效期为:'+CONVERT(VARCHAR(100),CertificateValidity,23))
|
string strSql = @"SELECT (WelderName+'('+WelderCode+') 焊工证过期,有效期为:'+CONVERT(VARCHAR(100),CertificateValidity,23))
|
||||||
AS QualificationLimit
|
AS QualificationLimit
|
||||||
FROM dbo.Welder_Welder
|
FROM dbo.Welder_Welder
|
||||||
WHERE CertificateValidity<=GETDATE() AND IsOnDuty=1
|
WHERE CertificateValidity<=GETDATE()
|
||||||
UNION
|
UNION
|
||||||
SELECT (WelderName+'('+WelderCode+') 焊工证还有:'+convert(nvarchar(6),DATEDIFF(day,getdate(),CertificateValidity))+ '天到期')
|
SELECT (WelderName+'('+WelderCode+') 焊工证还有:'+convert(nvarchar(6),DATEDIFF(day,getdate(),CertificateValidity))+ '天到期')
|
||||||
AS QualificationLimit
|
AS QualificationLimit
|
||||||
FROM dbo.Welder_Welder
|
FROM dbo.Welder_Welder
|
||||||
where DATEADD(m,-1,CertificateValidity)<GETDATE() and CertificateValidity>GETDATE() AND IsOnDuty=1";
|
where DATEADD(m,-1,CertificateValidity)<GETDATE() and CertificateValidity>GETDATE()";
|
||||||
DataTable dt = SQLHelper.GetDataTableRunText(strSql, null);
|
DataTable dt = SQLHelper.GetDataTableRunText(strSql, null);
|
||||||
GridWelder.DataSource = dt;
|
GridWelder.DataSource = dt;
|
||||||
GridWelder.DataBind();
|
GridWelder.DataBind();
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectView>ShowAllFiles</ProjectView>
|
<ProjectView>ProjectFiles</ProjectView>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
Loading…
Reference in New Issue