12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- @model EMIS.ViewModel.GraduationManage.GraduationRequirement.GrademajorRequirementView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- //年级专业
- ComboGridOptions cgopGrademajor = new ComboGridOptions
- {
- ID = "GrademajorComboGrid",
- Name = "GrademajorComboGrid",
- TextField = "Name",
- ValueField = "GrademajorID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="Code", HeaderText="年级专业代码", Align=AlignStyle.Center, Width=0.2 },
- new BoundFieldColumn { FieldName="Name", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.35 }
- //new BoundFieldColumn { FieldName="SchoolyearID", HeaderText="年级", Align=AlignStyle.Center, Width=0.1 },
- //new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.1 },
- //new BoundFieldColumn { FieldName="EducationName", HeaderText=@EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, Width=0.1 },
- //new BoundFieldColumn { FieldName="LearningformName", HeaderText="学习形式", Align=AlignStyle.Center, Width=0.1 },
- //new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center, Width=0.1 }
- },
- PageSize = 3,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Grademajor/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- MaxHeight = 120
- }
- };
-
- }
- @section scripts{
- <script src="~/Scripts/Business/GraduationManage/GraduationRequirement/GrademajorRequirementEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- </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" id="grademajorgequirementtable">
- @Html.HiddenFor(x => x.GraduationRequirementID)
- <tr>
- <td>
- @Html.LabelFor(x => x.GrademajorName):
- </td>
- <td>
- @Html.ComboGridFor(x => x.GrademajorID, cgopGrademajor, new Dictionary<string, string> { { "style", "width:85%;" } })
- @*@Html.TextBoxFor(x => x.GrademajorName, new TextBoxOptions()
- {
- IsEnabled = false
- }, new Dictionary<string, string> { { "style", "width:85%;" } })*@
- </td>
- <td style="color: red;">
- @Html.LabelFor(x => x.OptionalCourseCredit):
- </td>
- <td>
- @Html.TextBoxFor(x => x.OptionalCourseCredit)
- </td>
- </tr>
- <tr>
- <td style="color: red;">
- @Html.LabelFor(x => x.RequiredCredit):
- </td>
- <td>
- @Html.TextBoxFor(x => x.RequiredCredit)
- </td>
- <td style="color: red;">
- @Html.LabelFor(x => x.TotalCredit):
- </td>
- <td>
- @Html.TextBoxFor(x => x.TotalCredit)
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|