@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="WorkName", HeaderText="作业名称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="username", HeaderText="学生名字", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="test_end_date", HeaderText="完成时间", Align=AlignStyle.Center , Formatter= Formatter.OnlyYearMonthDay }, new BoundFieldColumn { FieldName="score", HeaderText="分数", Align=AlignStyle.Center }, new LinkButtonColumn { HeaderText="操作", Align=AlignStyle.Center, Text="查看作业", Handle="edit"}, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Coursework/ReviewList?workid=" + ViewBag.workid), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsVerticalExpand = true, IsAutoHeight = false, })
@section scripts{ }