public void Copy() { string key = Request["key"]; this.AssertNoNull(key); var vm = FHRIS424Service.Copy(key, out this.GUID); }
public void View() { string key = Request["key"]; if (!key.IsNullOrEmpty()) { var vm = FHRIS424Service.Get(key, out this.GUID); return; } }
public void Edit() { string key = Request["key"]; this.AssertNoNull(key); var vm = FHRIS424Service.Get(key, out this.GUID); try { // 编辑时加锁 GlobalService.SetLock(vm.RID, 2); } catch (Exception ex) { this.FlashMessage += ex.Message; this.Action = "VIEW"; throw ex; } }
/// <summary> /// 根据工号获取组织组织代码 /// </summary> /// <returns></returns> private string GetorganizationLevelEmp_No() { return(FHRIS424Service.GetorganizationLevelEmp_No(this._ctx)); }
/// <summary> /// 获取员工号 /// </summary> /// <returns></returns> private string GetEmp_NoData() { return(FHRIS424Service.GetEmpInfoByEmp_No(this._ctx)); }
/// <summary> /// 获取组织架构的树 /// </summary> /// <returns></returns> private string GetTreeData() { return(FHRIS424Service.GetSectTreeData(this._ctx)); }
public void Create() { var vm = FHRIS424Service.Get("", out this.GUID); }