List.cshtml 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Entities;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "评价内容";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/EvaluationManage/TeacherEvaluation.js" type="text/javascript"></script>
  9. }
  10. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  11. @Html.Position()
  12. <div class="p_SearchTitle">
  13. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  14. 查询条件</div>
  15. </div>
  16. <form id="formQuery" method="post" action="@Url.Action("Excel")">
  17. @Html.PositionCondition()
  18. <div class="search_keyword">
  19. <div class="search_input">
  20. <ul>
  21. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  22. <li class="sv">
  23. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
  24. </li>
  25. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("Campus"):</li>
  26. <li class="sv">
  27. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Campus/CampusDropdownListBanid"), ID = "CampusDropdown", Name = "CampusDropdown", OnSelect = "QueryCampusDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
  28. </li>
  29. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  30. <li class="sv">
  31. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListOnlyCollege"), ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "QueryCollegeDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
  32. </li>
  33. <li class="sn" style="padding-left: 5px;">开放状态:</li>
  34. <li class="sv">
  35. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_YesOrNoStatus, new DropdownListOptions { Name = "DictionaryOpenStatus", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
  36. </li>
  37. </ul>
  38. </div>
  39. </div>
  40. </form>
  41. <div class="p_title">
  42. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  43. 评价内容列表</div>
  44. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  45. </div>
  46. <div class="search_list">
  47. @Html.DataGrid(new DataGridOptions
  48. {
  49. Columns = new List<DataGridColumn>()
  50. {
  51. new CheckBoxFieldColumn{ HeaderText="", FieldName="EntityID"},
  52. new LinkButtonColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Handle="edit" },
  53. new BoundFieldColumn { FieldName="EducationMissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center , },
  54. new BoundFieldColumn { FieldName="UserNames", HeaderText="被评教师", Align=AlignStyle.Center , },
  55. new BoundFieldColumn { FieldName="ParticipatorNames", HeaderText="参评人", Align=AlignStyle.Center , },
  56. new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center, },
  57. new BoundFieldColumn { FieldName="EvaluationTableName", HeaderText="评价表名", Align=AlignStyle.Center, },
  58. new BoundFieldColumn { FieldName="OpenStatusName", HeaderText="开放状态", Align=AlignStyle.Center, },
  59. },
  60. IsCheckOnSelect = true,
  61. DataSourceUrl = Url.Action("List"),
  62. ID = "dgEvaluationContentList",
  63. IsPagination = true,
  64. IsShowRowNumbers = true,
  65. IsSingleSelect = false
  66. })
  67. </div>
  68. </div>