123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- ComboGridOptions cgop = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- Name = "CollegeComboGrid",
- ID = "CollegeComboGrid",
- OnSelect = "SelectCollegeComboGrid",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- // new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- ComboGridOptions cgopdepartment = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "DepartmentID",
- Name = "DepartmentComboGrid",
- ID = "DepartmentComboGrid",
- OnSelect = "reload",
- 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("~/Department/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- ComboGridOptions cgopCourse = new ComboGridOptions
- {
- TextField = "CourseName",
- ValueField = "CoursematerialID",
- Name = "CoursematerialComboGrid",
- OnSelect = "reload",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- // new LinkButtonColumn { FieldName="CourseCode", HeaderText="课程代码", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Width=0.3, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/ScoreManage/ResitExamination.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <form id="formQuery" method="post" action="@Url.Content("~/ResitExamination/Excel")">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件
- </div>
- </div>
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
- <li class="sv">
- @Html.ComboGrid(cgop, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">教研室:</li>
- <li class="sv">
- @Html.ComboGrid(cgopdepartment, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">课程名称:</li>
- <li class="sv">
- @Html.ComboGrid(cgopCourse, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">课程类型:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_CourseType, new DropdownListOptions { Name = "DictionaryCourseType", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">考试性质:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_ExamsCategory, new DropdownListOptions { Name = "DictionaryExamsCategory", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">学年学期:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), Name = "SchoolyearDropdown", OnSelect = "reload", SelectedValue = ViewBag.SchoolYearID }, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">年级:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Grade, new DropdownListOptions { Name = "DictionaryGrade", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">状态:</li>
- <li class="sv">
- @*@Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_ScoreState, new DropdownListOptions { Name = "DictionaryScoreState", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })*@
- @Html.DropdownList(new DropdownListOptions { Name = "DictionaryScoreState", ItemSourceUrl = Url.Content("~/Common/ApproveStatusDropDown?tableName=" + typeof(EMIS.Entities.ER_FinalExamination).Name), BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgResitExaminationList" } })
- </li>
- @*导出数据*@
- <li style="display:none" class="sv" >
- <input id="FinalExaminationID" name="FinalExaminationID" type="text" value="" />
- </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.Hidden("hid_ApprovalStatus")
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="FinalExaminationID" },
- new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center ,Width=0.08 ,Handle="edit"},
- new BoundFieldColumn { FieldName="GradeYearID", HeaderText="年级", Align=AlignStyle.Center,Width=0.04 },
- new BoundFieldColumn { FieldName="ClassName", HeaderText="录入班级名称", Align=AlignStyle.Center, Width=0.16},
- new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.05 },
- 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="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.03 },
- new BoundFieldColumn { FieldName="ExamsCategoryName", HeaderText="考试性质", Align=AlignStyle.Center,Width=0.05 },
- new BoundFieldColumn { FieldName="CreatorUserNo", HeaderText="录入人编号", Align=AlignStyle.Center,Width=0.05 },
- new BoundFieldColumn { FieldName="CreatorUserName", HeaderText="录入人姓名", Align=AlignStyle.Center,Width=0.05 },
- new BoundFieldColumn { FieldName="EntryDeadlineTime", HeaderText="录入截止日期", Align=AlignStyle.Center, Width=0.07, Formatter= Formatter.OnlyYearMonthDay },
- new LinkButtonColumn { FieldName="StudentCount", HeaderText="学生数", Align=AlignStyle.Center, Handle="StudentList",Width=0.03 },
- new BoundFieldColumn { FieldName="SAPunlogStudentCount", HeaderText="未录入人数", Align=AlignStyle.Center, Width=0.05 },
- new ApproveStatusColumn { FieldName="ApprovalStatusName", TableName=typeof(EMIS.Entities.ER_FinalExamination).Name, IDFieldName="FinalExaminationID", HeaderText="状态", Align=AlignStyle.Center,Width=0.04 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ResitExamination/List"),
- ID = "dgResitExaminationList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|