diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs index 5ba1f16f..5f034cb8 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs @@ -2603,13 +2603,13 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1 AND C.Status = A.Status"; header.Add(obj); } - obj = new(); - obj.Add(new JProperty("title", "评价")); - obj.Add(new JProperty("field", "EvaluateContent")); - obj.Add(new JProperty("align", "center")); - obj.Add(new JProperty("width", 120)); - obj.Add(new JProperty("fixed", null)); - header.Add(obj); + //obj = new(); + //obj.Add(new JProperty("title", "评价")); + //obj.Add(new JProperty("field", "EvaluateContent")); + //obj.Add(new JProperty("align", "center")); + //obj.Add(new JProperty("width", 120)); + //obj.Add(new JProperty("fixed", null)); + //header.Add(obj); result.Header = header; #endregion @@ -2630,9 +2630,52 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1 AND C.Status = A.Status"; obj.Add(new JProperty("Score" + (i + 1), null)); obj.Add(new JProperty("CanEdit" + (i + 1), null)); } - obj.Add(new JProperty("EvaluateContent", null)); + //obj.Add(new JProperty("EvaluateContent", null)); body.Add(obj); }); + + obj = new(); + obj.Add(new JProperty("Type1", "TotalScore")); + obj.Add(new JProperty("Type1Text", "总分")); + obj.Add(new JProperty("Type2", null)); + obj.Add(new JProperty("Type2Text", null)); + + for (int i = 0; i < records.Count; i++) + { + var record = records[i]; + obj.Add(new JProperty("Score" + (i + 1), null)); + obj.Add(new JProperty("CanEdit" + (i + 1), null)); + } + body.Add(obj); + + obj = new(); + obj.Add(new JProperty("Type1", "EvaluateContent")); + obj.Add(new JProperty("Type1Text", "总体评价")); + obj.Add(new JProperty("Type2", null)); + obj.Add(new JProperty("Type2Text", null)); + + for (int i = 0; i < records.Count; i++) + { + var record = records[i]; + obj.Add(new JProperty("Score" + (i + 1), null)); + obj.Add(new JProperty("CanEdit" + (i + 1), null)); + } + body.Add(obj); + + obj = new(); + obj.Add(new JProperty("Type1", "IsPass")); + obj.Add(new JProperty("Type1Text", "面试结果")); + obj.Add(new JProperty("Type2", null)); + obj.Add(new JProperty("Type2Text", null)); + + for (int i = 0; i < records.Count; i++) + { + var record = records[i]; + obj.Add(new JProperty("Score" + (i + 1), null)); + obj.Add(new JProperty("CanEdit" + (i + 1), null)); + } + body.Add(obj); + result.Body = body; #endregion diff --git a/Tiobon.Core/Tiobon.Core.xml b/Tiobon.Core/Tiobon.Core.xml index c4babebd..7eaf1c28 100644 --- a/Tiobon.Core/Tiobon.Core.xml +++ b/Tiobon.Core/Tiobon.Core.xml @@ -1508,6 +1508,13 @@ 简历ID + + + 获取安排面试表单信息 + + 简历ID + + 教育背景(Controller)