Setting.cshtml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @{
  4. ViewBag.Title = "Setting";
  5. }
  6. @section scripts{
  7. <script type="text/javascript">
  8. var windowID = '@(Request["WindowID"])';
  9. </script>
  10. <script src="@Url.Content("~/Scripts/Business/SchedulingManage/Scheduling/SchedulingItemSetting.js")" type="text/javascript"></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:confirm()" data-options="iconCls:'icon-ok',plain:'true'"
  20. onfocus="this.blur()">确定</a>
  21. </div>
  22. </div>
  23. </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="ClassroomID" },
  31. new BoundFieldColumn { FieldName="Code", HeaderText="教室编号", Align=AlignStyle.Center },
  32. new BoundFieldColumn { FieldName="Name", HeaderText="教室名称", Align=AlignStyle.Center },
  33. new BoundFieldColumn { FieldName="ClassroomTypeName", HeaderText="教室类型", Align=AlignStyle.Center },
  34. new BoundFieldColumn { FieldName="Totalseating", HeaderText="总座位数", Align=AlignStyle.Center },
  35. new BoundFieldColumn { FieldName="BuildingsInfoName", HeaderText="建筑物名称", Align=AlignStyle.Center },
  36. new LinkButtonColumn { Text="课表查看", HeaderText="", Align=AlignStyle.Center, Handle="showReport" }
  37. },
  38. IsAutoLoad = false,
  39. IsCheckOnSelect = true,
  40. ID = "dgClassroomList",
  41. IsPagination = false,
  42. IsShowRowNumbers = true,
  43. IsSingleSelect = false
  44. })
  45. </div>
  46. </div>