| 1 |
- !function(){function t(t,a){var s="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!s){if(Array.isArray(t)||(s=function(t,a){if(!t)return;if("string"==typeof t)return e(t,a);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return e(t,a)}(t))||a&&t&&"number"==typeof t.length){s&&(t=s);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,p=!1;return{s:function(){s=s.call(t)},n:function(){var t=s.next();return o=t.done,t},e:function(t){p=!0,i=t},f:function(){try{o||null==s.return||s.return()}finally{if(p)throw i}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,s=new Array(e);a<e;a++)s[a]=t[a];return s}System.register(["./index-legacy.a130dba2.js","./TestQuestionOptions-legacy.c86f1da7.js","./TestQuestionAnalysis-legacy.d0e107af.js","./LJDivider-legacy.93a34ca1.js","./composables-legacy.0c6ce36a.js","./TestQuestionsServers-legacy.439bf0a5.js","./sortable.esm-legacy.19def5ad.js"],(function(e,a){"use strict";var s,n,r,i,o,p,l,u,d,c,f,v,b=document.createElement("style");return b.textContent=".back[data-v-4bd74b40]{display:flex;justify-content:flex-end;padding:10px 10px 0 0}.test-paper-details[data-v-4bd74b40]{font-size:15px;background-color:#fff;border-radius:5px}.test-paper-details .test-paper-header[data-v-4bd74b40],.test-paper-details .test-questions-lists[data-v-4bd74b40]{max-width:80%;margin:0 auto}.test-paper-details .test-paper-header[data-v-4bd74b40]{white-space:nowrap;padding-top:20px}.test-paper-details .test-paper-header .test-paper-name[data-v-4bd74b40],.test-paper-details .test-paper-header .test-paper-info[data-v-4bd74b40]{width:fit-content;margin:0 auto}.test-paper-details .test-paper-header .test-paper-name[data-v-4bd74b40]{font-size:26px;margin-bottom:10px}.test-paper-details .test-paper-header .test-paper-info[data-v-4bd74b40]{display:grid;grid-template-columns:auto auto auto;gap:20px}.test-paper-details .test-questions-lists[data-v-4bd74b40]{margin-top:20px}\n",document.head.appendChild(b),{setters:[function(t){s=t.n,n=t.r,r=t.o,i=t.e},function(t){o=t.a,p=t.T,l=t.b},function(t){u=t.T},function(t){d=t.L},function(t){c=t.a,f=t.u},function(t){v=t.u},function(){}],execute:function(){var a={__name:"testPaperDetails",setup:function(e){var a=c(),s=f(),b=n(a.query.id||null),y=n({}),m=n([]),_=function(){if(!b.value)return i.exports.Message.error("缺失试卷ID");HTTP.getReadById("test_paper",b.value).then((function(e){var a,s=e.data,n=t(s.test_paper_Questions);try{for(n.s();!(a=n.n()).done;){var r=a.value;r.options=JSON.parse(r.option)}}catch(i){n.e(i)}finally{n.f()}v(s.test_paper_Questions,s.total_score),m.value=s.test_paper_Questions,y.value=s})).catch((function(t){console.log("error:",t)}))};return r((function(){_()})),{__sfc:!0,route:a,router:s,testPaperId:b,testPapers:y,test_paper_Questions:m,getTestQuestions:_,back:function(){s.back(-1)},TestQuestionTitle:o,TestQuestions:p,TestQuestionOptions:l,TestQuestionAnalysis:u,LJDivider:d}}},b=function(){var t=this,e=t._self._c,a=t._self._setupProxy;return e("div",{staticClass:"test-paper-details"},[e("div",{staticClass:"back"},[e("el-button",{attrs:{type:"primary",plain:""},on:{click:a.back}},[t._v("关闭")])],1),e("div",{staticClass:"test-paper-header"},[e("div",{staticClass:"test-paper-name"},[t._v(t._s(a.testPapers.name))]),e("div",{staticClass:"test-paper-info"},[e("div",[t._v("总分"+t._s(a.testPapers.total_score))]),e("div",[t._v("共"+t._s(a.testPapers.total_num)+"题")]),e("div",[t._v(" 考试时间:"+t._s(a.testPapers.start_date)+" ~ "+t._s(a.testPapers.end_date)+" ")])])]),e(a.LJDivider,{attrs:{padding:"24px 0"}}),e("div",{staticClass:"test-questions-lists"},t._l(a.test_paper_Questions,(function(s,n){return e(a.TestQuestions,{key:s.id,attrs:{item:n}},[e(a.TestQuestionTitle,{attrs:{type:"details",score:s.score,index:n},model:{value:s.content,callback:function(e){t.$set(s,"content",e)},expression:"item.content"}}),e(a.TestQuestionOptions,{attrs:{type:"details",options:s.options,padding:"5px 2em"},model:{value:s.answer,callback:function(e){t.$set(s,"answer",e)},expression:"item.answer"}}),e(a.TestQuestionAnalysis,{attrs:{type:"details",value:s.analysis}}),e(a.LJDivider,{attrs:{padding:"24px 0"}})],1)})),1)],1)},y=[];b._withStripped=!0;var m=s(a,b,y,!1,null,"4bd74b40",null,null);m.options.__file="E:/十二科技/项目/九号同事/salary-management-web/src/views/personnelRoot/aiExam/testPapers/testPaperDetails.vue";e("default",m.exports)}}}))}();
|