12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- @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">
- <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/ViewPaperTemplate.htm")?v=1111.111ss', null, { filter_data: false });
- $("#questionContent").processTemplate(paperInfo);
- //showScore(paperInfo.data);
- $('input').attr("disabled", true);
- $('.easyui-panel').panel('resize');
- $('#btnClose').click(function(){
- location.href = "@Url.Content("~/PaperSetting/PaperList")";
- })
- // $('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>
- }
|