集团主数据在建项目数据分析
This commit is contained in:
@@ -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>
|
||||
/// 绑定数据
|
||||
|
||||
Reference in New Issue
Block a user