12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- @model EMIS.ViewModel.GraduationManage.GraduationSetting.GraduationStandardView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "Generate";
- //院系所
- ComboGridOptions cgopCollege = new ComboGridOptions
- {
- EmptyText = "全部",
- ID = "CollegeDropdown",
- Name = "CollegeDropdown",
- TextField = "Name",
- ValueField = "CollegeID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- //new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.2 },
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.3 }
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/GraduationManage/GraduationSetting/GraduationStandardEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- @*//加载选择的毕业标准信息IDs
- $(function () {
- var graduationStandardIDs = top.$("#@(Request["WindowID"])").data("inputData").join(',');
- $("#graduationStandardIDs").val(graduationStandardIDs);
- });*@
- </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">
- @*@Html.Hidden("graduationStandardIDs")*@
- <table cellpadding="0" cellspacing="0" id="generate">
- <tr>
- <td style="color:red;">
- @Html.LabelFor(x => x.GraduatingSemesterCode):
- </td>
- <td>
- @Html.DropdownListFor(x => x.GraduatingSemesterID, new DropdownListOptions
- {
- TextField = "Text",
- ValueField = "Value",
- BindType = DropdownListBindType.SelectAll,
- ItemSourceUrl = "~/SchoolYear/YearsDropdownListBanid",
- SelectedValue = BaseExtensions.GetGradSchoolYearID()
- })
- </td>
- <td>
- @Html.LabelFor(x => x.CollegeName):
- </td>
- <td>
- @Html.ComboGridFor(x => x.CollegeID, cgopCollege)
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|