Commit 34d81ae3 authored by liudong1993's avatar liudong1993

OKR调整

parent 84a58e03
...@@ -18,5 +18,20 @@ namespace Edu.Model.ViewModel.OKR ...@@ -18,5 +18,20 @@ namespace Edu.Model.ViewModel.OKR
/// 关联部门/人员名称 /// 关联部门/人员名称
/// </summary> /// </summary>
public string RelationName { get; set; } public string RelationName { get; set; }
/// <summary>
/// 用户头像
/// </summary>
public string UserIcon { get; set; }
/// <summary>
/// 岗位名称
/// </summary>
public string PostName { get; set; }
/// <summary>
/// 部门名称
/// </summary>
public string DeptName { get; set; }
} }
} }
\ No newline at end of file
This diff is collapsed.
...@@ -1357,12 +1357,13 @@ namespace Edu.WebApi.Controllers.OKR ...@@ -1357,12 +1357,13 @@ namespace Edu.WebApi.Controllers.OKR
var userInfo = base.UserInfo; var userInfo = base.UserInfo;
var dmodel = JsonHelper.DeserializeObject<RB_OKR_Rule_ViewModel>(RequestParm.Msg.ToString()); var dmodel = JsonHelper.DeserializeObject<RB_OKR_Rule_ViewModel>(RequestParm.Msg.ToString());
dmodel.Group_Id = userInfo.Group_Id; dmodel.Group_Id = userInfo.Group_Id;
dmodel.Enable = 1;
var list = okrPeriodModule.GetOKRRuleDownLoadList(dmodel); var list = okrPeriodModule.GetOKRRuleDownLoadList(dmodel);
return ApiResult.Success("", list.Select(x => new return ApiResult.Success("", list.Select(x => new
{ {
x.Id, x.Id,
x.RuleName, x.RuleName,
x.Remark
})); }));
} }
...@@ -1538,7 +1539,10 @@ namespace Edu.WebApi.Controllers.OKR ...@@ -1538,7 +1539,10 @@ namespace Edu.WebApi.Controllers.OKR
x.Id, x.Id,
x.Type, x.Type,
x.RelationId, x.RelationId,
x.RelationName x.RelationName,
x.UserIcon,
x.PostName,
x.DeptName
})); }));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment