Exemplo n.º 1
0
 protected void grv_specical_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     //确认审核
     if (e.CommandName == "Audited")
     {
         PolicyManageService.AuditSpecialPolicy(this.CurrentUser.UserName, Guid.Parse(e.CommandArgument.ToString()));
         QuerySpecialPolicy(grv_special.PageIndex + 1);
     }
     //取消审核
     if (e.CommandName == "UnAudited")
     {
         PolicyManageService.CancelAuditSpecialPolicy(this.CurrentUser.UserName, Guid.Parse(e.CommandArgument.ToString()));
         QuerySpecialPolicy(grv_special.PageIndex + 1);
     }
 }
Exemplo n.º 2
0
 protected void btnUnTongGuo_Click(object sender, EventArgs e)
 {
     PolicyManageService.CancelAuditSpecialPolicy(this.CurrentUser.UserName, Guid.Parse(hidIds.Value));
     Response.Redirect("./special_policy_manage.aspx");
 }