WeekModify.cshtml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @{
  4. ViewBag.Title = "WeekModify";
  5. }
  6. @section scripts{
  7. <script src="@Url.Content("~/Scripts/Business/SchedulingManage/Scheduling/WeekModify.js")" type="text/javascript"></script>
  8. }
  9. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  10. <div class="p_title">
  11. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  12. </div>
  13. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  14. <div class="current_navbar toolbar">
  15. <div class="func_info">
  16. <a class="easyui-linkbutton" href="javascript:deleteWeeks()" data-options="iconCls:'icon-ok',plain:'true'"
  17. onfocus="this.blur()">删除周次</a>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="search_list">
  23. @Html.DataGrid(new DataGridOptions
  24. {
  25. Columns = new List<DataGridColumn>()
  26. {
  27. new CheckBoxFieldColumn{ HeaderText="", FieldName="WeekNum" },
  28. new BoundFieldColumn { FieldName="WeekNum", HeaderText="上课周次", Align=AlignStyle.Center }
  29. },
  30. IsAutoLoad = false,
  31. MaxHeight = 450,
  32. IsCheckOnSelect = true,
  33. ID = "dgWeekList",
  34. IsPagination = false,
  35. IsShowRowNumbers = true,
  36. IsSingleSelect = false
  37. })
  38. </div>
  39. </div>