123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- string StudentNo = Convert.ToString(ViewBag.StudentNo);
- //var CurseGrade = (IList<EMIS.ViewModel.Students.CourseGradeView>)ViewBag.CurseGrade;
- ComboGridOptions cgop = new ComboGridOptions
- {
- TextField = "LoginID",
- ValueField = "UserID",
- EmptyText = "请选择",
- IsAutoComplete = true,
- MinReloadCharactor = EMIS.Utility.Const.LOCAL_SETTING_LoginIDLength,
- SelectedValue=StudentNo,
- Name = "StudentsComboGrid",
- ID = "StudentsComboGrid",
- OnSelect="reload",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Width=0.1, Align=AlignStyle.Center },
- },
- OnLoadSuccessFun = "reloadBack",
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Students/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/ScoreManage/PersonalScore.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <style type="text/css">
- .Coursematerialtable
- {
- width: 100%;
- }
-
- .Coursematerialtable tr
- {
- min-height: 30px;
- border: 1px solid #D6D6D6;
- }
-
- .Coursematerialtable td
- {
- border: 1px solid #D6D6D6;
- }
-
- @* #StudentCoursematerialtable
- {
- width: 100%;
- }
-
- #StudentCoursematerialtable tr
- {
- min-height: 30px;
- border: 1px solid #D6D6D6;
- }
-
- #StudentCoursematerialtable td
- {
- border: 1px solid #D6D6D6;
- text-align: center;
- width: 16%;
- }*@
- </style>
- <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("~/PersonalScore/List")">
- <div class="search_keyword">
- <div class="search_input">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px; ">
- <ul style="min-width:0px;">
- <li class="sn" style="padding-left: 5px; ">学号:</li>
- <li class="sv">
- @Html.ComboGrid(cgop)<a class="easyui-linkbutton l-btn" onclick="reload();" href="javascript:void(0)" data-options="iconCls:'icon-search'">查询
- </a>
- </li>
- </ul>
- </div>
- <div id="Studenttable" style="float:left;margin-left: 10px; margin-top: 8px;"></div>
- <div style="float:right;margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
- </div>
- </div>
- @*<div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">学号:</li>
- <li class="sv">
- @Html.ComboGrid(cgop)
- </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="StudentScore_Report();" href="javascript:void(0)" data-options="iconCls:'icon-print'">存档成绩预览
- </a>
- </li>
- </ul>
- </div>
- </div>*@
- </form>
- <div class="search_list">
- <div id="StudentCoursematerialtable"></div>
- @*<div>
- <table cellpadding="0" cellspacing="0" id="StudentCoursematerialtable">
- </table>
- </div>*@
- <div id="search_list" style="width: 100%;overflow-x: scroll;
- scrollbar-highlight-color: #ffffff; scrollbar-3dlight-color: #70807d; scrollbar-shadow-color: #ffffff;
- scrollbar-darkshadow-color: #70807d; scrollbar-track-color: #ffffff; scrollbar-face-color: #cccccc"; overflow:visible">
- </div>
- </div>
- <div id="display_search_list" style="display: none;">
- <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("Detail")</div>
- </div>
- <div class="search_list">
- @Html.Hidden("hid_SchoolyearID")
- @Html.Hidden("hid_CoursematerialID")
- @Html.Hidden("hid_UserID")
- @Html.Hidden("hid_StarttermID")
- @Html.Hidden("LoginID")
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="SubmitedScoreID" },
- new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.08},
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="CoursetypeName", HeaderText="课程类型", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="ExamsCategoryName", HeaderText="考试性质", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="ExamsStateName", HeaderText="考试状态", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="Pingshi", HeaderText=@EMIS.Utility.RSL.Get("Peacetime"), Align=AlignStyle.Center , Width=0.04},
- new BoundFieldColumn { FieldName="Jishu", HeaderText=@EMIS.Utility.RSL.Get("Technique"), Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="Lilun", HeaderText=@EMIS.Utility.RSL.Get("Theoretical"), Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="TotalScoreStr", HeaderText="总成绩", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="ScoreCredit", HeaderText="学分", Align=AlignStyle.Center, Width=0.02, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="CreateTime", HeaderText="录入时间", Align=AlignStyle.Center, Width=0.06, Formatter= Formatter.OnlyYearMonthDay, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="OperaUser", HeaderText="录入人", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="SchoolyearID", HeaderText="学年学期", Align=AlignStyle.Center, IsHidden = true },
- new BoundFieldColumn { FieldName="CoursematerialID", HeaderText="课程ID", Align=AlignStyle.Center, IsHidden = true },
- new BoundFieldColumn { FieldName="StarttermID", HeaderText="开课学期", Align=AlignStyle.Center, IsHidden = true },
- new BoundFieldColumn { FieldName="UserID", HeaderText="学生ID", Align=AlignStyle.Center, IsHidden = true },
- new BoundFieldColumn { FieldName="StudentScoreRemark", HeaderText="备注", Align=AlignStyle.Center, Width=0.02 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/CourseGrade/GetSubmitedScoreList"),
- ID = "dgCourseScheduleSettingList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsAutoLoad = false
- })
- </div>
- </div>
- </div>
|