12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
-
- }
- @section scripts{
- <script src="../../Scripts/Business/Studentfile/student.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件</div>
- </div>
- <form id="formQuery" method="post" action="@Url.Content("~/Students/Excel")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("Campus"):</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Campus/CampusDropdownListBanid"), ID = "CampusDropdown", Name = "CampusDropdown", OnSelect = "queryCollege" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListOnlyCollege"), ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">班级名称:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Classmajor/BindDropdownList"), ID = "ClassmajorDropdown", Name = "ClassmajorDropdown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">专业名称:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Standard, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "StandardDictionaryDropDown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">学习形式:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Learningform, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "LearningformDictionaryDropDown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">年级:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Schoolyear, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "SchoolyearDictionaryDropDown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">在校状态:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_InschoolStatus, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "InSchoolStatusDictionaryDropDown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">是否毕业生:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "GeneralPurposeDictionaryDropDown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- </ul>
- </div>
- </div>
- </form>
- <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;">@Html.ContextMenuBar("List")</div>
- </div>
- @*@Html.PositionBatchModify()*@
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"},
- new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center,Handle="edit" },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center},
- new BoundFieldColumn { FieldName="ClassMajorName", HeaderText="班级名称", Align=AlignStyle.Center , },
- new BoundFieldColumn { FieldName="Years", HeaderText="年级", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="GradeMajorName", HeaderText="年级专业", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Politics", HeaderText="政治面貌", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ReportStatusName", HeaderText="注册状态", Align=AlignStyle.Center}
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Students/List"),
- ID = "dgList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsAutoHeight = false,
- })
- </div>
- </div>
|