提交代码
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user