diff --git a/CreateModel.bat b/CreateModel.bat
index 27ceb4a..2f27853 100644
--- a/CreateModel.bat
+++ b/CreateModel.bat
@@ -25,9 +25,9 @@ REM --------------
@echo 设置.net控制台环境
@echo.
-@call "%VS150%"
+@call "%VS100COMNTOOLS%"vsvars32.bat
-SqlMetal /views /server:. /database:HJGLDB_ZJBSF /code:%Model_ROOT%\Model.cs /namespace:Model
+SqlMetal /views /server:.\SQL2016 /database:HJGLDB_ZJBSF /code:%Model_ROOT%\Model.cs /namespace:Model
@ECHO 完成
pause
diff --git a/DataBase/鐗堟湰鏃ュ織/HJGLDB_2024.05.12.sql b/DataBase/鐗堟湰鏃ュ織/HJGLDB_2024.05.12.sql
index da44f3e..f0570d5 100644
--- a/DataBase/鐗堟湰鏃ュ織/HJGLDB_2024.05.12.sql
+++ b/DataBase/鐗堟湰鏃ュ織/HJGLDB_2024.05.12.sql
@@ -1,3 +1,8 @@
+-- 管线焊工 增加是否 PMI处理
+alter table Pipeline_WeldJoint add isPMI bit NULL
+GO
+update Pipeline_WeldJoint set isPMI=0
+GO
ALTER VIEW [dbo].[View_Pipeline_WeldJoint]
AS
@@ -77,6 +82,7 @@ CoverWelder.WelderName AS CoverWelderName,
pipingClass.PipingClassCode,pip.PIPClassCode,
CONVERT(VARCHAR(100), WeldingDaily.WeldingDate, 23) AS WeldingDate,
WeldJoint.IsCancel,
+WeldJoint.IsPMI,
WeldJoint.IsGoldJoint,
WeldJoint.WPQId,wps.WPQCode,
WeldJoint.DetectionType,
@@ -201,7 +207,6 @@ FROM Pipeline_WeldJoint AS weldJoint
GO
-
UPDATE dbo.Template_Files SET title=REPLACE(title,cast(sortindex as nvarchar(50))+'-','')
GO
@@ -212,4 +217,73 @@ INSERT INTO [dbo].[Template_Files]([id],[title],[filePath],[SortIndex])
VALUES('95125974-3DD4-4E16-B4F0-A9D9C9A1406D','管道焊接接头PMI检测比例确认表','',25)
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
+
+
+
+
+
+
diff --git a/HJGL/.vs/HJGL/config/applicationhost.config b/HJGL/.vs/HJGL/config/applicationhost.config
index 0dd2b3b..8705adb 100644
--- a/HJGL/.vs/HJGL/config/applicationhost.config
+++ b/HJGL/.vs/HJGL/config/applicationhost.config
@@ -162,7 +162,7 @@
-
+
@@ -256,14 +256,6 @@
-
-
-
-
-
-
-
-
diff --git a/HJGL/.vs/HJGL/v17/.suo b/HJGL/.vs/HJGL/v17/.suo
index f178c8f..d319c0f 100644
Binary files a/HJGL/.vs/HJGL/v17/.suo and b/HJGL/.vs/HJGL/v17/.suo differ
diff --git a/HJGL/BLL/BLL.csproj.user b/HJGL/BLL/BLL.csproj.user
index 07dbd5b..55f44b9 100644
--- a/HJGL/BLL/BLL.csproj.user
+++ b/HJGL/BLL/BLL.csproj.user
@@ -1,6 +1,6 @@
锘
- ProjectFiles
+ ShowAllFiles
\ No newline at end of file
diff --git a/HJGL/BLL/WeldingProcess/WeldingManage/Pipeline_WeldJointService.cs b/HJGL/BLL/WeldingProcess/WeldingManage/Pipeline_WeldJointService.cs
index 7dd4fd5..9c2ad63 100644
--- a/HJGL/BLL/WeldingProcess/WeldingManage/Pipeline_WeldJointService.cs
+++ b/HJGL/BLL/WeldingProcess/WeldingManage/Pipeline_WeldJointService.cs
@@ -252,6 +252,12 @@ namespace BLL
{
newWeldJoint.Electricity = weldJoint.Electricity;
}
+ if (weldJoint.IsPMI != null)
+ {
+ newWeldJoint.IsPMI = weldJoint.IsPMI;
+ }
+
+
if (!string.IsNullOrEmpty(weldJoint.Voltage))
{
newWeldJoint.Voltage = weldJoint.Voltage;
diff --git a/HJGL/DataBase/鐗堟湰鏃ュ織/BSFDB_2024-05-10.sql b/HJGL/DataBase/鐗堟湰鏃ュ織/BSFDB_2024-05-10.sql
deleted file mode 100644
index f6c4b0e..0000000
--- a/HJGL/DataBase/鐗堟湰鏃ュ織/BSFDB_2024-05-10.sql
+++ /dev/null
@@ -1,66 +0,0 @@
-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
-
-
diff --git a/HJGL/DataBase/鐗堟湰鏃ュ織/BSFDB_2024.05.11View_Pipeline_WeldJoint.sql b/HJGL/DataBase/鐗堟湰鏃ュ織/BSFDB_2024.05.11View_Pipeline_WeldJoint.sql
deleted file mode 100644
index 97535ae..0000000
--- a/HJGL/DataBase/鐗堟湰鏃ュ織/BSFDB_2024.05.11View_Pipeline_WeldJoint.sql
+++ /dev/null
@@ -1,117 +0,0 @@
-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
-
-
diff --git a/HJGL/FineUIPro.Web/FineUIPro.Web.csproj b/HJGL/FineUIPro.Web/FineUIPro.Web.csproj
index 61c4a05..89e031f 100644
--- a/HJGL/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/HJGL/FineUIPro.Web/FineUIPro.Web.csproj
@@ -240,6 +240,7 @@
+
@@ -3429,6 +3430,13 @@
PIPClassEdit.aspx
+
+ AnalysisEdit.aspx
+ ASPXCodeBehind
+
+
+ AnalysisEdit.aspx
+
QualificationAnalysis.aspx
ASPXCodeBehind
@@ -4903,7 +4911,6 @@
GlobalResourceProxyGenerator
Lan.Designer.cs
- Designer
diff --git a/HJGL/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL/FineUIPro.Web/FineUIPro.Web.csproj.user
index f9b03fb..8d0cdf2 100644
--- a/HJGL/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/HJGL/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -35,7 +35,7 @@
True
0
/
- http://localhost:57613/
+ http://localhost:13960/
False
False
diff --git a/HJGL/FineUIPro.Web/Web.config b/HJGL/FineUIPro.Web/Web.config
index 553053a..baa8804 100644
--- a/HJGL/FineUIPro.Web/Web.config
+++ b/HJGL/FineUIPro.Web/Web.config
@@ -9,7 +9,7 @@
-
+
diff --git a/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx b/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx
new file mode 100644
index 0000000..4f38110
--- /dev/null
+++ b/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx
@@ -0,0 +1,93 @@
+锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AnalysisEdit.aspx.cs" Inherits="FineUIPro.Web.WelderManage.AnalysisEdit" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx.cs b/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx.cs
new file mode 100644
index 0000000..d4ead77
--- /dev/null
+++ b/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx.cs
@@ -0,0 +1,135 @@
+锘縰sing 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 瀹氫箟椤
+ ///
+ /// 鍚堟牸椤圭洰id
+ ///
+ 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());
+ }
+ }
+}
\ No newline at end of file
diff --git a/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx.designer.cs b/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx.designer.cs
new file mode 100644
index 0000000..ed0ccfc
--- /dev/null
+++ b/HJGL/FineUIPro.Web/WelderManage/AnalysisEdit.aspx.designer.cs
@@ -0,0 +1,170 @@
+锘//------------------------------------------------------------------------------
+// <鑷姩鐢熸垚>
+// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆
+//
+// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉
+// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆
+// 鑷姩鐢熸垚>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.WelderManage
+{
+
+
+ public partial class AnalysisEdit
+ {
+
+ ///
+ /// form1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// lbWedlerName 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Label lbWedlerName;
+
+ ///
+ /// lbWedlerCode 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Label lbWedlerCode;
+
+ ///
+ /// txtQualifiedProjectCode 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Label txtQualifiedProjectCode;
+
+ ///
+ /// drpWeldingMethod 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.DropDownList drpWeldingMethod;
+
+ ///
+ /// drpMaterialType 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.DropDownList drpMaterialType;
+
+ ///
+ /// drpWeldingLocation 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.DropDownList drpWeldingLocation;
+
+ ///
+ /// numThicknessMax 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.NumberBox numThicknessMax;
+
+ ///
+ /// numSizesMin 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.NumberBox numSizesMin;
+
+ ///
+ /// drpWeldType 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.DropDownList drpWeldType;
+
+ ///
+ /// Toolbar1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// lbTemp 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Label lbTemp;
+
+ ///
+ /// ToolbarFill1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// btnClose 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Button btnClose;
+ }
+}
diff --git a/HJGL/FineUIPro.Web/WelderManage/QualifiedProject.aspx b/HJGL/FineUIPro.Web/WelderManage/QualifiedProject.aspx
index b37aa77..1c8c820 100644
--- a/HJGL/FineUIPro.Web/WelderManage/QualifiedProject.aspx
+++ b/HJGL/FineUIPro.Web/WelderManage/QualifiedProject.aspx
@@ -142,10 +142,17 @@
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
Width="600px" Height="420px">
+
+