app.ae1ea498.js 36 KB

1
  1. (function(e){function t(t){for(var a,u,r=t[0],o=t[1],l=t[2],s=0,d=[];s<r.length;s++)u=r[s],Object.prototype.hasOwnProperty.call(c,u)&&c[u]&&d.push(c[u][0]),c[u]=0;for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a]);h&&h(t);while(d.length)d.shift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,u=1;u<n.length;u++){var r=n[u];0!==c[r]&&(a=!1)}a&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},u={app:0},c={app:0},i=[];function r(e){return o.p+"js/"+({}[e]||e)+"."+{"chunk-02bb0413":"5fdb2dd4","chunk-0bed2034":"76aee0c7","chunk-195f1e4e":"cec0d242","chunk-1bafa996":"bc438d61","chunk-1cc794ff":"dab982c0","chunk-1d6b1f28":"0a3ca84d","chunk-1d7921e2":"dc999243","chunk-25013ec4":"445f1707","chunk-260509c8":"4f60294d","chunk-2a88713a":"e5250097","chunk-2a8b9e51":"4536ea2c","chunk-2d0c2651":"4f8ca3c3","chunk-305c2538":"8f527e4f","chunk-326a08f6":"db47c914","chunk-3c4403c0":"d9954c0b","chunk-3f269102":"f0e6aaf5","chunk-449e0bee":"8fbc816f","chunk-45cba074":"07d8387e","chunk-50d0ce95":"6e437ccb","chunk-53457fae":"e808fe16","chunk-5871ef98":"1bb95e63","chunk-5d255be4":"40b30937","chunk-5ef20c97":"91ab91e9","chunk-5fe4eab6":"68243007","chunk-680199ce":"b578bf84","chunk-6e48b9d8":"6db69b26","chunk-6f31bfb0":"3fe02321","chunk-6ff16d4e":"b22eb270","chunk-71b3b8ea":"7da943c3","chunk-7318c465":"c38850ed","chunk-786eca7c":"f54930e4","chunk-7abe2d4a":"c2db5ec6","chunk-7d3db2be":"4e63a21c","chunk-98c4b8ce":"d3601101","chunk-2d207378":"61dedb2d","chunk-2e13ec19":"c8893bde","chunk-552f820f":"e7f849e7","chunk-8ad7d15a":"922528bb","chunk-d1425bc4":"c68da20b","chunk-fed4eb30":"9b574e78","chunk-acaabf60":"c3859790","chunk-b80e76a6":"2d8da573","chunk-d3c4c186":"ae379c09","chunk-da064406":"37d295af","chunk-06b32ebc":"c8b46170","chunk-435e9696":"feb565f5","chunk-dfcca712":"6b9204ba","chunk-dff83798":"a05c88d1","chunk-f82ff3f8":"449c14fd"}[e]+".js"}function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.e=function(e){var t=[],n={"chunk-02bb0413":1,"chunk-0bed2034":1,"chunk-195f1e4e":1,"chunk-1bafa996":1,"chunk-1cc794ff":1,"chunk-1d6b1f28":1,"chunk-1d7921e2":1,"chunk-25013ec4":1,"chunk-260509c8":1,"chunk-2a88713a":1,"chunk-2a8b9e51":1,"chunk-305c2538":1,"chunk-326a08f6":1,"chunk-3c4403c0":1,"chunk-3f269102":1,"chunk-449e0bee":1,"chunk-45cba074":1,"chunk-50d0ce95":1,"chunk-53457fae":1,"chunk-5871ef98":1,"chunk-5d255be4":1,"chunk-5ef20c97":1,"chunk-5fe4eab6":1,"chunk-680199ce":1,"chunk-6e48b9d8":1,"chunk-6f31bfb0":1,"chunk-6ff16d4e":1,"chunk-71b3b8ea":1,"chunk-7318c465":1,"chunk-786eca7c":1,"chunk-7abe2d4a":1,"chunk-7d3db2be":1,"chunk-98c4b8ce":1,"chunk-2e13ec19":1,"chunk-552f820f":1,"chunk-8ad7d15a":1,"chunk-d1425bc4":1,"chunk-fed4eb30":1,"chunk-acaabf60":1,"chunk-b80e76a6":1,"chunk-d3c4c186":1,"chunk-da064406":1,"chunk-06b32ebc":1,"chunk-435e9696":1,"chunk-dfcca712":1,"chunk-dff83798":1,"chunk-f82ff3f8":1};u[e]?t.push(u[e]):0!==u[e]&&n[e]&&t.push(u[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-02bb0413":"25642479","chunk-0bed2034":"31fb173d","chunk-195f1e4e":"f00866bb","chunk-1bafa996":"d443547b","chunk-1cc794ff":"3753e953","chunk-1d6b1f28":"f77f8ab0","chunk-1d7921e2":"50c62ae3","chunk-25013ec4":"b9cdaafa","chunk-260509c8":"451b1c9c","chunk-2a88713a":"48f6d637","chunk-2a8b9e51":"7a487d52","chunk-2d0c2651":"31d6cfe0","chunk-305c2538":"6e3f04e3","chunk-326a08f6":"ed82be74","chunk-3c4403c0":"792ba261","chunk-3f269102":"f1596735","chunk-449e0bee":"cf5c89ac","chunk-45cba074":"57471ccf","chunk-50d0ce95":"2dcfb6a4","chunk-53457fae":"5996a7b8","chunk-5871ef98":"fa81f9d3","chunk-5d255be4":"3c06253e","chunk-5ef20c97":"534cfdf6","chunk-5fe4eab6":"cbe3bf86","chunk-680199ce":"38ad3679","chunk-6e48b9d8":"dc89e9be","chunk-6f31bfb0":"7f6bfdfa","chunk-6ff16d4e":"1d43e59f","chunk-71b3b8ea":"5a55d4a8","chunk-7318c465":"89caadb1","chunk-786eca7c":"cba71c55","chunk-7abe2d4a":"87563c10","chunk-7d3db2be":"2d52b6bd","chunk-98c4b8ce":"1388ca6f","chunk-2d207378":"31d6cfe0","chunk-2e13ec19":"79be2939","chunk-552f820f":"e6800c4c","chunk-8ad7d15a":"b22aa548","chunk-d1425bc4":"6dd59507","chunk-fed4eb30":"e6800c4c","chunk-acaabf60":"7d7bc872","chunk-b80e76a6":"3117589c","chunk-d3c4c186":"74515d4d","chunk-da064406":"6a816b82","chunk-06b32ebc":"6594313d","chunk-435e9696":"ff5560e6","chunk-dfcca712":"3fef6f0f","chunk-dff83798":"51017550","chunk-f82ff3f8":"0932ce6e"}[e]+".css",c=o.p+a,i=document.getElementsByTagName("link"),r=0;r<i.length;r++){var l=i[r],s=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(s===a||s===c))return t()}var d=document.getElementsByTagName("style");for(r=0;r<d.length;r++){l=d[r],s=l.getAttribute("data-href");if(s===a||s===c)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=t,h.onerror=function(t){var a=t&&t.target&&t.target.src||c,i=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=a,delete u[e],h.parentNode.removeChild(h),n(i)},h.href=c;var f=document.getElementsByTagName("head")[0];f.appendChild(h)})).then((function(){u[e]=0})));var a=c[e];if(0!==a)if(a)t.push(a[2]);else{var i=new Promise((function(t,n){a=c[e]=[t,n]}));t.push(a[2]=i);var l,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=r(e);var d=new Error;l=function(t){s.onerror=s.onload=null,clearTimeout(h);var n=c[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+u+")",d.name="ChunkLoadError",d.type=a,d.request=u,n[1](d)}c[e]=void 0}};var h=setTimeout((function(){l({type:"timeout",target:s})}),12e4);s.onerror=s.onload=l,document.head.appendChild(s)}return Promise.all(t)},o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],s=l.push.bind(l);l.push=t,l=l.slice();for(var d=0;d<l.length;d++)t(l[d]);var h=s;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"0eba":function(e,t,n){"use strict";var a=n("9785"),u=n.n(a);u.a},"56d7":function(e,t,n){"use strict";n.r(t);var a={};n.r(a),n.d(a,"dataFormat",(function(){return xe})),n.d(a,"filter",(function(){return Te}));n("4de4"),n("4160"),n("b0c0"),n("b64b"),n("159b"),n("e260"),n("e6cf"),n("cca6"),n("a79d");var u,c,i=n("2b0e"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},o=[],l={name:"App",components:{},filters:{},props:{},data:function(){return{}},computed:{},watch:{},created:function(){},mounted:function(){},methods:{}},s=l,d=n("2877"),h=Object(d["a"])(s,r,o,!1,null,null,null),f=h.exports,p=n("a18c"),b=(n("d3b7"),n("ac1f"),n("1276"),n("ade3")),m=n("2f62"),k=n("c1fb"),v=n("60a6"),g={subject:3,sizeConfig:{1:{name:"A3",width:297,height:420,direction:{horizontal:[2,3],vertical:[]},horizontal:{noLine:{2:25,3:15},yesLine:{2:20,3:15}}},2:{name:"A4",width:210,height:297,direction:{horizontal:[2],vertical:[1]},horizontal:{noLine:{2:15},yesLine:{2:15}},vertical:{noLine:{1:25},yesLine:{1:20}}},3:{name:"16K",width:185,height:260,direction:{horizontal:[2],vertical:[1]},horizontal:{noLine:{2:15},yesLine:{2:10}},vertical:{noLine:{1:20},yesLine:{1:20}}},4:{name:"8Ks",width:260,height:370,direction:{horizontal:[2,3],vertical:[]},horizontal:{noLine:{2:20,3:10},yesLine:{2:20,3:10}}},5:{name:"8Kb",width:270,height:390,direction:{horizontal:[2,3],vertical:[]},horizontal:{noLine:{2:20,3:10},yesLine:{2:20,3:10}}}},topicTypes:[{label:"单选题",value:1},{label:"多选题",value:2},{label:"不定项选择",value:11},{label:"填空题",value:5},{label:"解答题",value:7},{label:"作文",value:77},{label:"选做题",value:17},{label:"必做题",value:27}],topicTypeObj:{1:"单选",2:"多选",11:"不定项选择",5:"填空",7:"解答",17:"选做",77:"作文"},cardSetting:{paperSize:1,direction:1,column:2,hasBindingLine:0,hasPaperMsg:!0,examinationNumberType:[1,2],useQrCode:!1,title:"",examInfoConfig:[{id:0,name:"时间",isShow:!0,text:"100",units:"分钟"},{id:1,name:"满分",isShow:!0,text:"",units:"分"},{id:2,name:"命卷人",isShow:!0,text:"",units:""},{id:3,name:"审核人",isShow:!0,text:"",units:""}],cardStatus:0,cardLength:9,examStatus:0,grade:1,cardEditStatus:1,examGroupId:0,allowEdit:!0},bigTopicArr:{},bigTopicPageArr:[[]],paperListData:[],answerCardType:0,isAnswerCardTypeChange:!1,paperSource:0,initPageFlag:!1,chageSomePageIndex:{flag:null,index:null},squareSize:{w:30,h:30},changerTopicVal:!1,testFormData:{},isPreviewBack:!1,isExplainMove:!1,topicBlur:!1,changeUeReadyHeightArr:[]},y={subject:function(e){return e.subject},sizeConfig:function(e){return e.sizeConfig},topicTypes:function(e){return e.topicTypes},topicTypeObj:function(e){return e.topicTypeObj},cardSetting:function(e){return e.cardSetting},bigTopicArr:function(e){return e.bigTopicArr},paperListData:function(e){return e.paperListData},bigTopicPageArr:function(e){return e.bigTopicPageArr},answerCardType:function(e){return e.answerCardType},initPageFlag:function(e){return e.initPageFlag},squareSize:function(e){return e.squareSize},paperSource:function(e){return e.paperSource},cardEditStatus:function(e){return e.cardEditStatus},testFormData:function(e){return e.testFormData},chageSomePageIndex:function(e){return e.chageSomePageIndex},isPreviewBack:function(e){return e.isPreviewBack},isExplainMove:function(e){return e.isExplainMove},topicBlur:function(e){return e.topicBlur},isAnswerCardTypeChange:function(e){return e.isAnswerCardTypeChange},changeUeReadyHeightArr:function(e){return e.changeUeReadyHeightArr}},S={},_=(u={},Object(b["a"])(u,v["m"],(function(e,t){e.subject=t})),Object(b["a"])(u,v["c"],(function(e,t){e.cardSetting=t})),Object(b["a"])(u,v["b"],(function(e,t){e.bigTopicArr=t})),Object(b["a"])(u,v["j"],(function(e,t){e.bigTopicPageArr=t})),Object(b["a"])(u,v["k"],(function(e,t){e.paperListData=t})),Object(b["a"])(u,v["a"],(function(e,t){e.answerCardType=t})),Object(b["a"])(u,v["f"],(function(e,t){e.initPageFlag=t})),Object(b["a"])(u,v["l"],(function(e,t){e.paperSource=t})),Object(b["a"])(u,v["n"],(function(e,t){e.testFormData=t})),Object(b["a"])(u,v["d"],(function(e,t){e.chageSomePageIndex=t})),Object(b["a"])(u,v["i"],(function(e,t){e.isPreviewBack=t})),Object(b["a"])(u,v["h"],(function(e,t){e.isExplainMove=t})),Object(b["a"])(u,v["p"],(function(e,t){e.topicBlur=t})),Object(b["a"])(u,v["g"],(function(e,t){e.isAnswerCardTypeChange=t})),Object(b["a"])(u,v["e"],(function(e,t){e.changeUeReadyHeightArr=t})),u),C={namespaced:!0,state:g,getters:y,actions:S,mutations:_},x={subject_array:[{val:3,name:"数学"},{val:8,name:"英语"},{val:9,name:"语文"},{val:12,name:"物理"},{val:13,name:"化学"},{val:14,name:"生物"},{val:15,name:"政治"},{val:16,name:"历史"},{val:17,name:"地理"},{val:18,name:"理综"},{val:19,name:"文综"},{val:21,name:"日语"}]},T={},w={},O={},j={namespaced:!0,state:x,getters:T,actions:w,mutations:O},P={subject_array:[{val:3,name:"数学"}]},L={},I={},D={},E={namespaced:!0,state:P,getters:L,actions:I,mutations:D},A=n("f1ed"),z=function(){for(var e="",t=document.cookie.split(";"),n=0;n<t.length;n++){var a=t[n].split("=");"token"==Object(A["d"])(a[0])&&(e=Object(A["d"])(a[1]))}return e};i["default"].use(m["a"]);var B=new m["a"].Store({state:{token:localStorage.token||"",user:{username:"",user_id:null},cookie:""},getters:{token:function(e){return e.token},user:function(e){return e.user}},mutations:(c={},Object(b["a"])(c,v["o"],(function(e,t){e.token=t,localStorage.token=t})),Object(b["a"])(c,v["q"],(function(e,t){e.user=t})),c),actions:{verify:function(e){var t=e.commit,n=z();n&&t(v["o"],n)},login:function(e,t){var n=e.commit;return k["a"].post("v1/site/login",t).then((function(e){n(v["o"],e.access_token)}))},getCurrentInfo:function(e){var t=e.commit,n=e.state;return n.user_info?Promise.resolve():k["a"].get("v1/user/current-info").then((function(e){t(v["q"],e.user_info)}))}},modules:{answerSheet:C,product:j,juniorProduct:E},plugins:[]}),V=(n("e235"),n("82da"),n("5c96")),N=n("5488"),$=n.n(N);i["default"].component($.a.name,$.a),i["default"].use(V["Pagination"]),i["default"].use(V["Dialog"]),i["default"].use(V["Autocomplete"]),i["default"].use(V["Dropdown"]),i["default"].use(V["DropdownMenu"]),i["default"].use(V["DropdownItem"]),i["default"].use(V["Input"]),i["default"].use(V["InputNumber"]),i["default"].use(V["Radio"]),i["default"].use(V["RadioGroup"]),i["default"].use(V["RadioButton"]),i["default"].use(V["Checkbox"]),i["default"].use(V["CheckboxButton"]),i["default"].use(V["CheckboxGroup"]),i["default"].use(V["Switch"]),i["default"].use(V["Select"]),i["default"].use(V["Option"]),i["default"].use(V["OptionGroup"]),i["default"].use(V["Button"]),i["default"].use(V["ButtonGroup"]),i["default"].use(V["Table"]),i["default"].use(V["TableColumn"]),i["default"].use(V["DatePicker"]),i["default"].use(V["Tooltip"]),i["default"].use(V["Form"]),i["default"].use(V["FormItem"]),i["default"].use(V["Tabs"]),i["default"].use(V["TabPane"]),i["default"].use(V["Tag"]),i["default"].use(V["Tree"]),i["default"].use(V["Alert"]),i["default"].use(V["Icon"]),i["default"].use(V["Row"]),i["default"].use(V["Col"]),i["default"].use(V["Upload"]),i["default"].use(V["Progress"]),i["default"].use(V["Card"]),i["default"].use(V["Collapse"]),i["default"].use(V["CollapseItem"]),i["default"].use(V["Transfer"]),i["default"].use(V["Container"]),i["default"].use(V["Header"]),i["default"].use(V["Aside"]),i["default"].use(V["Main"]),i["default"].use(V["Footer"]),i["default"].use(V["Link"]),i["default"].use(V["Loading"].directive),i["default"].prototype.$loading=V["Loading"].service,i["default"].prototype.$msgbox=V["MessageBox"],i["default"].prototype.$alert=V["MessageBox"].alert,i["default"].prototype.$confirm=V["MessageBox"].confirm,i["default"].prototype.$prompt=V["MessageBox"].prompt,i["default"].prototype.$notify=V["Notification"],i["default"].prototype.$message=V["Message"],i["default"].prototype.$ELEMENT={size:"medium",zIndex:3e3};n("0fae"),n("feb6"),n("9b53");var M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"nodata"},[e._v(" 暂无数据 ")])},F=[],U={name:"NoData"},J=U,K=(n("0eba"),Object(d["a"])(J,M,F,!1,null,"54c5d3fe",null)),W=K.exports,H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-dialog",{attrs:{title:"删除模板",width:"30%",visible:e.dialogVisble,"before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisble=t}}},[n("span",[e._v(e._s(e.delText))]),-1!==e.delStatus?n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.handleDialogClose}},[e._v("取 消")]),n("el-button",{on:{click:e.handleDiaSub}},[e._v("确 定")])],1):e._e()])],1)},q=[],R=(n("a9e3"),{name:"DiaLog",props:{dialogVisble:{type:Boolean,default:!1},delText:{type:String,default:""},delStatus:{type:Number,default:0},typeNum:{type:Number,default:1}},data:function(){return{newDialogVisble:this.dialogVisble}},methods:{handleDialogClose:function(){this.$emit("close",this.dialogVisble)},handleDiaSub:function(){this.$emit("delete",this.typeNum)},handleClose:function(){this.$emit("close",this.dialogVisble)}}}),G=R,X=Object(d["a"])(G,H,q,!1,null,"604972c6",null),Z=X.exports,Q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isShow?n("div",{staticClass:"setup-module"},[n("div",{staticClass:"setup-block"},[n("div",{staticClass:"title"},[n("span",[e._v("错题推送规则设置")]),n("i",{staticClass:"close-icon",on:{click:e.sendClose}},[e._v("X")])]),n("div",{staticClass:"content"},e._l(e.moduleData,(function(t,a,u){return n("div",{key:u,staticClass:"item"},[n("span",[e._v(e._s(e.list[u].name))]),"select"==e.list[u].value||"fillInBlank"==e.list[u].value||"smallTopic"==e.list[u].value?n("el-radio-group",{model:{value:e.moduleData[e.list[u].value][0],callback:function(t){e.$set(e.moduleData[e.list[u].value],0,t)},expression:"moduleData[list[index].value][0]"}},e._l(e.firstOptions,(function(t,a){return n("el-radio",{key:a,attrs:{label:t.key}},[e._v(e._s(t.value))])})),1):e._e(),"answer"==e.list[u].value||"chooseAnswer"==e.list[u].value||"largeTopic"==e.list[u].value?n("el-radio-group",{model:{value:e.moduleData[e.list[u].value][0],callback:function(t){e.$set(e.moduleData[e.list[u].value],0,t)},expression:"moduleData[list[index].value][0]"}},e._l(e.secondOptions,(function(t,a){return n("el-radio",{key:a,attrs:{label:t.key}},[e._v(e._s(t.value))])})),1):e._e(),"difficulty"==e.list[u].value?n("el-checkbox-group",{model:{value:e.moduleData.difficulty,callback:function(t){e.$set(e.moduleData,"difficulty",t)},expression:"moduleData.difficulty"}},e._l(e.checkOption,(function(t,a){return n("el-checkbox",{key:a,attrs:{label:t.key}},[e._v(e._s(t.value))])})),1):e._e()],1)})),0),n("div",{staticClass:"submit"},[n("el-button",{attrs:{id:"saveSetting"},on:{click:e.sendModule}},[e._v(" 保存 ")])],1)])]):e._e()},Y=[],ee=n("7660"),te={name:"ShowModule",props:{isShow:Boolean,moduleData:Object,oldData:Object,map:Object},data:function(){return{subjectId:Object(ee["d"])(),firstOptions:[{key:"pushLose",value:"扣了分就推"},{key:"pushZero",value:"只推得0分的"},{key:"pushHalf",value:"扣一半以上分才推"},{key:"pushNone",value:"不推"}],secondOptions:[{key:"pushLose",value:"扣了分就推"},{key:"pushThree",value:"扣3分以上才推"},{key:"pushHalf",value:"扣一半以上分才推"},{key:"pushNone",value:"不推"}],checkOption:[{key:1,value:"推基础题"},{key:2,value:"推中档题"},{key:3,value:"推培优题"}]}},computed:{list:function(){return 3==this.subjectId?[{name:"选择题",value:"select"},{name:"填空题",value:"fillInBlank"},{name:"解答题",value:"answer"},{name:"其他题型",value:"chooseAnswer"},{name:"错题难度",value:"difficulty"}]:12==this.subjectId?[{name:"小题",value:"smallTopic"},{name:"大题",value:"largeTopic"},{name:"错题难度",value:"difficulty"}]:void 0}},methods:{sendModule:function(){this.$emit("hidden",this.moduleData)},sendClose:function(){this.$emit("close",this.oldData)}}},ne=te,ae=(n("7775"),Object(d["a"])(ne,Q,Y,!1,null,"ee574d48",null)),ue=ae.exports,ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isShow?n("div",{staticClass:"setup-module"},[n("div",{staticClass:"setup-block"},[n("div",{staticClass:"title"},[n("span",[e._v("错题推送规则设置")]),n("i",{staticClass:"close-icon",on:{click:e.handleClose}},[e._v("X")])]),n("div",{staticClass:"content"},[n("div",{staticClass:"item"},[n("span",[e._v("小题:")]),n("el-radio-group",{on:{change:e.handleSmallChange},model:{value:e.smallVal,callback:function(t){e.smallVal=t},expression:"smallVal"}},e._l(e.firstOptions,(function(t,a){return n("el-radio",{key:a,attrs:{label:t.key}},[e._v(e._s(t.value))])})),1)],1),n("div",{staticClass:"item"},[n("span",[e._v("大题:")]),n("el-radio-group",{on:{change:e.handleLargeChange},model:{value:e.largeVal,callback:function(t){e.largeVal=t},expression:"largeVal"}},e._l(e.secondOptions,(function(t,a){return n("el-radio",{key:a,attrs:{label:t.key}},[e._v(e._s(t.value))])})),1)],1),n("div",{staticClass:"item"},[n("span",[e._v("错题难度:")]),n("el-checkbox-group",{on:{change:e.handleCheck},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(e.checkOption,(function(t,a){return n("el-checkbox",{key:a,attrs:{label:t.key}},[e._v(e._s(t.value))])})),1)],1)]),n("div",{staticClass:"submit"},[n("el-button",{attrs:{id:"saveSetting"},on:{click:e.saveSetting}},[e._v(" 保存 ")])],1)])]):e._e()},ie=[],re=(n("99af"),n("7db0"),n("53ca")),oe={name:"PhysicsModule",props:{isShow:{type:Boolean,default:!1},moduleData:{type:Object,default:function(){return{}}},newData:{type:Object,default:function(){return{}}},isIndex:{type:Number,default:0}},data:function(){return{largeVal:"",smallVal:"",largeTxt:"",smallTxt:"",checkTxt:"",firstOptions:[{key:"pushLose",value:"扣了分就推"},{key:"pushZero",value:"只推得0分的"},{key:"pushNone",value:"不推"}],secondOptions:[{key:"pushLose",value:"扣了分就推"},{key:"pushThree",value:"扣3分以上才推"},{key:"pushHalf",value:"扣一半以上分才推"},{key:"pushNone",value:"不推"}],checkList:[],checkOption:[{key:1,value:"推基础题"},{key:2,value:"推中档题"},{key:3,value:"推培优题"}],errorPushDetail:{}}},computed:{allText:function(){return"小题:".concat(this.smallTxt.value,";大题: ").concat(this.largeTxt.value,";错题难度:").concat(this.checkTxt)}},watch:{moduleData:{handler:function(e){var t=this;this.errorPushDetail=JSON.stringify(e),this.checkList=e.difficulty,this.largeVal=e.largeTopic[0],this.smallVal=e.smallTopic[0],this.checkTxt="",this.checkList.forEach((function(e){1==e?t.checkTxt+="推基础题,":2==e?t.checkTxt+="推中档题,":3==e&&(t.checkTxt+="推培优题,")})),this.smallTxt=this.handleSmallChange(this.smallVal),this.largeTxt=this.handleLargeChange(this.largeVal)},deep:!0}},methods:{handleSmallChange:function(e){var t=this.firstOptions.find((function(t){if(t["key"]==e)return t.value}));return this.smallTxt=t,t},handleLargeChange:function(e){var t=this.secondOptions.find((function(t){if(t["key"]==e)return t.value}));return this.largeTxt=t,t},handleCheck:function(e){var t=this;this.checkTxt="",e.forEach((function(e){1==e?t.checkTxt+="推基础题,":2==e?t.checkTxt+="推中档题,":3==e&&(t.checkTxt+="推培优题,")}))},saveSetting:function(){var e={smallTopic:[this.smallVal],largeTopic:[this.largeVal],difficulty:this.checkList};this.errorPushDetail=JSON.stringify(e);var t=this.isIndex;this.handleCloseClick(this.errorPushDetail,t)},handleCloseClick:function(e){var t="object"===Object(re["a"])(e)?this.errorPushDetail:e;10===this.isIndex&&(this.largeVal=JSON.parse(t).largeTopic[0],this.checkList=JSON.parse(t).difficulty,this.smallVal=JSON.parse(t).smallTopic[0]),this.$emit("close",t,this.isIndex,this.allText)},handleClose:function(){this.largeVal=this.newData.largeTopic[0],this.checkList=this.newData.difficulty,this.smallVal=this.newData.smallTopic[0],this.$emit("hidden")}}},le=oe,se=(n("d74d"),Object(d["a"])(le,ce,ie,!1,null,"4f35465a",null)),de=se.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{attrs:{size:"mini"},on:{change:e.sendSelectChange},model:{value:e.newValue,callback:function(t){e.newValue=t},expression:"newValue"}},e._l(e.options,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)},fe=[],pe={name:"SelectOption",props:{value:{type:[String,Number]},selectType:{type:String},options:{type:Array,default:function(){return[]}},index:{type:Number},itemIndex:{type:Number}},computed:{newValue:{set:function(){},get:function(){return this.value}}},methods:{sendSelectChange:function(e){this.$emit("change",e,this.selectType,this.index,this.itemIndex)}}},be=pe,me=Object(d["a"])(be,he,fe,!1,null,null,null),ke=me.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"module-title"},[n("i",[e._v(e._s(e.titleNum))]),n("span",[e._v(e._s(e.titleText))])])},ge=[],ye={name:"ModuleTitle",props:{titleNum:String,titleText:String}},Se=ye,_e=(n("6822"),Object(d["a"])(Se,ve,ge,!1,null,"1cd3dd7a",null)),Ce=_e.exports,xe=function(e,t){return"string"===typeof t?Te[t](e):t?void 0:e},Te={gradeFilter:function(e){switch(e){case"1":return"高一";case"2":return"高二";case"3":return"高三"}},levelFilter:function(e){switch(e){case"1":return"A";case"2":return"B";case"3":return"C"}}};i["default"].prototype.$many=ee["a"],Object.keys(a).forEach((function(e){i["default"].filter(e,a[e])})),window.__apiBaseUrl={apiBaseUrl:"http://zsyas2.zhixinhuixue.com",siteUrl:"http://zsyas2.zhixinhuixue.com/vue/index.html#",phpPath:"http://zsyas2.zhixinhuixue.com/vue",phpBaseUrl:"/",xiaoben:"http://xbas2.schcur.com"}.apiBaseUrl,window.__phpBaseUrl={apiBaseUrl:"http://zsyas2.zhixinhuixue.com",siteUrl:"http://zsyas2.zhixinhuixue.com/vue/index.html#",phpPath:"http://zsyas2.zhixinhuixue.com/vue",phpBaseUrl:"/",xiaoben:"http://xbas2.schcur.com"}.phpBaseUrl,i["default"].component(W.name,W),i["default"].component(Z.name,Z),i["default"].component(ue.name,ue),i["default"].component(de.name,de),i["default"].component(ke.name,ke),i["default"].component(Ce.name,Ce),i["default"].config.productionTip=!1,new i["default"]({router:p["a"],store:B,render:function(e){return e(f)}}).$mount("#app")},"60a6":function(e,t,n){"use strict";n.d(t,"o",(function(){return a})),n.d(t,"q",(function(){return u})),n.d(t,"m",(function(){return c})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"j",(function(){return o})),n.d(t,"k",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"f",(function(){return d})),n.d(t,"l",(function(){return h})),n.d(t,"n",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"g",(function(){return b})),n.d(t,"e",(function(){return m})),n.d(t,"d",(function(){return k})),n.d(t,"h",(function(){return v})),n.d(t,"p",(function(){return g}));var a="set_token",u="set_userinfo",c="set_subject",i="set_card_setting",r="set_big_topic_arr",o="set_pagetopic-arr",l="set_paper_list_data",s="set_answer_card_type",d="set_initPage_flag",h="set_paper_source",f="set_test_form_data",p="set_is_preview_back",b="set_is_answer_card_type_change",m="set_change_ue_ready_height_arr",k="set_change_somepage_index",v="set_is_explain_move",g="set_topic_blur"},6822:function(e,t,n){"use strict";var a=n("a445"),u=n.n(a);u.a},7660:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return i})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return s}));var a=function(e){var t=new FormData;for(var n in e)t.append(n,e[n]);return t},u="subject_id",c=function(){return sessionStorage.getItem(u)},i=function(e){return sessionStorage.setItem(u,e)},r=function(){return sessionStorage.removeItem(u)},o="edition",l=function(e){return sessionStorage.setItem(o,e)},s=function(){return sessionStorage.getItem(o)};t["a"]={getFormData:a,getSubjectId:c,setSubjectId:i,removeSubjectId:r,setEditionNum:l,getEditionNum:s}},7775:function(e,t,n){"use strict";var a=n("c71b"),u=n.n(a);u.a},"82da":function(e,t,n){},9785:function(e,t,n){},"9b53":function(e,t,n){},a18c:function(e,t,n){"use strict";n("99af"),n("d3b7");var a=n("2909"),u=n("2b0e"),c=n("8c4f"),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"home"},[n("div",[n("router-link",{attrs:{to:"/"}},[n("el-button",{attrs:{type:"primary"}},[e._v("首页")])],1),n("router-link",{attrs:{to:"/AnswerSheet?exam_group_id=644050664663072768&card_type=1"}},[n("el-button",{attrs:{type:"primary"}},[e._v("在线答题卡")])],1),n("router-link",{attrs:{to:"/ProductSet"}},[n("el-button",{attrs:{type:"primary"}},[e._v("高中产品设置")])],1),n("router-link",{attrs:{to:"/JuniorProductSet"}},[n("el-button",{attrs:{type:"primary"}},[e._v("初中产品设置")])],1),n("router-link",{attrs:{to:"/TeachSet"}},[n("el-button",{attrs:{type:"primary"}},[e._v("教学宝设置")])],1),n("router-link",{attrs:{to:"/WaiKanSet"}},[n("el-button",{attrs:{type:"primary"}},[e._v("外刊宝设置")])],1),n("router-link",{attrs:{to:"/ExamProcess"}},[n("el-button",{attrs:{type:"primary"}},[e._v("考试流程监控")])],1),n("router-link",{attrs:{to:"/JiuCuoSet"}},[n("el-button",{attrs:{type:"primary"}},[e._v("纠错本设置")])],1)],1)])},r=[],o={name:"home",components:{},filters:{},props:{},data:function(){return{}},computed:{},watch:{},created:function(){},mounted:function(){},methods:{}},l=o,s=n("2877"),d=Object(s["a"])(l,i,r,!1,null,"54671927",null),h=d.exports,f=function(){return n.e("chunk-53457fae").then(n.bind(null,"abaf"))},p=function(){return n.e("chunk-71b3b8ea").then(n.bind(null,"ef40"))},b=function(){return n.e("chunk-195f1e4e").then(n.bind(null,"b213"))},m=function(){return n.e("chunk-2a88713a").then(n.bind(null,"811b"))},k=function(){return n.e("chunk-5ef20c97").then(n.bind(null,"c12e"))},v=function(){return n.e("chunk-786eca7c").then(n.bind(null,"c0f3"))},g=function(){return n.e("chunk-326a08f6").then(n.bind(null,"8537"))},y=function(){return n.e("chunk-6ff16d4e").then(n.bind(null,"ad08"))},S=function(){return n.e("chunk-680199ce").then(n.bind(null,"c2b8"))},_=function(){return Promise.all([n.e("chunk-98c4b8ce"),n.e("chunk-d1425bc4")]).then(n.bind(null,"8a1f"))},C=function(){return Promise.all([n.e("chunk-98c4b8ce"),n.e("chunk-2d207378")]).then(n.bind(null,"a01d"))},x=function(){return Promise.all([n.e("chunk-98c4b8ce"),n.e("chunk-2e13ec19")]).then(n.bind(null,"e6f5"))},T=function(){return Promise.all([n.e("chunk-98c4b8ce"),n.e("chunk-552f820f")]).then(n.bind(null,"ae53"))},w=function(){return Promise.all([n.e("chunk-98c4b8ce"),n.e("chunk-8ad7d15a")]).then(n.bind(null,"e3c0"))},O=function(){return Promise.all([n.e("chunk-98c4b8ce"),n.e("chunk-fed4eb30")]).then(n.bind(null,"629f"))},j=[{path:"/ProductSet",component:f,redirect:"/ProductSet/VersionSelect",children:[{path:"VersionSelect",name:"VersionSelect",component:p},{path:"Customized",name:"Customized",component:b},{path:"TemplateCenter",name:"TemplateCenter",component:m,meta:{nav:!0,address:"TemplateCenter"}},{path:"ClassSetting",name:"ClassSetting",component:k,meta:{title:"班级定制",nav:!0,address:"ClassSetting"}},{path:"ClassCustom",name:"ClassCustom",component:v},{path:"StudentSetting",name:"StudentSetting",component:g,meta:{title:"学生定制",nav:!0,address:"StudentSetting"}},{path:"StudentCustom",name:"StudentCustom",component:y},{path:"OptionalCard",name:"OptionalCard",component:S,meta:{nav:!0,address:"OptionalCard"}},{path:"WrongTopicClass",name:"WrongTopicClass",component:_},{path:"WrongTopicStudent",name:"WrongTopicStudent",component:C},{path:"IndividuationClass",name:"IndividuationClass",component:x},{path:"IndividuationStudent",name:"IndividuationStudent",component:T},{path:"PromoteClass",name:"PromoteClass",component:w},{path:"PromoteStudent",name:"PromoteStudent",component:O}]}],P=function(){return n.e("chunk-1d6b1f28").then(n.bind(null,"51d1"))},L=function(){return n.e("chunk-260509c8").then(n.bind(null,"277b"))},I=function(){return n.e("chunk-5d255be4").then(n.bind(null,"eb07"))},D=function(){return n.e("chunk-1d7921e2").then(n.bind(null,"5a4a"))},E=function(){return n.e("chunk-f82ff3f8").then(n.bind(null,"add3"))},A=function(){return n.e("chunk-0bed2034").then(n.bind(null,"c4c4"))},z=function(){return n.e("chunk-7318c465").then(n.bind(null,"230a"))},B=[{path:"/JuniorProductSet",component:P,redirect:"/JuniorProductSet/TemplateCenter",children:[{path:"TemplateCenter",component:L,meta:{nav:!0}},{path:"ClassList",component:I,meta:{nav:!0}},{path:"StudentList",component:E,meta:{nav:!0}},{path:"ClassCustom",component:D},{path:"StudentCustom",component:A},{path:"ClassTemplate",component:z}]}],V=function(){return Promise.all([n.e("chunk-da064406"),n.e("chunk-06b32ebc")]).then(n.bind(null,"3381"))},N=function(){return Promise.all([n.e("chunk-da064406"),n.e("chunk-435e9696")]).then(n.bind(null,"5f06"))},$=[{path:"/AnswerSheet",name:"AnswerSheet",component:V},{path:"/AnswerSheetPreview",name:"Preview",component:N}],M=function(){return n.e("chunk-02bb0413").then(n.bind(null,"6979"))},F=function(){return n.e("chunk-3f269102").then(n.bind(null,"8a5b"))},U=function(){return n.e("chunk-1bafa996").then(n.bind(null,"4efc"))},J=function(){return n.e("chunk-b80e76a6").then(n.bind(null,"be5a"))},K=function(){return n.e("chunk-7abe2d4a").then(n.bind(null,"0dbd"))},W=[{path:"/TeachSet",component:M,redirect:"/TeachSet/ClassList",children:[{path:"ClassList",name:"ClassList",component:F},{path:"BatchSetting",name:"BatchSetting",component:U},{path:"TemplateManager",name:"TemplateManager",component:J},{path:"TypeSetting",name:"TypeSetting",component:K}]}],H=function(){return n.e("chunk-50d0ce95").then(n.bind(null,"6df3"))},q=function(){return n.e("chunk-7d3db2be").then(n.bind(null,"b985"))},R=function(){return n.e("chunk-25013ec4").then(n.bind(null,"288d"))},G=function(){return n.e("chunk-6e48b9d8").then(n.bind(null,"95e4"))},X=function(){return n.e("chunk-5fe4eab6").then(n.bind(null,"c7f7"))},Z=function(){return n.e("chunk-5871ef98").then(n.bind(null,"fb73"))},Q=function(){return n.e("chunk-449e0bee").then(n.bind(null,"b0a7"))},Y=function(){return n.e("chunk-acaabf60").then(n.bind(null,"558b"))},ee=[{path:"/MethodSet",component:H,redirect:"/MethodSet/Introduction",children:[{path:"Introduction",name:"Introduction",component:q},{path:"TemplateCenter",component:R,meta:{nav:!0,address:"TemplateCenter"}},{path:"ClassSetting",component:G,meta:{nav:!0,address:"ClassSetting"}},{path:"StudentSetting",component:Z,meta:{nav:!0,address:"StudentSetting"}},{path:"ClassCustom",component:X},{path:"StudentCustom",component:Q},{path:"TemplateSet",component:Y}]}],te=function(){return n.e("chunk-45cba074").then(n.bind(null,"0a6f"))},ne=function(){return n.e("chunk-3c4403c0").then(n.bind(null,"fc98"))},ae=[{path:"/ExamProcess",component:te,redirect:"/ExamProcess/ExamProcessList",children:[{path:"ExamProcessList",name:"ExamProcessList",component:ne}]}],ue=function(){return n.e("chunk-2d0c2651").then(n.bind(null,"49b8"))},ce=function(){return n.e("chunk-dff83798").then(n.bind(null,"bf2b"))},ie=function(){return n.e("chunk-1cc794ff").then(n.bind(null,"9654"))},re=function(){return n.e("chunk-d3c4c186").then(n.bind(null,"225f"))},oe=function(){return n.e("chunk-305c2538").then(n.bind(null,"1886"))},le=[{path:"/WaiKanSet",name:"WaiKanSet",component:ce,redirect:"/WaiKanSet/Inlet",children:[{path:"Inlet",name:"Inlet",component:ue},{path:"WaiKanGenerate",name:"WaiKanGenerate",component:ie},{path:"StudentSet",name:"StudentSet",component:re},{path:"WaiKanSeparate",name:"WaiKanSeparate",component:oe}]}],se=function(){return n.e("chunk-6f31bfb0").then(n.bind(null,"8596"))},de=[{path:"/JiuCuoSet",name:"JiuCuoSet",component:se}],he=function(){return n.e("chunk-dfcca712").then(n.bind(null,"a196"))},fe=c["a"].prototype.push;c["a"].prototype.push=function(e){return fe.call(this,e).catch((function(e){return e}))},u["default"].use(c["a"]);var pe=[{path:"/",name:"Home",component:h},{path:"/FontSizeSetting",name:"FontSizeSetting",component:he}].concat(Object(a["a"])(j),Object(a["a"])(B),Object(a["a"])($),Object(a["a"])(W),Object(a["a"])(ee),Object(a["a"])(ae),Object(a["a"])(le),Object(a["a"])(de)),be=new c["a"]({routes:pe});t["a"]=be},a445:function(e,t,n){},afc2:function(e,t,n){},c1fb:function(e,t,n){"use strict";n("caad"),n("c975"),n("d3b7"),n("ac1f"),n("1276"),n("a18c");var a=n("bc3a"),u=n.n(a),c=n("5c96"),i=n("f1ed");u.a.defaults.baseURL="/";for(var r={appCoachId:"",loginTime:"",loginSig:"",sessionId:""},o=["appCoachId","loginTime","loginSig","sessionId"],l=document.cookie,s=l.split("; "),d=0;d<s.length;d++){var h=s[d].split("="),f=h[0];o.indexOf(f)>-1&&(r[f]=Object(i["d"])(h[1])),"appLoginSessionId"==f&&(r.sessionId=Object(i["d"])(h[1]))}u.a.interceptors.request.use((function(e){return e.timeout=3e4,e})),u.a.interceptors.response.use((function(e){var t=void 0!==e.data.status?e.data.status:e.data.success;return e.data.flag&&(t=e.data.flag),401==t?(c["Message"].error("请重新登录"),Promise.reject(e.data)):([!0,1].includes(t)||e.data.message&&c["Message"].error(e.data.message),Promise.resolve(e.data))}),(function(e){return Promise.reject(e)})),t["a"]=u.a},c71b:function(e,t,n){},d74d:function(e,t,n){"use strict";var a=n("afc2"),u=n.n(a);u.a},e235:function(e,t,n){},f1ed:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return i}));n("d3b7"),n("4d63"),n("ac1f"),n("25f0"),n("466d"),n("5319"),n("1276"),n("5cc6"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7");var a=function(e){var t=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;return null==e?"":(e+"").replace(t,"")};function u(e){var t=["","一","二","三","四","五","六","七","八","九"],n=["","十","百","千"],a="",u="",c=0,i=!0,r=e;while(e>0){var o=e%10;0===o?i||(i=!0,u=t[o]+u):(i=!1,1==c&&1==parseInt(r/10)?u=n[c]+t[r%10]:(a=t[o],a+=n[c],u=a+u)),c++,e=Math.floor(e/10)}return u}function c(e){var t={};for(var n in e){if(t[e[n]])return!0;t[e[n]]=!0}return!1}var i=function(e){var t=new FormData;for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];t.append(n,a)}return t}},feb6:function(e,t,n){}});