@model EMISOnline.ViewModel.ExamView.QuestionSettingView @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("question_provid_answer") @Html.Hidden("ipt_entry") @Html.Hidden("txt_libary") @Html.HiddenFor(x=>x.test_question_Id)
@Html.LabelFor(x => x.base_question_type_id): @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SubjectMgr/GetQuestionType"), SelectedValue=Model.base_question_type_id, OnChange = "showQuestionOption", TextField = "Name", ValueField = "base_question_type_id", ID = "QuestionType", Name = "QuestionType" }, new Dictionary { { "data-condition", "dgList" } })
@Html.LabelFor(x => x.content): 填写答案的地方请用“【__________】”表示(限字数为1000) @Html.TextAreaFor(x => x.content, new Dictionary { { "style", "width:80%" } })
@Html.LabelFor(x => x.question_file_id): 选择
@Html.LabelFor(x => x.answers):
@Html.LabelFor(x => x.difficulty_degree): @Html.DropdownListFor(q => q.difficulty_degree, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SubjectMgr/GetDrpDifficulty"), TextField = "name", ValueField = "name", ID = "difficulty_degree", Name = "difficulty_degree" }, new Dictionary { { "data-condition", "dgList" } })
@Html.LabelFor(x => x.score): @Html.TextBoxFor(model => model.score, new TextBoxOptions() { TextBoxType = TextBoxType.Normal })
@Html.LabelFor(x => x.is_vaild): @Html.RadioButtonFor(model => model.is_vaild, "true", new { @value = "true", @checked = "checked", }) @Html.RadioButtonFor(model => model.is_vaild, "false", new { @value = "false", })
@Html.LabelFor(x => x.note): @Html.TextAreaFor(x => x.note, new Dictionary { { "style", "width:80%" } })
}
上传 删除
上传 删除
上传 删除
@section scripts{ }