From 6d6dba64c137dea5e3daaf3b4672071d071d827a Mon Sep 17 00:00:00 2001
From: wendy <408182087@qq.com>
Date: Fri, 19 Dec 2025 17:09:41 +0800
Subject: [PATCH] =?UTF-8?q?20251219=20=E4=BA=A4=E5=B7=A5=E8=B5=84=E6=96=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../版本日志/HJGLDB_DS_2025-12-19_bwj.sql | 104 +++++
HJGL_DS/BLL/BLL.csproj | 1 +
HJGL_DS/BLL/Common/Const.cs | 5 +
HJGL_DS/BLL/JGZL/NDTPersonService.cs | 80 ++++
HJGL_DS/FineUIPro.Web/ErrLog.txt | 148 +++++++
.../File/Fastreport/JGZL/合格焊工登记表.frx | 159 +++++++
.../Fastreport/JGZL/无损检测人员登记表.frx | 157 +++++++
HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj | 24 ++
.../FineUIPro.Web/FineUIPro.Web.csproj.user | 7 +-
HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx | 121 ++++++
HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.cs | 398 +++++++++++++++++
.../JGZL/NDTPerson.aspx.designer.cs | 206 +++++++++
HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx | 48 +++
.../FineUIPro.Web/JGZL/NDTPersonEdit.aspx.cs | 115 +++++
.../JGZL/NDTPersonEdit.aspx.designer.cs | 116 +++++
.../FineUIPro.Web/JGZL/QualifiedWelder.aspx | 97 +++++
.../JGZL/QualifiedWelder.aspx.cs | 214 ++++++++++
.../JGZL/QualifiedWelder.aspx.designer.cs | 161 +++++++
HJGL_DS/FineUIPro.Web/Web.config | 2 +-
HJGL_DS/Model/Model.cs | 403 ++++++++++++++++++
HJGL_DS/WebAPI/WebAPI.csproj.user | 2 +-
21 files changed, 2562 insertions(+), 6 deletions(-)
create mode 100644 DataBase/版本日志/HJGLDB_DS_2025-12-19_bwj.sql
create mode 100644 HJGL_DS/BLL/JGZL/NDTPersonService.cs
create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/合格焊工登记表.frx
create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/无损检测人员登记表.frx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.designer.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx.designer.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx.designer.cs
diff --git a/DataBase/版本日志/HJGLDB_DS_2025-12-19_bwj.sql b/DataBase/版本日志/HJGLDB_DS_2025-12-19_bwj.sql
new file mode 100644
index 0000000..a7e8e56
--- /dev/null
+++ b/DataBase/版本日志/HJGLDB_DS_2025-12-19_bwj.sql
@@ -0,0 +1,104 @@
+update Sys_Menu set SortIndex=80 where MenuId='E6221F7D-9A68-44FB-974D-6857EC9CC5E8'
+go
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+values('7CB55890-081C-49C7-905C-F711459A6C9E','ԱǼDZ','JGZL/NDTPerson.aspx',50,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
+go
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('970F5799-9097-4753-8672-851B2D3C8155','7CB55890-081C-49C7-905C-F711459A6C9E','',1)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('748C6B86-D10E-4BF3-A754-F0A331588615','7CB55890-081C-49C7-905C-F711459A6C9E','',2)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('336C1B63-2BCF-4544-B0BF-C5D51AE2C759','7CB55890-081C-49C7-905C-F711459A6C9E','ɾ',3)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('F4F17D80-AF39-46E0-A65F-736B92D49E4F','7CB55890-081C-49C7-905C-F711459A6C9E','',4)
+go
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+values('40030073-5D94-4255-939C-8F22BDB160EA','ϸǼDZ','JGZL/QualifiedWelder.aspx',60,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
+go
+
+select newid()
+
+CREATE TABLE [dbo].[JGZL_NDTPerson](
+ [NDTPersonId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [PersonName] [nvarchar](50) NULL,
+ [CertificateNumber] [nvarchar](50) NULL,
+ [QualifiedProjectCode] [nvarchar](500) NULL,
+ [Levels] [nvarchar](50) NULL,
+ [ValidityDate] [datetime] NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ CONSTRAINT [PK_JGZL_NDTPerson] PRIMARY KEY CLUSTERED
+(
+ [NDTPersonId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
+) ON [PRIMARY]
+GO
+
+ALTER TABLE [dbo].[JGZL_NDTPerson] WITH CHECK ADD CONSTRAINT [FK_JGZL_NDTPerson_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[JGZL_NDTPerson] CHECK CONSTRAINT [FK_JGZL_NDTPerson_Base_Project]
+GO
+
+ALTER TABLE [dbo].[JGZL_NDTPerson] WITH CHECK ADD CONSTRAINT [FK_JGZL_NDTPerson_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[JGZL_NDTPerson] CHECK CONSTRAINT [FK_JGZL_NDTPerson_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'NDTPersonId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'ProjectId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'PersonName'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֤' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'CertificateNumber'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϸĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'QualifiedProjectCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'Levels'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ч' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'ValidityDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'CompileMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson', @level2type=N'COLUMN',@level2name=N'CompileDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ԱǼDZ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_NDTPerson'
+GO
+
+create PROCEDURE [dbo].[sp_rpt_WelderQualified]
+(
+ @projectId NVARCHAR(50)
+)
+AS
+/***********-ϸǼDZ*************/
+SELECT (ROW_NUMBER() OVER(ORDER BY pw.ProjectWelderId)) AS Number,
+pw.ProjectWelderId,
+w.WED_Code,
+w.WED_Name,
+w.WED_WorkCode as CertificateNo,
+convert(varchar(10),wqp.LimitDate,111) as LimitDate,
+ STRING_AGG(wqp.QualifiedProjectCode, '') as QualifiedProjectCode
+FROM Project_Welder pw
+LEFT JOIN HJGL_BS_Welder w ON w.WED_ID = pw.WED_ID
+left join HJGL_BS_WelderQualifiedProject wqp on wqp.WED_ID = pw.WED_ID
+where pw.ProjectId=@projectId
+and wqp.LimitDate IS NOT NULL AND wqp.LimitDate> = GETDATE()
+GROUP BY pw.ProjectWelderId,w.WED_Code,w.WED_Name,w.WED_WorkCode,wqp.LimitDate
+order by w.WED_Code,wqp.LimitDate
+go
+
diff --git a/HJGL_DS/BLL/BLL.csproj b/HJGL_DS/BLL/BLL.csproj
index 5b6985d..62fc37e 100644
--- a/HJGL_DS/BLL/BLL.csproj
+++ b/HJGL_DS/BLL/BLL.csproj
@@ -250,6 +250,7 @@
+
diff --git a/HJGL_DS/BLL/Common/Const.cs b/HJGL_DS/BLL/Common/Const.cs
index d2cfd87..c4e6f51 100644
--- a/HJGL_DS/BLL/Common/Const.cs
+++ b/HJGL_DS/BLL/Common/Const.cs
@@ -1776,6 +1776,11 @@ namespace BLL
///
public const string JGZL_ContactMenuId = "05725865-4CC9-43A0-A525-F2730019F61C";
+ ///
+ /// 无损检测人员登记表
+ ///
+ public const string JGZL_NDTPersonMenuId = "7CB55890-081C-49C7-905C-F711459A6C9E";
+
///
/// 施工图核查记录
///
diff --git a/HJGL_DS/BLL/JGZL/NDTPersonService.cs b/HJGL_DS/BLL/JGZL/NDTPersonService.cs
new file mode 100644
index 0000000..f06318c
--- /dev/null
+++ b/HJGL_DS/BLL/JGZL/NDTPersonService.cs
@@ -0,0 +1,80 @@
+using Model;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 无损检测人员登记表
+ ///
+ public class NDTPersonService
+ {
+ ///
+ /// 根据主键获取无损检测人员登记表
+ ///
+ ///
+ ///
+ public static Model.JGZL_NDTPerson GetNDTPersonById(string ndtPersonId)
+ {
+ return Funs.DB.JGZL_NDTPerson.FirstOrDefault(e => e.NDTPersonId == ndtPersonId);
+ }
+
+ ///
+ /// 添加
+ ///
+ ///
+ public static void AddNDTPerson(Model.JGZL_NDTPerson ndtPerson)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_NDTPerson newNDTPerson = new JGZL_NDTPerson();
+ newNDTPerson.NDTPersonId = ndtPerson.NDTPersonId;
+ newNDTPerson.ProjectId = ndtPerson.ProjectId;
+ newNDTPerson.PersonName = ndtPerson.PersonName;
+ newNDTPerson.CertificateNumber = ndtPerson.CertificateNumber;
+ newNDTPerson.QualifiedProjectCode = ndtPerson.QualifiedProjectCode;
+ newNDTPerson.Levels = ndtPerson.Levels;
+ newNDTPerson.ValidityDate = ndtPerson.ValidityDate;
+ newNDTPerson.CompileMan = ndtPerson.CompileMan;
+ newNDTPerson.CompileDate = ndtPerson.CompileDate;
+ db.JGZL_NDTPerson.InsertOnSubmit(newNDTPerson);
+ db.SubmitChanges();
+ }
+
+ ///
+ /// 修改
+ ///
+ ///
+ public static void UpdateNDTPerson(Model.JGZL_NDTPerson ndtPerson)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_NDTPerson newNDTPerson = db.JGZL_NDTPerson.FirstOrDefault(e => e.NDTPersonId == ndtPerson.NDTPersonId);
+ if (newNDTPerson != null)
+ {
+ newNDTPerson.PersonName = ndtPerson.PersonName;
+ newNDTPerson.CertificateNumber = ndtPerson.CertificateNumber;
+ newNDTPerson.QualifiedProjectCode = ndtPerson.QualifiedProjectCode;
+ newNDTPerson.Levels = ndtPerson.Levels;
+ newNDTPerson.ValidityDate = ndtPerson.ValidityDate;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除无损检测人员登记表
+ ///
+ ///
+ public static void DeleteNDTPersonByNDTPersonId(string ndtPersonId)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_NDTPerson ndtPerson = db.JGZL_NDTPerson.FirstOrDefault(e => e.NDTPersonId == ndtPersonId);
+ if (ndtPerson != null)
+ {
+ db.JGZL_NDTPerson.DeleteOnSubmit(ndtPerson);
+ db.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/ErrLog.txt b/HJGL_DS/FineUIPro.Web/ErrLog.txt
index 603326b..42a2752 100644
--- a/HJGL_DS/FineUIPro.Web/ErrLog.txt
+++ b/HJGL_DS/FineUIPro.Web/ErrLog.txt
@@ -108,3 +108,151 @@ IP地址:::1
出错时间:12/17/2025 23:07:59
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 FineUIPro.Web.common.ProjectSet.ProjectWelder.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\common\ProjectSet\ProjectWelder.aspx.cs:行号 26
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:12/18/2025 17:40:31
+出错文件:http://localhost:60961/common/ProjectSet/ProjectWelder.aspx
+IP地址:::1
+
+出错时间:12/18/2025 17:40:31
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 FineUIPro.Web.common.ProjectSet.ProjectWelder.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\common\ProjectSet\ProjectWelder.aspx.cs:行号 26
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:12/18/2025 17:40:51
+出错文件:http://localhost:60961/common/ProjectSet/ProjectWelder.aspx
+IP地址:::1
+
+出错时间:12/18/2025 17:40:51
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 FineUIPro.Web.common.ProjectSet.ProjectWelder.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\common\ProjectSet\ProjectWelder.aspx.cs:行号 26
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:12/18/2025 17:41:12
+出错文件:http://localhost:60961/common/ProjectSet/ProjectWelder.aspx
+IP地址:::1
+
+出错时间:12/18/2025 17:41:12
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 FineUIPro.Web.JGZL.NDTPerson.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\NDTPerson.aspx.cs:行号 30
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:12/18/2025 23:16:32
+出错文件:http://localhost:60961/JGZL/NDTPerson.aspx
+IP地址:::1
+
+出错时间:12/18/2025 23:16:32
+
+出错时间:12/18/2025 23:16:32
+
+
+错误信息开始=====>
+错误类型:HttpCompileException
+错误信息:e:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\QualifiedWelder.aspx(21): error CS1061: “ASP.jgzl_qualifiedwelder_aspx”不包含“drpProjectId_SelectedIndexChanged”的定义,并且找不到可接受类型为“ASP.jgzl_qualifiedwelder_aspx”的第一个参数的扩展方法“drpProjectId_SelectedIndexChanged”(是否缺少 using 指令或程序集引用?)
+错误堆栈:
+ 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
+ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
+ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
+ 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
+ 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
+ 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
+ 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+ 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
+ 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
+出错时间:12/19/2025 11:12:55
+出错文件:http://localhost:60961/JGZL/QualifiedWelder.aspx
+IP地址:::1
+
+出错时间:12/19/2025 11:12:55
+
+
+错误信息开始=====>
+错误类型:HttpCompileException
+错误信息:e:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\QualifiedWelder.aspx(49): error CS1061: “ASP.jgzl_qualifiedwelder_aspx”不包含“Grid1_RowDoubleClick”的定义,并且找不到可接受类型为“ASP.jgzl_qualifiedwelder_aspx”的第一个参数的扩展方法“Grid1_RowDoubleClick”(是否缺少 using 指令或程序集引用?)
+错误堆栈:
+ 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
+ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
+ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
+ 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
+ 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
+ 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
+ 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+ 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
+ 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
+出错时间:12/19/2025 11:14:30
+出错文件:http://localhost:60961/JGZL/QualifiedWelder.aspx
+IP地址:::1
+
+出错时间:12/19/2025 11:14:30
+
+
+错误信息开始=====>
+错误类型:HttpCompileException
+错误信息:e:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\QualifiedWelder.aspx(104): error CS1061: “ASP.jgzl_qualifiedwelder_aspx”不包含“btnMenuEdit_Click”的定义,并且找不到可接受类型为“ASP.jgzl_qualifiedwelder_aspx”的第一个参数的扩展方法“btnMenuEdit_Click”(是否缺少 using 指令或程序集引用?)
+错误堆栈:
+ 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
+ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
+ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
+ 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
+ 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
+ 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
+ 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+ 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
+ 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
+出错时间:12/19/2025 11:15:13
+出错文件:http://localhost:60961/JGZL/QualifiedWelder.aspx
+IP地址:::1
+
+出错时间:12/19/2025 11:15:13
+
+
+错误信息开始=====>
+错误类型:HttpException
+错误信息:无法使用前导 .. 在顶级目录上退出。
+错误堆栈:
+ 在 System.Web.Util.UrlPath.ReduceVirtualPath(String path)
+ 在 System.Web.Util.UrlPath.Reduce(String path)
+ 在 System.Web.UI.Control.ResolveUrl(String relativeUrl)
+ 在 FineUIPro.PanelBase.GSrWIYotvABObntvwvkykLQRmkPj(String )
+ 在 FineUIPro.Window.GetShowReference(String iframeUrl, String windowTitle, Unit width, Unit height)
+ 在 (Window , String , String , Unit , Unit )
+ 在 FineUIPro.Window.GetShowReference(String iframeUrl, String windowTitle)
+ 在 FineUIPro.Web.JGZL.QualifiedWelder.btnPrint_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\QualifiedWelder.aspx.cs:行号 203
+ 在 FineUIPro.Button.OnClick(EventArgs e)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:12/19/2025 11:16:01
+出错文件:http://localhost:60961/JGZL/QualifiedWelder.aspx
+IP地址:::1
+操作人员:管理员
+
+出错时间:12/19/2025 11:16:01
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/合格焊工登记表.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/合格焊工登记表.frx
new file mode 100644
index 0000000..f6ae26c
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/合格焊工登记表.frx
@@ -0,0 +1,159 @@
+
+
+ using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Windows.Forms;
+using System.Drawing;
+using System.Data;
+using FastReport;
+using FastReport.Data;
+using FastReport.Dialog;
+using FastReport.Barcode;
+using FastReport.Table;
+using FastReport.Utils;
+
+namespace FastReport
+{
+ public class ReportScript
+ {
+
+ private void Table2_ManualBuild(object sender, EventArgs e)
+ {
+ DataSourceBase rowData = Report.GetDataSource("Data");
+ // init the data source
+ rowData.Init();
+
+ // print the first table row - it is a header
+
+ // now enumerate the data source and print the table body
+ while (rowData.HasMoreRows)
+ {
+ // print the table body
+ Table2.PrintRow(0);
+ Table2.PrintColumns();
+
+ // go next data source row
+ rowData.Next();
+ }
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/无损检测人员登记表.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/无损检测人员登记表.frx
new file mode 100644
index 0000000..b4c2845
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/无损检测人员登记表.frx
@@ -0,0 +1,157 @@
+
+
+ using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Windows.Forms;
+using System.Drawing;
+using System.Data;
+using FastReport;
+using FastReport.Data;
+using FastReport.Dialog;
+using FastReport.Barcode;
+using FastReport.Table;
+using FastReport.Utils;
+
+namespace FastReport
+{
+ public class ReportScript
+ {
+
+ private void Table3_ManualBuild(object sender, EventArgs e)
+ {
+ DataSourceBase rowData = Report.GetDataSource("Data");
+ // init the data source
+ rowData.Init();
+
+ // print the first table row - it is a header
+
+ // now enumerate the data source and print the table body
+ while (rowData.HasMoreRows)
+ {
+ // print the table body
+ Table3.PrintRow(0);
+ Table3.PrintColumns();
+
+ // go next data source row
+ rowData.Next();
+ }
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
index 4d2521d..5e2fa72 100644
--- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
@@ -1251,6 +1251,9 @@
+
+
+
@@ -6600,6 +6603,27 @@
HandoverCertificateEdit.aspx
+
+ NDTPerson.aspx
+ ASPXCodeBehind
+
+
+ NDTPerson.aspx
+
+
+ NDTPersonEdit.aspx
+ ASPXCodeBehind
+
+
+ NDTPersonEdit.aspx
+
+
+ QualifiedWelder.aspx
+ ASPXCodeBehind
+
+
+ QualifiedWelder.aspx
+
Login.aspx
ASPXCodeBehind
diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
index 5a61a34..72b6a27 100644
--- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -2,7 +2,7 @@
true
- Release|Any CPU
+ Debug|Any CPU
@@ -14,9 +14,8 @@
-
-
- CurrentPage
+ Login.aspx
+ SpecificPage
True
False
False
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx b/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx
new file mode 100644
index 0000000..27dcc4f
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx
@@ -0,0 +1,121 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NDTPerson.aspx.cs" Inherits="FineUIPro.Web.JGZL.NDTPerson" %>
+
+
+
+
+
+
+ 无损检测人员登记表
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.cs
new file mode 100644
index 0000000..2167b28
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.cs
@@ -0,0 +1,398 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.IO;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class NDTPerson : PageBase
+ {
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+
+ this.drpProjectId.DataTextField = "ProjectCode";
+ this.drpProjectId.DataValueField = "ProjectId";
+ this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ this.drpProjectId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpProjectId);
+
+ this.InitTreeMenu();//加载树
+ }
+ }
+ #endregion
+
+ #region 加载树项目
+ ///
+ /// 加载树
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+ TreeNode rootNode = new TreeNode();
+ rootNode.Text = "项目";
+ rootNode.ToolTip = "项目";
+ rootNode.NodeID = "0";
+ rootNode.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode);
+
+ List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ if (this.drpProjectId.SelectedValue != BLL.Const._Null)
+ {
+ projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
+ }
+ foreach (var item in projects)
+ {
+ TreeNode rootProjectNode = new TreeNode();//定义根节点
+ rootProjectNode.Text = item.ProjectCode;
+ rootProjectNode.NodeID = item.ProjectId;
+ rootProjectNode.EnableClickEvent = true;
+ rootProjectNode.Expanded = true;
+ rootProjectNode.ToolTip = item.ProjectName;
+ rootProjectNode.CommandName = "项目名称";
+ rootNode.Nodes.Add(rootProjectNode);
+ }
+ }
+ #endregion
+
+ #region 点击TreeView
+ ///
+ /// 点击TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ if (this.tvControlItem.SelectedNodeID != "0")
+ {
+ this.BindGrid();
+ }
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid()
+ {
+ //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
+ string strSql = @"SELECT * from JGZL_NDTPerson where 1=1";
+ List listStr = new List();
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ strSql += " AND ProjectId = @ProjectId";
+ listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
+ }
+ //else
+ //{
+ // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
+ // listStr.Add(new SqlParameter("@ProjectId", projectIds));
+ //}
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ // 2.获取当前分页数据
+ Grid1.RecordCount = tb.Rows.Count;
+ //tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页排序
+ #region 页索引改变事件
+ ///
+ /// 页索引改变事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 分页选择下拉改变事件
+ ///
+ /// 分页选择下拉改变事件
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+ #endregion
+
+ #region 查询
+ ///
+ ///查询
+ ///
+ ///
+ ///
+ protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void TextBox_TextChanged(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 打印
+ ///
+ /// 打印
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string projectId = this.tvControlItem.SelectedNodeID;
+ if (projectId != null)
+ {
+ string initTemplatePath = "";
+ string rootPath = Server.MapPath("~/");
+ BLL.Common.FastReportService.ResetData();
+
+ string strSql = @"SELECT * from JGZL_NDTPerson where ProjectId = @ProjectId order by CompileDate desc";
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@ProjectId", projectId));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+
+ DataTable dt = new DataTable();
+ dt.TableName = "Data";
+ dt.Columns.Add("Num");
+ dt.Columns.Add("PersonName");
+ dt.Columns.Add("CertificateNumber");
+ dt.Columns.Add("QualifiedProjectCode");
+ dt.Columns.Add("Levels");
+ dt.Columns.Add("ValidityDate");
+
+ DataRow[] rows = tb.DefaultView.ToTable().Select();
+ int i = 0;
+ foreach (var row in rows)
+ {
+ var newRow = dt.NewRow();
+ newRow["Num"] = (i + 1).ToString();
+ newRow["PersonName"] = row["PersonName"].ToString();
+ newRow["CertificateNumber"] = row["CertificateNumber"].ToString();
+ newRow["QualifiedProjectCode"] = row["QualifiedProjectCode"].ToString();
+ newRow["Levels"] = row["Levels"].ToString();
+ string ValidityDate= string.Format("{0:yyyy-MM-dd}", row["ValidityDate"]);
+ newRow["ValidityDate"] = ValidityDate;
+ dt.Rows.Add(newRow);
+ i++;
+ }
+ BLL.Common.FastReportService.AddFastreportTable(dt);
+
+ Dictionary keyValuePairs = new Dictionary();
+ keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
+ BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
+
+ initTemplatePath = "File\\Fastreport\\JGZL\\无损检测人员登记表.frx";
+ if (File.Exists(rootPath + initTemplatePath))
+ {
+ PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 维护
+ ///
+ /// 增加
+ ///
+ ///
+ ///
+ protected void btnAdd_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("NDTPersonEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+
+ ///
+ /// 双击编辑
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_NDTPersonMenuId, BLL.Const.BtnModify))
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("NDTPersonEdit.aspx?NDTPersonId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 右键编辑
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_NDTPersonMenuId, BLL.Const.BtnModify))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("NDTPersonEdit.aspx?NDTPersonId={0}", Grid1.SelectedRowID, "维护 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 右键删除
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_NDTPersonMenuId, Const.BtnDelete))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+
+ bool isShow = true;
+ if (Grid1.SelectedRowIndexArray.Length > 1)
+ {
+ isShow = false;
+ }
+ bool isDelete = false;
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ if (judgementDelete(rowID, isShow))
+ {
+ isDelete = true;
+ BLL.NDTPersonService.DeleteNDTPersonByNDTPersonId(rowID);
+ BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除无损检测人员登记表");
+ }
+ }
+ if (isDelete)
+ {
+ ShowNotify("删除成功!", MessageBoxIcon.Success);
+ }
+ this.BindGrid();
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region 判断是否可删除
+ ///
+ /// 判断是否可以删除
+ ///
+ ///
+ private bool judgementDelete(string id, bool isShow)
+ {
+ string content = string.Empty;
+
+ if (string.IsNullOrEmpty(content))
+ {
+ return true;
+ }
+ else
+ {
+ if (isShow)
+ {
+ Alert.ShowInTop(content, MessageBoxIcon.Error);
+ }
+ return false;
+ }
+ }
+ #endregion
+ #endregion
+
+ #region 关闭弹出窗口及刷新页面
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ this.InitTreeMenu();//加载树
+ this.BindGrid();
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.designer.cs
new file mode 100644
index 0000000..5bcf4fd
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/NDTPerson.aspx.designer.cs
@@ -0,0 +1,206 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class NDTPerson
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpProjectId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProjectId;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnAdd 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAdd;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// WindowPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowPrint;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx b/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx
new file mode 100644
index 0000000..fbc35b8
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx
@@ -0,0 +1,48 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NDTPersonEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.NDTPersonEdit" %>
+
+
+
+
+
+
+ 编辑无损检测人员登记表
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx.cs
new file mode 100644
index 0000000..ec853dd
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx.cs
@@ -0,0 +1,115 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class NDTPersonEdit : PageBase
+ {
+ #region 定义项
+ ///
+ /// 主键
+ ///
+ private string NDTPersonId
+ {
+ get
+ {
+ return (string)ViewState["NDTPersonId"];
+ }
+ set
+ {
+ ViewState["NDTPersonId"] = value;
+ }
+ }
+
+ ///
+ /// 项目Id
+ ///
+ private string ProjectId
+ {
+ get
+ {
+ return (string)ViewState["ProjectId"];
+ }
+ set
+ {
+ ViewState["ProjectId"] = value;
+ }
+ }
+ #endregion
+
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ProjectId = Request.Params["projectId"];
+ this.NDTPersonId = Request.Params["NDTPersonId"];
+ if (!string.IsNullOrEmpty(this.NDTPersonId))
+ {
+ var report = BLL.NDTPersonService.GetNDTPersonById(this.NDTPersonId);
+ if (report != null)
+ {
+ this.txtPersonName.Text = report.PersonName;
+ this.txtCertificateNumber.Text = report.CertificateNumber;
+ this.txtQualifiedProjectCode.Text = report.QualifiedProjectCode;
+ this.txtLevels.Text = report.Levels;
+ this.txtValidityDate.Text = report.ValidityDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.ValidityDate) : "";
+ }
+ }
+ }
+ }
+ #endregion
+
+ #region 提交按钮
+ ///
+ /// 提交按钮
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_NDTPersonMenuId, Const.BtnSave))
+ {
+ Model.JGZL_NDTPerson newReport = new Model.JGZL_NDTPerson();
+ newReport.PersonName = this.txtPersonName.Text.Trim();
+ newReport.CertificateNumber = this.txtCertificateNumber.Text.Trim();
+ newReport.QualifiedProjectCode = this.txtQualifiedProjectCode.Text.Trim();
+ newReport.Levels = this.txtLevels.Text.Trim();
+ newReport.ValidityDate = Funs.GetNewDateTime(this.txtValidityDate.Text.Trim());
+
+ if (!string.IsNullOrEmpty(this.NDTPersonId))
+ {
+ newReport.NDTPersonId = this.NDTPersonId;
+ BLL.NDTPersonService.UpdateNDTPerson(newReport);
+ }
+ else
+ {
+ newReport.ProjectId = this.ProjectId;
+ newReport.CompileMan = this.CurrUser.UserId;
+ newReport.CompileDate = DateTime.Now;
+ newReport.NDTPersonId = SQLHelper.GetNewID(typeof(Model.JGZL_NDTPerson));
+ this.NDTPersonId = newReport.NDTPersonId;
+ BLL.NDTPersonService.AddNDTPerson(newReport);
+ }
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx.designer.cs
new file mode 100644
index 0000000..59d93f7
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/NDTPersonEdit.aspx.designer.cs
@@ -0,0 +1,116 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class NDTPersonEdit
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// txtPersonName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtPersonName;
+
+ ///
+ /// txtCertificateNumber 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtCertificateNumber;
+
+ ///
+ /// txtQualifiedProjectCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtQualifiedProjectCode;
+
+ ///
+ /// txtLevels 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtLevels;
+
+ ///
+ /// txtValidityDate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtValidityDate;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx b/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx
new file mode 100644
index 0000000..0bf2d73
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx
@@ -0,0 +1,97 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QualifiedWelder.aspx.cs" Inherits="FineUIPro.Web.JGZL.QualifiedWelder" %>
+
+
+
+
+
+
+ 合格焊工登记表
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx.cs
new file mode 100644
index 0000000..77d8b45
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx.cs
@@ -0,0 +1,214 @@
+using FineUIPro.Web.common.BaseInfo;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using static System.Windows.Forms.VisualStyles.VisualStyleElement;
+using System.IO;
+using BLL;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class QualifiedWelder : PageBase
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+
+ this.drpProjectId.DataTextField = "ProjectCode";
+ this.drpProjectId.DataValueField = "ProjectId";
+ this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ this.drpProjectId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpProjectId);
+
+ this.InitTreeMenu();//加载树
+ }
+ }
+
+ #region 加载树项目
+ ///
+ /// 加载树
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+ TreeNode rootNode = new TreeNode();
+ rootNode.Text = "项目";
+ rootNode.ToolTip = "项目";
+ rootNode.NodeID = "0";
+ rootNode.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode);
+
+ List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ if (this.drpProjectId.SelectedValue != BLL.Const._Null)
+ {
+ projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
+ }
+ foreach (var item in projects)
+ {
+ TreeNode rootProjectNode = new TreeNode();//定义根节点
+ rootProjectNode.Text = item.ProjectCode;
+ rootProjectNode.NodeID = item.ProjectId;
+ rootProjectNode.EnableClickEvent = true;
+ rootProjectNode.Expanded = true;
+ rootProjectNode.ToolTip = item.ProjectName;
+ rootProjectNode.CommandName = "项目名称";
+ rootNode.Nodes.Add(rootProjectNode);
+ }
+ }
+ #endregion
+
+ #region 点击TreeView
+ ///
+ /// 点击TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ if (this.tvControlItem.SelectedNodeID != "0")
+ {
+ this.BindGrid();
+ }
+ }
+ #endregion
+
+ #region 查询
+ ///
+ ///查询
+ ///
+ ///
+ ///
+ protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid()
+ {
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@projectId", this.tvControlItem.SelectedNodeID));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = BLL.SQLHelper.GetDataTableRunProc("sp_rpt_WelderQualified", parameter);
+
+ // 2.获取当前分页数据
+ Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页排序
+ #region 页索引改变事件
+ ///
+ /// 页索引改变事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 分页选择下拉改变事件
+ ///
+ /// 分页选择下拉改变事件
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+ #endregion
+
+ #region 合格项目打印
+ ///
+ /// 合格项目打印
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string projectId = this.tvControlItem.SelectedNodeID;
+ if (projectId != null)
+ {
+ string initTemplatePath = "";
+ string rootPath = Server.MapPath("~/");
+ BLL.Common.FastReportService.ResetData();
+
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@projectId", projectId));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = BLL.SQLHelper.GetDataTableRunProc("sp_rpt_WelderQualified", parameter);
+
+ DataTable dt = new DataTable();
+ dt.TableName = "Data";
+ dt.Columns.Add("Number");
+ dt.Columns.Add("WED_Name");
+ dt.Columns.Add("WED_Code");
+ dt.Columns.Add("CertificateNo");
+ dt.Columns.Add("QualifiedProjectCode");
+ dt.Columns.Add("LimitDate");
+
+ tb.DefaultView.Sort = "Number asc";
+ DataRow[] rows = tb.DefaultView.ToTable().Select();
+ foreach (var row in rows)
+ {
+ var newRow = dt.NewRow();
+ newRow["Number"] = row["Number"].ToString();
+ newRow["WED_Name"] = row["WED_Name"].ToString();
+ newRow["WED_Code"] = row["WED_Code"].ToString();
+ newRow["CertificateNo"] = row["CertificateNo"].ToString();
+ newRow["QualifiedProjectCode"] = row["QualifiedProjectCode"].ToString();
+ newRow["LimitDate"] = row["LimitDate"].ToString();
+ dt.Rows.Add(newRow);
+ }
+ BLL.Common.FastReportService.AddFastreportTable(dt);
+
+ Dictionary keyValuePairs = new Dictionary();
+ keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
+ BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
+ initTemplatePath = "File\\Fastreport\\JGZL\\合格焊工登记表.frx";
+
+ if (File.Exists(rootPath + initTemplatePath))
+ {
+ PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
+
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx.designer.cs
new file mode 100644
index 0000000..53eb0e0
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/QualifiedWelder.aspx.designer.cs
@@ -0,0 +1,161 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class QualifiedWelder
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpProjectId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProjectId;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// WindowPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowPrint;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config
index 5c46a5b..93f82b5 100644
--- a/HJGL_DS/FineUIPro.Web/Web.config
+++ b/HJGL_DS/FineUIPro.Web/Web.config
@@ -67,7 +67,7 @@
-
+
diff --git a/HJGL_DS/Model/Model.cs b/HJGL_DS/Model/Model.cs
index 3144696..412c44f 100644
--- a/HJGL_DS/Model/Model.cs
+++ b/HJGL_DS/Model/Model.cs
@@ -386,6 +386,9 @@ namespace Model
partial void InsertJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void UpdateJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void DeleteJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
+ partial void InsertJGZL_NDTPerson(JGZL_NDTPerson instance);
+ partial void UpdateJGZL_NDTPerson(JGZL_NDTPerson instance);
+ partial void DeleteJGZL_NDTPerson(JGZL_NDTPerson instance);
partial void InsertOAM_UesrQualified(OAM_UesrQualified instance);
partial void UpdateOAM_UesrQualified(OAM_UesrQualified instance);
partial void DeleteOAM_UesrQualified(OAM_UesrQualified instance);
@@ -1782,6 +1785,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table JGZL_NDTPerson
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table OAM_UesrQualified
{
get
@@ -4373,6 +4384,8 @@ namespace Model
private EntitySet _JGZL_HandoverCertificate;
+ private EntitySet _JGZL_NDTPerson;
+
private EntitySet _Project_Installation;
private EntitySet _Project_RoleButtonPower;
@@ -4502,6 +4515,7 @@ namespace Model
this._JGZL_ConDrawingVerification = new EntitySet(new Action(this.attach_JGZL_ConDrawingVerification), new Action(this.detach_JGZL_ConDrawingVerification));
this._JGZL_Contact = new EntitySet(new Action(this.attach_JGZL_Contact), new Action(this.detach_JGZL_Contact));
this._JGZL_HandoverCertificate = new EntitySet(new Action(this.attach_JGZL_HandoverCertificate), new Action(this.detach_JGZL_HandoverCertificate));
+ this._JGZL_NDTPerson = new EntitySet(new Action(this.attach_JGZL_NDTPerson), new Action(this.detach_JGZL_NDTPerson));
this._Project_Installation = new EntitySet(new Action(this.attach_Project_Installation), new Action(this.detach_Project_Installation));
this._Project_RoleButtonPower = new EntitySet(new Action(this.attach_Project_RoleButtonPower), new Action(this.detach_Project_RoleButtonPower));
this._Project_RolePower = new EntitySet(new Action(this.attach_Project_RolePower), new Action(this.detach_Project_RolePower));
@@ -5634,6 +5648,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_NDTPerson_Base_Project", Storage="_JGZL_NDTPerson", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_NDTPerson
+ {
+ get
+ {
+ return this._JGZL_NDTPerson;
+ }
+ set
+ {
+ this._JGZL_NDTPerson.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Installation_Base_Project", Storage="_Project_Installation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet Project_Installation
{
@@ -6352,6 +6379,18 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_JGZL_NDTPerson(JGZL_NDTPerson entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_JGZL_NDTPerson(JGZL_NDTPerson entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_Project_Installation(Project_Installation entity)
{
this.SendPropertyChanging();
@@ -81524,6 +81563,342 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_NDTPerson")]
+ public partial class JGZL_NDTPerson : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _NDTPersonId;
+
+ private string _ProjectId;
+
+ private string _PersonName;
+
+ private string _CertificateNumber;
+
+ private string _QualifiedProjectCode;
+
+ private string _Levels;
+
+ private System.Nullable _ValidityDate;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnNDTPersonIdChanging(string value);
+ partial void OnNDTPersonIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnPersonNameChanging(string value);
+ partial void OnPersonNameChanged();
+ partial void OnCertificateNumberChanging(string value);
+ partial void OnCertificateNumberChanged();
+ partial void OnQualifiedProjectCodeChanging(string value);
+ partial void OnQualifiedProjectCodeChanged();
+ partial void OnLevelsChanging(string value);
+ partial void OnLevelsChanged();
+ partial void OnValidityDateChanging(System.Nullable value);
+ partial void OnValidityDateChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ #endregion
+
+ public JGZL_NDTPerson()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTPersonId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string NDTPersonId
+ {
+ get
+ {
+ return this._NDTPersonId;
+ }
+ set
+ {
+ if ((this._NDTPersonId != value))
+ {
+ this.OnNDTPersonIdChanging(value);
+ this.SendPropertyChanging();
+ this._NDTPersonId = value;
+ this.SendPropertyChanged("NDTPersonId");
+ this.OnNDTPersonIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonName", DbType="NVarChar(50)")]
+ public string PersonName
+ {
+ get
+ {
+ return this._PersonName;
+ }
+ set
+ {
+ if ((this._PersonName != value))
+ {
+ this.OnPersonNameChanging(value);
+ this.SendPropertyChanging();
+ this._PersonName = value;
+ this.SendPropertyChanged("PersonName");
+ this.OnPersonNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateNumber", DbType="NVarChar(50)")]
+ public string CertificateNumber
+ {
+ get
+ {
+ return this._CertificateNumber;
+ }
+ set
+ {
+ if ((this._CertificateNumber != value))
+ {
+ this.OnCertificateNumberChanging(value);
+ this.SendPropertyChanging();
+ this._CertificateNumber = value;
+ this.SendPropertyChanged("CertificateNumber");
+ this.OnCertificateNumberChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedProjectCode", DbType="NVarChar(500)")]
+ public string QualifiedProjectCode
+ {
+ get
+ {
+ return this._QualifiedProjectCode;
+ }
+ set
+ {
+ if ((this._QualifiedProjectCode != value))
+ {
+ this.OnQualifiedProjectCodeChanging(value);
+ this.SendPropertyChanging();
+ this._QualifiedProjectCode = value;
+ this.SendPropertyChanged("QualifiedProjectCode");
+ this.OnQualifiedProjectCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Levels", DbType="NVarChar(50)")]
+ public string Levels
+ {
+ get
+ {
+ return this._Levels;
+ }
+ set
+ {
+ if ((this._Levels != value))
+ {
+ this.OnLevelsChanging(value);
+ this.SendPropertyChanging();
+ this._Levels = value;
+ this.SendPropertyChanged("Levels");
+ this.OnLevelsChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ValidityDate", DbType="DateTime")]
+ public System.Nullable ValidityDate
+ {
+ get
+ {
+ return this._ValidityDate;
+ }
+ set
+ {
+ if ((this._ValidityDate != value))
+ {
+ this.OnValidityDateChanging(value);
+ this.SendPropertyChanging();
+ this._ValidityDate = value;
+ this.SendPropertyChanged("ValidityDate");
+ this.OnValidityDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_NDTPerson_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.JGZL_NDTPerson.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_NDTPerson.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_NDTPerson_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.JGZL_NDTPerson.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_NDTPerson.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.OAM_UesrQualified")]
public partial class OAM_UesrQualified : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -102983,6 +103358,8 @@ namespace Model
private EntitySet _JGZL_HandoverCertificate;
+ private EntitySet _JGZL_NDTPerson;
+
private EntitySet _Project_User;
private EntitySet _Project_UserButtonPower;
@@ -103069,6 +103446,7 @@ namespace Model
this._JGZL_ConDrawingVerification = new EntitySet(new Action(this.attach_JGZL_ConDrawingVerification), new Action(this.detach_JGZL_ConDrawingVerification));
this._JGZL_Contact = new EntitySet(new Action(this.attach_JGZL_Contact), new Action(this.detach_JGZL_Contact));
this._JGZL_HandoverCertificate = new EntitySet(new Action(this.attach_JGZL_HandoverCertificate), new Action(this.detach_JGZL_HandoverCertificate));
+ this._JGZL_NDTPerson = new EntitySet(new Action(this.attach_JGZL_NDTPerson), new Action(this.detach_JGZL_NDTPerson));
this._Project_User = new EntitySet(new Action(this.attach_Project_User), new Action(this.detach_Project_User));
this._Project_UserButtonPower = new EntitySet(new Action(this.attach_Project_UserButtonPower), new Action(this.detach_Project_UserButtonPower));
this._Project_UserPower = new EntitySet(new Action(this.attach_Project_UserPower), new Action(this.detach_Project_UserPower));
@@ -103772,6 +104150,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_NDTPerson_Sys_User", Storage="_JGZL_NDTPerson", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_NDTPerson
+ {
+ get
+ {
+ return this._JGZL_NDTPerson;
+ }
+ set
+ {
+ this._JGZL_NDTPerson.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Sys_User", Storage="_Project_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")]
public EntitySet Project_User
{
@@ -104199,6 +104590,18 @@ namespace Model
entity.Sys_User = null;
}
+ private void attach_JGZL_NDTPerson(JGZL_NDTPerson entity)
+ {
+ this.SendPropertyChanging();
+ entity.Sys_User = this;
+ }
+
+ private void detach_JGZL_NDTPerson(JGZL_NDTPerson entity)
+ {
+ this.SendPropertyChanging();
+ entity.Sys_User = null;
+ }
+
private void attach_Project_User(Project_User entity)
{
this.SendPropertyChanging();
diff --git a/HJGL_DS/WebAPI/WebAPI.csproj.user b/HJGL_DS/WebAPI/WebAPI.csproj.user
index 28be9c4..a48b337 100644
--- a/HJGL_DS/WebAPI/WebAPI.csproj.user
+++ b/HJGL_DS/WebAPI/WebAPI.csproj.user
@@ -1,7 +1,7 @@
- Release|Any CPU
+ Debug|Any CPU
FolderProfile
true