12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- @using Bowin.Web.Controls.Mvc;
- @using EMISOnline.Entities;
- @using EMISOnline.Web.Controls;
- @{
- ViewBag.Title = "";
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative; overflow:auto;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件</div>
- </div>
- <div class="search_list">
- <div class="practice-container">
- <table>
- <tr>
- <th align="center">
- 试题总分
- </th>
- <th align="center">
- 你的得分
- </th>
- <th align="center">
- 试题总数
- </th>
- <th align="center">
- 答对题数
- </th>
- <th align="center">
- 答错题数
- </th>
- <th align="center">
- 未答题数
- </th>
- </tr>
- <tr>
- <th align="center" id="lbscore">
-
- </th>
- <th align="center" id="lbstudentscore">
-
- </th>
- <th align="center" id="lbquestionnumber">
-
- </th>
- <th align="center" id="lbrightnumber">
-
- </th>
- <th align="center" id="lberrornumber">
-
- </th>
- <th align="center" id="lbunquestion">
-
- </th>
- </tr>
- </table>
- <div class="practice-contont">
- <div id="questionContent">
- </div>
- </div>
- <div class="practice-button">
- @Html.Button(new ButtonOptions() { ID = "btnClose", Text = "关闭页面" })
- </div>
- </div>
- </div>
- </div>
- @section scripts{
- <script type="text/javascript" src="~/Scripts/Examinee/jquery-jtemplates_uncompressed.js"></script>
- <script type="text/javascript" src="~/Scripts/Business/student.parctite.js"></script>
- <script type="text/javascript" src="~/Scripts/NewEMIS.Comm.js"></script>
- <script type="text/javascript" src="~/Scripts/Business/paperBuilder.js"></script>
- <script type="text/jscript">
- var paperInfo = @Html.Raw(ViewBag.questions);
- $(function () {
- $("#questionContent").setTemplateURL('@Url.Content("~/Scripts/Business/PaperTemplate.htm")?v=1111.111ss', null, { filter_data: false });
- $("#questionContent").processTemplate(paperInfo.result);
- showScore(paperInfo.data);
- $('input').attr("disabled", true);
- $('.easyui-panel').panel('resize');
- $('#btnClose').click(function(){
- location.href = "@Url.Content("~/Coursework/Review")?workid=@(ViewBag.workid)";
- })
- // $('body').removeClass('panel-noscroll');
- })
- function showScore(data){
- $('#lbscore').html(data.score);
- $('#lbstudentscore').text(data.studentscore);
- $('#lbquestionnumber').text(data.questionnumber);
- $('#lbrightnumber').text(data.rightnumber);
- $('#lberrornumber').text(data.errornumber);
- $('#lbunquestion').text(data.unquestion);
- }
- </script>
- }
|