DataRange.cshtml 1.6 KB

1234567891011121314151617181920212223242526272829
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "DataRange";
  5. }
  6. @section scripts{
  7. <script type="text/javascript">
  8. var campusTypeValue = "@((int)EMIS.ViewModel.SYS_DataRange.Campus)";
  9. var collegeTypeValue = "@((int)EMIS.ViewModel.SYS_DataRange.College)";
  10. var departmentTypeValue = "@((int)EMIS.ViewModel.SYS_DataRange.Department)";
  11. </script>
  12. <script src="~/Scripts/Business/System/UserDataRange.js" type="text/javascript"></script>
  13. }
  14. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  15. @using (Html.BeginForm())
  16. {
  17. <div class="p_title">
  18. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  19. 数据范围</div>
  20. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("DataRange")</div>
  21. </div>
  22. <div class="search_list">
  23. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.SYS_DataRange, new DropdownListOptions { BindType = DropdownListBindType.None, OnSelect = "changeDataRange", OnLoadSuccess = "changeDataRange", ID = "DataRange" })
  24. @Html.UserCampusList(new ListControlOptions { ID = "CampusList", Name = "CampusList", ColumnCount = 4 }, new Guid(Request["UserID"]))
  25. @Html.UserCollegeList(new ListControlOptions { ID = "CollegeList", Name = "CollegeList", ColumnCount = 4 }, new Guid(Request["UserID"]))
  26. @Html.UserDepartmentList(new ListControlOptions { ID = "DepartmentList", Name = "DepartmentList", ColumnCount = 4 }, new Guid(Request["UserID"]))
  27. </div>
  28. }
  29. </div>