123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "CreateEvaluationInventory";
- string schoolYear = ViewData["schoolYear"].ToString();
-
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/EvaluationSetting/CreateEvaluationInventory", 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 popupWindowContent">
- <table cellpadding="0" cellspacing="0" id="teachersOrdertable">
- <tr>
- <td>学年学期:
- </td>
- <td>
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "SchoolyearDropdown", Name = "SchoolyearDropdown", SelectedValue = schoolYear })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function EvaluationStudent_Save() {
- var schoolyearIDStr = $("#SchoolyearDropdown").combobox("getValue");
- if (schoolyearIDStr == "-1") {
- $.messager.alert("系统提示", "请选择要生成评价设定的学年学期!");
- return;
- }
- $(document.forms[0]).submit(); //提交表单
- // $.messager.confirm("系统提示", "您确定要生成评价设定信息?", function (r) {
- // if (r) {
- //
- // }
- // });
- }
- </script>
- }
|