123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- var year = ViewBag.Years;
- 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
- }
- };
- ListControlOptions course = new ListControlOptions
- {
- Name = "CourseTypeID",
- TextField = "Name",
- ValueField = "Value",
- ColumnCount = 10,
- SelectedValueUrl = @Url.Content("~/SpecialityScoreSum/GetCourseType"),
- //SelectedValues =
- };
-
- }
- <style type="text/css">
- #SpecialityScoreSumtable tr
- {
- display: block;
- }
- #SpecialityScoreSumtable tr:hover
- {
- background-color: #dfdfdf;
- }
- #SpecialityScoreSumtable td
- {
- text-align: center;
- border: 1px solid #e8e8e8;
- }
- </style>
- <!--[if IE]>
- <style type="text/css">
- #divScore table,
- #divStudents table
- {
- display: block;
- box-sizing:border-box;
- }
- </style>
- <![endif]-->
- @section scripts{
- <script src="~/Scripts/Business/ScoreManage/SpecialityScoreByFinal.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">
- <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", SelectedValue = year }, 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;">
- <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>@Html.ContextMenuBar("List")
- </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>*@
- <li>@Html.CheckBox("IsCredit") 输出学分统计项</li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">课程类型:</li>
- <li class="sv">
- @Html.DictionaryCheckList(EMIS.ViewModel.DictionaryItem.CF_CourseType, course)
- </li>
- </ul>
- </div>
- </div>
- </form>
- <div style="height: 16px; cursor: pointer; text-align: center;" onclick="javascript:switchPanel()">
- <center>
- <div id="divDownIcon" style="width: 16px; height: 16px; background: url('../Content/Bowin.Control.Core/themes/metro-blue/images/menu_arrows.png') no-repeat 0px center;"></div>
- <div id="divUpIcon" style="width: 16px; height: 16px; display: none; background: url('../Content/Bowin.Control.Core/themes/metro-blue/images/menu_arrows.png') no-repeat -16px center;"></div>
- </center>
- </div>
- <div class="search_list">
- <div id="SpecialityScoreSumtable" style="margin-left: 1px; margin-right: 1px; 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>
|