@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 } }; ComboGridOptions cgopCourse = new ComboGridOptions { TextField = "CourseName", ValueField = "CoursematerialID", ID = "CoursematerialComboGrid", Name = "CoursematerialComboGrid", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { //new LinkButtonColumn { FieldName="CourseCode", HeaderText="课程代码", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Width=0.3, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"), 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", "dgMyEvaluationList" } })
  • 评价表名:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/EvaluationTarget/EvaluationTablDropdownListBanid"), ID = "EvaluationTableDropdown", Name = "EvaluationTableDropdown", OnSelect = "QueryEvaluationTableDropdownList" }, new Dictionary { { "data-condition", "dgMyEvaluationList" } })
  • 参评类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/EvaluationType/EvaluationTypeDropdownListBanid"), ID = "EvaluationTypeDropdown", Name = "EvaluationTypeDropdown", OnSelect = "QueryEvaluationTypeDropdownList" }, new Dictionary { { "data-condition", "dgMyEvaluationList" } })
  • 课程名称:
  • @Html.ComboGrid(cgopCourse, new Dictionary { { "data-condition", "dgMyEvaluationList" } })
我的评价列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="EvaluationAdviseID", Align=AlignStyle.Center,}, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width = 0.1}, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=14, Width=0.14 }, new BoundFieldColumn { FieldName="EducationMissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center, OverflowLength=28, Width=0.24 }, new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="EvaluationTableName", HeaderText="评价表名", Align=AlignStyle.Center, OverflowLength=22, Width=0.2 }, new BoundFieldColumn { FieldName="Remark", HeaderText="评语建议", Align=AlignStyle.Center, Width=0.2 }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/MyEvaluation/List"), ID = "dgMyEvaluationList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })