123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- @model EMIS.ViewModel.MinorGraduation.MinorGraduationSetting.MinorGraduationConditionPackageView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/MinorGraduation/MinorGraduationSetting/MinorGraduationConditionPackageEdit.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.MinorGraduationConditionPackageID)
- <table cellpadding="0" cellspacing="0" id="minorGraduationConditionPackagetable">
- <tr>
- <td>
- @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.MinorGraduationCondition):
- </td>
- <td colspan="3">
- @Html.ContextMenuBar("Settings")
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorGraduationConditionID" },
- //new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.02 },
- new BoundFieldColumn { FieldName="Title", HeaderText="条件名称", Align=AlignStyle.Center, Width=0.2 }
- },
- IsPostBack = true,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/MinorGraduationConditionPackage/MinorGraduationConditionViewList?minorGraduationConditionPackageID=" + Model.MinorGraduationConditionPackageID),
- ID = "dgMinorGraduationConditionList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|