(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-paper-paper_exam_member_view"],{"08d2":function(t,e,a){"use strict";(function(t){var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("4160"),a("159b");var n=i(a("47f7")),s={name:"paper_exam_member_view",components:{QuestionViewItem:n.default},data:function(){return{data:{id:0},paper:null,paperExamQuestions:[],paperQuestions:[]}},onReady:function(){var t=this;this.$starter.boot((function(){t.init()}))},methods:{onQuestionDataUpdate:function(t,e,a){},init:function(){var e=this;this.data.id=this.$r.getQuery("id"),this.$api.post("paper_exam_member/get",{id:this.data.id},(function(a){e.paper=a.data.paper;for(var i=a.data.paperExamQuestions,n=a.data.paperQuestions,s=0;s<n.length;s++){var u=n[s]._questionData;u._done=!0,u._correct=!1,u.options&&u.options.forEach((function(t){t._checked=!1})),u.items&&u.items.forEach((function(t){t._done=!0,t._correct=!1,t.options&&t.options.forEach((function(t){t._checked=!1}))}))}t.log("paperExamQuestions",i),e.paperExamQuestions=i,e.paperQuestions=n}))}}};e.default=s}).call(this,a("5a52")["default"])},"47d2":function(t,e,a){"use strict";a.r(e);var i=a("08d2"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"6b90":function(t,e,a){"use strict";a.r(e);var i=a("ed00"),n=a("47d2");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);var u,o=a("f0c5"),r=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],u);e["default"]=r.exports},ed00:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={pageMeta:a("6d42").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("page-meta",{attrs:{"root-font-size":"20px"}}),a("v-uni-view",[a("page-header",{attrs:{title:"试卷查看"}}),t.paper?a("v-uni-view",{staticClass:"ub-panel margin-top"},[a("v-uni-view",{staticClass:"head"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(t.paper.title))])],1),a("v-uni-view",{staticClass:"body"},[a("v-uni-view",{staticClass:"ub-pair"},[a("v-uni-view",{staticClass:"name"},[t._v("题目总数")]),a("v-uni-view",{staticClass:"value"},[t._v(t._s(t.paper.questionCount))])],1),a("v-uni-view",{staticClass:"ub-pair"},[a("v-uni-view",{staticClass:"name"},[t._v("总分数")]),a("v-uni-view",{staticClass:"value"},[t._v(t._s(t.paper.totalScore))])],1),t.paper.timeLimitEnable?a("v-uni-view",{staticClass:"ub-pair"},[a("v-uni-view",{staticClass:"name"},[t._v("时间")]),a("v-uni-view",{staticClass:"value"},[t._v(t._s(t.paper.timeLimitValue)+"分钟")])],1):a("v-uni-view",{staticClass:"ub-pair"},[a("v-uni-view",{staticClass:"name"},[t._v("题目总数")]),a("v-uni-view",{staticClass:"value"},[t._v("时间：不限时")])],1)],1)],1):t._e(),t._l(t.paperQuestions,(function(e,i){return a("v-uni-view",{key:i},[a("QuestionViewItem",{attrs:{mode:"examView","question-data":e._questionData,"paper-question-number":e._questionData.questionNumber,"paper-question-number-count":e._questionData.questionCount,"exam-data":t.paperExamQuestions[i],"question-data-update-index":i},on:{"on-question-data-update":function(e){arguments[0]=e=t.$handleEvent(e),t.onQuestionDataUpdate.apply(void 0,arguments)}}})],1)}))],2)],1)},s=[]}}]);