Commit bb8e1068 authored by 黄奎's avatar 黄奎

页面修改

parent 6656d33c
...@@ -30,6 +30,11 @@ namespace Edu.Model.ViewModel.Exam ...@@ -30,6 +30,11 @@ namespace Edu.Model.ViewModel.Exam
/// </summary> /// </summary>
public string DifficultyTypeName { get; set; } public string DifficultyTypeName { get; set; }
/// <summary>
/// 创建人
/// </summary>
public int CreateBy { get; set; }
/// <summary> /// <summary>
/// 创建人 /// 创建人
/// </summary> /// </summary>
......
...@@ -127,6 +127,7 @@ namespace Edu.Module.Exam ...@@ -127,6 +127,7 @@ namespace Edu.Module.Exam
QuestionBandIds = item.QuestionBandIds, QuestionBandIds = item.QuestionBandIds,
DifficultyTypeName = item.DifficultyType.ToName(), DifficultyTypeName = item.DifficultyType.ToName(),
CreateTimeStr = Common.ConvertHelper.FormatTime(item.CreateTime), CreateTimeStr = Common.ConvertHelper.FormatTime(item.CreateTime),
CreateBy=item.CreateBy,
CreateByName = UserReidsCache.GetUserLoginInfo(item.CreateBy)?.AccountName ?? "", CreateByName = UserReidsCache.GetUserLoginInfo(item.CreateBy)?.AccountName ?? "",
PublishCount = item.PublishCount, PublishCount = item.PublishCount,
GenerateType = item.GenerateType, GenerateType = item.GenerateType,
......
...@@ -72,6 +72,7 @@ namespace Edu.WebApi.Controllers.Exam ...@@ -72,6 +72,7 @@ namespace Edu.WebApi.Controllers.Exam
item.PaperId, item.PaperId,
item.PaperName, item.PaperName,
item.CreateTimeStr, item.CreateTimeStr,
item.CreateBy,
item.CreateByName, item.CreateByName,
item.PublishCount, item.PublishCount,
item.QuestionCount, item.QuestionCount,
......
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