提交代码

This commit is contained in:
2024-11-12 15:33:53 +08:00
parent 2ebb6b5c24
commit 87e1403783
15 changed files with 725 additions and 170 deletions
@@ -255,6 +255,7 @@ namespace FineUIPro.Web.ProjectData
if (buttonList.Contains(BLL.Const.BtnAdd))
{
this.btnNew.Hidden = false;
this.btnUpdata.Hidden = false;
}
if (buttonList.Contains(BLL.Const.BtnModify) || buttonList.Contains(BLL.Const.BtnSave))
{
@@ -442,5 +443,22 @@ namespace FineUIPro.Web.ProjectData
}
}
#region
protected void btnPush_Click(object sender, EventArgs e)
{
string code = CNCECHSSEWebService.PushProject();
if (code == "1")
{
ShowNotify("同步成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
return;
}
else
{
Alert.ShowInParent("同步异常,请退出后重试!", MessageBoxIcon.Error);
}
}
#endregion
}
}