1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- @model EMIS.ViewModel.SupervisionManage.ProjectRecordTeacherView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- ComboGridOptions teacher = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "UserID",
- OnSelect = "",
- ID = "StaffDropdown",
- Name = "StaffDropdown",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="StaffCode", HeaderText="工号", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="教师名字", Width=0.1, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Staff/ListWithNoDataRange"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsAutoLoad = true
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/SupervisionManage/SupervisionUserEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- @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">
- @Html.HiddenFor(x => x.SupervisionUserID)
- <table cellpadding="0" cellspacing="0" id="educationMissionClassChecktable">
- <tr>
- <td>@Html.Label("督导员"):</td>
- <td> @Html.ComboGridFor(x => x.TeacherID, teacher)</td>
- </tr>
- </table>
- </div>
- }
|