123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- ComboGridOptions cgopSchoolYear = new ComboGridOptions
- {
- TextField = "Code",
- ValueField = "SchoolYearID",
- ID = "SchoolYearCode",
- Name = "SchoolYearCode",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Code", HeaderText="学年学期", Align=AlignStyle.Center ,Width=0.2},
- new BoundFieldColumn { FieldName="Years", HeaderText="学年", Align=AlignStyle.Center ,Width=0.2},
- new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="学期", Align=AlignStyle.Center ,Width=0.2},
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SchoolYear/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- },
- SelectedValue = BaseExtensions.GetCurrentSchoolYearID(),
- OnChange = "cgopSchoolYearSelect",
- OnSelect = "cgopSchoolYearSelect"
- };
- ComboGridOptions cgopBatch = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ExaminationBatchID",
- ID = "ExaminationBatchID",
- Name = "ExaminationBatchID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="考试批次", Align=AlignStyle.Center ,Width=0.3}
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationBatch/GetProjectListViewGrid"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- },
- OnSelect = "cgopBatchSelect"
- };
- ComboGridOptions cgopExamType = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ExaminationTypeID",
- ID = "ExaminationTypeID",
- Name = "ExaminationTypeID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="考试类型名称", Align=AlignStyle.Center ,Width=0.4},
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExamProjectControl/GetControlExamTypeListViewGrid"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- },
- OnSelect = "cgopExamTypeSelect"
- };
- ComboGridOptions cgopBatchProject = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ExaminationBatchProjectID",
- ID = "ExaminationBatchProjectID",
- Name = "ExaminationBatchProjectID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="项目名称", Align=AlignStyle.Center ,Width=0.3}
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExamProjectControl/GetControlProjectListViewGrid"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- ,
- OnSelect = "reload"
- };
- ComboGridOptions cgopCollege = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- Name = "CollegeID",
- ID = "CollegeID",
- 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 }
- },
- //OnLoadSuccessFun = "queryClass",
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- },
- OnSelect = "reload"
- };
- ComboGridOptions cgopStandard = new ComboGridOptions
- {
- TextField = "StandardName",
- ValueField = "StandardID",
- //OnSelect = "queryStandard",
- Name = "StandardID",
- ID = "StandardID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Grademajor/GrademajorBindComboGridOptions"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- },
- OnSelect = "reload"
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/ExamManage/ExamProjectControl.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <form id="formQuery" method="post" action="@Url.Content("~/ExamProjectControl/Excel")">
- @Html.Hidden("SelectedID")
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">学年学期:</li>
- <li class="sv">
- @Html.ComboGrid(cgopSchoolYear, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">考试批次:</li>
- <li class="sv">
- @Html.ComboGrid(cgopBatch, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">考试类型:</li>
- <li class="sv">
- @Html.ComboGrid(cgopExamType, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">项目名称:</li>
- <li class="sv">
- @Html.ComboGrid(cgopBatchProject, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">院系所:</li>
- <li class="sv">
- @Html.ComboGrid(cgopCollege, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">年级:</li>
- <li class="sv">
- @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "SchoolyearID", Name = "SchoolyearID", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">专业:</li>
- <li class="sv">
- @Html.ComboGrid(cgopStandard, new Dictionary<string, string> { { "data-condition", "dgList" } })
- @*@Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Standard, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "StandardID", Name = "StandardID", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })*@
- </li>
- <li class="sn" style="padding-left: 5px;">能否线上缴费:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemList = new List<DropdownListItem>() { new DropdownListItem { Text = "是", Value = "true" }, new DropdownListItem { Text = "否", Value = "false" } }, ID = "IsOnlinePay", Name = "IsOnlinePay", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgList" } })
- </li>
- </ul>
- </div>
- </div>
- <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>
- </form>
- @Html.PositionBatchModify()
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationBatchProjectControlID"},
- new BoundFieldColumn { FieldName="Schoolyear", HeaderText="学年学期", Align=AlignStyle.Center },
- new LinkButtonColumn { FieldName="ExaminationBatchProject", HeaderText="考试批次", Align=AlignStyle.Center , Handle="edit" },
- new BoundFieldColumn { FieldName="ExaminationType", HeaderText="考试类型", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ProjectName", HeaderText="项目名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ExaminationProjectFee", HeaderText="收费标准名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="SchoolyearID", HeaderText="年级", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText="院系所", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="StandardName", HeaderText="专业", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="IsOnlinePayName", HeaderText="能否线上缴费", Align=AlignStyle.Center },
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExamProjectControl/List"),
- ID = "dgList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|