This commit is contained in:
jackchenyang 2024-05-11 16:03:44 +08:00
parent 990dcfdc67
commit 1d15ad3756
8 changed files with 95 additions and 2 deletions

Binary file not shown.

View File

@ -5,6 +5,7 @@ create table PMI_Delegation
Id nvarchar(50) not null primary key, Id nvarchar(50) not null primary key,
DelegationNo nvarchar(50) not null, DelegationNo nvarchar(50) not null,
DelegationDate datetime, DelegationDate datetime,
ProjectId nvarchar(50) not null,
InstallationId nvarchar(50), InstallationId nvarchar(50),
UnitId nvarchar(50), UnitId nvarchar(50),
DetectionStandard nvarchar(50), DetectionStandard nvarchar(50),
@ -19,6 +20,7 @@ create table PMI_DelegationDetails
JointId nvarchar(50) not null, JointId nvarchar(50) not null,
QualityNo nvarchar(255), QualityNo nvarchar(255),
Acceptance nvarchar(255), Acceptance nvarchar(255),
Status int not null,
CreatedTime datetime default getdate() CreatedTime datetime default getdate()
) )
go go

View File

@ -396,6 +396,7 @@
<Content Include="WeldingProcess\DataIn\DataIn.aspx" /> <Content Include="WeldingProcess\DataIn\DataIn.aspx" />
<Content Include="WeldingProcess\DataIn\DataInEdit.aspx" /> <Content Include="WeldingProcess\DataIn\DataInEdit.aspx" />
<Content Include="WeldingProcess\PMI\PMIDelegation.aspx" /> <Content Include="WeldingProcess\PMI\PMIDelegation.aspx" />
<Content Include="WeldingProcess\PMI\PMIDelegationEdit.aspx" />
<Content Include="WeldingProcess\TestPackageManage\AItemEndCheck.aspx" /> <Content Include="WeldingProcess\TestPackageManage\AItemEndCheck.aspx" />
<Content Include="WeldingProcess\TestPackageManage\BItemEndCheck.aspx" /> <Content Include="WeldingProcess\TestPackageManage\BItemEndCheck.aspx" />
<Content Include="WeldingProcess\TestPackageManage\TestPackageManageAudit.aspx" /> <Content Include="WeldingProcess\TestPackageManage\TestPackageManageAudit.aspx" />
@ -4453,6 +4454,13 @@
<Compile Include="WeldingProcess\PMI\PMIDelegation.aspx.designer.cs"> <Compile Include="WeldingProcess\PMI\PMIDelegation.aspx.designer.cs">
<DependentUpon>PMIDelegation.aspx</DependentUpon> <DependentUpon>PMIDelegation.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="WeldingProcess\PMI\PMIDelegationEdit.aspx.cs">
<DependentUpon>PMIDelegationEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WeldingProcess\PMI\PMIDelegationEdit.aspx.designer.cs">
<DependentUpon>PMIDelegationEdit.aspx</DependentUpon>
</Compile>
<Compile Include="WeldingProcess\TestPackageManage\AItemEndCheck.aspx.cs"> <Compile Include="WeldingProcess\TestPackageManage\AItemEndCheck.aspx.cs">
<DependentUpon>AItemEndCheck.aspx</DependentUpon> <DependentUpon>AItemEndCheck.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>

View File

@ -384,7 +384,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
#endregion #endregion
#endregion #endregion
#region #region
/// <summary> /// <summary>
/// 热处理报告 /// 热处理报告
/// </summary> /// </summary>
@ -394,7 +394,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
{ {
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.HotProessTrustMenuId, Const.BtnSave)) if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.HotProessTrustMenuId, Const.BtnSave))
{ {
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("HotProessReport.aspx?HotProessTrustItemId={0}", this.Grid1.SelectedRowID, "编辑处理报告 - "))); PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PMIDelegationEdit.aspx?Id={0}", this.Grid1.SelectedRowID, "编辑PMI处理报告 - ")));
} }
else else
{ {

View File

@ -0,0 +1,16 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PMIDelegationEdit.aspx.cs" Inherits="FineUIPro.Web.WeldingProcess.PMI.PMIDelegationEdit" %>
<!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">
<div>
</div>
</form>
</body>
</html>

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.WeldingProcess.PMI
{
public partial class PMIDelegationEdit : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

View File

@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.WeldingProcess.PMI
{
public partial class PMIDelegationEdit
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
}
}

View File

@ -21471,6 +21471,8 @@ namespace Model
private System.Nullable<System.DateTime> _CreatedTime; private System.Nullable<System.DateTime> _CreatedTime;
private int _Status;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -21487,6 +21489,8 @@ namespace Model
partial void OnAcceptanceChanged(); partial void OnAcceptanceChanged();
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value); partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCreatedTimeChanged(); partial void OnCreatedTimeChanged();
partial void OnStatusChanging(int value);
partial void OnStatusChanged();
#endregion #endregion
public PMI_DelegationDetails() public PMI_DelegationDetails()
@ -21614,6 +21618,26 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="status", Storage="_Status", DbType="Int NOT NULL")]
public int Status
{
get
{
return this._Status;
}
set
{
if ((this._Status != value))
{
this.OnStatusChanging(value);
this.SendPropertyChanging();
this._Status = value;
this.SendPropertyChanged("Status");
this.OnStatusChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;