@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions collegeOption = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", Name = "cbgCollege", ID = "cbgCollege", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } }, OnLoadSuccessFun = "reload", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(collegeOption, new Dictionary { { "data-condition", "dgSatisfyRateList" } })
  • 参评类型:
  • @Html.DropdownList(new DropdownListOptions { ID = "ddlEvaluationType", Name = "ddlEvaluationType", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgSatisfyRateList" } })
  • 教师类型:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_TeacherType, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlTeacherType", Name = "ddlTeacherType", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgSatisfyRateList" } })
满意率列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID" }, new BoundFieldColumn { FieldName="LoginID", HeaderText="教师工号", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="教师姓名", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TeacherTypeDesc", HeaderText="教师类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeName", HeaderText="所在教学点", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="SatisfyRate", HeaderText="满意率", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/SatisfyRateReport/List"), ID = "dgSatisfyRateList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })