ExaminationSubjectSelect.cshtml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "StudentViewSelect";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/ExamManage/ExaminationSubjectSelect.js"></script>
  8. <script type="text/javascript">
  9. var nonSelect = "@DropdownList.SELECT_ALL";
  10. </script>
  11. }
  12. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  13. <div class="p_title">
  14. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  15. </div>
  16. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  17. <div class="current_navbar toolbar">
  18. <div class="func_info">
  19. <a class="easyui-linkbutton" href="javascript:ExaminationSubject_Confirm()" data-options="iconCls:'icon-ok',plain:'true'"
  20. onfocus="this.blur()">选中</a>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. <form id="formQuery" method="post">
  26. </form>
  27. <div class="search_list">
  28. @Html.ContextMenuBar("Edit-StudentSelect")
  29. @Html.DataGrid(new DataGridOptions
  30. {
  31. Columns = new List<DataGridColumn>()
  32. {
  33. new CheckBoxFieldColumn{ HeaderText="", FieldName="Value"},
  34. new BoundFieldColumn { FieldName="Name", HeaderText="项目名称", Align=AlignStyle.Center }
  35. },
  36. IsCheckOnSelect = true,
  37. DataSourceUrl = Url.Content("~/LevelSetting/GetExaminationSubjectSelect?examinationProjectID=" + ViewBag.ExaminationProjectID),
  38. ID = "dgExaminationSubjectSelect",
  39. IsPagination = true,
  40. IsShowRowNumbers = true,
  41. IsSingleSelect = false,
  42. IsAutoHeight = false,
  43. })
  44. </div>
  45. </div>