@using Bowin.Web.Controls.Mvc; @using EMISOnline.Entities; @using EMISOnline.Web.Controls; @{ ViewBag.Title = "List"; }
@Html.Position()
@Html.Tree(new TreeOptions { ID = "ulTree", ItemSourceUrl = Url.Content("~/PaperSetting/ListQuesLibTree"), CssClass = "m_video_tree", }, null)
查询条件
@Html.Hidden("libaryid")
  • 试题类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SubjectMgr/GetQuestionType?isEmpty=true"), TextField = "Name", ValueField = "base_question_type_id", ID = "QuestionType", Name = "QuestionType" }, new Dictionary { { "data-condition", "dgList" } })
  • 采用频次:
  • @Html.TextBox(new TextBoxOptions() { ID = "UsedCountFrom" }, new Dictionary { { "style", "width:80px" } }) 至 @Html.TextBox(new TextBoxOptions() { ID = "UsedCountTo" }, new Dictionary { { "style", "width:80px" } })
  • @Html.Button(new ButtonOptions() { ID = "btnSearch", Text = "查 询" }) @Html.Button(new ButtonOptions() { ID = "btnAdd", Text = "新增" }) @Html.Button(new ButtonOptions() { ID = "btnDel", Text = "删除" })
  • 试题内容:
  • @Html.TextBox("Content")
  • 难度系数:
  • @Html.TextBox(new TextBoxOptions() { ID = "DifficultyFrom" }, new Dictionary { { "style", "width:80px" } }) 至 @Html.TextBox(new TextBoxOptions() { ID = "DifficultyTo" }, new Dictionary { { "style", "width:80px" } })
  • 试题状态:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Campus/CampusDropdownListBanid"), ID = "IsValid", Name = "IsValid" }, new Dictionary { { "data-condition", "dgList" } })
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"}, new LinkButtonColumn { FieldName="content", HeaderText="题干内容", Align=AlignStyle.Center,Handle="view" , Width=400 }, new BoundFieldColumn { FieldName="base_question_type_name", HeaderText="试题类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="difficulty_degree", HeaderText="难度", Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="used_count", HeaderText="采用频次", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="test_question_libary_name", HeaderText="题库", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="isEnable", HeaderText="是否有效", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="created_date", HeaderText="创建日期", Align=AlignStyle.Center, Formatter= Formatter.OnlyYearMonthDay }, new LinkButtonColumn { HeaderText="操作", Align=AlignStyle.Center , Text="编辑", Handle="edit" }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/SubjectMgr/List"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsVerticalExpand = true, IsAutoHeight = false, })
@section scripts{ }