集团主数据在建项目数据分析

This commit is contained in:
2026-06-10 21:07:27 +08:00
parent 855eec9965
commit ea1acf5f93
27 changed files with 2917 additions and 78 deletions
@@ -40,6 +40,8 @@
<Items>
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取督查检查整改" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
</f:Button>
<f:Button ID="btnRevoke" Icon="ArrowUndo" ConfirmText="确定撤回当前整改?" OnClick="btnRevoke_Click" Text="撤回" Hidden="true" runat="server">
</f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp" Text="导出"
EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>
@@ -18,6 +18,10 @@ namespace FineUIPro.Web.DCGL.ServerCheck
{
if (!IsPostBack)
{
if (this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.sysglyId)
{//管理员有权限驳回
this.btnRevoke.Hidden = false;
}
getCheck();
proType = Request.Params["proType"] ?? string.Empty;
this.GetButtonPower();
@@ -27,6 +31,28 @@ namespace FineUIPro.Web.DCGL.ServerCheck
BindGrid();
}
}
protected void btnRevoke_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length > 0)
{
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
{
string itemId = Grid1.DataKeys[rowIndex][0].ToString();
var item = BLL.DCGLCheckRectifyService.GetCheckRectifyByCheckRectifyId(itemId);
if (item != null)
{
BLL.DCGLCheckRectifyService.RevokeByRectifyId(itemId);
}
}
BindGrid();
ShowNotify("操作成功!", MessageBoxIcon.Success);
}
else
{
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
return;
}
}
/// <summary>
/// 绑定数据
@@ -68,6 +68,15 @@ namespace FineUIPro.Web.DCGL.ServerCheck
/// </remarks>
protected global::FineUIPro.Button btnGet;
/// <summary>
/// btnRevoke 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnRevoke;
/// <summary>
/// btnOut 控件。
/// </summary>