123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- @model EMIS.ViewModel.GraduationManage.GraduationRequirement.GrademajorRequirementView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Add";
- ComboGridOptions cgop = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "GrademajorID",
- //OnSelect = "QueryGrademajorDropdownList",
- ID = "GrademajorDropdown",
- Name = "GrademajorDropdown",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- //new BoundFieldColumn { FieldName="Code", HeaderText="年级专业代码", Align=AlignStyle.Center },
- new LinkButtonColumn { FieldName="Code", HeaderText="年级专业代码", Width=0.1, Align=AlignStyle.Center,IsHidden = true },
- new BoundFieldColumn { FieldName="Name", HeaderText="年级专业名称", Align=AlignStyle.Center, },
- new BoundFieldColumn { FieldName="SchoolyearID", HeaderText="年级", Width=0.1, Align=AlignStyle.Center, IsHidden = true },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Width=0.1, Align=AlignStyle.Center, IsHidden = true },
- new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Width=0.1, Align=AlignStyle.Center, IsHidden = true }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Grademajor/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/GraduationManage/GraduationRequirement/GrademajorRequirementAdd.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;">
- @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("Edit")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>@Html.LabelFor(x => x.GrademajorName)</td>
- <td>@Html.ComboGridFor(x => x.GrademajorID, cgop)</td>
- <td>@Html.LabelFor(x => x.TotalCredit)</td>
- <td>@Html.TextBoxFor(x => x.TotalCredit)</td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.RequiredCredit)</td>
- <td>@Html.TextBoxFor(x => x.RequiredCredit)</td>
- <td>@Html.LabelFor(x => x.OptionalCourseCredit)</td>
- <td>@Html.TextBoxFor(x => x.OptionalCourseCredit)</td>
- </tr>
- </table>
- </div>
- }
- </div>
|