@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions cgopCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", ID = "cgCollege", Name = "cgCollege", OnSelect = "reloadStandard", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } }, OnLoadSuccessFun = "reloadStandard", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; ComboGridOptions cgopDepartment = new ComboGridOptions { TextField = "Name", ValueField = "DepartmentID", OnSelect = "QueryDepartmentComboGridList", Name = "DepartmentDropdown", ID = "DepartmentDropdown", GridOptions = new DataGridOptions { Columns = new List() { // new LinkButtonColumn { FieldName="No", HeaderText="教研室代码", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="教研室名称", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Department/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; ComboGridOptions cgopClassmajor = new ComboGridOptions { TextField = "Name", ValueField = "ClassmajorID", Name = "cgClassmajor", ID = "cgClassmajor", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center } }, OnLoadSuccessFun = "reload", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Classmajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@Html.Position()
@Html.PositionCondition()
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", OnSelect = "reload", SelectedValue = ViewBag.SchoolYearID }, new Dictionary { { "data-condition", "dgTeacherEvaluationCountList" } })
  • @*
  • 参评类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/EvaluationType/EvaluationTypeDropdownListBanid"), ID = "EvaluationTypeDropdown", Name = "EvaluationTypeDropdown", OnSelect = "QueryEvaluationTypeDropdownList" }, new Dictionary { { "data-condition", "dgTeacherEvaluationCountList" } })
  • *@
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(cgopCollege, new Dictionary { { "data-condition", "dgTeacherEvaluationCountList" } })
  • 教研室:
  • @Html.ComboGrid(cgopDepartment, new Dictionary { { "data-condition", "dgTeacherEvaluationCountList" } })
教师名单列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationRegistrationID", Width=0.05, Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center,Width=0.04}, new BoundFieldColumn { FieldName="TeacherNo", HeaderText="教师工号", Align=AlignStyle.Center,Width=0.03}, new BoundFieldColumn { FieldName="TeacherName", HeaderText="姓名", Align=AlignStyle.Center,Width=0.02 }, //new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center,Width=0.01 }, //new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级名称", Align=AlignStyle.Center,OverflowLength=25 }, new BoundFieldColumn { FieldName="NeedEvaluationCount", HeaderText="需评人次", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="CompleteCount", HeaderText="已评人次", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="UncompletedCount", HeaderText="未评人次", Align=AlignStyle.Center, Width=0.04 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/TeacherEvaluationCount/List"), ID = "dgTeacherEvaluationCountList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })