12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "SpecialtySelect";
- }
- @section scripts{
- <script src="~/Scripts/Business/Common/SpecialtySelector.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <div class="p_title">
- @*<div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 专业信息列表</div>*@
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
- <div class="current_navbar toolbar">
- <div class="func_info">
- <a class="easyui-linkbutton" href="javascript:Specialty_Confirm()" data-options="iconCls:'icon-ok',plain:'true'"
- onfocus="this.blur()">选中</a>
- </div>
- </div>
- </div>
- </div>
- <form id="formQuery" method="post">
- @Html.PositionCondition("SpecialtySelect")
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">
- 专业名称:</li>
- <li class="sv">
- @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Standard, DropdownListBindType.SelectAll, new ComboGridOptions { Name = "DictionaryStandard", OnSelect = "QueryStandardDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgSpecialtyList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">
- @EMIS.Utility.RSL.Get("EducationID"):</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Education, new DropdownListOptions { Name = "DictionaryEducation", BindType = DropdownListBindType.SelectAll, OnSelect = "QueryEducationDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgSpecialtyList" } })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">
- 学习形式:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Learningform, new DropdownListOptions { Name = "DictionaryLearningform", BindType = DropdownListBindType.SelectAll, OnSelect = "QueryLearningformDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgSpecialtyList" } })
- </li>
- </ul>
- </div>
- </div>
- </form>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="SpecialtyID" },
- new BoundFieldColumn { FieldName="Code", HeaderText="专业代码", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center, Width=0.03 },
- new BoundFieldColumn { FieldName="EducationName", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="LearningformName", HeaderText="学习形式", Align=AlignStyle.Center, Width=0.04 }
- //new BoundFieldColumn { FieldName="ScienceclassName", HeaderText="专业科类", Align=AlignStyle.Center, Width=0.04 },
- //new BoundFieldColumn { FieldName="PropertyName", HeaderText="专业属性", Align=AlignStyle.Center, Width=0.04 },
- //new BoundFieldColumn { FieldName="StandardTitleName", HeaderText="专业称号", Align=AlignStyle.Center, Width=0.04 },
- //new BoundFieldColumn { FieldName="StandardLevelName", HeaderText="称号级别", Align=AlignStyle.Center, Width=0.04 }
- },
- PageSize = 20,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Specialty/List"),
- ID = "dgSpecialtyList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|