123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- ComboGridOptions cgopStandard = new ComboGridOptions
- {
- TextField = "StandardName",
- ValueField = "StandardID",
- OnSelect = "queryStandard",
- Name = "DictionaryStandard",
- ID = "DictionaryStandard",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- ComboGridOptions cgopClassmajor = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ClassmajorID",
- Name = "ClassmajorDropdown",
- ID = "ClassmajorDropdown",
- OnSelect = "queryClass",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- //new LinkButtonColumn { FieldName="No", HeaderText="班级编号", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Classmajor/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- <style type="text/css">
- #SpecialityScoreSumtable tr
- {
- border: 1px solid #e8e8e8;
- }
- #SpecialityScoreSumtable tr:hover
- {
- background-color: #dfdfdf;
- }
- #SpecialityScoreSumtable td
- {
- text-align: center;
- border: 1px solid #e8e8e8;
- }
- </style>
- @section scripts{
- <script src="~/Scripts/Business/ScoreManage/SpecialityScoreSum.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- })
- var nonSelect = "@DropdownList.SELECT_ALL";
- var EMIS_CollegeLabel = '@EMIS.Utility.RSL.Get("College")';
- </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("~/SpecialityScoreSum/Excel")">
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">@Html.RSLabel("College"):</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListOnlyCollege"), ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "queryClass" })
- </li>
-
- <li class="sn" style="padding-left: 5px;">年级:</li>
- <li class="sv">
- @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "DictionarySchoolyear", Name = "DictionarySchoolyear", OnSelect = "queryClass", OnLoadSuccess = "queryClass" }, new Dictionary<string, string> { { "data-condition", "dgStudentScoreList" } })
- </li>
- @*<li class="sn" style="padding-left: 5px;">年级:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { ID = "DictionarySchoolyear", Name = "DictionarySchoolyear", BindType = DropdownListBindType.SelectAll, OnSelect = "reloadClassmajor", OnLoadSuccess = "QueryYearDropdownList" })
- </li>*@
- <li class="sn" style="padding-left: 5px;">专业名称:</li>
- <li class="sv">
- @Html.ComboGrid(cgopStandard, new Dictionary<string, string> { { "data-condition", "QueryStandardComboGrid" } })
- </li>
- <li class="sn" style="padding-right: 10px; float: right; width:auto">
- <a class="easyui-linkbutton l-btn" onclick="reload();" href="javascript:void(0)" data-options="iconCls:'icon-search'">查询 </a>
- <a class="easyui-linkbutton l-btn" onclick="getExcel();" href="javascript:void(0)" data-options="iconCls:'icon-print'">导出Excel </a>
- <a class="easyui-linkbutton l-btn" onclick="StudentScore_Report();" href="javascript:void(0)" data-options="iconCls:'icon-print'">成绩预览 </a>
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">班级名称:</li>
- <li class="sv">
- @Html.ComboGrid(cgopClassmajor, new Dictionary<string, string> { { "data-condition", "dgStudentScoreList" } })
- </li>
- @*<li class="sn" style="padding-left: 5px;">班级名称:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "ClassmajorDropdown", Name = "ClassmajorDropdown", OnLoadSuccess = "QueryClassmajorDropdownList" })
- </li>*@
- <li class="sn" style="padding-left: 5px;">学年数:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, new DropdownListOptions { ID = "DictionarySchoolyearNum", Name = "DictionarySchoolyearNum", BindType = DropdownListBindType.SelectAll })
- </li>
- <li class="sn" style="padding-left: 5px;">学期:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Semester, new DropdownListOptions { ID = "DictionarySchoolcode", Name = "DictionarySchoolcode", BindType = DropdownListBindType.SelectAll })
- </li>
- <li class="sn" style="padding-left: 5px;">在校状态:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_InschoolStatus, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, SelectedValue = 1, ID = "InSchoolStatusDictionaryDropDown", Name = "InSchoolStatusDictionaryDropDown" })
- </li>
- </ul>
- </div>
- </div>
- </form>
- <div class="search_list">
- <div id="SpecialityScoreSumtable" style="width: 100%; overflow-x: auto; scrollbar-arrow-color: #ffffff; scrollbar-highlight-color: #ffffff;
- scrollbar-3dlight-color: #70807d; scrollbar-shadow-color: #ffffff; scrollbar-darkshadow-color: #70807d;
- scrollbar-track-color: #ffffff">
- </div>
- </div>
- </div>
|