@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; 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="院系所代码", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="院系所名称", 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", "dgEvaluationAdviseList" } })
  • 评价表名:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/EvaluationTarget/EvaluationTablDropdownListBanid"), ID = "EvaluationTableDropdown", Name = "EvaluationTableDropdown", OnSelect = "QueryEvaluationTableDropdownList" }, new Dictionary { { "data-condition", "dgEvaluationAdviseList" } })
  • 参评类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/EvaluationType/EvaluationTypeDropdownListBanid"), ID = "EvaluationTypeDropdown", Name = "EvaluationTypeDropdown", OnSelect = "QueryEvaluationTypeDropdownList" }, new Dictionary { { "data-condition", "dgEvaluationAdviseList" } })
  • 院系所: 
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListBanids"), SelectedValue = Request["collegeID"], ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "QueryCollegeDropdownList", OnLoadSuccess = "" }, new Dictionary { { "data-condition", "dgEvaluationAdviseList" }})
  •   教研室: 
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ID = "DepartmentDropdown", Name = "DepartmentDropdown", OnSelect = "SelectDepartmentDropdownList", OnLoadSuccess = "" }, new Dictionary { { "data-condition", "dgEvaluationAdviseList" }})
  •   教师: 
  • @*@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ID = "StaffDropdown", Name = "StaffDropdown", OnSelect = "reload", OnLoadSuccess = "" })*@ @Html.ComboGrid(new ComboGridOptions { TextField = "Name", ValueField = "UserID", OnSelect = "reload", ID = "StaffDropdown", Name = "StaffDropdown", GridOptions = new DataGridOptions { Columns = new List() { //new BoundFieldColumn { FieldName="Code", HeaderText="教室代码", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="教师名字", Width=0.1, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Staff/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsAutoLoad = false, OnLoadSuccessFun = "" }, }, new Dictionary { { "data-condition", "dgEvaluationAdviseList" } } )
评语建议列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="EvaluationAdviseID", Align=AlignStyle.Center,}, new BoundFieldColumn { FieldName="UserCodes", HeaderText="教师编号", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="UserNames", 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="EducationMissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center, OverflowLength=24, Width=0.16 }, new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="EvaluationTableName", HeaderText="评价表名", Align=AlignStyle.Center, OverflowLength=16, Width=0.11 }, new BoundFieldColumn { FieldName="Remark", HeaderText="评语建议", Align=AlignStyle.Center, Width=0.14 }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EvaluationAdvise/List"), ID = "dgEvaluationAdviseList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })