督查人员代码合并

This commit is contained in:
2025-01-14 09:40:45 +08:00
parent 766b96b2ec
commit 330402c752
11 changed files with 320 additions and 455 deletions
@@ -327,5 +327,25 @@
{
BindGrid();
}
/// <summary>
/// 推送督查人员
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnPush_Click(object sender, EventArgs e)
{
string code = CNCECHSSEWebService.PushInspectionBrigadeUser().ToString();
if (code == "1")
{
ShowNotify("同步成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
return;
}
else
{
Alert.ShowInParent("同步异常,请退出后重试!", MessageBoxIcon.Error);
}
}
}
}