1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- @model EMIS.ViewModel.EvaluationManage.EvaluationControlView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- Layout = "~/Views/Shared/_Layout.cshtml";
- ViewBag.Title = "Edit";
- }
- <style type="text/css">
-
- </style>
- <div class="separatorline">
- @using (Html.BeginForm())
- {
-
- <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="gobal-from">
- @Html.HiddenFor(x => x.ControlID)
- <table cellpadding="0" cellspacing="1">
- <tr>
- <th>@Html.LabelFor(x => x.SchoolyearID):
- </th>
- <td>@Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions { ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), TextField = "Text", ValueField = "Value" })
- </td>
- </tr>
- <tr>
- <th>@Html.LabelFor(x => x.IsResult):
- </th>
- <td colspan="3">@Html.CheckBoxFor(x => x.IsResult)
- </td>
- </tr>
- <tr>
- <th>@Html.LabelFor(x => x.IsCourse):
- </th>
- <td colspan="3">@Html.CheckBoxFor(x => x.IsCourse)
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function EvaluationControl_Save() {
- var controlID = $("#ControlID").val();
- var SchoolyearID = $("#SchoolyearID").val();
- $.post('/EvaluationControl/Verification', { controlID: controlID, schoolyearID: SchoolyearID }, function (data) {
- if (data == "成功") {
- $(document.forms[0]).submit();
- } else {
- $.messager.alert("系统提示", data);
- }
- });
- }
- </script>
- }
|