123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "AdultExaminationScheduleList";
- }
- @section scripts{
- <script src="~/Scripts/Business/ExaminationManage/AdultExaminationSchedule.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;">
- @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;">学年学期:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", OnSelect = "reload", OnLoadSuccess = "SchoolyearLoaded" })
- </li>
- <li class="sn" style="padding-left: 5px;">时间段:</li>
- <li class="sv">
- @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, ID = "txtStartDate", Name = "txtStartDate", OnClear = "startDateCleared", OnChange = "startDateChanged" })-
- @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, ID = "txtEndDate", Name = "txtEndDate", OnClear = "endDateCleared", OnChange = "endDateChanged" })
- </li>
- <li class="sn" style="padding-left: 5px;">考试科目:</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "CourseName",
- ValueField = "CoursematerialID",
- OnSelect = "reload",
- ID = "cbgCoursematerial",
- Name = "cbgCoursematerial",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- })
- </li>
- <li class="sn" style="padding-left: 5px;">考试性质:</li>
- <li class="sv">
- @Html.DictionaryDropDownList((EMIS.ViewModel.DictionaryItem.CF_ExamsCategory), new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExamsCategory", Name = "ddlExamsCategory", OnSelect = "reload" })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- Name = "cbgCollege",
- ID = "cbgCollege",
- OnSelect = "queryStandard",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- 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
- }
- })
- </li>
- <li class="sn" style="padding-left: 5px;">年级:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Grade, new DropdownListOptions { ID = "ddlYear", Name = "ddlYear", BindType = DropdownListBindType.SelectAll, OnSelect = "queryStandard" })
- </li>
- <li class="sn" style="padding-left: 5px;">专业名称:</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "StandardName",
- ValueField = "StandardID",
- OnSelect = "queryClassmajor",
- Name = "cbgStandard",
- ID = "cbgStandard",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center }
- },
- IsAutoLoad = false,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- })
- </li>
- <li class="sn" style="padding-left: 5px;">班级名称:</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ClassmajorID",
- Name = "cbgClassmajor",
- ID = "cbgClassmajor",
- OnSelect = "reload",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center }
- },
- IsAutoLoad = false,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Classmajor/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">教室:</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ClassroomID",
- OnSelect = "reload",
- ID = "cbgClassroom",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Code", HeaderText="教室代码", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="教室名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="FloorLevel", HeaderText="所在楼层", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Examinationseating", HeaderText="总座位数", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="RemainSeatCount", HeaderText="剩余座位数", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationRoomSetting/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- })
- </li>
- <li class="sn" style="padding-left: 5px;">监考员:</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "UserID",
- OnSelect = "reload",
- ID = "cbgExaminationTeacher",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID" },
- new LinkButtonColumn { FieldName="StaffCode", HeaderText="教职工号", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationTeacher/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- })
- </li>
- <li class="sn" style="padding-left: 5px;">班主任:</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "UserID",
- OnSelect = "reload",
- ID = "cbgAssistant",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="StaffCode", HeaderText="教职工号", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Width=0.3, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Staff/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- })
- </li>
- <li class="sn" style="padding-left: 5px;">状态:</li>
- <li class="sv">
- @Html.DictionaryDropDownList((EMIS.ViewModel.DictionaryItem.EX_ExaminationPlanStatus), new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExaminationPlanStatus", Name = "ddlExaminationPlanStatus", OnSelect = "reload" })
- </li>
- </ul>
- </div>
- </div>
- </form>
- <div class="search_list">
- <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute; left: 5px;"></iframe>
- </div>
- </div>
|