12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- @model EMIS.ViewModel.ExaminationBatchView
- @using EMIS.Web.Controls;
- @using EMIS.Entities;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- ComboGridOptions cgopExamType = new ComboGridOptions
- {
- TextField = "Code",
- ValueField = "SchoolYearID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Code", HeaderText="学年学期", Align=AlignStyle.Center ,Width=0.2},
- new BoundFieldColumn { FieldName="Years", HeaderText="学年", Align=AlignStyle.Center ,Width=0.2},
- new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="学期", Align=AlignStyle.Center ,Width=0.2},
- },
- PageSize = 5,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SchoolYear/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/ExamManage/ExaminationBatchList.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 (Request.QueryString["Type"] != "1")//控制列表进入、屏蔽按钮权限
- {
- @Html.ContextMenuBar("Edit")
- }
- </div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.ExaminationBatchID)
- <table cellpadding="0" cellspacing="0" id="Campustable">
- <tr>
- <td style="width: 150px">
- @Html.LabelFor(x => x.SchoolyearID):
- </td>
- <td colspan="3">
- @Html.ComboGridFor(x => x.SchoolyearID, cgopExamType)
- </td>
- </tr>
- <tr>
- <td style="width: 150px">
- @Html.LabelFor(x => x.Name):
- </td>
- <td colspan="3">
- @Html.TextBoxFor(x => x.Name, new TextBoxOptions() { IsEnabled = true }, new Dictionary<string, string> { { "style", "width:90%;" } })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.StartDate):
- </td>
- <td>
- @Html.TextBoxFor(x => x.StartDate, new TextBoxOptions { TextBoxType = TextBoxType.Date })
- </td>
- <td style="width: 150px">
- @Html.LabelFor(x => x.EndDate):
- </td>
- <td>
- @Html.TextBoxFor(x => x.EndDate, new TextBoxOptions { TextBoxType = TextBoxType.Date })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Remark):
- </td>
- <td colspan="3">
- @Html.TextAreaFor(x => x.Remark, new Dictionary<string, object> { { "style", "width: 90%;min-height: 50px" } })
-
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|