12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- @model EMIS.ViewModel.GraduationManage.GraduationSetting.GraduationConditionPackageView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/GraduationManage/GraduationSetting/GraduationConditionPackageEdit.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;">
- @if (ViewBag.Type != "1")//控制列表进入、屏蔽按钮权限
- {
- @Html.ContextMenuBar("Edit")
- }
- </div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.GraduationConditionPackageID)
- <table cellpadding="0" cellspacing="0" id="graduationConditionPackagetable">
- <tr>
- <td style="color: red;">
- @Html.LabelFor(x => x.Title):
- </td>
- <td colspan="3">
- @Html.TextBoxFor(x => x.Title, new TextBoxOptions()
- {
- IsRequired = true
- },
- new Dictionary<string, string> { { "style", "width:75%;" } })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.StudentTypeID):
- </td>
- <td>
- @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_STUDENTTYPE, x => x.StudentTypeID)
- </td>
- <td>
- @Html.LabelFor(x => x.IsDefault):
- </td>
- <td>
- @Html.CheckBoxFor(x => x.IsDefault, new Dictionary<string, object> { })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.GraduationCondition):
- </td>
- <td colspan="3">
- @Html.ContextMenuBar("Settings")
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="GraduationConditionID" },
- new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.02 },
- new BoundFieldColumn { FieldName="Title", HeaderText="条件名称", Align=AlignStyle.Center, Width=0.2 }
- },
- PageSize = 15,
- IsPostBack = true,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/GraduationConditionPackage/GraduationConditionViewList?GraduationConditionPackageID=" + Model.GraduationConditionPackageID),
- ID = "dgGraduationConditionList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- MaxHeight = 230
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|