12121
This commit is contained in:
parent
1a73dfd0a6
commit
48a84cfd6c
Binary file not shown.
|
@ -2,15 +2,17 @@
|
|||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HotProcessHard {
|
||||
namespace FineUIPro.Web.HotProcessHard
|
||||
{
|
||||
|
||||
|
||||
public partial class HotProessTrustEdit {
|
||||
public partial class HotProessTrustEdit
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:HiddenField runat="server" ID="Id">
|
||||
<f:HiddenField runat="server" ID="hdPMIDelegationId">
|
||||
</f:HiddenField>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
|
@ -180,7 +180,7 @@
|
|||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window2" Title="<%$ Resources:Lan,PopForm %>" Hidden="true" EnableIFrame="true"
|
||||
EnableMaximize="true" Target="Parent" EnableResize="true" runat="server" OnClose="Window1_Close"
|
||||
EnableMaximize="true" Target="Parent" EnableResize="true" runat="server" OnClose="Window2_Close"
|
||||
IsModal="true" Width="1090px" Height="660px">
|
||||
</f:Window>
|
||||
|
||||
|
|
|
@ -280,8 +280,8 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
|||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.PMIDelegationId, Const.BtnAdd))
|
||||
{
|
||||
this.SetTextTemp();
|
||||
string window = String.Format("PMIDelegationEdit.aspx", string.Empty, "新增 - ") ;
|
||||
PageContext.RegisterStartupScript(Window2.GetSaveStateReference(this.PMIDelegationId)
|
||||
string window = String.Format("PMIDelegationEdit.aspx?PMIDelegationId={0}", string.Empty, "新增 - ") ;
|
||||
PageContext.RegisterStartupScript(Window2.GetSaveStateReference(this.hdPMIDelegationId.ClientID)
|
||||
+ Window2.GetShowReference(window));
|
||||
}
|
||||
else
|
||||
|
@ -303,9 +303,9 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
|||
var trustManage = Funs.DB.PMI_Delegation.FirstOrDefault (t=>t.Id==this.PMIDelegationId);
|
||||
if (trustManage != null)
|
||||
{
|
||||
string window = String.Format("PMIDelegationEdit.aspx?PMIDelegationId={0}", this.PMIDelegationId, "编辑 - ");
|
||||
PageContext.RegisterStartupScript(Window2.GetSaveStateReference(this.PMIDelegationId)
|
||||
+ Window2.GetShowReference(window));
|
||||
string openUrl = String.Format("PMIDelegationEdit.aspx?PMIDelegationId={0}", this.PMIDelegationId, "编辑 - ");
|
||||
PageContext.RegisterStartupScript(Window2.GetSaveStateReference(this.hdPMIDelegationId.ClientID)
|
||||
+ Window2.GetShowReference(openUrl));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -363,7 +363,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
|||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
protected void Window2_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
|
|
|
@ -96,13 +96,13 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
|||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// Id 控件。
|
||||
/// hdPMIDelegationId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField Id;
|
||||
protected global::FineUIPro.HiddenField hdPMIDelegationId;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
|||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.PMIDelegationId = Request.Params["PMIDelegationId"];
|
||||
this.PMIDelegationId = Request.QueryString["PMIDelegationId"];
|
||||
BLL.Project_InstallationService.InitInstallationDropDownList(this.drpInstallationId, true, this.CurrUser.LoginProjectId, Resources.Lan.PleaseSelect);//装置
|
||||
BLL.Base_UnitService.InitUnitDropDownList(this.drpUnitId, true, BLL.Const.UnitType_5, Resources.Lan.PleaseSelect);//单位
|
||||
|
||||
|
|
Loading…
Reference in New Issue