Select.cshtml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Entities;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "List";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/ExamManage/Select.js" type="text/javascript"></script>
  9. <script type="text/javascript">
  10. var EMIS_CampusLabel = '@EMIS.Utility.RSL.Get("Campus")';
  11. </script>
  12. }
  13. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  14. <div class="p_SearchTitle">
  15. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  16. 查询条件</div>
  17. </div>
  18. <form id="formQuery" method="post" action="@Url.Content("~/ChargeProject/ProjectExcel")">
  19. @Html.PositionCondition("Select")
  20. <div class="p_title">
  21. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  22. 标准专业信息列表
  23. </div>
  24. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Select")</div>
  25. </div>
  26. </form>
  27. <div class="search_list">
  28. @Html.DataGrid(new DataGridOptions
  29. {
  30. Columns = new List<DataGridColumn>()
  31. {
  32. new CheckBoxFieldColumn{ HeaderText="", FieldName="Value"},
  33. new BoundFieldColumn { FieldName="Name", HeaderText="标准专业", Align=AlignStyle.Center, },
  34. },
  35. IsCheckOnSelect = true,
  36. DataSourceUrl = Url.Content("~/DictionaryItem/DictionItemList?DictionaryDropdown=" + EMIS.ViewModel.DictionaryItem.CF_Standard.ToString()),
  37. ID = "dgSelectList",
  38. IsPagination = true,
  39. IsShowRowNumbers = true,
  40. IsSingleSelect = false,
  41. IsPostBack = true
  42. })
  43. </div>
  44. </div>