11
This commit is contained in:
@@ -151,7 +151,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||
|
||||
if (!string.IsNullOrEmpty(this.txtIsoNo.Text.Trim()))
|
||||
{
|
||||
strSql += @" and Trust.PipelineCode like '%'+@PipelineCode+'%' ";
|
||||
strSql += @" and PipelineCode like '%'+@PipelineCode+'%' ";
|
||||
listStr.Add(new SqlParameter("@PipelineCode", this.txtIsoNo.Text.Trim()));
|
||||
}
|
||||
|
||||
@@ -279,7 +279,7 @@ 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?PMIDelegationId={0}", string.Empty, "新增 - ");
|
||||
string window = String.Format("PMIDelegationEdit.aspx", string.Empty, "新增 - ") ;
|
||||
PageContext.RegisterStartupScript(Window1.GetSaveStateReference(this.PMIDelegationId)
|
||||
+ Window1.GetShowReference(window));
|
||||
}
|
||||
@@ -302,7 +302,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||
var trustManage = Funs.DB.PMI_Delegation.FirstOrDefault (t=>t.Id==this.PMIDelegationId);
|
||||
if (trustManage != null)
|
||||
{
|
||||
string window = String.Format("HotProessTrustEdit.aspx?HotProessTrustId={0}", this.PMIDelegationId, "编辑 - ");
|
||||
string window = String.Format("PMIDelegationEdit.aspx?PMIDelegationId={0}", this.PMIDelegationId, "编辑 - ");
|
||||
PageContext.RegisterStartupScript(Window1.GetSaveStateReference(this.PMIDelegationId)
|
||||
+ Window1.GetShowReference(window));
|
||||
}
|
||||
@@ -382,23 +382,6 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region 右键编辑
|
||||
/// <summary>
|
||||
/// 热处理报告
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuHotProessReport_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.HotProessTrustMenuId, Const.BtnSave))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PMIDelegationEdit.aspx?Id={0}", this.Grid1.SelectedRowID, "编辑PMI处理报告 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(Resources.Lan.NoPrivilegePrompt, MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user