1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- @model EMIS.ViewModel.MinorManage.MinorSetting.MinorStandardSettingView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/MinorManage/MinorSetting/MinorStandardSettingEdit.js"
- type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </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("Edit")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0" id="minorStandardSetting">
- @Html.Hidden("selectMinorStandardIDs")
- @*@Html.HiddenFor(x => x.MinorStandardID)*@
- <tr>
- <td>
- @Html.LabelFor(x => x.StandardName):
- </td>
- <td colspan="3">
- @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Standard, x => x.StandardID, new DropdownListOptions { ID = "StandardID", Name = "StandardID", OnSelect = "StandardSelect" }, new Dictionary<string, string> { { "data-condition", "dgMinorStandardList" } })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.MinorStandardName):
- </td>
- <td colspan="3">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorStandardID" },
- new BoundFieldColumn { FieldName="MinorStandardCode", HeaderText="专业代码", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="MinorStandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.1 },
- },
- IsCheckOnSelect = true,
- IsPostBack = true,
- DataSourceUrl = Url.Content("~/MinorStandardSetting/GetStandardNotSelectID"),
- ID = "dgMinorStandardList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|