123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- @model EMIS.ViewModel.CultureplanManage.PlanManagement.SpecialtyPlanView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "SpecialtyCopyList";
- ComboGridOptions cgop = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "GrademajorID",
- //OnSelect = "QueryGrademajorComboGrid",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="年级专业名称", Width=0.1, Align=AlignStyle.Center },
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Grademajor/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- function CopyBySpecialty_Confirm() {
- var BeForeGrademajorID = $("#GrademajorBeForeGrademajor").combogridX("getValue");
- if (BeForeGrademajorID == nonSelect) {
- $.messager.alert("系统提示", "请选择源年级专业!");
- return;
- }
- var AfterGrademajorID = $("#GrademajorAfterGrademajor").combogridX("getValue");
- if (AfterGrademajorID == nonSelect) {
- $.messager.alert("系统提示", "请选择目标年级专业!");
- return;
- }
- $(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="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("SpeCopy")</div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.PlanApplicationID)
- @Html.Hidden("SpecialtyCourse")
- <table cellpadding="0" cellspacing="0" id="planApplicationtable">
- <tr>
- <td style="width: 80px;">@Html.LabelFor(x => x.GrademajorBeForeGrademajor):
- </td>
- <td>@Html.ComboGridFor(x => x.GrademajorBeForeGrademajor, cgop)
- </td>
- <td style="width: 80px;">@Html.LabelFor(x => x.GrademajorAfterGrademajor):
- </td>
- <td>@Html.ComboGridFor(x => x.GrademajorAfterGrademajor, cgop)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.IsOverwrite)
- </td>
- <td>@Html.CheckBoxFor((x => x.IsOverwrite))
- </td>
- <td>
-
- </td>
- <td>
-
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|