@model EMISOnline.ViewModel.ExamView.OnlineTestView @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.onlinetest_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, })
@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, Data = Model.ExecutablePlanData })
@Html.LabelFor(x => x.test_name): @Html.TextBoxFor(x => x.test_name, new Dictionary { { "style", "width:80%" } })
@Html.LabelFor(x => x.test_method_set_id): @Html.RadioButtonFor(model => model.test_method_set_id, 1, new { @id = "radio1", @value = "1", @name = "test_method_set_id" }) @Html.RadioButtonFor(model => model.test_method_set_id, 0, new { @id = "radio2", @value = "0", @checked = "checked", @name = "test_method_set_id" }) @Html.LabelFor(x => x.rand_test_point_type): @Html.RadioButtonFor(model => model.rand_test_point_type, 1, new { @id = "radio1", @value = "1", @name = "rand_test_point_type" }) @Html.RadioButtonFor(model => model.rand_test_point_type, 0, new { @id = "radio2", @value = "0", @checked = "checked", @name = "rand_test_point_type" })
@Html.LabelFor(x => x.ISautoBegin): @Html.RadioButtonFor(model => model.ISautoBegin, "True", new { @id = "radio1", @value = "True", @name = "ISautoBegin" }) @Html.RadioButtonFor(model => model.ISautoBegin, "False", new { @id = "radio2", @value = "False", @checked = "checked", @name = "ISautoBegin" }) @Html.LabelFor(x => x.isReadPaper): @Html.RadioButtonFor(model => model.isReadPaper, "True", new { @value = "True", @name = "isReadPaper" }) @Html.RadioButtonFor(model => model.isReadPaper, "False", new { @value = "False", @checked = "checked", @name = "isReadPaper" })
@Html.LabelFor(x => x.notice_datetime): @Html.TextBoxFor(model => model.notice_datetime, new TextBoxOptions() { TextBoxType = TextBoxType.DateTime }) @Html.LabelFor(x => x.PassRate): @Html.TextBoxFor(model => model.PassRate, new TextBoxOptions() { TextBoxType = TextBoxType.Normal })
@Html.LabelFor(x => x.isControllable): @Html.RadioButtonFor(model => model.isControllable, "True", new { @value = "True", @checked = "checked", @name = "isControllable" }) @Html.RadioButtonFor(model => model.isControllable, "False", new { @value = "False", @name = "isControllable" }) @Html.LabelFor(x => x.isPublishScore): @Html.RadioButtonFor(model => model.isPublishScore, "True", new { @value = "True", @name = "isPublishScore" }) @Html.RadioButtonFor(model => model.isPublishScore, "False", new { @value = "False", @checked = "checked", @name = "isPublishScore" })
@Html.LabelFor(x => x.isOpenAnswer): @Html.RadioButtonFor(model => model.isOpenAnswer, "True", new { @value = "True", @name = "isOpenAnswer" }) @Html.RadioButtonFor(model => model.isOpenAnswer, "False", new { @value = "False", @checked = "checked", @name = "isOpenAnswer" }) @Html.LabelFor(x => x.relogin_count): @Html.TextBoxFor(model => model.relogin_count, new TextBoxOptions() { TextBoxType = TextBoxType.Normal })
@Html.LabelFor(x => x.breaking_id): @Html.RadioButtonFor(model => model.breaking_id, 1, new { @value = "1", @checked = "checked", @name = "breaking_id" }) @Html.RadioButtonFor(model => model.breaking_id, 2, new { @value = "2", @name = "breaking_id" }) @Html.RadioButtonFor(model => model.breaking_id, 3, new { @value = "3", @name = "breaking_id" }) @Html.RadioButtonFor(model => model.breaking_id, 4, new { @value = "4", @name = "breaking_id" })
@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 })
@Html.LabelFor(x => x.limited_minutes): @Html.TextBoxFor(model => model.limited_minutes, new TextBoxOptions() { TextBoxType = TextBoxType.Normal })
}
@section scripts{ }