StudentList.cshtml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "List";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/EvaluationManage/EvaluationEnter.js"></script>
  8. }
  9. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  10. @Html.Position()
  11. <div class="p_SearchTitle">
  12. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  13. 查询条件
  14. </div>
  15. </div>
  16. <form id="formQuery" method="post" action="@Url.Action("Excel")">
  17. @Html.PositionCondition()
  18. </form>
  19. <div class="p_title">
  20. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  21. 进入评价列表
  22. </div>
  23. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  24. </div>
  25. <div class="search_list">
  26. @Html.DataGrid(new DataGridOptions
  27. {
  28. Columns = new List<DataGridColumn>()
  29. {
  30. new CheckBoxFieldColumn{ HeaderText="", FieldName="EvaluationEnterID" },
  31. new LinkButtonColumn { Text="进入评价", HeaderText="操作", Align=AlignStyle.Center, Handle="edit", Width=0.07 },
  32. new BoundFieldColumn { FieldName="EvaluationTableID", HeaderText="评价表ID", Align=AlignStyle.Center,IsHidden=true },
  33. new BoundFieldColumn { FieldName="EvaluationSettingID", HeaderText="评价设置ID", Align=AlignStyle.Center,IsHidden=true },
  34. new BoundFieldColumn { FieldName="IsEvaluation", HeaderText="是否可评", Align=AlignStyle.Center,IsHidden=true },
  35. new BoundFieldColumn { FieldName="EvaluationSettingCode", HeaderText="评价编号", Align=AlignStyle.Center, OverflowLength=22, Width=0.13 },
  36. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=14, Width=0.1 },
  37. new BoundFieldColumn { FieldName="EvaluationTableTypeName", HeaderText="评价类型", Align=AlignStyle.Center, Width=0.08 },
  38. new BoundFieldColumn { FieldName="UserCodes", HeaderText="被评教师号", Align=AlignStyle.Center, Width=0.11 },
  39. new BoundFieldColumn { FieldName="UserNames", HeaderText="被评教师", Align=AlignStyle.Center, OverflowLength=14, Width=0.1 },
  40. //, OverflowLength=16
  41. new BoundFieldColumn { FieldName="EducationMissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center, OverflowLength=24, Width=0.2 },
  42. new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.06 },
  43. new BoundFieldColumn { FieldName="EvaluationCount", HeaderText="已评次数", Align=AlignStyle.Center, Width=0.05 },
  44. },
  45. IsCheckOnSelect = true,
  46. DataSourceUrl = Url.Content("~/EvaluationEnter/List"),
  47. ID = "dgEvaluationEnterList",
  48. IsPagination = true,
  49. IsShowRowNumbers = true,
  50. IsSingleSelect = false
  51. })
  52. </div>
  53. </div>