123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- @model EMIS.ViewModel.EvaluationManage.EvaluationSetting.EvaluationControlView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- <style type="text/css">
- table
- {
- border-collapse: collapse;
- margin: 0 auto;
- text-align: left;
- }
- table td, table th
- {
- border: 1px solid #cad9ea;
- color: #666;
- height: 30px;
- }
- table thead th
- {
- background-color: #CCE8EB;
- width: 100px;
- }
- /*table tr:nth-child(odd)
- {
- background: #fff;
- }
- table tr:nth-child(even)
- {
- background: #F5FAFA;
- }*/
- .popupWindowContent {
- top: 50px;
- }
- </style>
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- @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("List")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0" id="reporttable">
- <tr>
- <th>
- @Html.LabelFor(x => x.SchoolyearCode):
- </th>
- <td colspan="3">
- @Html.DropdownListFor((x => x.SchoolyearID), new DropdownListOptions
- {
- TextField = "Text",
- ValueField = "Value",
- BindType = DropdownListBindType.PleaseSelect,
- ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid")
- })
- </td>
- </tr>
- <tr style="display:@Model.IsLoginLockDisplay">
- <td>
- @Html.LabelFor(x => x.IsLoginLock):
- </td>
- <td style="background-color: white; width: 20px;">
- @Html.CheckBoxFor(x => x.IsLoginLock)
- </td>
- <td>
- @Html.LabelFor(x => x.LoginLockMessage):
- </td>
- <td style="background-color: white;">
- @Html.TextBoxFor(x => x.LoginLockMessage, new { style = "width: 90%" })
- </td>
- </tr>
- <tr style="display:@Model.IsSelectCourseLockDisplay">
- <td>
- @Html.LabelFor(x => x.IsSelectCourseLock):
- </td>
- <td style="background-color: white;">
- @Html.CheckBoxFor(x => x.IsSelectCourseLock)
- </td>
- <td>
- @Html.LabelFor(x => x.SelectCourseLockMessage):
- </td>
- <td style="background-color: white;">
- @Html.TextBoxFor(x => x.SelectCourseLockMessage, new { style = "width: 90%" })
- </td>
- </tr>
- <tr style="display:@Model.IsExaminationApplyLockDisplay">
- <td>
- @Html.LabelFor(x => x.IsExaminationApplyLock):
- </td>
- <td style="background-color: white;">
- @Html.CheckBoxFor(x => x.IsExaminationApplyLock)
- </td>
- <td>
- @Html.LabelFor(x => x.ExaminationApplyLockMessage):
- </td>
- <td style="background-color: white;">
- @Html.TextBoxFor(x => x.ExaminationApplyLockMessage, new { style = "width: 90%" })
- </td>
- </tr>
- <tr style="display:@Model.IsCourseScoreLockDisplay">
- <td>
- @Html.LabelFor(x => x.IsCourseScoreLock):
- </td>
- <td style="background-color: white;">
- @Html.CheckBoxFor(x => x.IsCourseScoreLock)
- </td>
- <td>
- @Html.LabelFor(x => x.CourseScoreLockMessage):
- </td>
- <td style="background-color: white;">
- @Html.TextBoxFor(x => x.CourseScoreLockMessage, new { style = "width: 90%" })
- </td>
- </tr>
- <tr style="display:@Model.IsLevelScoreLockDisplay">
- <td>
- @Html.LabelFor(x => x.IsLevelScoreLock):
- </td>
- <td style="background-color: white;">
- @Html.CheckBoxFor(x => x.IsLevelScoreLock)
- </td>
- <td>
- @Html.LabelFor(x => x.LevelScoreLockMessage):
- </td>
- <td style="background-color: white;">
- @Html.TextBoxFor(x => x.LevelScoreLockMessage, new { style = "width: 90%" })
- </td>
- </tr>
- <tr>
- <th>
- @Html.LabelFor(x => x.NoNumber):
- </th>
- <td colspan="3">
- @Html.TextBoxFor(x => x.NoNumber)
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- //保存
- function EvaluationControl_Save() {
- var schoolyearID = $("#SchoolyearID").combobox("getValue");
- if (schoolyearID == "" || schoolyearID == "-1" || schoolyearID == null) {
- $.messager.alert("系统提示", "请选择进行评价的学年学期。");
- return;
- }
- $(document.forms[0]).submit();
- }
- </script>
- }
|