This commit is contained in:
parent
afac07b31f
commit
1889550f5e
|
|
@ -147,7 +147,7 @@ namespace FineUIPro.Web.Welder
|
||||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.Welder_WelderMenuId, Const.BtnAdd))
|
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.Welder_WelderMenuId, Const.BtnSync))
|
||||||
{
|
{
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../common/WelderManage/WelderSave.aspx?WED_ID={0}", Grid1.SelectedRowID, "维护 - ")));
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../common/WelderManage/WelderSave.aspx?WED_ID={0}", Grid1.SelectedRowID, "维护 - ")));
|
||||||
}
|
}
|
||||||
|
|
@ -814,7 +814,7 @@ namespace FineUIPro.Web.Welder
|
||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
protected void btnNew_Click(object sender, EventArgs e)
|
protected void btnNew_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.Welder_WelderMenuId, Const.BtnAdd))
|
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.Welder_WelderMenuId, Const.BtnSync))
|
||||||
{
|
{
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../common/WelderManage/WelderSave.aspx?WED_ID={0}", String.Empty, "新增 - ")));
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../common/WelderManage/WelderSave.aspx?WED_ID={0}", String.Empty, "新增 - ")));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue