@model EMISOnline.ViewModel.Coursework.CourseworkAddView @using EMISOnline.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "ExamAdd"; }
@Html.Position()
作业信息
@Html.Button(new ButtonOptions() { ID = "btnSave", Text = "保 存" })
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete", })) { @Html.HiddenFor(x => x.id)
@Html.LabelFor(x => x.test_paper_name): @Html.Selector(new Bowin.Web.Controls.Mvc.SelectorOptions { ID = "test_paper_name", Name = "test_paper_id", IsSingleSelect = true, QueryParams = "id:1", DataUrl = Url.Content("~/ExamSetting/GetPaperList"), TextName = "test_paper_name", Title = "试卷列表", Colums = "Key:ID,试卷名称:PaperName:200:query,是否动态试卷:is_dynamic:100,试卷总分:paper_score:100,创建时间:created_date:100", DataValue = "test_paper_id", DataText = "PaperName", Width = 500, Required = true, Data = Model.PaperData })
@Html.LabelFor(x => x.EducationMissionClassID): @Html.Selector(new Bowin.Web.Controls.Mvc.SelectorOptions { ID = "EducationMissionClassName", Name = "EducationMissionClassID", IsSingleSelect = true, QueryParams = "EducationMissionClassID:1", DataUrl = Url.Content("~/Grademajor/GetEducationMissionClassList"), TextName = "Name", Title = "教学任务列表", Colums = "Key:EducationMissionClassID,任务班名:Name:400:query,学年学期:SchoolyearName:100,课程名称:CoursematerialName:200", DataValue = "EducationMissionClassID", DataText = "CoursematerialName", Width = 500, Required = true, })
@Html.LabelFor(x => x.WorkName): @Html.TextBoxFor(x => x.WorkName, new Dictionary { { "style", "width:80%" } })
@Html.LabelFor(x => x.ModityContent): @Html.TextAreaFor(x => x.ModityContent, new Dictionary() { { "style", "width:80%" } })
@Html.LabelFor(x => x.examtip): @Html.TextBoxFor(model => model.test_begin_date, new TextBoxOptions() { TextBoxType = TextBoxType.DateTime }) 至 @Html.TextBoxFor(model => model.test_end_date, new TextBoxOptions() { TextBoxType = TextBoxType.DateTime })
}
@section scripts{ }