/******************************************************************************* * Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential * 类的信息: * 1.程序名称:F_PAM_0504.cs * 2.功能描述:行政考核审核 * 编辑履历: * 作者 日期 版本 修改内容 * 张国印 2014/09/25 1.00 新建 *******************************************************************************/ using System; using Dongke.IBOSS.PRD.Basics.BaseControls; using Dongke.IBOSS.PRD.Basics.BaseResources; using Dongke.IBOSS.PRD.Client.CommonModule; using Dongke.IBOSS.PRD.Client.Controls; using Dongke.IBOSS.PRD.WCF.DataModels; using Dongke.IBOSS.PRD.WCF.Proxys; namespace Dongke.IBOSS.PRD.Client.HRModule { /// /// 行政奖惩新建/编辑 /// public partial class F_PAM_0504 : DKFormBase { #region 成员变量 private string ids = null; #endregion #region 构造函数 /// /// 构造函数 /// /// /// public F_PAM_0504(string ids) { InitializeComponent(); this.ids = ids; } #endregion #region 属性 #endregion #region 事件 /// /// 保存按钮 /// /// /// private void btnSave_Click(object sender, EventArgs e) { try { Constant.AuditStatus AuditStatus = Constant.AuditStatus.Agree; if (rbt2.Checked) { AuditStatus = Constant.AuditStatus.Disagree; } ServiceResultEntity sre = DoAsync(() => { return PAMModuleProxy.Service.AuditAdminEXA(ids, AuditStatus); } ); if (sre.Status == Constant.ServiceResultStatus.Success) { DKMessageBox.ShowDialog(this, DKMessageCode.I_CMN_S_002); } //else //{ // DKMessageBox.ShowDialog(this, DKMessageCode.W_CMN_S_004, "数据已被修改"); //} this.Close(); } catch (Exception ex) { // 对异常进行共通处理 ExceptionManager.HandleEventException(this.ToString(), System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex); } } #endregion private void btnCancel_Click(object sender, EventArgs e) { this.Close(); } #region 私有方法 #endregion } }