12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- @using Bowin.Web.Controls.Mvc;
- @using EMISOnline.Entities;
- @using EMISOnline.Web.Controls;
- @model EMISOnline.Entities.ER_ScoreRule
- @{
-
- ViewBag.Title = "Edit";
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- </div>
- <div class="p_title">
- <div style="float: left; margin-left: 10px; color: #333; line-height: 35px; font-size: 12px;">
- 计分规则</div>
- <div style="margin-right: 10px; float: right; line-height: 30px; font-size: 12px;">
- @Html.Button(new ButtonOptions() { ID = "btnSave", Text = "保 存" })
- </div>
- </div>
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete",
- }))
- {
- @Html.HiddenFor(model => model.ScoreRuleID)
- <div class="gobal-from">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <th>
- 登录最高分:
- </th>
- <td>
- @Html.TextBoxFor(model => model.LoginMax, new TextBoxOptions { IsRequired = true })
- </td>
- <th>
- 每次登录分:
- </th>
- <td>
- @Html.TextBoxFor(model => model.LoginEachTime, new TextBoxOptions { Required = true })
- </td>
- </tr>
- <tr>
- <th>
- 课件学习最高分:
- </th>
- <td>
- @Html.TextBoxFor(model => model.CoursewareMax, new TextBoxOptions { Required = true })
- </td>
- <th>
- 课件连续学习分钟数:
- </th>
- <td>
- @Html.TextBoxFor(model => model.CoursewareContinueMinite, new TextBoxOptions { Required = true })
- </td>
- </tr>
- <tr>
- <th>
- 课件连续学习得分:
- </th>
- <td>
- @Html.TextBoxFor(model => model.CoursewareEachTime, new TextBoxOptions { Required = true })
- </td>
- <th>
- 作业最高分:
- </th>
- <td>
- @Html.TextBoxFor(model => model.HomeworkMax, new TextBoxOptions { Required = true })
- </td>
- </tr>
- <tr>
- <th>
- 教师评分:
- </th>
- <td colspan="3">
- @Html.TextBoxFor(model => model.TeacherScore, new TextBoxOptions { Required = true })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- <script type="text/javascript">
- $(function () {
- $('#btnSave').click(function () {
- $(document.forms[0]).submit();
- })
- });
- </script>
|