@using Bowin.Web.Controls.Mvc; @using EMISOnline.Entities; @using EMISOnline.Web.Controls; @{ ViewBag.Title = "List"; }
@Html.Position()
查询条件
  • 试卷名称:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Campus/CampusDropdownListBanid"), ID = "CampusDropdown", Name = "CampusDropdown", OnSelect = "queryCollege" }, new Dictionary { { "data-condition", "dgList" } })
  • 是否有效:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListBanid"), ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
  • 创建日期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Classmajor/BindDropdownList"), ID = "ClassmajorDropdown", Name = "ClassmajorDropdown", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
  • @Html.Button(new ButtonOptions() { ID = "btnSearch", Text = "查 询" }) @Html.Button(new ButtonOptions() { ID = "btnAdd", Text = "组卷" })
试卷信息
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"}, new LinkButtonColumn { FieldName="PaperName", HeaderText="试卷名称", Align=AlignStyle.Center,Handle="view" }, new BoundFieldColumn { FieldName="paper_score", HeaderText="试卷分数", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="created_by", HeaderText="创建人", Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="created_date", HeaderText="创建日期", Align=AlignStyle.Center, Formatter= Formatter.OnlyYearMonthDay }, new BoundFieldColumn { FieldName="is_dynamic", HeaderText="试卷类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="isEnable", HeaderText="是否有效", Align=AlignStyle.Center }, new LinkButtonColumn { HeaderText="操作", Align=AlignStyle.Center , Text="编辑", Handle="edit" }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/PaperSetting/List"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsVerticalExpand = true, IsAutoHeight = false, })
@section scripts{ }