(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e90eff40"],{"0a0e":function(t,e,s){"use strict";const n=function(t){t||(t=document);const e=t.getElementsByClassName("hljs");for(let s=0;s<e.length;s++){const n=e[s],i=n.querySelector(".line-num-box");if(!i){const e=t.querySelectorAll("pre code");e.forEach(t=>{console.log(t,4122123),console.log(t.offsetHeight,4122123);let e=document.createElement("div");e.setAttribute("style","height: "+t.offsetHeight+"px"),e.setAttribute("style","float: left;  padding:0 5px; border-right: 1px solid #ccc;  margin-right: 5px;font-size:18px"),e.className="line-num-box";let s="";for(let n=1;n<=Math.ceil(t.offsetHeight/26);n++)s+=n+"\n";e.innerText=s,t.parentElement.insertBefore(e,t)})}}};e["a"]=n},"12f4":function(t,e,s){},"2cf7":function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wrapper-score-detail line-numbers"},[3==t.CurrentQuestion.subject_id?s("div",[t.drawer?s("el-button",{staticStyle:{position:"fixed","z-index":"10000",float:"right",right:"20px","margin-top":"-62px",background:"#66b1ff7d",color:"white",border:"0px"},attrs:{size:"medium"},on:{click:t.CloseDrawer}},[s("svg",{staticClass:"icon",attrs:{t:"1665542150306",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2543",width:"15",height:"15"}},[s("path",{attrs:{d:"M1024 505.679012c0-10.835979-4.815991-21.069959-12.039976-27.691946l-403.941211-361.199295c-6.621987-5.417989-14.447972-9.029982-23.477954-9.029982-20.46796 0-36.721928 16.855967-36.721928 37.925926l0 159.529688C238.993533 356.985303 21.069959 591.764844 0 893.366255c1.203998 12.641975 11.437978 22.875955 23.477954 22.875955 4.815991 0 9.631981-1.805996 13.243974-4.213992 0 0 0 0 0 0 53.577895-39.129924 99.329806-68.627866 135.449735-87.891828 87.28983-49.965902 222.739565-89.697825 375.045267-105.951793l0 148.091711c0 21.069959 16.253968 37.925926 36.721928 37.925926 8.427984 0 16.253968-3.611993 22.875955-8.427984l403.941211-361.199295c0 0 0 0 0 0C1019.184009 527.35097 1024 517.11699 1024 505.679012z","p-id":"2544",fill:"#ffffff"}}),s("path",{attrs:{d:"M467.151088 380.463257c-33.711934 6.019988-96.921811 24.681952-139.061728 80.667842-7.223986 9.029982-5.417989 22.875955 3.611993 30.099941 0 0 0 0 0.601999 0 9.029982 7.223986 21.671958 5.417989 28.895944-3.009994 23.477954-28.895944 51.771899-57.189888 111.971781-65.015873 9.631981-1.203998 17.457966-9.631981 17.457966-19.865961l0-3.009994C490.027043 387.687243 478.589065 378.65726 467.151088 380.463257z","p-id":"2545",fill:"#ffffff"}}),s("path",{attrs:{d:"M323.273369 518.320988C322.67137 518.320988 322.67137 518.320988 323.273369 518.320988c-12.039976-6.019988-25.885949 0.601999-28.895944 12.641975-2.407995 9.631981-4.815991 19.865961-6.019988 30.70194-1.805996 12.039976 7.223986 22.875955 19.263962 22.875955l3.611993 0c10.23398 0 18.661964-7.825985 19.263962-17.457966 0.601999-7.825985 1.805996-13.243974 4.213992-24.681952C337.119342 532.768959 331.701352 522.534979 323.273369 518.320988z","p-id":"2546",fill:"#ffffff"}})]),t._v(" 返回试卷 ")]):t._e(),t.drawer?s("el-button",{staticStyle:{position:"fixed","z-index":"10000",float:"right","margin-top":"-62px",right:"150px",background:"#66b1ff7d",color:"white",border:"0px"},attrs:{size:"medium"},on:{click:t.OpenDrawer}},[s("svg",{staticClass:"icon",attrs:{t:"1665543507850",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4723",width:"15",height:"15"}},[s("path",{attrs:{d:"M811.115789 1005.136842H212.884211a194.290526 194.290526 0 0 1-194.021053-194.021053V212.884211A194.290526 194.290526 0 0 1 212.884211 18.863158h598.231578a194.290526 194.290526 0 0 1 194.021053 194.021053v598.231578a194.290526 194.290526 0 0 1-194.021053 194.021053zM212.884211 72.757895a140.126316 140.126316 0 0 0-140.126316 140.126316v598.231578a140.126316 140.126316 0 0 0 140.126316 140.126316h598.231578a140.126316 140.126316 0 0 0 140.126316-140.126316V212.884211a140.126316 140.126316 0 0 0-140.126316-140.126316z","p-id":"4724",fill:"#ffffff"}}),s("path",{attrs:{d:"M788.210526 350.315789H439.781053a25.6 25.6 0 1 1 0-50.930526h348.429473a25.6 25.6 0 0 1 0 50.930526zM292.109474 350.315789H233.903158a26.947368 26.947368 0 0 1 0-53.894736h58.206316a26.947368 26.947368 0 0 1 0 53.894736zM788.210526 538.947368H439.781053a25.6 25.6 0 1 1 0-50.930526h348.429473a25.6 25.6 0 0 1 0 50.930526zM292.109474 540.564211H233.903158a26.947368 26.947368 0 0 1 0-53.894737h58.206316a26.947368 26.947368 0 0 1 0 53.894737zM788.210526 745.094737H439.781053a25.6 25.6 0 1 1 0-50.930526h348.429473a25.6 25.6 0 0 1 0 50.930526zM292.109474 746.442105H233.903158a26.947368 26.947368 0 1 1 0-53.894737h58.206316a26.947368 26.947368 0 0 1 0 53.894737z","p-id":"4725",fill:"#ffffff"}})]),t._v(" 题目说明 ")]):t._e()],1):t._e(),2==t.CurrentQuestion.subject_id?s("div",[t.drawer?s("el-button",{staticStyle:{position:"fixed","z-index":"10000",float:"right",right:"10px","margin-top":"-68px",background:"#66b1ff7d",color:"white",border:"0px"},attrs:{size:"medium"},on:{click:t.CloseDrawer}},[s("svg",{staticClass:"icon",attrs:{t:"1665542150306",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2543",width:"15",height:"15"}},[s("path",{attrs:{d:"M1024 505.679012c0-10.835979-4.815991-21.069959-12.039976-27.691946l-403.941211-361.199295c-6.621987-5.417989-14.447972-9.029982-23.477954-9.029982-20.46796 0-36.721928 16.855967-36.721928 37.925926l0 159.529688C238.993533 356.985303 21.069959 591.764844 0 893.366255c1.203998 12.641975 11.437978 22.875955 23.477954 22.875955 4.815991 0 9.631981-1.805996 13.243974-4.213992 0 0 0 0 0 0 53.577895-39.129924 99.329806-68.627866 135.449735-87.891828 87.28983-49.965902 222.739565-89.697825 375.045267-105.951793l0 148.091711c0 21.069959 16.253968 37.925926 36.721928 37.925926 8.427984 0 16.253968-3.611993 22.875955-8.427984l403.941211-361.199295c0 0 0 0 0 0C1019.184009 527.35097 1024 517.11699 1024 505.679012z","p-id":"2544",fill:"#ffffff"}}),s("path",{attrs:{d:"M467.151088 380.463257c-33.711934 6.019988-96.921811 24.681952-139.061728 80.667842-7.223986 9.029982-5.417989 22.875955 3.611993 30.099941 0 0 0 0 0.601999 0 9.029982 7.223986 21.671958 5.417989 28.895944-3.009994 23.477954-28.895944 51.771899-57.189888 111.971781-65.015873 9.631981-1.203998 17.457966-9.631981 17.457966-19.865961l0-3.009994C490.027043 387.687243 478.589065 378.65726 467.151088 380.463257z","p-id":"2545",fill:"#ffffff"}}),s("path",{attrs:{d:"M323.273369 518.320988C322.67137 518.320988 322.67137 518.320988 323.273369 518.320988c-12.039976-6.019988-25.885949 0.601999-28.895944 12.641975-2.407995 9.631981-4.815991 19.865961-6.019988 30.70194-1.805996 12.039976 7.223986 22.875955 19.263962 22.875955l3.611993 0c10.23398 0 18.661964-7.825985 19.263962-17.457966 0.601999-7.825985 1.805996-13.243974 4.213992-24.681952C337.119342 532.768959 331.701352 522.534979 323.273369 518.320988z","p-id":"2546",fill:"#ffffff"}})]),t._v(" 返回 ")]):t._e(),t.drawer?s("el-button",{staticStyle:{position:"fixed","z-index":"10000",float:"right","margin-top":"-68px",right:"110px",background:"#66b1ff7d",color:"white",border:"0px"},attrs:{size:"medium"},on:{click:t.OpenDrawer}},[s("svg",{staticClass:"icon",attrs:{t:"1665543507850",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4723",width:"15",height:"15"}},[s("path",{attrs:{d:"M811.115789 1005.136842H212.884211a194.290526 194.290526 0 0 1-194.021053-194.021053V212.884211A194.290526 194.290526 0 0 1 212.884211 18.863158h598.231578a194.290526 194.290526 0 0 1 194.021053 194.021053v598.231578a194.290526 194.290526 0 0 1-194.021053 194.021053zM212.884211 72.757895a140.126316 140.126316 0 0 0-140.126316 140.126316v598.231578a140.126316 140.126316 0 0 0 140.126316 140.126316h598.231578a140.126316 140.126316 0 0 0 140.126316-140.126316V212.884211a140.126316 140.126316 0 0 0-140.126316-140.126316z","p-id":"4724",fill:"#ffffff"}}),s("path",{attrs:{d:"M788.210526 350.315789H439.781053a25.6 25.6 0 1 1 0-50.930526h348.429473a25.6 25.6 0 0 1 0 50.930526zM292.109474 350.315789H233.903158a26.947368 26.947368 0 0 1 0-53.894736h58.206316a26.947368 26.947368 0 0 1 0 53.894736zM788.210526 538.947368H439.781053a25.6 25.6 0 1 1 0-50.930526h348.429473a25.6 25.6 0 0 1 0 50.930526zM292.109474 540.564211H233.903158a26.947368 26.947368 0 0 1 0-53.894737h58.206316a26.947368 26.947368 0 0 1 0 53.894737zM788.210526 745.094737H439.781053a25.6 25.6 0 1 1 0-50.930526h348.429473a25.6 25.6 0 0 1 0 50.930526zM292.109474 746.442105H233.903158a26.947368 26.947368 0 1 1 0-53.894737h58.206316a26.947368 26.947368 0 0 1 0 53.894737z","p-id":"4725",fill:"#ffffff"}})]),t._v(" 题目 ")]):t._e()],1):t._e(),s("div",{staticClass:"back"},[s("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[s("el-breadcrumb-item",{staticStyle:{cursor:"pointer"},nativeOn:{click:function(e){return t.goBack(e)}}},[t._v("返回")]),s("el-breadcrumb-item",[t._v(t._s(t.title))]),s("el-breadcrumb-item",[t._v("成绩详情")])],1)],1),s("div",{staticClass:"score-detail"},[s("el-row",[s("el-col",{attrs:{span:24}},[s("div",[s("el-row",{attrs:{gutter:20}},[s("el-col",{attrs:{span:8}},[s("div",{staticClass:"wrapper"},[s("el-card",{attrs:{shadow:"never"}},[s("div",{staticClass:"title",attrs:{slot:"header"},slot:"header"},[s("i",{staticClass:"el-icon-data-line"}),s("span",{staticClass:"label"},[t._v("得分")])]),s("div",{staticClass:"info"},[s("span",{staticClass:"content1"},[t._v(t._s(t.stuExamInfo.total_score)+"分")])])])],1)]),s("el-col",{attrs:{span:8}},[s("div",{staticClass:"wrapper"},[s("el-card",{attrs:{shadow:"never"}},[s("div",{staticClass:"title",attrs:{slot:"header"},slot:"header"},[s("i",{staticClass:"el-icon-s-data"}),s("span",{staticClass:"label"},[t._v("正确率")])]),s("div",{staticClass:"info"},[s("span",{staticClass:"content2"},[t._v(t._s((t.stuExamInfo.right_num/t.question_num*100).toFixed(1))+"%")])])])],1)]),s("el-col",{attrs:{span:8}},[s("div",{staticClass:"wrapper"},[s("el-card",{attrs:{shadow:"never"}},[s("div",{staticClass:"title",attrs:{slot:"header"},slot:"header"},[s("i",{staticClass:"el-icon-alarm-clock"}),s("span",{staticClass:"label"},[t._v("作答时长")])]),s("div",{staticClass:"info"},[s("span",{staticClass:"content3"},[t._v(t._s(t.getHMS(t.stuExamInfo.last_time)))])])])],1)])],1)],1)])],1)],1),s("div",[s("el-tabs",{attrs:{"tab-position":"top"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t.is_show_ranking_list?s("el-tab-pane",{attrs:{label:"我的排行",name:"first"}},[s("div",{staticClass:"ranklist"},[s("el-table",{attrs:{size:"mini",data:t.ranklist,"header-cell-style":{background:"#f5f7fa",color:"#909399"},stripe:""}},[s("el-table-column",{attrs:{align:"center",width:"100",label:"序号"},scopedSlots:t._u([{key:"default",fn:function(e){return[s("span",[t._v(t._s(e.$index+1))])]}}],null,!1,4178052834)}),s("el-table-column",{attrs:{label:"姓名",prop:"name"}}),s("el-table-column",{attrs:{label:"开考时间",prop:"start_time",width:"200"}}),s("el-table-column",{attrs:{label:"答题时长"},scopedSlots:t._u([{key:"default",fn:function(e){return[s("span",[t._v(t._s(t.getHMS(e.row.last_time)))])]}}],null,!1,733413543)}),s("el-table-column",{attrs:{label:"成绩",prop:"total_score",align:"center"}}),s("el-table-column",{attrs:{label:"及格",prop:"total_score",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.total_score?s("span",[e.row.total_score>=t.passscore?s("span",{staticStyle:{color:"green"}},[t._v("及格")]):s("span",{staticStyle:{color:"red"}},[t._v("不及格")])]):s("span",[t._v("--")])]}}],null,!1,2023832527)}),s("el-table-column",{attrs:{label:"交卷次数",prop:"submit_times",align:"center"}}),s("el-table-column",{attrs:{label:"老师评语",prop:"tch_comment",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.row.tch_comment,placement:"top-end"}},[s("div",{staticClass:"text-of-hide"},[t._v(t._s(e.row.tch_comment))])])]}}],null,!1,2125725854)}),s("el-table-column",{attrs:{label:"状态",prop:"submit_times",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.last_time>0?s("span",{staticStyle:{color:"green"}},[t._v("已交卷")]):s("span",[t._v("未交卷")])]}}],null,!1,2415014351)})],1)],1)]):t._e(),s("el-tab-pane",{attrs:{label:"我的试卷",name:t.name2}},[s("el-row",{staticClass:"question",attrs:{gutter:20}},[s("el-col",{attrs:{span:18}},[s("el-card",{attrs:{shadow:"never"}},[s("div",{staticClass:"question-wrapper"},[s("div",{staticClass:"exam_wrapper"},[s("div",{staticClass:"exam_title"},[t._v(t._s(t.title))]),s("div",{staticClass:"exam_set"},[s("span",{staticClass:"exam_label"},[t._v("考试题数:")]),s("span",{staticClass:"exam_txt"},[t._v(t._s(t.paperInfo.total_num))]),s("span",{staticClass:"exam_label"},[t._v("考试时间:")]),s("span",{staticClass:"exam_txt"},[t._v(t._s(t.examInfo.lasttime/60)+"分钟")]),s("span",{staticClass:"exam_label"},[t._v("满分:")]),s("span",{staticClass:"exam_txt"},[t._v(t._s(t.paperInfo.total_score)+"分")]),s("span",{staticClass:"exam_label"},[t._v("及格分:")]),s("span",{staticClass:"exam_txt"},[t._v(t._s(t.examInfo.passscore)+"分")])])]),s("el-divider"),s("el-row",[s("el-col",{attrs:{span:6}},[s("div",{staticClass:"question-header"},[s("span",{staticClass:"question-label"},[t._v("题型")]),"1"==t.CurrentQuestion.type?s("el-tag",{staticClass:"question-type",attrs:{size:"mini"}},[t._v("单选题")]):"2"==t.CurrentQuestion.type?s("el-tag",{staticClass:"question-type",attrs:{size:"mini"}},[t._v("多选题")]):"3"==t.CurrentQuestion.type?s("el-tag",{staticClass:"question-type",attrs:{size:"mini"}},[t._v("判断题")]):"4"==t.CurrentQuestion.type?s("el-tag",{staticClass:"question-type",attrs:{size:"mini"}},[t._v("填空题")]):"5"==t.CurrentQuestion.type?s("el-tag",{staticClass:"question-type",attrs:{size:"mini"}},[t._v("简答题")]):"6"==t.CurrentQuestion.type?s("el-tag",{staticClass:"question-type",attrs:{size:"mini"}},[t._v("综合题")]):"7"==t.CurrentQuestion.type?s("el-tag",{staticClass:"question-type",attrs:{size:"mini"}},[t._v("阅读程序题")]):"8"==t.CurrentQuestion.type?s("el-tag",{staticClass:"question-type",attrs:{size:"mini"}},[t._v("完善程序题")]):t._e()],1)])],1),s("div",{staticClass:"question-content"},[s("div",{staticClass:"question-info"},[s("el-tag",{staticClass:"question-sort",attrs:{size:"mini",type:"info",effect:"plain"}},[t._v(t._s(t.CurrentQuestion.index+1)+"，")]),1===t.CurrentQuestion.show_type?s("span",{staticClass:"question-title"},[s("span",{staticClass:"question-title",domProps:{innerHTML:t._s(t.CurrentQuestion.title_other)}}),s("span",{domProps:{innerHTML:t._s(t.CurrentQuestion.title)}})]):s("span",{staticClass:"question-title"},[t.CurrentQuestion.title_other_md?s("span",[s("mavon-editor",{style:{"min-height":"0px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.title_other_md,callback:function(e){t.$set(t.CurrentQuestion,"title_other_md",e)},expression:"CurrentQuestion.title_other_md"}})],1):t._e(),s("mavon-editor",{style:{"min-height":"0px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.title_md,callback:function(e){t.$set(t.CurrentQuestion,"title_md",e)},expression:"CurrentQuestion.title_md"}})],1),s("span",{staticClass:"question-score"},[t._v("("+t._s(t.CurrentQuestion.score)+"分) ")])],1),t.CurrentQuestion.options&&"1"==t.CurrentQuestion.type?s("div",{staticClass:"answer-otions"},[1===t.CurrentQuestion.show_type?s("div",t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{disabled:"",label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                              paperQuestionList[CurrentQuestion.index]\n                                .stu_answer\n                            "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),0):s("div",t._l(JSON.parse(t.CurrentQuestion.options_md),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{disabled:"",label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                              paperQuestionList[CurrentQuestion.index]\n                                .stu_answer\n                            "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input"},[s("mavon-editor",{style:{"min-height":"0px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:e.content,callback:function(s){t.$set(e,"content",s)},expression:"option.content"}})],1):t._e()])})),0),s("div",{staticClass:"answerinfo"},[s("div",{staticClass:"answer-correct"},[null!=t.CurrentQuestion.answer?s("span",{staticClass:"corrent-label"},[t._v("正确答案:")]):t._e(),s("span",{staticClass:"corrent-content"},[t._v(t._s(t.CurrentQuestion.answer))])]),t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v(t._s(t.CurrentQuestion.stu_answer))]),"1"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-success"}):"2"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-error"}):s("span",[t._v("未评分")])]):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])]),s("div",{staticClass:"answer-analysis"},[null!=t.CurrentQuestion.analysis?s("span",{staticClass:"analysis"},[t._v("试题解析:")]):t._e(),1===t.CurrentQuestion.show_type?s("span",{staticClass:"analysis-content",domProps:{innerHTML:t._s(t.CurrentQuestion.analysis)}}):s("span",{staticClass:"analysis-content"},[s("mavon-editor",{style:{"min-height":"0px","margin-top":"10px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.analysis_md,callback:function(e){t.$set(t.CurrentQuestion,"analysis_md",e)},expression:"CurrentQuestion.analysis_md"}})],1)])])]):t._e(),t.CurrentQuestion.options&&"2"==t.CurrentQuestion.type?s("div",{staticClass:"answer-otions"},[1===t.CurrentQuestion.show_type?s("div",t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-checkbox",{attrs:{disabled:"",label:e.title},model:{value:t.CurrentQuestion.answers[n],callback:function(e){t.$set(t.CurrentQuestion.answers,n,e)},expression:"CurrentQuestion.answers[index]"}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),0):s("div",t._l(JSON.parse(t.CurrentQuestion.options_md),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-checkbox",{attrs:{disabled:"",label:e.title},model:{value:t.CurrentQuestion.answers[n],callback:function(e){t.$set(t.CurrentQuestion.answers,n,e)},expression:"CurrentQuestion.answers[index]"}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input"},[s("mavon-editor",{style:{"min-height":"0px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:e.content,callback:function(s){t.$set(e,"content",s)},expression:"option.content"}})],1):t._e()])})),0),s("div",{staticClass:"answerinfo"},[s("div",{staticClass:"answer-correct"},[null!=t.CurrentQuestion.answer?s("span",{staticClass:"corrent-label"},[t._v("正确答案:")]):t._e(),s("span",{staticClass:"corrent-content"},[t._v(t._s(t.CurrentQuestion.answer))])]),t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v(t._s(t.CurrentQuestion.stu_answer))]),"1"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-success"}):s("span",{staticClass:"el-icon-error"})]):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])]),s("div",{staticClass:"answer-analysis"},[null!=t.CurrentQuestion.analysis?s("span",{staticClass:"analysis"},[t._v("试题解析:")]):t._e(),1===t.CurrentQuestion.show_type?s("span",{staticClass:"analysis-content",domProps:{innerHTML:t._s(t.CurrentQuestion.analysis)}}):s("span",{staticClass:"analysis-content"},[s("mavon-editor",{style:{"min-height":"0px","margin-top":"10px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.analysis_md,callback:function(e){t.$set(t.CurrentQuestion,"analysis_md",e)},expression:"CurrentQuestion.analysis_md"}})],1)])])]):t._e(),t.CurrentQuestion.options&&"3"==t.CurrentQuestion.type?s("div",{staticClass:"answer-otions"},[t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                            paperQuestionList[CurrentQuestion.index]\n                              .stu_answer\n                          "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),s("div",{staticClass:"answerinfo"},[s("div",{staticClass:"answer-correct"},[null!=t.CurrentQuestion.answer?s("span",{staticClass:"corrent-label"},[t._v("正确答案:")]):t._e(),s("span",{staticClass:"corrent-content"},[t._v(t._s(t.CurrentQuestion.answer))])]),t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v(t._s(t.CurrentQuestion.stu_answer))]),"1"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-success"}):s("span",{staticClass:"el-icon-error"})]):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])]),s("div",{staticClass:"answer-analysis"},[null!=t.CurrentQuestion.analysis?s("span",{staticClass:"analysis"},[t._v("试题解析:")]):t._e(),1===t.CurrentQuestion.show_type?s("span",{staticClass:"analysis-content",domProps:{innerHTML:t._s(t.CurrentQuestion.analysis)}}):s("span",{staticClass:"analysis-content"},[s("mavon-editor",{style:{"min-height":"0px","margin-top":"10px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.analysis_md,callback:function(e){t.$set(t.CurrentQuestion,"analysis_md",e)},expression:"CurrentQuestion.analysis_md"}})],1)])])],2):t._e(),t.CurrentQuestion.options&&"4"==t.CurrentQuestion.type?s("div",{staticClass:"answer-otions"},[t._l(t.CurrentQuestion.tiankong_num,(function(e){return s("div",{key:e,staticClass:"option-wrapper"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.CurrentQuestion.space_answers[e-1],expression:"CurrentQuestion.space_answers[count - 1]"}],staticStyle:{width:"100%",padding:"5px"},attrs:{placeholder:"请输入第"+e+"个空的作答内容"},domProps:{value:t.CurrentQuestion.space_answers[e-1]},on:{input:function(s){s.target.composing||t.$set(t.CurrentQuestion.space_answers,e-1,s.target.value)}}})])})),s("div",{staticClass:"answerinfo"},[s("div",{staticClass:"answer-correct"},[null!=t.CurrentQuestion.answer?s("span",{staticClass:"corrent-label"},[t._v("正确答案:")]):t._e(),s("span",{staticClass:"corrent-content"},[t._v(t._s(t.CurrentQuestion.answer))])]),t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v(t._s(t.CurrentQuestion.stu_answer))]),"1"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-success"}):s("span",{staticClass:"el-icon-error"})]):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])]),s("div",{staticClass:"answer-analysis"},[null!=t.CurrentQuestion.analysis?s("span",{staticClass:"analysis"},[t._v("试题解析:")]):t._e(),1===t.CurrentQuestion.show_type?s("span",{staticClass:"analysis-content",domProps:{innerHTML:t._s(t.CurrentQuestion.analysis)}}):s("span",{staticClass:"analysis-content"},[s("mavon-editor",{style:{"min-height":"0px","margin-top":"10px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.analysis_md,callback:function(e){t.$set(t.CurrentQuestion,"analysis_md",e)},expression:"CurrentQuestion.analysis_md"}})],1)])])],2):t._e(),t.CurrentQuestion.options&&"5"==t.CurrentQuestion.type?s("div",{staticClass:"answer-otions"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.CurrentQuestion.blank_answer,expression:"CurrentQuestion.blank_answer"}],staticStyle:{width:"100%",padding:"5px"},attrs:{disabled:"",type:"textarea",rows:8,placeholder:"请输入内容"},domProps:{value:t.CurrentQuestion.blank_answer},on:{input:function(e){e.target.composing||t.$set(t.CurrentQuestion,"blank_answer",e.target.value)}}}),s("div",{staticClass:"answerinfo"},[s("div",{staticClass:"answer-correct"},[null!=t.CurrentQuestion.answer?s("span",{staticClass:"corrent-label"},[t._v("正确答案:")]):t._e(),s("span",{staticClass:"corrent-content",domProps:{innerHTML:t._s(t.CurrentQuestion.answer)}})]),t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v(t._s(t.CurrentQuestion.stu_answer))]),"1"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-success"}):"2"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-error"}):t._e()]):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])]),s("div",{staticClass:"answer-analysis"},[null!=t.CurrentQuestion.analysis?s("span",{staticClass:"analysis"},[t._v("试题解析:")]):t._e(),1===t.CurrentQuestion.show_type?s("span",{staticClass:"analysis-content",domProps:{innerHTML:t._s(t.CurrentQuestion.analysis)}}):s("span",{staticClass:"analysis-content"},[s("mavon-editor",{style:{"min-height":"0px","margin-top":"10px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.analysis_md,callback:function(e){t.$set(t.CurrentQuestion,"analysis_md",e)},expression:"CurrentQuestion.analysis_md"}})],1)])])]):t._e(),"6"==t.CurrentQuestion.type?s("div",{staticClass:"gocreate"},[s("div",{staticClass:"answerinfo"},[null!=t.CurrentQuestion.answer&&1!==t.CurrentQuestion.subject_id?s("div",{staticClass:"answer-correct"},[s("span",{staticClass:"corrent-label"},[t._v("正确答案:")]),s("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"mini",type:"warning",round:"",icon:"el-icon-thumb"},on:{click:t.CorrectCode}},[t._v("正确源码")])],1):t._e(),1==t.CurrentQuestion.subject_id||2==t.CurrentQuestion.subject_id?s("div",[t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),t.CurrentQuestion.stu_answer&&!t.drawer?s("el-row",{staticStyle:{"margin-top":"20px",width:"240px"}},[s("el-card",{attrs:{"body-style":{padding:"0px"}}},[s("img",{staticClass:"image",attrs:{src:t.CurrentQuestion.stu_answer.split(",")[1]},on:{click:t.GoCreate}}),s("div",{staticStyle:{padding:"14px"}},[s("span",[t._v(t._s(t.CurrentQuestion.stu_answer.split(",")[0]))])])])],1):t._e()],1):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])])]):t._e(),3==t.CurrentQuestion.subject_id?s("div",[t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"mini",type:"warning",round:"",icon:"el-icon-thumb"},on:{click:t.GoCreate}},[t._v("学员作答")])],1):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])])]):t._e(),s("div",{staticClass:"answer-analysis"},[null!=t.CurrentQuestion.analysis?s("span",{staticClass:"analysis"},[t._v("试题解析:")]):t._e(),1===t.CurrentQuestion.show_type?s("span",{staticClass:"analysis-content",domProps:{innerHTML:t._s(t.CurrentQuestion.analysis)}}):s("span",{staticClass:"analysis-content"},[s("mavon-editor",{style:{"min-height":"0px","margin-top":"10px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.analysis_md,callback:function(e){t.$set(t.CurrentQuestion,"analysis_md",e)},expression:"CurrentQuestion.analysis_md"}})],1)])])]):t._e(),t.CurrentQuestion.options&&"7"==t.CurrentQuestion.type?s("div",{staticClass:"answer-otions"},[1===t.CurrentQuestion.show_type?s("div",[1==t.CurrentQuestion.type_other?s("div",t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{disabled:"",label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                                paperQuestionList[CurrentQuestion.index]\n                                  .stu_answer\n                              "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),0):t._e(),3==t.CurrentQuestion.type_other?s("div",t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                                paperQuestionList[CurrentQuestion.index]\n                                  .stu_answer\n                              "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),0):t._e()]):s("div",[1==t.CurrentQuestion.type_other?s("div",t._l(JSON.parse(t.CurrentQuestion.options_md),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{disabled:"",label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                                paperQuestionList[CurrentQuestion.index]\n                                  .stu_answer\n                              "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input"},[s("mavon-editor",{style:{"min-height":"0px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:e.content,callback:function(s){t.$set(e,"content",s)},expression:"option.content"}})],1):t._e()])})),0):t._e(),3==t.CurrentQuestion.type_other?s("div",t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                                paperQuestionList[CurrentQuestion.index]\n                                  .stu_answer\n                              "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),0):t._e()]),s("div",{staticClass:"answerinfo"},[s("div",{staticClass:"answer-correct"},[s("span",{staticClass:"corrent-label"},[t._v("正确答案:")]),s("span",{staticClass:"corrent-content"},[t._v(t._s(t.CurrentQuestion.answer))])]),t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v(t._s(t.CurrentQuestion.stu_answer))]),"1"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-success"}):"2"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-error"}):s("span",[t._v("未评分")])]):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])]),s("div",{staticClass:"answer-analysis"},[s("span",{staticClass:"analysis",staticStyle:{"margin-bottom":"20px"}},[t._v("试题解析:")]),1===t.CurrentQuestion.show_type?s("span",{staticClass:"analysis-content",staticStyle:{"margin-top":"20px"},domProps:{innerHTML:t._s(t.CurrentQuestion.analysis)}}):s("span",{staticClass:"analysis-content"},[s("mavon-editor",{style:{"min-height":"0px","margin-top":"10px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.analysis_md,callback:function(e){t.$set(t.CurrentQuestion,"analysis_md",e)},expression:"CurrentQuestion.analysis_md"}})],1)])])]):t._e(),t.CurrentQuestion.options&&"8"==t.CurrentQuestion.type?s("div",{staticClass:"answer-otions"},[1===t.CurrentQuestion.show_type?s("div",[1==t.CurrentQuestion.type_other?s("div",t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{disabled:"",label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                                paperQuestionList[CurrentQuestion.index]\n                                  .stu_answer\n                              "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),0):t._e(),3==t.CurrentQuestion.type_other?s("div",t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                                paperQuestionList[CurrentQuestion.index]\n                                  .stu_answer\n                              "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),0):t._e()]):s("div",[1==t.CurrentQuestion.type_other?s("div",t._l(JSON.parse(t.CurrentQuestion.options_md),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{disabled:"",label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                                paperQuestionList[CurrentQuestion.index]\n                                  .stu_answer\n                              "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input"},[s("mavon-editor",{style:{"min-height":"0px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:e.content,callback:function(s){t.$set(e,"content",s)},expression:"option.content"}})],1):t._e()])})),0):t._e(),3==t.CurrentQuestion.type_other?s("div",t._l(JSON.parse(t.CurrentQuestion.options),(function(e,n){return s("div",{key:n,staticClass:"option-wrapper"},[e.content?s("span",{staticClass:"option-tab"},[s("el-radio",{attrs:{label:e.title},model:{value:t.paperQuestionList[t.CurrentQuestion.index].stu_answer,callback:function(e){t.$set(t.paperQuestionList[t.CurrentQuestion.index],"stu_answer",e)},expression:"\n                                paperQuestionList[CurrentQuestion.index]\n                                  .stu_answer\n                              "}},[t._v(t._s(e.title))])],1):t._e(),e.content?s("div",{staticClass:"option-input",domProps:{innerHTML:t._s(e.content)}}):t._e()])})),0):t._e()]),s("div",{staticClass:"answerinfo"},[s("div",{staticClass:"answer-correct"},[s("span",{staticClass:"corrent-label"},[t._v("正确答案:")]),s("span",{staticClass:"corrent-content"},[t._v(t._s(t.CurrentQuestion.answer))])]),t.CurrentQuestion.stuExamQuestionInfo?s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v(t._s(t.CurrentQuestion.stu_answer))]),"1"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-success"}):"2"==t.CurrentQuestion.stuExamQuestionInfo.answer_state?s("span",{staticClass:"el-icon-error"}):s("span",[t._v("未评分")])]):s("div",{staticClass:"answer-stu"},[s("span",{staticClass:"answer-label"},[t._v("学生答案:")]),s("span",{staticClass:"answer-content"},[t._v("无作答记录")])]),s("div",{staticClass:"answer-analysis"},[s("span",{staticClass:"analysis"},[t._v("试题解析:")]),1===t.CurrentQuestion.show_type?s("span",{staticClass:"analysis-content",domProps:{innerHTML:t._s(t.CurrentQuestion.analysis)}}):s("span",{staticClass:"analysis-content"},[s("mavon-editor",{style:{"min-height":"0px","margin-top":"10px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.CurrentQuestion.analysis_md,callback:function(e){t.$set(t.CurrentQuestion,"analysis_md",e)},expression:"CurrentQuestion.analysis_md"}})],1)])])]):t._e()])],1)])],1),s("el-col",{attrs:{span:6}},[s("el-card",{attrs:{shadow:"never"}},[s("div",{staticClass:"examinfo"},[s("div",{staticClass:"stuinfo"},[s("span",{staticClass:"name"},[t._v("考生姓名:"),s("span",{staticStyle:{"margin-left":"10px"}},[t._v(t._s(t.$store.state.user.userInfo.stuUserInfo.realName))])]),s("br"),s("span",{staticClass:"username"},[t._v("总得分:"),s("span",{staticStyle:{"margin-left":"10px"}},[t._v(t._s(t.stuExamInfo.total_score))])])])]),s("div",{staticClass:"answer-card"},[t.form_state.onechoice?s("div",[s("span",{staticClass:"onechoice"},[t._v("单选题")])]):t._e(),t.form_state.onechoice?s("div",{staticClass:"choice_item"},t._l(t.form_state.onechoice_arr,(function(e,n){return s("el-tag",{key:n,staticClass:"tag",class:{tag_select:t.current_num==e.index,tag_correct:e.stuExamQuestionInfo&&"1"==e.stuExamQuestionInfo.answer_state,tag_wrong:e.stuExamQuestionInfo&&"2"==e.stuExamQuestionInfo.answer_state},attrs:{size:"medium",type:"info",label:e.index+1},nativeOn:{click:function(s){return t.ChooseQustion(e.index,e.type)}}},[t._v(t._s(n+1)+" ")])})),1):t._e(),t.form_state.multi_choice?s("div",{staticClass:"multichoice"},[s("span",[t._v("多选题")])]):t._e(),t.form_state.multi_choice?s("div",{staticClass:"choice_item"},t._l(t.form_state.multi_choice_arr,(function(e,n){return s("el-tag",{key:n,staticClass:"tag",class:{tag_select:t.current_num==e.index,tag_correct:e.stuExamQuestionInfo&&"1"==e.stuExamQuestionInfo.answer_state,tag_wrong:e.stuExamQuestionInfo&&"2"==e.stuExamQuestionInfo.answer_state},attrs:{size:"medium",type:"info",label:e.index+1},nativeOn:{click:function(s){return t.ChooseQustion(e.index,e.type)}}},[t._v(t._s(n+1)+" ")])})),1):t._e(),t.form_state.judge_choice?s("div",{staticClass:"multichoice"},[s("span",[t._v("判断题")])]):t._e(),t.form_state.judge_choice?s("div",{staticClass:"choice_item"},t._l(t.form_state.judge_choice_arr,(function(e,n){return s("el-tag",{key:n,staticClass:"tag",class:{tag_select:t.current_num==e.index,tag_correct:e.stuExamQuestionInfo&&"1"==e.stuExamQuestionInfo.answer_state,tag_wrong:e.stuExamQuestionInfo&&"2"==e.stuExamQuestionInfo.answer_state},attrs:{size:"medium",type:"info",label:e.index+1},nativeOn:{click:function(s){return t.ChooseQustion(e.index,e.type)}}},[t._v(t._s(n+1)+" ")])})),1):t._e(),t.form_state.space_choice?s("div",{staticClass:"multichoice"},[s("span",[t._v("填空题")])]):t._e(),t.form_state.space_choice?s("div",{staticClass:"choice_item"},t._l(t.form_state.space_choice_arr,(function(e,n){return s("el-tag",{key:n,staticClass:"tag",class:{tag_select:t.current_num==e.index,tag_correct:e.stuExamQuestionInfo&&"1"==e.stuExamQuestionInfo.answer_state,tag_wrong:e.stuExamQuestionInfo&&"2"==e.stuExamQuestionInfo.answer_state},attrs:{size:"medium",type:"info",label:e.index+1},nativeOn:{click:function(s){return t.ChooseQustion(e.index,e.type)}}},[t._v(t._s(n+1)+" ")])})),1):t._e(),t.form_state.blank_choice?s("div",{staticClass:"multichoice"},[s("span",[t._v("简答题")])]):t._e(),t.form_state.blank_choice?s("div",{staticClass:"choice_item"},t._l(t.form_state.blank_choice_arr,(function(e,n){return s("el-tag",{key:n,staticClass:"tag",class:{tag_select:t.current_num==e.index,tag_correct:e.stuExamQuestionInfo&&"1"==e.stuExamQuestionInfo.answer_state,tag_wrong:e.stuExamQuestionInfo&&"2"==e.stuExamQuestionInfo.answer_state},attrs:{size:"medium",type:"info",label:e.index+1},nativeOn:{click:function(s){return t.ChooseQustion(e.index,e.type)}}},[t._v(t._s(n+1)+" ")])})),1):t._e(),t.form_state.comprehensive_choice?s("div",{staticClass:"multichoice"},[s("span",[t._v("综合题")])]):t._e(),t.form_state.comprehensive_choice?s("div",{staticClass:"choice_item"},t._l(t.form_state.comprehensive_choice_arr,(function(e,n){return s("el-tag",{key:n,staticClass:"tag",class:{tag_select:t.current_num==e.index,tag_correct:e.stuExamQuestionInfo&&"1"==e.stuExamQuestionInfo.answer_state,tag_wrong:e.stuExamQuestionInfo&&"2"==e.stuExamQuestionInfo.answer_state,tag_hasdone:""!=e.stu_answer},attrs:{size:"medium",type:"info",label:e.index+1},nativeOn:{click:function(s){return t.ChooseQustion(e.index,e.type)}}},[t._v(t._s(n+1))])})),1):t._e(),t.form_state.ReadingProgram?s("div",{staticClass:"multichoice"},[s("span",[t._v("阅读程序题")])]):t._e(),t.form_state.ReadingProgram?s("div",{staticClass:"choice_item"},t._l(t.form_state.ReadingProgramNumList,(function(e,n){return s("el-tag",{key:n,staticClass:"tag",class:{tag_select:t.current_num==e.index,tag_correct:e.stuExamQuestionInfo&&"1"==e.stuExamQuestionInfo.answer_state,tag_wrong:e.stuExamQuestionInfo&&"2"==e.stuExamQuestionInfo.answer_state},attrs:{size:"medium",type:"info",label:e.index+1},nativeOn:{click:function(s){return t.ChooseQustion(e.index,e.type)}}},[t._v(t._s(n+1))])})),1):t._e(),t.form_state.ImproveTheProgram?s("div",{staticClass:"multichoice"},[s("span",[t._v("完善程序题")])]):t._e(),t.form_state.ImproveTheProgram?s("div",{staticClass:"choice_item"},t._l(t.form_state.ImproveTheProgramNumList,(function(e,n){return s("el-tag",{key:n,staticClass:"tag",class:{tag_select:t.current_num==e.index,tag_correct:e.stuExamQuestionInfo&&"1"==e.stuExamQuestionInfo.answer_state,tag_wrong:e.stuExamQuestionInfo&&"2"==e.stuExamQuestionInfo.answer_state},attrs:{size:"medium",type:"info",label:e.index+1},nativeOn:{click:function(s){return t.ChooseQustion(e.index,e.type)}}},[t._v(t._s(n+1))])})),1):t._e()])])],1)],1)],1)],1)],1),s("el-drawer",{attrs:{"destroy-on-close":!0,"with-header":!1,visible:t.drawer,direction:"ltr","before-close":t.handleClose,size:"100%"},on:{"update:visible":function(e){t.drawer=e}}},[t.exam_url?s("iframe",{staticClass:"course-view",attrs:{id:"exam_iframe",width:"100%",height:"100%",src:t.exam_url}}):t._e(),s("el-drawer",{attrs:{"with-header":!1,title:"题目说明",direction:"ltr","append-to-body":!0,visible:t.innerDrawer},on:{"update:visible":function(e){t.innerDrawer=e}}},[s("div",{staticStyle:{padding:"20px"}},[s("div",{staticStyle:{"font-size":"20px","font-weight":"500"}},[t._v("题目说明")]),s("el-divider"),1===t.CurrentQuestion.show_type?s("div",{staticStyle:{"font-size":"16px"},domProps:{innerHTML:t._s(t.problem_desc)}}):s("div",{staticStyle:{"font-size":"16px"}},[s("mavon-editor",{style:{"min-height":"0px"},attrs:{"preview-background":"#fff",defaultOpen:"preview",boxShadow:!1,editable:!1,subfield:!1,toolbarsFlag:!1},model:{value:t.problem_desc,callback:function(e){t.problem_desc=e},expression:"problem_desc"}})],1)],1)])],1)],1)},i=[],a=s("1cca"),r=s("8c7a"),o=s.n(r),u=(s("cb55"),s("416b"),s("6605"),s("3d21"),s("86e1"),s("91f8"),s("4e93"),s("c0f1"),s("84bf"),s("92bf"),s("0a0e")),l=s("bc3a"),c=s.n(l),p={name:"score-detail",data(){return{title:"",exam_id:"",stuExamInfo:{},examInfo:{},activeName:"first",name2:"second",ranklist:[],drawer:!1,stu_id:"",model:"",radio_num:"1",radio:"",auto_change:!0,show_answer:!0,form:{question_a:"print('Hello World')",question_b:"",question_c:"",question_d:"",resolution:"这个问题,应该这样回答？"},paperQuestionList:[],form_state:{ReadingProgramNumList:[],ReadingProgramNum:0,ReadingProgram:!1,ReadingProgram_score:0,ImproveTheProgramNum:0,ImproveTheProgramNumList:[],ImproveTheProgram:!1,ImproveTheProgram_score:0,onechoice:!1,onechoice_num:0,onechoice_score:0,onechoice_arr:[],onechoice_option:"",multi_choice:!1,multi_choice_num:0,multi_choice_score:0,multi_choice_arr:[],judge_choice:!1,judge_choice_num:0,judge_choice_score:0,judge_choice_arr:[],space_choice:!1,space_choice_num:0,space_choice_score:0,space_choice_arr:[],blank_choice:!1,blank_choice_num:0,blank_choice_score:0,blank_choice_arr:[],comprehensive_choice:!1,comprehensive_choice_num:0,comprehensive_choice_score:0,comprehensive_choice_arr:[]},hour:"",minute:"",second:"",promiseTimer:"",remainTime:0,CurrentQuestion:{answers:[!1,!1,!1,!1],blank_answer:""},current_num:0,exam:{},paper:{},exam_url:"",project_url:"",final_score:0,current_position:0,right_num:0,wrong_num:0,paperInfo:{},passscore:0,question_num:0,problem_desc:"",innerDrawer:!1,is_show_ranking_list:!0}},beforeDestroy(){window.removeEventListener("message",this.receiveDataFromIframe)},mounted(){this.title=this.$route.query.title,this.exam_id=this.$route.query.exam_id,this.passscore=this.$route.query.passscore,this.question_num=this.$route.query.question_num,console.log(this.$route.params.stuExamInfo,545),this.stuExamInfo=JSON.parse(sessionStorage.getItem("stuExamInfo")),this.paperInfo=JSON.parse(sessionStorage.getItem("paperInfo")),console.log("学生考试信息"),console.log(this.stuExamInfo),console.log(this.activeName,45414465),this.getExamRanking(),window.addEventListener("message",this.receiveDataFromIframe)},methods:{receiveDataFromIframe(t){"enter"==t.data?this.FullScreen_state=!0:"exit"==t.data?this.FullScreen_state=!1:"closejr"==t.data&&(this.drawer=!1)},BeautifyCode(){this.$nextTick(()=>{console.log("元素已经渲染完毕");const t=this.$el.querySelector(".hljs"),e=this.$el.querySelector(".language-python"),s=this.$el.querySelector(".language-cpp"),n=this.$el.querySelector(".lang-python"),i=this.$el.querySelector(".lang-cpp");if(!(t||e||s||n||i))return void console.log("页面不包含<hljs>元素");let a;console.log("页面包含<hljs>元素");const r=setInterval(()=>{const t=document.querySelector(".line-num-box"),e=document.querySelector(".line-numbers-rows");t||e?(console.log("关闭定时器"),clearInterval(r),clearTimeout(a)):(console.log("试图渲染行号"),2==this.paperQuestionList[0].show_type?Object(u["a"])():o.a.highlightAll())},100);a=setTimeout(()=>{console.log("超时，取消定时器"),clearInterval(r)},1e4)})},goBack(){"exam-list"==this.$route.query.path?this.$router.push({name:"exam-list"}):"exam-offlist"==this.$route.query.path&&this.$router.push({name:"exam-offlist"})},CloseDrawer(){this.drawer=!1,this.exam_url=""},OpenDrawer(){this.innerDrawer=!0,console.log("题目说明")},ReadPyCode(t,e){c()({method:"get",url:t,responseType:"text"}).then(t=>{e(t.data)})},getExamResultQuestionList(){Object(a["ld"])({examId:this.$route.query.exam_id}).then(t=>{console.log("学员作答记录"),console.log(t),this.paperQuestionList=t.questionList,this.CurrentQuestion=this.paperQuestionList[0],this.form_state.onechoice_arr=[],this.form_state.onechoice_num=0,this.form_state.multi_choice_arr=[],this.form_state.multi_choice_num=0,this.form_state.judge_choice_arr=[],this.form_state.judge_choice_num=0,this.form_state.space_choice_arr=[],this.form_state.space_choice_num=0,this.form_state.blank_choice_arr=[],this.form_state.blank_choice_num=0,this.form_state.comprehensive_choice_arr=[],this.form_state.comprehensive_choice_num=0,this.form_state.ReadingProgramNumList=[],this.form_state.ReadingProgramNum=0,this.form_state.ImproveTheProgramNumList=[],this.form_state.ImproveTheProgramNum=0;for(let e=0;e<this.paperQuestionList.length;e++)this.paperQuestionList[e].index=e,this.paperQuestionList[e].stuExamQuestionInfo&&("1"==this.paperQuestionList[e].stuExamQuestionInfo.answer_state?this.right_num=this.right_num+1:"2"==this.paperQuestionList[e].stuExamQuestionInfo.answer_state&&(this.wrong_num=this.wrong_num+1)),this.paperQuestionList[e].stuExamQuestionInfo?this.paperQuestionList[e].final_score=this.paperQuestionList[e].stuExamQuestionInfo.score:this.paperQuestionList[e].final_score=0,this.paperQuestionList[e].stuExamQuestionInfo?(this.paperQuestionList[e].stu_answer=this.paperQuestionList[e].stuExamQuestionInfo.answer,this.paperQuestionList[e].stuExamQuestionId=this.paperQuestionList[e].stuExamQuestionInfo.id):(this.paperQuestionList[e].stu_answer="",this.paperQuestionList[e].stuExamQuestionId=""),this.paperQuestionList[e].answers=[!1,!1,!1,!1],"1"==this.paperQuestionList[e].type?(console.log("包含单选题"),this.form_state.onechoice=!0,this.form_state.onechoice_num=parseInt(this.form_state.onechoice_num)+1,this.form_state.onechoice_arr.push(this.paperQuestionList[e])):"2"==this.paperQuestionList[e].type?(console.log("包含多选题"),this.form_state.multi_choice=!0,this.form_state.multi_choice_num=parseInt(this.form_state.multi_choice_num)+1,this.form_state.multi_choice_arr.push(this.paperQuestionList[e])):"3"==this.paperQuestionList[e].type?(console.log("包含判断题"),this.form_state.judge_choice=!0,this.form_state.judge_choice_num=parseInt(this.form_state.judge_choice_num)+1,this.form_state.judge_choice_arr.push(this.paperQuestionList[e])):"4"==this.paperQuestionList[e].type?(console.log("包含填空题"),this.form_state.space_choice=!0,this.form_state.space_choice_num=parseInt(this.form_state.space_choice_num)+1,this.form_state.space_choice_arr.push(this.paperQuestionList[e]),this.CurrentQuestion.space_answers=new Array,console.log(this.CurrentQuestion.tiankong_num,123465)):"5"==this.paperQuestionList[e].type?(console.log("包含简答题"),this.form_state.blank_choice=!0,this.form_state.blank_choice_num=parseInt(this.form_state.blank_choice_num)+1,this.form_state.blank_choice_arr.push(this.paperQuestionList[e])):"6"==this.paperQuestionList[e].type?(console.log("包含综合题"),this.form_state.comprehensive_choice=!0,this.form_state.comprehensive_choice_num=parseInt(this.form_state.comprehensive_choice_num)+1,this.form_state.comprehensive_choice_arr.push(this.paperQuestionList[e])):"7"==this.paperQuestionList[e].type?(this.form_state.ReadingProgram=!0,this.form_state.ReadingProgramNum=parseInt(this.form_state.ReadingProgramNum)+1,this.form_state.ReadingProgramNumList.push(this.paperQuestionList[e])):"8"==this.paperQuestionList[e].type&&(this.form_state.ImproveTheProgram=!0,this.form_state.ImproveTheProgramNum=parseInt(this.form_state.ImproveTheProgramNum)+1,this.form_state.ImproveTheProgramNumList.push(this.paperQuestionList[e]));this.CurrentQuestion=this.paperQuestionList[this.current_position],console.log("正确数"),console.log(this.right_num),console.log("错误数"),console.log(this.wrong_num),this.BeautifyCode()})},getExamRanking(){console.log("排行参数"),console.log(this.stuExamInfo),console.log(this.stuExamInfo.id),Object(a["kd"])({examId:this.$route.query.exam_id}).then(t=>{console.log("考生排行列表"),console.log(t),this.ranklist=t.examStuList,this.examInfo=t.examInfo,this.is_show_ranking_list=t.examInfo.is_show_ranking_list,!1===this.is_show_ranking_list?(this.name2="first",this.getExamResultQuestionList()):this.name2="second"})},ChooseQustion(t,e){if(console.log("点击答题卡"),console.log(t),console.log("题目类型"),console.log(e),console.log(this.paperQuestionList[t],454),this.current_position=t,this.CurrentQuestion=null,this.CurrentQuestion=this.paperQuestionList[t],this.current_num=t,console.log("当前试题"),console.log(this.CurrentQuestion),2==this.CurrentQuestion.type)console.log("当前为多选题"),this.CurrentQuestion.stu_answer?(console.log(this.CurrentQuestion.stu_answer,123415),-1!==this.CurrentQuestion.stu_answer.indexOf("A")&&(this.CurrentQuestion.answers[0]=!0),-1!==this.CurrentQuestion.stu_answer.indexOf("B")&&(this.CurrentQuestion.answers[1]=!0),-1!==this.CurrentQuestion.stu_answer.indexOf("C")&&(this.CurrentQuestion.answers[2]=!0),-1!==this.CurrentQuestion.stu_answer.indexOf("D")&&(this.CurrentQuestion.answers[3]=!0)):(this.CurrentQuestion.answers[0]=!1,this.CurrentQuestion.answers[1]=!1,this.CurrentQuestion.answers[2]=!1,this.CurrentQuestion.answers[3]=!1);else if(4==this.CurrentQuestion.type){console.log("该题为填空题"),this.CurrentQuestion.space_answers=new Array;for(let t=0;t<this.CurrentQuestion.tiankong_num;t++)this.CurrentQuestion.stu_answer?this.CurrentQuestion.stu_answer.indexOf("┅")?this.CurrentQuestion.space_answers[t]=this.CurrentQuestion.stu_answer.split("┅")[t]:this.CurrentQuestion.space_answers[t]=this.CurrentQuestion.stu_answer.split(",")[t]:this.CurrentQuestion.space_answers[t]=""}else 5==this.CurrentQuestion.type?(console.log("该题型为简单题"),this.CurrentQuestion.blank_answer=this.CurrentQuestion.stu_answer):6==this.CurrentQuestion.type&&(console.log("该题型为综合题"),console.log(JSON.parse(this.CurrentQuestion.options)));this.BeautifyCode()},GoCreate(){console.log("去创作"),console.log(this.CurrentQuestion),console.log(JSON.parse(this.CurrentQuestion.options)[0].content),1==this.CurrentQuestion.subject_id?(console.log("Jrcode综合题学生作答"),this.project_url=this.CurrentQuestion.stu_answer.split(",")[2],console.log("答案"),console.log(this.CurrentQuestion.stu_answer.split(",")[0]),this.exam_url="/jrcode/practice-preview.html?mode=edit&role=stu&type=4&filepath="+this.project_url,this.drawer=!0):2==this.CurrentQuestion.subject_id?(1===this.CurrentQuestion.show_type?this.problem_desc=this.CurrentQuestion.title:this.problem_desc=this.CurrentQuestion.title_md,this.CurrentQuestion.stuExamQuestionId?(this.project_url=this.CurrentQuestion.stu_answer.split(",")[2],console.log("答案"),console.log(this.CurrentQuestion.stu_answer.split(",")[0]),this.exam_url="/scratch/exam-preview.html?examId="+this.exam_id+"&questionId="+this.CurrentQuestion.id+"&project_url="+this.project_url+"&project_png="+this.CurrentQuestion.stu_answer.split(",")[1]+"&project_title="+this.CurrentQuestion.stu_answer.split(",")[0]+"&stuExamQuestionId="+this.CurrentQuestion.stuExamQuestionId):(this.project_url=JSON.parse(this.CurrentQuestion.options)[0].content,this.exam_url="/scratch/exam-preview.html?examId="+this.exam_id+"&questionId="+this.CurrentQuestion.id+"&project_url="+this.project_url+"&project_title=考试模板"),console.log("综合题地址"),console.log(this.exam_url),this.drawer=!0):3==this.CurrentQuestion.subject_id&&(console.log("Python大题的学生作答"),1===this.CurrentQuestion.show_type?this.problem_desc=this.CurrentQuestion.title:this.problem_desc=this.CurrentQuestion.title_md,sessionStorage.setItem("py_exam_code",JSON.parse(this.CurrentQuestion.stu_answer)[0].code),this.exam_url="/python/exam_v2?type=5&operate=2&examId="+this.exam_id+"&questionId="+this.CurrentQuestion.id+"&stuExamQuestionId="+this.CurrentQuestion.stuExamQuestionId+"&cmd=2",this.drawer=!0)},CorrectCode(){if(console.log("查看正确源码"),console.log(this.CurrentQuestion.answer),2==this.CurrentQuestion.subject_id)1===this.CurrentQuestion.show_type?this.problem_desc=this.CurrentQuestion.title:this.problem_desc=this.CurrentQuestion.title_md,this.CurrentQuestion.educational_institution_id?this.project_url=this.CurrentQuestion.answer:this.project_url=JSON.parse(this.CurrentQuestion.answer)[1].url,this.exam_url="/scratch/exam-preview.html?project_url="+this.project_url+"&project_title=正确源码",this.drawer=!0;else if(3==this.CurrentQuestion.subject_id){console.log("Python大题答案");var t="";JSON.parse(this.CurrentQuestion.options)[0].content?(console.log("存在了Options"),t=this.CurrentQuestion.answer):t=JSON.parse(this.CurrentQuestion.answer)[1].url,this.ReadPyCode(t,t=>{sessionStorage.setItem("py_exam_code",t),1===this.CurrentQuestion.show_type?this.problem_desc=this.CurrentQuestion.title:this.problem_desc=this.CurrentQuestion.title_md,this.exam_url="/python/exam_v2?type=5&operate=2&examId="+this.exam_id+"&questionId="+this.CurrentQuestion.id+"&stuExamQuestionId="+this.CurrentQuestion.stuExamQuestionId+"&cmd=2",this.drawer=!0})}},handleClick(){console.log("点击tab"),"first"==this.activeName?this.getExamRanking():"second"==this.activeName&&this.getExamResultQuestionList()},handleClose(t){t()},getHMS(t){const e=parseInt(t/3600)<10?"0"+parseInt(t/3600):parseInt(t/3600),s=parseInt(t%3600/60)<10?"0"+parseInt(t%3600/60):parseInt(t%3600/60),n=parseInt(t%3600%60)<10?"0"+parseInt(t%3600%60):parseInt(t%3600%60);return e+":"+s+":"+n}}},_=p,d=(s("8a5a"),s("cccc"),s("2877")),m=Object(d["a"])(_,n,i,!1,null,"becc966a",null);e["default"]=m.exports},"8a5a":function(t,e,s){"use strict";var n=s("12f4"),i=s.n(n);i.a},"92bf":function(t,e,s){},cccc:function(t,e,s){"use strict";var n=s("e7e9"),i=s.n(n);i.a},e7e9:function(t,e,s){}}]);
//# sourceMappingURL=chunk-e90eff40.b4ddf3eb.js.map