12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- @model EMIS.ViewModel.ScoreManage.ExaminationExemptionView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- ComboGridOptions cgopCourse = new ComboGridOptions
- {
- TextField = "CourseName",
- ValueField = "CoursematerialID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="CourseCode", HeaderText="课程代码", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Width=0.3, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationExemption/GetCoursematerial"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script type="text/javascript">
- function ExaminationExemption_Save() {
- $(document.forms[0]).submit();
- }
- </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">
- @Html.HiddenFor(x => x.ExaminationExemptionID)
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>@Html.LabelFor(x => x.CoursematerialID):
- </td>
- <td>@Html.ComboGridFor(x => x.CoursematerialID, cgopCourse)
- </td>
- <td>@Html.LabelFor(x => x.ExamsCategoryID):
- </td>
- <td>@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ExamsCategory, x => x.ExamsCategoryID,
- new DropdownListOptions { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Reason):
- </td>
- <td colspan="3">@Html.TextAreaFor(x => x.Reason, new Dictionary<string, object> { { "style", "width: 98%;" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|