(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-da064406"],{"01ea":function(t,e,i){"use strict";var n=i("1412"),r=i.n(n);r.a},"0481":function(t,e,i){"use strict";var n=i("23e7"),r=i("a2bf"),o=i("7b0b"),a=i("50c4"),s=i("a691"),c=i("65f0");n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),i=a(e.length),n=c(e,0);return n.length=r(n,e,e,i,0,void 0===t?1:s(t)),n}})},"07ac":function(t,e,i){var n=i("23e7"),r=i("6f53").values;n({target:"Object",stat:!0},{values:function(t){return r(t)}})},1412:function(t,e,i){},"29d1":function(t,e,i){"use strict";i.d(e,"c",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return a})),i.d(e,"d",(function(){return s})),i.d(e,"e",(function(){return c}));var n=i("1e04");function r(t){return n["a"].post("/print/getPaperWithTopicsDetails",t)}function o(t){return n["a"].post("/third/getOnlinePdf",t)}function a(t){return n["a"].post("/third/getCardStatusByGrade",t)}function s(t){return n["a"].post("/print/saveCardOnline",t)}function c(t){return n["a"].post("/print/sendCreateOnlineAllStudents",t)}},"3c99":function(t,e,i){},4069:function(t,e,i){var n=i("44d2");n("flat")},"4a37":function(t,e,i){!function(e,i){t.exports=i()}(0,(function(){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){"use strict";t.exports=i(3)},function(t,e){"use strict";!function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),i=1;i=1&&r<=127?e+=t.charAt(i):r>2047?(e+=String.fromCharCode(224|r>>12&15),e+=String.fromCharCode(128|r>>6&63),e+=String.fromCharCode(128|r>>0&63)):(e+=String.fromCharCode(192|r>>6&31),e+=String.fromCharCode(128|r>>0&63));return e},utf8to16:function(t){var e,i,n,r,o,a;for(e="",n=t.length,i=0;i>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:e+=t.charAt(i-1);break;case 12:case 13:o=t.charCodeAt(i++),e+=String.fromCharCode((31&r)<<6|63&o);break;case 14:o=t.charCodeAt(i++),a=t.charCodeAt(i++),e+=String.fromCharCode((15&r)<<12|(63&o)<<6|(63&a)<<0)}return e}};return t}()},function(t,e,i){"use strict";i(1),i(4);var n=i(2),r=function(){function t(t){var e=new QRCode(t.typeNumber,t.correctLevel);e.addData(t.text),e.make();var i=document.createElement("canvas");i.width=t.width,i.height=t.height;var n=i.getContext("2d"),r=(t.width-2*t.padding)/e.getModuleCount(),o=(t.height-2*t.padding)/e.getModuleCount();if(t.reverse){var a="rgba(0, 0, 0, 0)";n.fillStyle=a,t.foreground=a}else n.fillStyle=t.background;n.fillRect(0,0,i.width,i.height);for(var s=0;s=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=n.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var i=-1;i<=7;i++)if(!(t+i<=-1||this.moduleCount<=t+i))for(var n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(this.modules[t+i][e+n]=0<=i&&i<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=n&&n<=4)},getBestMaskPattern:function(){for(var t=0,e=0,i=0;i<8;i++){this.makeImpl(!0,i);var n=l.getLostPoint(this);(0==i||t>n)&&(t=n,e=i)}return e},createMovieClip:function(t,e,i){var n=t.createEmptyMovieClip(e,i),r=1;this.make();for(var o=0;o>i&1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=n}for(i=0;i<18;i++){n=!t&&1==(e>>i&1);this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=n}},setupTypeInfo:function(t,e){for(var i=this.errorCorrectLevel<<3|e,n=l.getBCHTypeInfo(i),r=0;r<15;r++){var o=!t&&1==(n>>r&1);r<6?this.modules[r][8]=o:r<8?this.modules[r+1][8]=o:this.modules[this.moduleCount-15+r][8]=o}for(r=0;r<15;r++){o=!t&&1==(n>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=o:r<9?this.modules[8][15-r-1+1]=o:this.modules[8][15-r-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var i=-1,n=this.moduleCount-1,r=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[n][a-s]){var c=!1;o>>r&1));var u=l.getMask(e,n,a-s);u&&(c=!c),this.modules[n][a-s]=c,r--,-1==r&&(o++,r=7)}if(n+=i,n<0||this.moduleCount<=n){n-=i,i=-i;break}}}},n.PAD0=236,n.PAD1=17,n.createData=function(t,e,i){for(var r=o.getRSBlocks(t,e),s=new a,c=0;c8*d)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*d+")");for(s.getLengthInBits()+4<=8*d&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;;){if(s.getLengthInBits()>=8*d)break;if(s.put(n.PAD0,8),s.getLengthInBits()>=8*d)break;s.put(n.PAD1,8)}return n.createBytes(s,r)},n.createBytes=function(t,e){for(var i=0,n=0,o=0,a=new Array(e.length),s=new Array(e.length),c=0;c=0?g.get(m):0}}var v=0;for(f=0;f=0;)e^=l.G15<=0;)e^=l.G18<>>=1;return e},getPatternPosition:function(t){return l.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,i){switch(t){case u.PATTERN000:return(e+i)%2==0;case u.PATTERN001:return e%2==0;case u.PATTERN010:return i%3==0;case u.PATTERN011:return(e+i)%3==0;case u.PATTERN100:return(Math.floor(e/2)+Math.floor(i/3))%2==0;case u.PATTERN101:return e*i%2+e*i%3==0;case u.PATTERN110:return(e*i%2+e*i%3)%2==0;case u.PATTERN111:return(e*i%3+(e+i)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new r([1],0),i=0;i5&&(i+=3+o-5)}for(n=0;n=256;)t-=255;return d.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},f=0;f<8;f++)d.EXP_TABLE[f]=1<>>7-t%8&1)},put:function(t,e){for(var i=0;i>>e-i-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},window.QRCode=n,window.QRErrorCorrectLevel=c;try{t.exports={QRCode:n,QRErrorCorrectLevel:c}}catch(t){}}])}))},"50dc":function(t,e,i){t.exports=i.p+"img/code.bcb5f484.png"},5530:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));i("a4d3"),i("4de4"),i("4160"),i("e439"),i("dbb4"),i("b64b"),i("159b");var n=i("ade3");function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function o(t){for(var e=1;el)i=c[l++],n&&!a.call(s,i)||d.push(t?[i,s[i]]:s[i]);return d}};t.exports={entries:s(!0),values:s(!1)}},"8a6d":function(t,e,i){"use strict";i("99af"),i("0481"),i("4160"),i("caad"),i("4069"),i("159b");var n=i("2909");e["a"]=function(t,e,i){for(var r=JSON.parse(JSON.stringify(t)).flat(),o={},a=[],s=[],c=[],u=function(t){if(o[r[t].modelId])if(r[t].isQuestionText){if(o["".concat(r[t].modelId,"_1")]){var i,a;if(s=o["".concat(r[t].modelId,"_1")].questions,c=JSON.parse(JSON.stringify(r[t].questions)),s.length>0&&s[s.length-1].alias==c[0].alias)(a=s[s.length-1].queOptions).push.apply(a,Object(n["a"])(JSON.parse(JSON.stringify(c[0].queOptions)))),c.shift();(i=o["".concat(r[t].modelId,"_1")].questions).push.apply(i,Object(n["a"])(JSON.parse(JSON.stringify(c))))}else o["".concat(r[t].modelId,"_1")]=JSON.parse(JSON.stringify(r[t]));o["".concat(r[t].modelId,"_1")].orderNo=t}else if([7,17,27,77].includes(r[t].questionTypeId))if(17===r[t].questionTypeId&&r[t].QuestionTextList){var u=o[r[t].modelId].QuestionTextList[o[r[t].modelId].QuestionTextList.length-1];r[t].QuestionTextList.forEach((function(i){u.alias!==i.alias||e?o[r[t].modelId].QuestionTextList.push(JSON.parse(JSON.stringify(i))):u.contentHtml=u.contentHtml+i.contentHtml})),r[t].questions.length>0&&(o[r[t].modelId].questions=r[t].questions)}else{var l=o[r[t].modelId].questions[o[r[t].modelId].questions.length-1];r[t].questions.forEach((function(i){var n=!0;17==r[t].questionTypeId&&(n=!(!l||l.ChooseArea!=i.ChooseArea)),l&&77==r[t].questionTypeId&&(l.isShowArticleCn=!0),l&&l.alias===i.alias&&n&&!e?(l.TopicAreaHeight=l.TopicAreaHeight+i.TopicAreaHeight,l.contentHtml=l.contentHtml+i.contentHtml,l.endPositionNumber=i.endPositionNumber):o[r[t].modelId].questions.push(JSON.parse(JSON.stringify(i)))}))}else o[r[t].modelId].questions=o[r[t].modelId].questions.concat(JSON.parse(JSON.stringify(r[t].questions))),o[r[t].modelId].orderNo=t;else o[r[t].modelId]=JSON.parse(JSON.stringify(r[t])),o[r[t].modelId].orderNo=t},l=0;l0&&n(f))p=a(t,e,f,r(f.length),p,u-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[p]=f}p++}h++}return p};t.exports=a},a434:function(t,e,i){"use strict";var n=i("23e7"),r=i("23cb"),o=i("a691"),a=i("50c4"),s=i("7b0b"),c=i("65f0"),u=i("8418"),l=i("1dde"),d=i("ae40"),f=l("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,g=Math.min,m=9007199254740991,v="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!f||!p},{splice:function(t,e){var i,n,l,d,f,p,C=s(this),b=a(C.length),_=r(t,b),T=arguments.length;if(0===T?i=n=0:1===T?(i=0,n=b-_):(i=T-2,n=g(h(o(e),0),b-_)),b+i-n>m)throw TypeError(v);for(l=c(C,n),d=0;db-n+i;d--)delete C[d-1]}else if(i>n)for(d=b-n;d>_;d--)f=d+n-1,p=d+i-1,f in C?C[p]=C[f]:delete C[p];for(d=0;d165?"default":"small")]},[i("i",{staticClass:"simple-border right"}),i("i",{staticClass:"simple-border"}),i("div",{staticClass:"tips-info"},[t._m(0),i("div",{staticClass:"notice-detail"},[t.isShowAttention(0)?i("p",[t._v("1、考生务必正确书写班级、姓名,请填涂系统准考证号。")]):t._e(),t.isShowAttention(1)?i("p",[t._v("1、考生务必正确书写班级、姓名,请填涂学校准考证号。")]):t._e(),t._l(t.attentionList,(function(e,n){return i("p",{key:n},[t._v(t._s(t.cardSetting.useQrCode?n+1:n+2)+"、"+t._s(e))])}))],2)]),i("div",{staticClass:"warming-info"},[i("div",{staticClass:"notice-ewm"},[t.cardSetting.useQrCode?i("i",{staticClass:"cover red"},[t._v("系统生成"),i("br"),t._v("考生二维码")]):t._e(),t.cardSetting.useQrCode?t._e():i("img",{staticClass:"dtk-ewm",attrs:{src:t.codeImg,id:"dtk-ewm"}})]),t._m(1)])])])},J=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("h3",{staticClass:"notice-title"},[i("i",[t._v("注")]),i("i",[t._v("意")]),i("i",[t._v("事")]),i("i",[t._v("项")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"noticeLose"},[i("h4",[t._v("缺考标记 "),i("i",{staticClass:"absent-mark"})]),i("p",[t._v("考生禁止填涂缺考标记!")]),i("p",[t._v("只能由监考老师负责填涂。")])])}],Q=i("f35d"),F=i("4a37"),W=i.n(F),G={name:"PaperAttention",data:function(){return{attentionOne:["考生务必正确书写班级、姓名,请填涂系统准考证号。","考生务必正确书写班级、姓名,请填涂学校准考证号。"],attentionList:["考生务必用2B铅笔填涂。","考生务必在答题卡指定位置作答,并保持卷面整洁。","如需要条形码,则考生务必要在指定位置正确贴好条形码。","教师务必使用红笔阅卷。"],codeImg:"",img:i("50dc")}},methods:{isShowAttention:function(t){return 0===t?!this.cardSetting.useQrCode&&0==this.cardSetting.cardStatus:1!==t||!this.cardSetting.useQrCode&&1==this.cardSetting.cardStatus}},mixins:[Q["a"]],mounted:function(){this.codeImg=W.a.getQrBase64("刘峰")}},K=G,X=Object(g["a"])(K,z,J,!1,null,"0a6343b1",null),U=X.exports,Y=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-card"},[t.cardSetting.examinationNumberType.includes(1)?i("div",{staticClass:"exam-id card-flex"},[i("div",{staticClass:"card-id clearfix"},t._l(Number(t.cardSetting.cardLength),(function(e){return i("div",{key:"id_"+e,staticClass:"fl"},[i("span",{staticClass:"square"}),i("ul",t._l(10,(function(t){return i("li",{key:t},[i("span",{class:["iconfont","iconnum_"+(t-1)]})])})),0)])})),0),t.cardSetting.examinationNumberType.includes(2)&&([1,2].includes(this.cardSetting.paperSize)||t.cardSetting.cardLength<13&&[3,4,5].includes(t.cardSetting.paperSize))?i("div",{staticClass:"card-code clearfix"},[t._m(0)]):t._e()]):t._e(),!t.cardSetting.examinationNumberType.includes(1)&&t.cardSetting.examinationNumberType.includes(2)?i("div",{staticClass:"exam-code card-flex"},[t._m(1)]):t._e()])},V=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"code-img fr"},[i("div",{staticClass:"code-words"},[i("i",[t._v("条")]),i("i",[t._v("形")]),i("i",[t._v("码")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-code clearfix"},[i("div",{staticClass:"code-img fl"},[i("div",{staticClass:"code-words cross-code"},[i("i",[t._v("条")]),i("i",[t._v("形")]),i("i",[t._v("码")])])])])}],Z={name:"PaperCard",computed:Object(o["a"])(Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"])),{},{calcFlex:function(){return 3==this.cardSetting.paperSize||Number(this.cardSetting.cardLength)>9?2==this.cardSetting.direction?"flex":"block":3!=this.cardSetting.column&&1==this.cardSetting.direction?"flex":"block"}}),mixins:[Q["a"]]},tt=Z,et=Object(g["a"])(tt,Y,V,!1,null,null,null),it=et.exports,nt={name:"PaperInfoIndex",components:{PaperTitle:w,GradeAndName:B,PaperInfo:$,PaperAttention:U,PaperCard:it},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"])),filters:{},props:{hasPaperTitle:{type:Boolean,default:!1},hasPaperGrade:{type:Boolean,default:!1},hasPaperInfo:{type:Boolean,default:!1},hasPaperAttention:{type:Boolean,default:!1},hasPaperCard:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{}},rt=nt,ot=Object(g["a"])(rt,_,T,!1,null,"425bcce1",null),at=ot.exports,st=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-topic"},t._l(t.content,(function(e,n){return i("div",{key:"topic_"+n,class:["content-"+n,"paper-topic-content"]},[e.isLast?t._e():i("TopicTitle",{attrs:{titleInfo:t.setTopicTitle(e),txt:e}}),e.isQuestionText?t._e():[[1,2,11].includes(e.questionTypeId)?i("TopicChoice",t._g(t._b({class:"topic-"+e.questionTypeId,attrs:{topicInfo:e.questions,modelId:e.modelId,setConfig:e.topicConfigureData}},"TopicChoice",t.$attrs,!1),t.$listeners)):t._e(),5==e.questionTypeId?i("TopicFill",t._g(t._b({attrs:{topicInfo:e.questions,modelId:e.modelId,setConfig:e.topicConfigureData}},"TopicFill",t.$attrs,!1),t.$listeners)):t._e()],[7,17,27].includes(e.questionTypeId)?[17===e.questionTypeId&&e.QuestionTextList?i("ChooseTopic",{attrs:{topic:e.QuestionTextList}}):t._e(),t._l(e.questions,(function(n){return i("TopicExplain",t._g({key:""+n.alias+n.ChooseArea+n.cutId+Math.random(),attrs:{topicInfo:n,setConfig:e}},t.$listeners))}))]:t._e(),1===t.answerCardType&&1==e.isQuestionText?t._l(e.questions,(function(t,e){return i("Topic",{key:e,attrs:{topicContent:t}})})):t._e(),[77].includes(e.questionTypeId)&&9==t.subject?t._l(e.questions,(function(n){return i("TopicExplain",t._g(t._b({key:""+n.alias+n.cutId+Math.random(),attrs:{topicInfo:n,setConfig:e}},"TopicExplain",t.$attrs,!1),t.$listeners))})):t._e(),[77].includes(e.questionTypeId)&&8==t.subject?t._l(e.questions,(function(n){return i("TopicExplain",t._g(t._b({key:""+n.alias+n.cutId+Math.random(),attrs:{topicInfo:n,setConfig:e}},"TopicExplain",t.$attrs,!1),t.$listeners))})):t._e(),999===e.questionTypeId?i("BlankPage",t._b({},"BlankPage",t.$attrs,!1)):t._e()],2)})),0)},ct=[],ut=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("h3",{staticClass:"topic-title big-topic-title",staticStyle:{height:"auto"}},[t._v(t._s(t.titleInfo.topicTitleText)),i("span",[t._v(t._s(t.titleInfo.topicSubTitleText))])])},lt=[],dt={name:"TopicTitle",data:function(){return{}},props:{titleInfo:{type:Object,default:function(){return{}}}}},ft=dt,pt=Object(g["a"])(ft,ut,lt,!1,null,null,null),ht=pt.exports,gt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"topic-choice clearfix",class:["flex-direction-"+t.form.direction,{"topic-box-border":t.optionsArr.length>0}]},t._l(t.optionsArr,(function(e,n){return i("ul",{key:n,staticClass:"single-option clearfix"},t._l(e,(function(e,n){return i("li",{key:n,staticClass:"clearfix"},[i("em",[t._v(t._s(e.alias))]),t._l(parseInt(e.optionCount),(function(t,e){return i("span",{key:e,class:["iconfont","iconwords_"+e]})}))],2)})),0)})),0)},mt=[],vt=(i("d81d"),i("8a6d")),Ct=i("fbd4"),bt={name:"TopicChoice",mixins:[Ct["a"]],props:{topicInfo:{type:Array,default:function(){return[]}},setConfig:{type:Object,default:function(){return{}}},modelId:{type:String},pageIndex:{type:Number,default:null}},watch:{topicInfo:{handler:function(t){this.isMounted&&this.sortOptions(t)},deep:!0}},data:function(){return{optionsArr:[],topicSetDialog:!1,form:{direction:0,tempDirection:0,infoList:[{id:0,name:"横向"},{id:1,name:"纵向"}]},isMounted:!1}},created:function(){this.form.direction=this.setConfig.direction||0,this.form.tempDirection=this.setConfig.direction||0},mounted:function(){this.sortOptions(this.topicInfo),this.isMounted=!0},methods:{sortOptions:function(t){var e=this;this.optionsArr=[],t.forEach((function(t,i){e.optionsArr[parseInt(i/5)]||(e.optionsArr[parseInt(i/5)]=[]),e.optionsArr[parseInt(i/5)].push(t)}))},openSet:function(){0!==this.paperSource?this.topicSetDialog=!0:this.$emit("showEditBigTopic",this.modelId)},confirm:function(){var t=this;if(this.topicSetDialog=!1,this.form.direction=this.form.tempDirection,1==this.paperSource){var e=[];e=Object(vt["a"])(this.bigTopicPageArr),e=e.map((function(e){return e.modelId==t.modelId&&(e.topicConfigureData.direction=t.form.direction),e})),this.setBigTopicPageArr([e]),this.setInitPageFlag(!this.initPageFlag)}},cancel:function(){this.topicSetDialog=!1,this.form.tempDirection=this.form.direction}}},_t=bt,Tt=Object(g["a"])(_t,gt,mt,!1,null,"6dff197c",null),St=Tt.exports,yt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"topic-fill",class:[{"topic-box-border":t.topicInfo.length>0}]},[i("div",{staticClass:"subjectCol clearfix ",class:["","col-"+(t.setConfig.columns||1)]},t._l(t.topicInfo,(function(e,n){return i("div",{key:n,staticClass:"fill-item clearfix",style:{height:(t.setConfig.rowLineHeight||40)+"px"}},[i("span",[t._v(t._s(e.alias)+"、")]),i("em",{style:{height:(t.setConfig.rowLineHeight||40)+"px"}}),i("strong",t._l(t.form.scoreArr,(function(e){return i("i",{key:e},[t._v(t._s(e))])})),0)])})),0)])},At=[],It=(i("ac1f"),i("1276"),{name:"TopicFill",mixins:[Ct["a"]],props:{topicInfo:{type:Array,default:function(){return[]}},setConfig:{type:Object,default:function(){return{}}},modelId:{type:String},pageIndex:{type:Number,default:null}},watch:{setConfig:{handler:function(){this.isMounted&&this.initFill()},deep:!0}},data:function(){return{topicSetDialog:!1,form:{columnCount:1,rowLineHeight:40,scoreBoxCount:0,columnCountArr:[1,2,3],rowHieightArr:[25,30,35,40,45,50],scoreBoxArr:[{id:1,label:"空白方框"},{id:2,label:"2/3/5"},{id:3,label:"2/3/4/6"},{id:4,label:"2/4"}],scoreArr:[2,3,5]},isMounted:!1}},mounted:function(){this.initFill(),this.isMounted=!0},methods:{initFill:function(){var t=this;this.form.scoreBoxArr.forEach((function(e,i){e.id==t.setConfig.scoreStyle&&(t.form.scoreBoxCount=i)})),this.form.scoreArr=0==this.form.scoreBoxCount?[""]:this.form.scoreBoxArr[this.form.scoreBoxCount].label.split("/")}}}),xt=It,Ot=Object(g["a"])(xt,yt,At,!1,null,"6a79b9e5",null),wt=Ot.exports,Pt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"topic-item topic-explain"},[t.isArticleChOver?t._e():i("div",{ref:"topicModule",staticClass:"module"},[1===t.topicInfo.cutId?i("div",{staticClass:"scoring-box"},[t._l(t.topicScore,(function(e,n){return i("span",{key:n},[t._v(t._s(e))])})),t.isShowNoScoring?i("span",{staticClass:"no-scoring",style:{width:t.noScoringW+"px"}},[t._v("禁打分区")]):t._e()],2):t._e(),17===t.topicInfo.questionTypeId&&1===t.topicInfo.cutId?i("div",{staticClass:"optional-box"},t._l(t.ChooseOptData,(function(t,e){return i("span",{key:"opt_"+t,class:["iconfont","optional-span","iconwords_"+e]})})),0):t._e(),i("div",{staticClass:"topic-answer-area",style:{height:t.TopicAreaHeight+"px"}},[i("div",{staticClass:"topic-content",attrs:{height:t.TopicAreaHeight},domProps:{innerHTML:t._s(t.topicInfo.contentHtml)}})])]),77===t.setConfig.questionTypeId&&9===t.topicInfo.subject&&t.topicInfo.isShowArticleCn?i("ArticleCh",{attrs:{wordsCountCh:t.setWordsCountCh,pageIndex:t.pageIndex}}):t._e()],1)},Et=[],Lt=(i("99af"),i("c975"),i("07ac"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"article-chinese",style:{padding:t.rectPadding/2+"px"}},[i("svg",{staticClass:"article-svg",style:{height:t.totalRowsArr.length/2*(t.squareSize.h+10)-t.squareSize.h-10+"px"},attrs:{xmlns:"http://www.w3.org/2000/svg",version:"1.1"}},[i("rect",{ref:"rect",staticClass:"article-rect",attrs:{width:"100%",height:"100%"}}),t._l(t.textArr,(function(e,n){return i("text",{key:"text_"+n,attrs:{x:e.x,y:e.y,fill:"#000"}},[t._v(t._s(e.count))])})),t._l(t.totalRowsArr,(function(e,n){return i("line",{directives:[{name:"show",rawName:"v-show",value:n!=t.totalRowsArr.length-1,expression:"index!=totalRowsArr.length-1"}],key:"total_"+n,staticStyle:{stroke:"rgb(0,0,0)","stroke-width":"0.8"},attrs:{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2}})})),t._l(t.lineArr,(function(t,e){return i("line",{key:e,staticStyle:{stroke:"rgb(0,0,0)","stroke-width":"0.8"},attrs:{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2}})}))],2)])}),Nt=[],jt=(i("a630"),i("3ca3"),{name:"ArticleCh",mixins:[Q["a"]],props:{wordsCountCh:{type:Object,default:function(){return{start:1,end:1}}},pageIndex:Number},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["squareSize"])),watch:{},data:function(){return{svgWidth:0,lineArr:[],totalRowsArr:[],textArr:[],rectPadding:0,isMounted:!1}},methods:{startX:function(){var t=parseInt(this.svgWidth/this.squareSize.w);if(t<1)return!1;this.rectPadding=this.svgWidth-this.squareSize.w*t;var e=Math.ceil((this.wordsCountCh.end-this.wordsCountCh.start+1)/t);this.totalRowsArr=[];for(var i=0;i15)n=this.scoreLimitMap[t];else for(var r=0;rn?r:n;o<20&&(o=20);var a=e.TopicAreaHeight,s=t.pageY,c=0;this.isMove=!0,document.addEventListener("mousemove",(function(t){if(e.isMove){c=t.pageY-s;var i=a+c;e.TopicAreaHeight=i>o?i:o}})),document.addEventListener("mouseup",this.stopMoveTopicAreaHeight)},stopMoveTopicAreaHeight:function(){this.isMove=!1,this.topicInfo.TopicAreaHeight=this.TopicAreaHeight,this.setInitPageFlag(!this.initPageFlag),document.removeEventListener("mouseup",this.stopMoveTopicAreaHeight)},handleCloseAddTopic:function(){this.dialogVisibleIsAddTopic=!1},showEditBigTopic:function(){this.modelId=this.setConfig.modelId,this.dialogVisibleIsAddTopic=!0},editTopicData:function(){var t,e=this,i=[],n=0,r="";this.bigTopicPageArr.forEach((function(t){t.forEach((function(t){e.setConfig.modelId===t.modelId&&t.questions.forEach((function(t){t.alias===e.topicInfo.alias&&i.push(t)}))}))})),i.forEach((function(t){n+=t.TopicAreaHeight,r+=t.contentHtml}));var o=JSON.parse(JSON.stringify(this.bigTopicArr));o[this.setConfig.modelId].questions.forEach((function(t){t.alias===e.topicInfo.alias&&(t.TopicAreaHeight=n,t.contentHtml=r)}));var a=[];a=(t=a).concat.apply(t,Object(M["a"])(Object.values(this.bigTopicArr))),this.setBigTopicPageArr([Object(M["a"])(JSON.parse(JSON.stringify(a)))]),this.setInitPageFlag(!this.initPageFlag)},delTopicOver:function(){},ueReady:function(){this.setTopicAreaHeight()},getAnswerMinScoreLimit:function(t){for(var e,i=16,n=0;e=this.scoreLimitMapArr[n++];)if(e>=t){i=e;break}return i},ueBlur:function(){}})},Ht=Mt,qt=Object(g["a"])(Ht,Pt,Et,!1,null,"0af0bfb7",null),Rt=qt.exports,$t=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-topic-choice topic-box-border",style:{"line-height":(t.topicContent.rowLineHeight||30)+"px","font-size":(t.topicContent.fontSizeCount||14)+"px"}},[t.topicContent.isOnlyShowOption?t._e():i("div",{staticClass:"title",style:{"line-height":(t.topicContent.rowLineHeight||30)+"px"}},[i("span",{staticClass:"topic-no"},[t._v(t._s(t.topicContent.alias)+"、")]),i("div",{staticClass:"title-content",domProps:{innerHTML:t._s(t.topicContent.queBody)}})]),[1,2,11].includes(t.topicContent.questionTypeId)&&t.topicContent.queOptions.length>0?i("ol",{staticClass:"options"},t._l(t.topicContent.queOptions,(function(e,n){return i("li",{key:n,class:["option-item","list-style-"+t.topicContent.listType]},[i("span",{staticClass:"options-words"},[t._v(t._s(t.words[e.index])+".")]),i("span",{domProps:{innerHTML:t._s(e.content)}})])})),0):t._e()])},zt=[],Jt={name:"Topic",data:function(){return{topicSetDialog:!1,fillSetting:{columnCount:1,rowLineHeight:30,fontSizeCount:12},form:{columnCount:0,rowLineHeight:30,fontSizeCount:12,columnCountArr:[{id:0,label:1},{id:1,label:4},{id:2,label:2}],rowHieightArr:[25,30,35,40,45,50],fontSizeArr:[12,14,16,18]},words:["A","B","C","D","E","F","G","H","I","J","K","L","M"]}},props:{topicContent:{type:Object,default:function(){return{}}}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["paperSource","bigTopicPageArr","initPageFlag"])),mounted:function(){this.initTopic()},methods:Object(o["a"])(Object(o["a"])({},Object(a["c"])("answerSheet",{setBigTopicPageArr:A["j"],setInitPageFlag:A["f"]})),{},{initTopic:function(){this.form.columnCount=this.topicContent.listType,this.form.rowLineHeight=this.topicContent.rowLineHeight||30,this.form.fontSizeCount=this.topicContent.fontSizeCount||14},confirm:function(){this.topicSetDialog=!1,this.topicContent.listType=this.form.columnCountArr[this.form.columnCount].id,this.topicContent.rowLineHeight=this.form.rowLineHeight,this.topicContent.fontSizeCount=this.form.fontSizeCount,this.setBigTopicPageArr([Object(vt["a"])(this.bigTopicPageArr)]),this.setInitPageFlag(!this.initPageFlag)},cancel:function(){this.topicSetDialog=!1}})},Qt=Jt,Ft=(i("01ea"),Object(g["a"])(Qt,$t,zt,!1,null,"cfe6e3fc",null)),Wt=Ft.exports,Gt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"choose-topic"},t._l(t.topic,(function(e){return i("div",{key:e.alias,staticClass:"title"},[i("span",{staticClass:"topic-no"},[t._v(t._s(e.alias)+"、")]),i("div",{staticClass:"title-content clearfix",domProps:{innerHTML:t._s(e.queBody)}})])})),0)},Kt=[],Xt={name:"ChooseTopic",components:{},filters:{},props:{topic:Array},data:function(){return{}},computed:{},watch:{},created:function(){},mounted:function(){},methods:{}},Ut=Xt,Yt=Object(g["a"])(Ut,Gt,Kt,!1,null,"6d632cb8",null),Vt=Yt.exports,Zt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"blankPage",staticClass:"blank-page"},[t._v(" 此区域禁止作答 ")])},te=[],ee={name:"BlankPage",filters:{},props:{pageIndex:{type:Number,default:null}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"])),mounted:function(){this.$refs.blankPage.style.height=document.querySelectorAll(".paper-item")[0].offsetHeight-100+"px"}},ie=ee,ne=Object(g["a"])(ie,Zt,te,!1,null,null,null),re=ne.exports,oe={name:"PaperTopic",components:{TopicTitle:ht,TopicChoice:St,TopicFill:wt,TopicExplain:Rt,Topic:Wt,ChooseTopic:Vt,BlankPage:re},props:{content:{type:Array,default:function(){return[]}}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["answerCardType","subject","paperSource","bigTopicArr"])),methods:{setTopicTitle:function(t){var e=t.bigTitle,i="";return 1!=this.paperSource||t.isQuestionText||(i=t.subtitle),{topicTitleText:e,topicSubTitleText:i}}}},ae=oe,se=Object(g["a"])(ae,st,ct,!1,null,null,null),ce=se.exports,ue={name:"PaperContent",components:{PaperInfo:at,PaperTopic:ce},props:{PaperLineFlag:{type:Number,default:0},pageIndex:{type:Number,default:null}},data:function(){return{}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"]))},le=ue,de=Object(g["a"])(le,C,b,!1,null,"6c792674",null),fe=de.exports,pe={name:"PaperIndex",components:{PaperLine:v,PaperContent:fe},mixins:[Q["a"]],props:{pageIndex:{type:Number,default:null},totalPageNum:{type:Number,default:null}}},he=pe,ge=Object(g["a"])(he,u,l,!1,null,"eac5901a",null),me=ge.exports,ve={name:"Side",components:{paperItem:me},filters:{},props:{paper:Array,totalPageNum:{type:Number,default:null},pageIndex:Number},data:function(){return{}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting","bigTopicPageArr"])),watch:{},created:function(){},mounted:function(){},methods:{}},Ce=ve,be=Object(g["a"])(Ce,s,c,!1,null,"c12dbb88",null),_e=be.exports,Te={name:"toPdfHtml",components:{Side:_e},filters:{},props:{},data:function(){return{paperArr:[],pageArr:[],defaultBlankPage:{bigTitle:"",subtitle:"",questionTypeId:999,topicList:[],questions:[]}}},computed:Object(o["a"])(Object(o["a"])({},Object(a["b"])("answerSheet",["sizeConfig","bigTopicPageArr","cardSetting"])),{},{calcPaperSize:function(){var t=this.cardSetting.paperSize,e=this.cardSetting.direction,i=this.sizeConfig[t].width,n=this.sizeConfig[t].height,r=1===e?n:i;return r}}),watch:{},created:function(){},mounted:function(){this.getDefaultData()},methods:{getDefaultData:function(){var t=this;this.paperArr=[];var e=2*this.cardSetting.column;if(this.pageArr=JSON.parse(JSON.stringify(this.bigTopicPageArr)),this.pageArr.length1?arguments[1]:void 0)}}),o(s)},d81d:function(t,e,i){"use strict";var n=i("23e7"),r=i("b727").map,o=i("1dde"),a=i("ae40"),s=o("map"),c=a("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},dbb4:function(t,e,i){var n=i("23e7"),r=i("83ab"),o=i("56ef"),a=i("fc6a"),s=i("06cf"),c=i("8418");n({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){var e,i,n=a(t),r=s.f,u=o(n),l={},d=0;while(u.length>d)i=r(n,e=u[d++]),void 0!==i&&c(l,e,i);return l}})},dcfc:function(t,e,i){"use strict";var n=i("3c99"),r=i.n(n);r.a},e439:function(t,e,i){var n=i("23e7"),r=i("d039"),o=i("fc6a"),a=i("06cf").f,s=i("83ab"),c=r((function(){a(1)})),u=!s||c;n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},f35d:function(t,e,i){"use strict";var n=i("5530"),r=i("2f62");e["a"]={computed:Object(n["a"])(Object(n["a"])({},Object(r["b"])("answerSheet",["cardSetting","sizeConfig","bigTopicArr","bigTopicPageArr"])),{},{calcPaperSize:function(){var t=this.cardSetting.paperSize,e=this.cardSetting.direction,i=this.cardSetting.column,n=this.sizeConfig[t].width,r=this.sizeConfig[t].height,o=1===e?r/i:n/i,a=1===e?n:r;return{width:o,height:a}}})}},fbd4:function(t,e,i){"use strict";i("c740"),i("4160"),i("a434"),i("159b");var n=i("5530"),r=i("8a6d"),o=i("2f62"),a=i("60a6");e["a"]={data:function(){return{}},computed:Object(n["a"])({},Object(o["b"])("answerSheet",["paperSource","bigTopicPageArr","initPageFlag","cardSetting"])),methods:Object(n["a"])(Object(n["a"])({},Object(o["c"])("answerSheet",{setBigTopicPageArr:a["j"],setInitPageFlag:a["f"],setBigTopicArr:a["b"]})),{},{delTopic:function(){var t=this;this.$confirm("确定要删除当前题目吗?","提示",{cancelButtonText:"取消",confirmButtonText:"确定",callback:function(e){if("confirm"==e){var i,n=[];n=Object(r["a"])(t.bigTopicPageArr),i=n.findIndex((function(e){return e.modelId==t.modelId})),n.splice(i,1);var o=0;n.forEach((function(t){t.questions.forEach((function(t){o+=t.fullScore}))})),t.cardSetting.examInfoConfig.forEach((function(t){1===t.id&&(t.text=o)}));var a={};n.forEach((function(t){a[t.modelId]=JSON.parse(JSON.stringify(t))})),t.setBigTopicArr(a),t.setBigTopicPageArr([n]),t.setInitPageFlag(!t.initPageFlag),t.$message({type:"info",message:"删除成功"})}}})}})}}}]);