SpecialtySelect.cshtml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "SpecialtySelect";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/Common/SpecialtySelector.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:Specialty_Confirm()" data-options="iconCls:'icon-ok',plain:'true'"
  17. onfocus="this.blur()">选中</a>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. <form id="formQuery" method="post">
  23. @Html.PositionCondition("SpecialtySelect")
  24. <div class="search_keyword">
  25. <div class="search_input">
  26. <ul>
  27. <li class="sn" style="padding-left: 5px;">
  28. 专业名称:</li>
  29. <li class="sv">
  30. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Standard, DropdownListBindType.SelectAll, new ComboGridOptions { Name = "DictionaryStandard", OnSelect = "QueryStandardDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgSpecialtyList" } })
  31. </li>
  32. <li class="sn" style="padding-left: 5px;">
  33. @EMIS.Utility.RSL.Get("EducationID"):</li>
  34. <li class="sv">
  35. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Education, new DropdownListOptions { Name = "DictionaryEducation", BindType = DropdownListBindType.SelectAll, OnSelect = "QueryEducationDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgSpecialtyList" } })
  36. </li>
  37. </ul>
  38. <ul>
  39. <li class="sn" style="padding-left: 5px;">
  40. 学习形式:</li>
  41. <li class="sv">
  42. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Learningform, new DropdownListOptions { Name = "DictionaryLearningform", BindType = DropdownListBindType.SelectAll, OnSelect = "QueryLearningformDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgSpecialtyList" } })
  43. </li>
  44. </ul>
  45. </div>
  46. </div>
  47. </form>
  48. <div class="search_list">
  49. @Html.DataGrid(new DataGridOptions
  50. {
  51. Columns = new List<DataGridColumn>()
  52. {
  53. new CheckBoxFieldColumn{ HeaderText="", FieldName="SpecialtyID" },
  54. new BoundFieldColumn { FieldName="Code", HeaderText="专业代码", Align=AlignStyle.Center, Width=0.06 },
  55. new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.1 },
  56. new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center, Width=0.03 },
  57. new BoundFieldColumn { FieldName="EducationName", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, Width=0.04 },
  58. new BoundFieldColumn { FieldName="LearningformName", HeaderText="学习形式", Align=AlignStyle.Center, Width=0.04 }
  59. //new BoundFieldColumn { FieldName="ScienceclassName", HeaderText="专业科类", Align=AlignStyle.Center, Width=0.04 },
  60. //new BoundFieldColumn { FieldName="PropertyName", HeaderText="专业属性", Align=AlignStyle.Center, Width=0.04 },
  61. //new BoundFieldColumn { FieldName="StandardTitleName", HeaderText="专业称号", Align=AlignStyle.Center, Width=0.04 },
  62. //new BoundFieldColumn { FieldName="StandardLevelName", HeaderText="称号级别", Align=AlignStyle.Center, Width=0.04 }
  63. },
  64. PageSize = 20,
  65. IsCheckOnSelect = true,
  66. DataSourceUrl = Url.Content("~/Specialty/List"),
  67. ID = "dgSpecialtyList",
  68. IsPagination = true,
  69. IsShowRowNumbers = true,
  70. IsSingleSelect = false
  71. })
  72. </div>
  73. </div>