@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="test_paper_name", HeaderText="试卷名称", Align=AlignStyle.Center,Handle="edit" }, new BoundFieldColumn { FieldName="WorkName", HeaderText="作业名称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="test_begin_date", HeaderText="开始时间", Align=AlignStyle.Center, Formatter= Formatter.OnlyYearMonthDay}, new BoundFieldColumn { FieldName="test_end_date", HeaderText="结束时间", Align=AlignStyle.Center , Formatter= Formatter.OnlyYearMonthDay }, new BoundFieldColumn { FieldName="status", HeaderText="作业状态", Align=AlignStyle.Center }, new LinkButtonColumn { HeaderText="操作", Align=AlignStyle.Center, Text="进入作业", Handle="edit"}, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/MyCoursework/List"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsVerticalExpand = true, IsAutoHeight = false, })
@section scripts{ }