提交代码

This commit is contained in:
2024-12-24 19:04:32 +08:00
parent 2e3c34c38c
commit 189a020cc7
78 changed files with 9689 additions and 2214 deletions
@@ -78,6 +78,14 @@ namespace FineUIPro.Web.ProjectData
strSql += " AND ProjectName LIKE @ProjectName";
listStr.Add(new SqlParameter("@ProjectName", "%" + this.txtProjectName.Text.Trim() + "%"));
}
if (this.ckMaster.SelectedValue == "0")
{
strSql += " AND MasterSysId IS NULL ";
}
else if (this.ckMaster.SelectedValue == "1")
{
strSql += " AND MasterSysId IS NOT NULL ";
}
if (this.ckState.SelectedValue != "0")
{
@@ -310,6 +318,7 @@ namespace FineUIPro.Web.ProjectData
{
if (buttonList.Contains(BLL.Const.BtnAdd))
{
btnUpdata.Hidden = false;
this.btnNew.Hidden = false;
}
if (buttonList.Contains(BLL.Const.BtnModify) || buttonList.Contains(BLL.Const.BtnSave))
@@ -493,5 +502,23 @@ 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
}
}