@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions PsopEvaluationIntType = new ComboGridOptions { TextField = "Name", ValueField = "EvaluationIntTypeID", ID = "EvaluationIntTypeDropdown", Name = "EvaluationIntTypeDropdown", OnSelect = "QueryEvaluationIntTypeDropdownList", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="评价类型名称", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EvaluationIntType/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; //ComboGridOptions cgopdepartment = new ComboGridOptions //{ // TextField = "Name", // ValueField = "DepartmentID", // Name = "DepartmentComboGrid", // ID = "DepartmentComboGrid", // OnSelect = "reload", // 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 cgop = new ComboGridOptions //{ // TextField = "Name", // ValueField = "CollegeID", // Name = "CollegeComboGrid", // ID = "CollegeComboGrid", // OnSelect = "reload", // GridOptions = new DataGridOptions // { // Columns = new List() // { // // new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center }, // new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } // }, // IsCheckOnSelect = true, // DataSourceUrl = Url.Content("~/College/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 = "SchoolYearDropdownList", SelectedValue = ViewBag.SchoolYearID }, new Dictionary { { "data-condition", "dgEvaluationTeacherScoreList" } })
  • 参评类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/EvaluationType/EvaluationTypeDropdownListBanid"), ID = "EvaluationTypeDropdown", Name = "EvaluationTypeDropdown", OnSelect = "QueryEvaluationTypeDropdownList", SelectedValue = ViewBag.EvaluationType, }, new Dictionary { { "data-condition", "dgEvaluationTeacherScoreList" } })
  • 评价类型:
  • @Html.ComboGrid(PsopEvaluationIntType, new Dictionary { { "data-condition", "dgEvaluationTeacherScoreList" } })
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListBanids"), ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "QueryCollegeDropdownList", OnLoadSuccess = "" }, new Dictionary { { "data-condition", "dgEvaluationTeacherScoreList" } })
  • 教研室:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ID = "DepartmentDropdown", Name = "DepartmentDropdown", OnSelect = "SelectDepartmentDropdownList", OnLoadSuccess = "" }, new Dictionary { { "data-condition", "dgEvaluationTeacherScoreList" } })
教师评分表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="EvaluationTableID", Align=AlignStyle.Center, }, new BoundFieldColumn { FieldName="TeacherNo", HeaderText="教师编号", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="TeacherName", HeaderText="教师名称", Align=AlignStyle.Center, OverflowLength=12, Width=0.08 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=14, Width=0.1 }, new BoundFieldColumn { FieldName="CommentCount", HeaderText="参评人次", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="Average", HeaderText="平均分", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="EducationMissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center, OverflowLength=26, Width=0.18 }, new BoundFieldColumn { FieldName="EvaluationTableTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="EvaluationIntTypeName", HeaderText="评价类型", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="CollegeRanking", HeaderText=@EMIS.Utility.RSL.Get("College")+"排名", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="DepartmentRanking", HeaderText="教研室排名", Align=AlignStyle.Center, Width=0.05 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EvaluationTeacherScore/List"), ID = "dgEvaluationTeacherScoreList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })