12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- @model EMIS.ViewModel.MinorManage.MinorApply.MinorApplyView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- //学生信息
- ComboGridOptions cgopStudent = new ComboGridOptions
- {
- TextField = "LoginID",
- ValueField = "UserID",
- //OnSelect = "queryStudentView",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Width=0.25, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Width=0.15, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Students/BaseStudentViewList"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/MinorManage/MinorApply/MinorResitListEdit.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.LoginID):
- </td>
- <td>
- @Html.ComboGridFor(x => x.UserID, cgopStudent)
- </td>
- <td>
- @Html.LabelFor(x => x.UserName):
- </td>
- <td>
- @Html.TextBoxFor(x => x.UserName, new TextBoxOptions() { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.SchoolyearCode):
- </td>
- <td>@Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), IsEnabled=false })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|