@model EMISOnline.ViewModel.ExamView.PaperAddView @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.Hidden("LibarysString") @Html.Hidden("QuestionTypeString")
@Html.LabelFor(x => x.templateid): @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.PageName): @Html.TextBoxFor(x => x.PageName, new Dictionary { { "style", "width:80%" } })
@Html.LabelFor(x => x.QuesLib): 选择
@Html.LabelFor(x => x.ErrRate): @Html.TextBoxFor(model => model.ErrRate, new TextBoxOptions() { TextBoxType = TextBoxType.Normal })
@Html.LabelFor(x => x.UseFBeg): @Html.TextBoxFor(model => model.UseFBeg, new TextBoxOptions() { TextBoxType = TextBoxType.Normal }) 至 @Html.TextBoxFor(model => model.UseFEnd, new TextBoxOptions() { TextBoxType = TextBoxType.Normal })
@Html.LabelFor(x => x.QuesLevelBeg): @Html.TextBoxFor(model => model.QuesLevelBeg, new TextBoxOptions() { TextBoxType = TextBoxType.Normal }) 至 @Html.TextBoxFor(model => model.QuesLevelEnd, new TextBoxOptions() { TextBoxType = TextBoxType.Normal })
@Html.LabelFor(x => x.QuesFCount): @Html.CheckBoxFor(model => model.QuesFCount, new { @value = "True", }) @Html.CheckBoxFor(model => model.QuesUpdateTime, new { @value = "False", @checked = "checked", })
@Html.LabelFor(x => x.PageType): @Html.RadioButtonFor(model => model.PageType, "0", new { @value = "0", @name = "isOpenAnswer" }) @Html.RadioButtonFor(model => model.PageType, "1", new { @value = "1", @checked = "checked", @name = "isOpenAnswer" })
@Html.LabelFor(x => x.QuesType):
试题类型 取题数 可取题数 分值
@Html.LabelFor(x => x.IsEnable): @Html.RadioButtonFor(model => model.IsEnable, "1", new { @value = "1", @name = "isOpenAnswer" }) @Html.RadioButtonFor(model => model.IsEnable, "0", new { @value = "0", @checked = "checked", @name = "isOpenAnswer" })
}
@section scripts{ }