This commit is contained in:
高飞 2025-11-06 11:21:55 +08:00
parent afac07b31f
commit 1889550f5e
1 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ namespace FineUIPro.Web.Welder
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
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, "维护 - ")));
}
@ -814,7 +814,7 @@ namespace FineUIPro.Web.Welder
/// <param name="e"></param>
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, "新增 - ")));
}