123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- string SchoolYearID = ViewBag.SchoolYearID;
- ComboGridOptions cgop = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- Name = "CollegeDropdown",
- ID = "CollegeDropdown",
- OnSelect = "queryCollege",
- 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 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
- }
- };
- ComboGridOptions cgopStandard = new ComboGridOptions
- {
- TextField = "StandardName",
- ValueField = "StandardID",
- OnSelect = "queryClass",
- Name = "StandardDictionaryDropDown",
- ID = "StandardDictionaryDropDown",
- 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 cgopLearnSystem = new ComboGridOptions
- {
- TextField = "LearnSystem",
- ValueField = "LearnSystem",
- OnSelect = "queryClass",
- Name = "DictionaryLearnSystem",
- ID = "DictionaryLearnSystem",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Specialty/LearnSystem"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsShowHeader = false
- }
- };
- }
- <style type="text/css">
- #FinalExaminationtable
- {
- width: 100%;
- border: 0px none;
- }
- #FinalExaminationtable tr
- {
- min-height: 30px;
- }
- </style>
- @section scripts{
- <script src="../../Scripts/Business/ScoreManage/GenerateFinalExamination.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- function ResitExamination_SettingsGenerate() {
- if ($("[comboname='SchoolyearDictionaryDropDown']").combobox('getValue') == '@DropdownList.PLEASE_SELECT'
- || $("[comboname='SchoolyearDictionaryDropDown']").combobox('getValue') == '') {
- $.messager.alert("系统提示", "请选择需要毕业清考的年级。");
- return;
- }
- $(document.forms[0]).submit();
- }
-
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- <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("Generate")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0" id="FinalExaminationtable">
- <tr>
- <td>
- <label>清考年级:</label>
- </td>
- <td>
- @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ID = "SchoolyearDictionaryDropDown", Name = "SchoolyearDictionaryDropDown", OnSelect = "queryClass" })
- </td>
- <td>
- <label>@EMIS.Utility.RSL.Get("College"):</label>
- </td>
- <td>
- @Html.ComboGrid(cgop)
- </td>
- </tr>
- <tr>
- <td>
- <label>
- 专业名称:</label>
- </td>
- <td>
- @Html.ComboGrid(cgopStandard)
- @*@Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Standard, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "StandardDictionaryDropDown", Name = "StandardDictionaryDropDown", OnSelect = "queryClass" })*@
- </td>
- <td>
- <label>
- 班级名称:
- </label>
- </td>
- <td>
- @Html.ComboGrid(cgopClassmajor)
- </td>
- </tr>
- <tr>
- <td>
- <label>学制:</label>
- </td>
- <td colspan = "3">
- @Html.ComboGrid(cgopLearnSystem)
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|