diff --git a/HJGL_DS/FineUIPro.Web/Welder/WelderManage.aspx.cs b/HJGL_DS/FineUIPro.Web/Welder/WelderManage.aspx.cs index a681363..93db372 100644 --- a/HJGL_DS/FineUIPro.Web/Welder/WelderManage.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/Welder/WelderManage.aspx.cs @@ -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 /// 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, "新增 - "))); }