| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /*******************************************************************************
- * 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
- {
- /// <summary>
- /// 行政奖惩新建/编辑
- /// </summary>
- public partial class F_PAM_0504 : DKFormBase
- {
- #region 成员变量
- private string ids = null;
- #endregion
- #region 构造函数
- /// <summary>
- /// 构造函数
- /// </summary>
- /// <param name="editStatus"></param>
- /// <param name="pRapID"></param>
- public F_PAM_0504(string ids)
- {
- InitializeComponent();
- this.ids = ids;
- }
- #endregion
- #region 属性
- #endregion
- #region 事件
- /// <summary>
- /// 保存按钮
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- 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<ServiceResultEntity>(() =>
- {
- 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
- }
- }
|