1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- @model EMIS.ViewModel.GraduationManage.GraduationManage.GraduationApplyView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "GraduationConditionPackageSubmit";
-
- //毕业公式
- ComboGridOptions cgopGradConditionPackage = new ComboGridOptions
- {
- TextField = "Title",
- ValueField = "GraduationConditionPackageID",
- ID = "GradConditionPackageDropdown",
- Name = "GradConditionPackageDropdown",
- OnSelect = "queryGradConditionPackageStudentType",
- Width = 210,
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Title", HeaderText="毕业公式", Align=AlignStyle.Center, Width=150 },
- new BoundFieldColumn { FieldName="StudentTypeName", HeaderText="学生类别", Align=AlignStyle.Center, Width=60 }
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/GraduationConditionPackage/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
-
- }
- @section scripts{
- <script src="~/Scripts/Business/GraduationManage/GraduationManage/GraduationApplyEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- //加载选择的毕业申请信息IDs
- $(function () {
- var graduationApplyIDs = top.$("#@(Request["WindowID"])").data("inputData").join(',');
- $("#graduationApplyIDs").val(graduationApplyIDs);
- });
- </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("Submit")</div>
- </div>
- <div class="search_list">
- @Html.Hidden("graduationApplyIDs")
- @Html.HiddenFor(x => x.StudentTypeID)
- <table cellpadding="0" cellspacing="0" id="applytable">
- <tr>
- <td style="width: 85px;">
- @Html.LabelFor(x => x.Title):
- </td>
- <td colspan="3">
- @Html.ComboGridFor(x => x.GraduationConditionPackageID, cgopGradConditionPackage)
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Comment):
- </td>
- <td colspan="3">
- @Html.TextAreaFor(x=>x.Comment, new Dictionary<string, object>
- {
- { "style", "width: 90%;min-height: 50px" }
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|