@model EMIS.ViewModel.Students.StudentRecordView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; var CurseGrade = (IList)ViewBag.CurseGrade; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) { @Html.Position()
学生详细信息
@Html.ContextMenuBar("Edit")
@Html.HiddenFor(x => x.UserID)
报名注意事项:如果下述显示信息和自己的真实信息不符,请退出重新登录,或报告管理教师!(请同学们认真检查证件号码是否正确!)
@Html.LabelFor(x => x.UserName): @Model.UserName @Html.LabelFor(x => x.SexID): @Html.DictionaryItemName(Model.SexID, "CF_Sex")
@Html.LabelFor(x => x.CollegeName): @Model.CollegeName @Html.LabelFor(x => x.GradeName): @Model.GradeName
@Html.LabelFor(x => x.ClassName): @Model.ClassName @Html.LabelFor(x => x.CertificatesType): @Html.DictionaryItemName(Model.CertificatesType, "CF_CertificatesType")
@Html.LabelFor(x => x.IDNumber): @Model.IDNumber @Html.LabelFor(x => x.LoginID): @Model.LoginID
考试科目列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationSubjectID", Width=0.01 , ColumnID="true" , CustomFormatFun="" }, new BoundFieldColumn { FieldName="IsRister", HeaderText="是否已报考", Align=AlignStyle.Center, Width=0.08, IsHidden=true }, new BoundFieldColumn { FieldName="IsRisterName", HeaderText="是否已报考", Align=AlignStyle.Center, Width=0.08, IsHidden=true }, new BoundFieldColumn { FieldName="Name", HeaderText="考试科目", Align=AlignStyle.Center, OverflowLength=14, Width=0.12 }, new BoundFieldColumn { FieldName="StartDate", HeaderText="开始报名日期", Align=AlignStyle.Center, Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.12 }, new BoundFieldColumn { FieldName="EndDate", HeaderText="截止报名日期", Align=AlignStyle.Center , Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.12 }, new BoundFieldColumn { FieldName="ExaminationDate", HeaderText="考试日期", Align=AlignStyle.Center , Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.12 }, new BoundFieldColumn { FieldName="PeopleNumLimit", HeaderText="最大可报人数", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="RegisterNum", HeaderText="已选人数", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="BKCS", HeaderText="报考次数", Align=AlignStyle.Center, Width=0.06,IsHidden=true }, new BoundFieldColumn { FieldName="Cost", HeaderText="收费", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="Remark", HeaderText="报考要求", Align=AlignStyle.Center, Width=0.08 }, }, CustomerRowStyleFun = "", //CustomerRowStyleFun = "CheckIsRister1", //OnLoadSuccessFun = "CheckIsRister1", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExamineApply/GetExaminationSubjectList"), ID = "dgCourseScheduleSettingList", IsPagination = false, IsShowRowNumbers = true, IsSingleSelect = false })
已报名考试科目列表
@Html.ContextMenuBar("List2")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationRegistrationID" }, new BoundFieldColumn { FieldName="Name", HeaderText="考试科目", Align=AlignStyle.Center, Width=0.11 }, new BoundFieldColumn { FieldName="SchoolYearCode", HeaderText="报名学年学期", Align=AlignStyle.Center, Width=0.10 }, new BoundFieldColumn { FieldName="ExaminationSchoolYearCode", HeaderText="考试学年学期", Align=AlignStyle.Center, Width=0.10 }, //new BoundFieldColumn { FieldName="StartDate", HeaderText="开始报名日期", Align=AlignStyle.Center, Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.10 }, //new BoundFieldColumn { FieldName="EndDate", HeaderText="截止报名日期", Align=AlignStyle.Center , Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.10 }, //new BoundFieldColumn { FieldName="ExaminationDate", HeaderText="考试日期", Align=AlignStyle.Center , Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.10 }, new BoundFieldColumn { FieldName="CertificatesType", HeaderText="证件类型", Align=AlignStyle.Center, Width=0.09 }, new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号", Align=AlignStyle.Center, Width=0.15 }, new BoundFieldColumn { FieldName="Cost", HeaderText="收费", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="Remark", HeaderText="报考要求", Align=AlignStyle.Center, Width=0.05 }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExamineApply/GetExaminationRegisterList"), ID = "dgUserGrade", IsPagination = false, IsShowRowNumbers = true, IsSingleSelect = false })
}