12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- @model EMIS.ViewModel.SelectCourse.ExaminationSubjectCollegeControlView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Add";
- ComboGridOptions cgExaminationSubject = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ExaminationSubjectID",
- Name = "ExaminationSubjectDropdown",
- ID = "ExaminationSubjectDropdown",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="考试科目名称", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationSubject/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- <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"
- }))
- {
- @Html.HiddenFor(x => x.ExaminationSubjectCollegeControlID)
- <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("Edit")</div>
- </div>
- <div class="search_list popupWindowContent">
- <table cellpadding="0" cellspacing="0" id="departmenttable">
- @Html.Hidden("selectFacultymajorIDs")
- <tr>
- <td>@Html.LabelFor(x => x.ExaminationTypeID):
- </td>
- <td>@Html.DropdownListFor((x => x.ExaminationTypeID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/ExaminationType/DropdownList"), OnSelect = "BindSubject" })
- </td>
- <td>@Html.LabelFor(x => x.ExaminationSubjectName):
- </td>
- <td>@Html.ComboGridFor(x => x.ExaminationSubjectID, cgExaminationSubject)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.SchoolyearNumID):
- </td>
- <td colspan="3">@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, x => x.SchoolyearNumID, new DropdownListOptions { BindType = DropdownListBindType.SelectAll })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.FacultymajorID):
- </td>
- <td colspan="3">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="FacultymajorID" },
- new BoundFieldColumn { FieldName="Name", HeaderText="院系专业名称", Align=AlignStyle.Center },
- },
- IsCheckOnSelect = true,
- IsPostBack = true,
- DataSourceUrl = Url.Content("~/Facultymajor/List"),
- ID = "dgFacultymajorList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- <script src="~/Scripts/Business/ExaminationApply/ExaminationSubjectCollegeControlEdit.js"
- type="text/javascript"></script>
- }
|