@page @model _2021_backend.Pages.Students.DetailsModel @{ ViewData["Title"] = "Details"; }

@Html.DisplayFor(model=> Model.Student.Name)

详细信息


@Html.DisplayNameFor(model => model.Student.Name)
@Html.DisplayFor(model => model.Student.Name)
@Html.DisplayNameFor(model => model.Student.Stuid)
@Html.DisplayFor(model => model.Student.Stuid)
@Html.DisplayNameFor(model => model.Student.Sex)
@Html.DisplayFor(model => model.Student.Sex)
@Html.DisplayNameFor(model => model.Student.Grade)
@Html.DisplayFor(model => model.Student.Grade)
@Html.DisplayNameFor(model => model.Student.Major)
@Html.DisplayFor(model => model.Student.Major)
@Html.DisplayNameFor(model => model.Student.Email)
@Html.DisplayFor(model => model.Student.Email)
@Html.DisplayNameFor(model => model.Student.Tel)
@Html.DisplayFor(model => model.Student.Tel)
@Html.DisplayNameFor(model => model.Student.Status)
@Html.DisplayFor(model => model.Student.Status)
@Html.DisplayNameFor(model => model.Student.RegisterTime)
@Html.DisplayFor(model => model.Student.RegisterTime)
此人的最终得分 : @Html.DisplayFor(model => model.Student.Score)
操作
给他打分

看看大家怎么说

@foreach (var cmt in Model.CurComments) { @{ var usr = Model.Context.Users.Find(cmt.Operator); } }
@Html.DisplayNameFor(model => model.CommentSample.Operator) @Html.DisplayNameFor(model => model.CommentSample.Content) @Html.DisplayNameFor(model => model.CommentSample.AddTime)
@Html.DisplayFor(model => usr.Name) @Html.DisplayFor(model => cmt.Content) @Html.DisplayFor(model => cmt.AddTime)

添加评论


场次

最终场次 : @{ if (Model.Interviewtime == null) {
尚未确定活动场次

} else {
@{ var val = Model.Interviewtime.Place + " " + Model.Interviewtime.Day.ToString("MM月dd日") + " " + Model.Interviewtime.BeginTime.ToString("hh:mm"); @Html.DisplayFor(model => val) }
} }

@for (int i = 0; i < Model.Student.Timelist.Count; i++) { var it = Model.Student.Timelist[i]; var dt = Model.Context.Sessions.Find(it); if (dt.Capacity > dt.Students.Count || dt.Students.Contains(Model.Student.Guid)) { } }
地点 日期 时间 总容量 剩余人数 操作
@{ @Html.DisplayFor(model => dt.Place) } @{ var s1 = dt.Day.ToString("MM-dd"); @Html.DisplayFor(model => s1) } @{ var s2 = dt.BeginTime.ToString("hh-mm"); @Html.DisplayFor(model => s2) } @{ var s4 = dt.Capacity.ToString(); @Html.DisplayFor(model => s4) } @{ var num = (dt.Capacity - dt.Students.Count()).ToString(); @Html.DisplayFor(model => num) }
场次详情

Ta的短信

@foreach (var msg in Model.Messages) { }
发送时间 短信类型 短信内容
@{ var str = msg.SendTime.ToString("MM-dd hh:mm:ss"); @Html.DisplayFor(it => str) } @{ var s = Enum.GetName(typeof(_2021_backend.Models.SMSType), msg.Type); @Html.DisplayFor(it=> s) } @{ string s2 = ""; foreach (var e in msg.Data) { if (!string.IsNullOrEmpty(e)) s2 += " " + e; } @Html.DisplayFor(it => s2) }

Ta的提交记录

@foreach (var item in Model.Student.Submissions) { var sub = Model.Context.Submissions.Find(item); }
@Html.DisplayNameFor(model => model.SubmissionSample.Name) @Html.DisplayNameFor(model => model.SubmissionSample.Stuid) @Html.DisplayNameFor(model => model.SubmissionSample.Sex) @Html.DisplayNameFor(model => model.SubmissionSample.Yard) @Html.DisplayNameFor(model => model.SubmissionSample.Grade) @Html.DisplayNameFor(model => model.SubmissionSample.Major) @Html.DisplayNameFor(model => model.SubmissionSample.Email) @Html.DisplayNameFor(model => model.SubmissionSample.Tel) @Html.DisplayNameFor(model => model.SubmissionSample.Address) @Html.DisplayNameFor(model => model.SubmissionSample.SubmitTime) Operation
@Html.DisplayFor(modelItem => sub.Name) @Html.DisplayFor(modelItem => sub.Stuid) @Html.DisplayFor(modelItem => sub.Sex) @Html.DisplayFor(modelItem => sub.Yard) @Html.DisplayFor(modelItem => sub.Grade) @Html.DisplayFor(modelItem => sub.Major) @Html.DisplayFor(modelItem => sub.Email) @Html.DisplayFor(modelItem => sub.Tel) @Html.DisplayFor(modelItem => sub.Address) @Html.DisplayFor(modelItem => sub.SubmitTime) Edit | Details
编辑信息 | 返回列表