12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- @model EMIS.ViewModel.MinorGraduation.MinorGraduationManage.MinorGraduationApplyView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "GraduationConditionPackageSubmit";
-
- //辅修毕业公式
- ComboGridOptions cgopGradConditionPackage = new ComboGridOptions
- {
- TextField = "Title",
- ValueField = "MinorGraduationConditionPackageID",
- ID = "MinorGradConditionPackageDropdown",
- Name = "MinorGradConditionPackageDropdown",
- 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 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/MinorGraduationConditionPackage/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
-
- }
- @section scripts{
- <script type="text/javascript">
- //加载选择的毕业申请信息IDs
- $(function () {
- var minorGraduationApplyIDs = top.$("#@(Request["WindowID"])").data("inputData").join(',');
- $("#minorGraduationApplyIDs").val(minorGraduationApplyIDs);
- });
- //获取毕业公式对应的学生类别
- function queryGradConditionPackageStudentType(data) {
- var minorGraduationConditionPackageID = $("#MinorGraduationConditionPackageID").combogridX("getValue");
- if (minorGraduationConditionPackageID == "" || minorGraduationConditionPackageID == "-1" || minorGraduationConditionPackageID == null) {
- $("#StudentTypeID").val("");
- return;
- }
- else {
- $("#StudentTypeID").val(data.StudentTypeID);
- }
- }
- function MinorGraduationApplySubmit_Confirm(){
- $(document.forms[0]).submit();
- }
- </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("minorGraduationApplyIDs")
- @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.MinorGraduationConditionPackageID, 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>
|