123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- @using Bowin.Web.Controls.Mvc;
- @using EMISOnline.Entities;
- @using EMISOnline.Web.Controls;
- @{
- ViewBag.Title = "PracticeSetting";
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件</div>
- </div>
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete",
- }))
- {
- <div class="search_list">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <th colspan="2" align="left">
- 选择题型:
- </th>
- </tr>
- <tr>
- <td colspan="2">
- @Html.CheckList(new ListControlOptions()
- {
- ItemSourceUrl = Url.Content("~/Practice/ListAllQuestionType"),
- Name = "cklType",
- ID = "cklType",
- TextName = "Name",
- TextField = "Name",
- ValueField = "base_question_type_id",
- ColumnCount = 5
- })
- </td>
- </tr>
- <tr>
- <th align="left">
- 设置数量:
- </th>
- <th>
- @Html.TextBox(new TextBoxOptions() { TextBoxType = TextBoxType.Normal, ID = "txtNum", Name="txtNum" ,IsRequired=true })
- </th>
- </tr>
- <tr>
- <th align="left">
- 练习全部:
- </th>
- <th>
- @Html.CheckBox("ckbAll", false, new { @id = "ckbAll", @value = "true", @name = "rand_test_point_type" })
- <span style="color: #C0A8A0; font-weight: normal;">提示:练习全部可保存做题记录,供下次继续做题。</span>
- </th>
- </tr>
- <tr>
- <td align="center" colspan="3">
- @if (ViewBag.ShowRecordButton)
- { <a id="lkbPrev" href="javascript:">进入上一次练习</a>}
- @Html.Button(new ButtonOptions() { ID = "btnSave", Text = "进入练习" })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/jscript">
- $(function () {
- $('#btnSave').click(function () {
- $(document.forms[0]).submit();
- })
- $('#lkbPrev').click(function () {
- location.href = "@Url.Content("~/Practice/PracticeView")?QuestionIndex=@(ViewBag.QuestionIndex)";
- })
- })
- </script>
- }
|