(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-98c4b8ce"],{"07ac":function(e,t,i){var a=i("23e7"),s=i("6f53").values;a({target:"Object",stat:!0},{values:function(e){return s(e)}})},"45fc":function(e,t,i){"use strict";var a=i("23e7"),s=i("b727").some,n=i("a640"),r=i("ae40"),o=n("some"),l=r("some");a({target:"Array",proto:!0,forced:!o||!l},{some:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},"494c":function(e,t,i){"use strict";var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"step"},[i("ModuleTitle",{attrs:{titleNum:e.titleNum,titleText:"错题推送规则"}}),i("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:e.errorTopicList,"header-cell-style":{background:"#f2f2f2",color:"#606266"}}},[e.noLevel?i("el-table-column",{attrs:{prop:"level",label:"学生层次",width:"150"}}):e._e(),"4"!==e.edition&&"12"!==e.subjectId||3!=e.productType||e.isSameTrain?e._e():i("el-table-column",{attrs:{label:"产品",prop:"versionType",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(1==t.row.versionType?"学习宝":2==t.row.versionType?"基础宝":"能力宝")+" ")]}}],null,!1,3860984409)}),i("el-table-column",{attrs:{label:"错题推送(可设置过滤条件,减少学生的错题推送)"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"push-tip"},[i("div",{staticClass:"push-tip-text"},[e._v(" "+e._s(e.textArr[t.$index])+" ")]),i("el-button",{attrs:{type:"text"},on:{click:function(i){return e.handleSet(t.$index,t.row)}}},[e._v("设置")])],1)]}}])}),i("el-table-column",{attrs:{label:3==e.subjectId?"拓展训练题推送(得满分或错题少的学生,默认推送)":"拓展训练题推送(得满分或错题少的学生,可推送3道练习题)",width:3==e.subjectId?"507":""},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"push-expand"},[i("el-switch",{attrs:{"active-color":"#16ae68","inactive-color":"#ddd",disabled:e.isSameTrain},model:{value:t.row.isPushTrain,callback:function(i){e.$set(t.row,"isPushTrain",i)},expression:"scope.row.isPushTrain"}}),3==e.subjectId&&1==t.row.isPushTrain?i("div",{staticClass:"push-num"},[i("span",{staticClass:"c-name"},[e._v(" 最大题量:")]),i("el-select",{attrs:{size:"mini"},model:{value:t.row.expandTrainPush.quantity,callback:function(i){e.$set(t.row.expandTrainPush,"quantity",i)},expression:"scope.row.expandTrainPush.quantity"}},e._l(e.quantityArr,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()],1)]}}])})],1),i("show-module",{attrs:{isShow:e.isShow,oldData:e.oldData,map:e.errTopicMap,moduleData:e.moduleData},on:{hidden:e.handleHidden,close:e.handleClose}})],1)},s=[],n=(i("4160"),i("a9e3"),i("159b"),i("7660")),r={name:"ErrorTopicPush",props:{titleNum:String,errorTopicList:{type:Array,default:function(){return[]}},errTopicMap:{type:Object},noLevel:{type:Number,default:1},isSameTrain:{type:Boolean}},data:function(){return{edition:sessionStorage.getItem("edition"),productType:this.$route.query.product_type,subjectId:Object(n["d"])(),valueMap:{pushNone:"不推",pushLose:"扣了分就推",pushZero:"只推得0分",pushThree:"扣3分以上才推",pushHalf:"扣一半以上分才推",0:"",1:"推基础题",2:"推中档题",3:"推培优题"},textArr:[],moduleData:{},oldData:{},isIndex:0,isShow:!1,quantityArr:[{label:"3",value:3},{label:"5",value:5},{label:"7",value:7}]}},methods:{handleSet:function(e,t){this.isShow=!0,this.isIndex=e,this.oldData=JSON.parse(JSON.stringify(t.errorPushDetail)),this.moduleData=t.errorPushDetail},handleHidden:function(e){this.isShow=!this.isShow,this.$emit("module",e,this.isIndex)},handleClose:function(e){this.isShow=!this.isShow,this.$emit("module",e,this.isIndex)}},watch:{errorTopicList:{deep:!0,handler:function(e){var t=this;e&&e.forEach((function(e,i){var a="",s="",n="",r="",o="",l="",c="",h="",u="";for(var p in e.errorPushDetail)"select"==p?e.errorPushDetail[p].forEach((function(e){a="选择题:".concat(t.valueMap[e],";")})):"fillInBlank"==p?e.errorPushDetail[p].forEach((function(e){s="填空题:".concat(t.valueMap[e],";")})):"answer"==p?e.errorPushDetail[p].forEach((function(e){r="解答题:".concat(t.valueMap[e],";")})):"chooseAnswer"==p?e.errorPushDetail[p].forEach((function(e){n="选做题:".concat(t.valueMap[e],";")})):"difficulty"==p?(0!=e.errorPushDetail[p].length&&(h="".concat(t.errTopicMap[p],":")),e.errorPushDetail[p].forEach((function(e){o+="".concat(t.valueMap[e],",")}))):"smallTopic"==p?e.errorPushDetail[p].forEach((function(e){l="小题:".concat(t.valueMap[e],",")})):"largeTopic"==p&&e.errorPushDetail[p].forEach((function(e){c="大题:".concat(t.valueMap[e],",")}));3==t.subjectId?u=a+s+r+n+h+o:12==t.subjectId&&(u=l+c+h+o),u=u.substr(0,u.length-1),t.$set(t.textArr,i,u)}))}}}},o=r,l=(i("e2c0"),i("2877")),c=Object(l["a"])(o,a,s,!1,null,"45aa6d8e",null);t["a"]=c.exports},"520f":function(e,t,i){"use strict";i.d(t,"g",(function(){return s})),i.d(t,"b",(function(){return n})),i.d(t,"z",(function(){return r})),i.d(t,"m",(function(){return o})),i.d(t,"f",(function(){return l})),i.d(t,"w",(function(){return c})),i.d(t,"u",(function(){return h})),i.d(t,"v",(function(){return u})),i.d(t,"k",(function(){return p})),i.d(t,"t",(function(){return m})),i.d(t,"e",(function(){return d})),i.d(t,"n",(function(){return y})),i.d(t,"p",(function(){return g})),i.d(t,"r",(function(){return f})),i.d(t,"o",(function(){return S})),i.d(t,"i",(function(){return T})),i.d(t,"q",(function(){return x})),i.d(t,"s",(function(){return v})),i.d(t,"c",(function(){return b})),i.d(t,"l",(function(){return w})),i.d(t,"d",(function(){return M})),i.d(t,"a",(function(){return L})),i.d(t,"h",(function(){return P})),i.d(t,"j",(function(){return A})),i.d(t,"A",(function(){return D})),i.d(t,"x",(function(){return I})),i.d(t,"y",(function(){return C}));var a=i("c1fb");function s(e){return a["a"].post("productset/getProductEdition",e)}function n(e){return a["a"].post("/productset/changeSubject",e)}function r(e){return a["a"].post("/productset/switchEdition",e)}function o(e){return a["a"].post("productset/initProductSetting",e)}var l=function(e){return a["a"].post("/productset/copyTemplate",e)},c=function(e){return a["a"].post("/productset/reNameTemplate",e)},h=function(e){return a["a"].post("/productset/beforeDelTemplate",e)},u=function(e){return a["a"].post("/productset/delTemplate",e)},p=function(e){return a["a"].post("/productset/ajaxGetTemplateById",e)},m=function(e){return a["a"].post("/productset/saveTemplate",e)};function d(e){return a["a"].post("/productset/getClassByGrade",e)}function y(e){return a["a"].post("/productset/productClassSet",e)}function g(e){return a["a"].post("/productset/resetClassSet",e)}var f=function(e){return a["a"].post("/productset/saveClassSet",e)};function S(e){return a["a"].post("/productset/productStudentSet",e)}var T=function(e){return a["a"].post("/studentinfo/getStudent",e)};function x(e){return a["a"].post("/productset/resetStudentSet",e)}var v=function(e){return a["a"].post("/productset/saveStudentSet",e)};function b(e){return a["a"].post("/productset/customProductStudentSet",e)}function w(e){return a["a"].post("/productset/getTemplateByType",e)}function M(e){return a["a"].post("/productset/delStudentOptionalCard",e)}function L(e){return a["a"].post("/productset/SaveOptionalCard",e)}function P(){return a["a"].get("/productset/getSemester")}function A(e){return a["a"].get("/productset/getStyleType",e)}function D(e){return a["a"].post("/productset/switchStyle",e)}function I(){return a["a"].post("/subjectProductSetting/index")}function C(e){return a["a"].post("/subjectProductSetting/update",e)}},"6f53":function(e,t,i){var a=i("83ab"),s=i("df75"),n=i("fc6a"),r=i("d1e7").f,o=function(e){return function(t){var i,o=n(t),l=s(o),c=l.length,h=0,u=[];while(c>h)i=l[h++],a&&!r.call(o,i)||u.push(e?[i,o[i]]:o[i]);return u}};e.exports={entries:o(!0),values:o(!1)}},7377:function(e,t,i){},8830:function(e,t,i){"use strict";var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"step"},[i("ModuleTitle",{attrs:{titleNum:e.titleNum,titleText:e.titleText}}),i("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:e.typeSetList,"header-cell-style":{background:"#f2f2f2",color:"#606266"}}},[i("el-table-column",{attrs:{prop:"title",label:"一级栏目"}}),i("el-table-column",{attrs:{label:"二级栏目"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.cellItem,(function(t,a){return i("div",{key:a,staticClass:"show-text"},[e._v(" "+e._s(t.text)+" ")])}))}}])}),i("el-table-column",{attrs:{label:"设置"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.cellItem,(function(t,a){return i("div",{key:a,staticClass:"switch-block"},["hasDividePage"!=t.name&&"hasTrainTypesetting"!==t.name?i("el-switch",{attrs:{"active-color":"#16ae68","inactive-color":"#ddd"},on:{change:function(i){return e.sendStatus(t.name,e.typeSetMap[t.name])}},model:{value:e.typeSetMap[t.name],callback:function(i){e.$set(e.typeSetMap,t.name,i)},expression:"typeSetMap[item.name]"}}):"hasTrainTypesetting"===t.name?i("el-select",{attrs:{size:"mini"},model:{value:e.typeSetMap[t.name],callback:function(i){e.$set(e.typeSetMap,t.name,i)},expression:"typeSetMap[item.name]"}},e._l(e.selType,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1):i("span",[e._v(e._s(t.showTxt))]),i("span",{staticStyle:{position:"absolute",top:"30%",left:"70px"}},[e._v(e._s(t.tip))])],1)}))}}])})],1)],1)},s=[],n={name:"TypeSet",props:{titleNum:String,typeSetList:{type:Array,default:function(){return[]}},typeSetMap:{type:Object,default:function(){return{}}},titleText:String},data:function(){return{selType:[{value:!0,label:"错题下方显示变式训练题"},{value:!1,label:"错题集中显示,变式训练题集中显示"}],moduleTitle:""}},watch:{titleText:{handler:function(e){return e}},immediate:!0},created:function(){},methods:{sendStatus:function(e,t){this.$emit("switch",e,t)}}},r=n,o=(i("f795"),i("2877")),l=Object(o["a"])(r,a,s,!1,null,"f65842c8",null);t["a"]=l.exports},"8f79":function(e,t,i){"use strict";i.d(t,"d",(function(){return c})),i.d(t,"b",(function(){return h})),i.d(t,"c",(function(){return u}));i("cb29"),i("4de4"),i("4160"),i("d81d"),i("45fc"),i("a434"),i("b0c0"),i("a9e3"),i("b64b"),i("07ac"),i("159b");var a=i("53ca"),s=i("520f"),n=i("7660"),r={data:function(){return{mathTypeSetMap:{hasEncourage:!0,hasRankingChange:!0,hasAchievementChange:!0,hasSmallTips:!0,hasGoodKnowledge:!0,hasLoseKnowledge:!0,hasScoreDetail:!0,hasWrongOriginTopic:!0,hasErrorOriginNote:!0,hasDividePage:!0,examinationDifficulty:!0,testVideo:!0,scoreOfCollege:!0,hasSelfCorrect:!0,classmateOptimization:!0,hasTeacherGuide:!0,commonProblems:!0,isWrongAnswerEnd:!0,titleAnswerMerge:!0,hasWrongAnswer:!0},newMathTypeSetMap:{hasEncourage:!0,hasScoreDetail:!0,hasSmallTips:!0,hasPromoteGuide:!0,hasRankingChange:!0,hasAchievementChange:!0,hasMathSituation:!0,historyCollection:!0,hasWrongOriginTopic:!0,hasErrorOriginNote:!0,testVideo:!0,scoreOfCollege:!0,hasSelfCorrect:!0,classmateOptimization:!0,hasTeacherGuide:!0,commonProblems:!0,gradeCommonProblems:!1,realProblemExpress:!0,hasWrongAnswer:!0,titleAnswerMerge:!0},physicTypeSetMap:{hasScoreDetail:!0,comprehensiveScore:!0,growthLine:!0,knowledgeChange:!0,hasErrorAnalyse:!0,selfRevision:!0,myAnswer:!0,classmateOptimization:!0,answerAnalysis:!0}}},created:function(){this.mathTypeSetList=[{title:"成长轨迹",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【排名变化图】",name:"hasRankingChange"},{text:"显示【成绩变化图】",name:"hasAchievementChange"},{text:"显示【考试难度小贴士】",name:"examinationDifficulty"},{text:"显示【小贴士】",name:"hasSmallTips"}]},{title:"知识点掌握分析",cellItem:[{text:"显示【得分前五知识点】",name:"hasGoodKnowledge"},{text:"显示【失分前五知识点】",name:"hasLoseKnowledge"}]},{title:"得分明细表",cellItem:[{text:"显示【得分明细表】",name:"hasScoreDetail"}]},{title:"错题整理",cellItem:[{text:"显示【错题原题】",name:"hasWrongOriginTopic"},{text:"显示【错题原笔迹】",name:"hasErrorOriginNote"},{text:"显示【考点视频二维码】",name:"testVideo"},{text:"显示【考点高考分值表】 ",name:"scoreOfCollege"},{text:"显示【自我订正】",name:"hasSelfCorrect"},{text:"显示【同学优解】",name:"classmateOptimization"},{text:"显示【名师指导】",name:"hasTeacherGuide"}]},{title:"共性问题",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"答案解析",cellItem:[{text:"【答案解析】排版方式",name:"hasDividePage",showTxt:"答案和解析显示在最后一页"},{text:"错题答案解析显示在最后",name:"isWrongAnswerEnd"},{text:"答案解析与其它内容合并生成",name:"titleAnswerMerge"},{text:"需要错题答案解析",name:"hasWrongAnswer"}]}],this.newMathTypeSetList=[{title:"学情分析",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【得分明细】",name:"hasScoreDetail"},{text:"显示【小贴士】",name:"hasSmallTips"},{text:"显示【提升指导】",name:"hasPromoteGuide"},{text:"显示【排名变化图】",name:"hasRankingChange"},{text:"显示【成绩变化图】",name:"hasAchievementChange"}]},{title:"素养提升",cellItem:[{text:"显示【数学情境】",name:"hasMathSituation"},{text:"显示【学史典藏】",name:"historyCollection"}]},{title:"错题整理",cellItem:[{text:"显示【错题原题】",name:"hasWrongOriginTopic"},{text:"显示【错题原笔迹】",name:"hasErrorOriginNote"},{text:"显示【考点视频二维码】",name:"testVideo"},{text:"显示【考点高考分值表】 ",name:"scoreOfCollege"},{text:"显示【自我订正】",name:"hasSelfCorrect"},{text:"显示【同学优解】",name:"classmateOptimization"},{text:"显示【名师指导】",name:"hasTeacherGuide"}]},{title:"共性问题",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"年级共性问题",cellItem:[{text:"显示【年级共性问题】",name:"gradeCommonProblems"}]},{title:"真题速递",cellItem:[{text:"显示【真题速递】",name:"realProblemExpress"}]},{title:"答案解析",cellItem:[{text:"需要错题答案解析",name:"hasWrongAnswer"},{text:"答案解析与其它内容合并生成",name:"titleAnswerMerge"}]}],this.physicTypeSetList=[{title:"学情分析",cellItem:[{text:"得分明细",name:"hasScoreDetail"},{text:"综合得分表",name:"comprehensiveScore"},{text:"成长轨迹",name:"growthLine"},{text:"知识点掌握变化",name:"knowledgeChange"}]},{title:"个性训练",cellItem:[{text:"错因分析",name:"hasErrorAnalyse"},{text:"自我订正",name:"selfRevision"},{text:"我的答案",name:"myAnswer"},{text:"同学优解",name:"classmateOptimization"}]},{title:"参考答案",cellItem:[{text:"答案解析",name:"answerAnalysis"}]}],this.accurateList=[{title:"学情导航",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【得分明细表】",name:"hasScoreDetail"},{text:"显示【薄弱知识点】",name:"hasLoseKnowledge"}]},{title:"错题变式 个性夯基",cellItem:[{text:"显示【错题原笔迹】",name:"hasErrorOriginNote"},{text:"显示【同学优解】",name:"classmateOptimization"}]},{title:"答案解析",cellItem:[{text:"需要错题答案解析",name:"hasWrongAnswer"},{text:"答案解析与其它内容合并生成",name:"titleAnswerMerge"}]},{title:"典例精讲 共性提升",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]}]}},o={data:function(){return{mathTypeSetMap:{hasEncourage:!0,hasRankingChange:!0,hasAchievementChange:!0,examinationDifficulty:!0,hasSmallTips:!0,hasGoodKnowledge:!0,hasLoseKnowledge:!0,hasScoreDetail:!0,commonProblems:!0,hasDividePage:!0,hasWrongAnswer:!0,titleAnswerMerge:!0,testVideo:!0,scoreOfCollege:!0,classmateOptimization:!0},newMathTypeSetMap:{hasEncourage:!0,hasScoreDetail:!0,hasSmallTips:!0,hasPromoteGuide:!0,hasRankingChange:!0,hasAchievementChange:!0,hasMathSituation:!0,historyCollection:!0,commonProblems:!0,gradeCommonProblems:!1,hasWrongAnswer:!0,titleAnswerMerge:!0},physicTypeSetMap:{hasScoreDetail:!0,comprehensiveScore:!0,growthLine:!0,knowledgeChange:!0,answerAnalysis:!0},pushMap:{pushQuestionUpgrade:!0}}},created:function(){this.mathTypeSetList=[{title:"成长轨迹",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【排名变化图】",name:"hasRankingChange"},{text:"显示【成绩变化图】",name:"hasAchievementChange"},{text:"显示【考试难度小贴士】",name:"examinationDifficulty"},{text:"显示【小贴士】",name:"hasSmallTips"}]},{title:"知识点掌握分析",cellItem:[{text:"显示【得分前五知识点】",name:"hasGoodKnowledge"},{text:"显示【失分前五知识点】",name:"hasLoseKnowledge"}]},{title:"得分明细表",cellItem:[{text:"显示【得分明细表】",name:"hasScoreDetail"}]},{title:"共性问题",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"答案解析",cellItem:[{text:"【答案解析】排版方式",name:"hasDividePage",showTxt:"答案和解析显示在最后一页"},{text:"需要错题答案解析",name:"hasWrongAnswer"},{text:"答案解析与其它内容合并生成",name:"titleAnswerMerge"}]}],this.pushErrList=[{title:"推送题升级",cellItem:[{text:"展示试题来源,试题多解",name:"pushQuestionUpgrade"}]}],this.newMathTypeSetList=[{title:"学情分析",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【得分明细】",name:"hasScoreDetail"},{text:"显示【小贴士】",name:"hasSmallTips"},{text:"显示【提升指导】",name:"hasPromoteGuide"},{text:"显示【排名变化图】",name:"hasRankingChange"},{text:"显示【成绩变化图】",name:"hasAchievementChange"}]},{title:"素养提升",cellItem:[{text:"显示【数学情境】",name:"hasMathSituation"},{text:"显示【学史典藏】",name:"historyCollection"}]},{title:"共性问题",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"年级共性问题",cellItem:[{text:"显示【年级共性问题】",name:"gradeCommonProblems"}]},{title:"答案解析",cellItem:[{text:"需要错题答案解析",name:"hasWrongAnswer"},{text:"答案解析与其它内容合并生成",name:"titleAnswerMerge"}]}],this.physicTypeSetList=[{title:"学情分析",cellItem:[{text:"得分明细",name:"hasScoreDetail"},{text:"综合得分表",name:"comprehensiveScore"},{text:"成长轨迹",name:"growthLine"},{text:"知识点掌握变化",name:"knowledgeChange"}]},{title:"答案解析",cellItem:[{text:"答案解析",name:"answerAnalysis"}]}],this.accurateList=[{title:"学情导航",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【得分明细表】",name:"hasScoreDetail"},{text:"显示【薄弱知识点】",name:"hasLoseKnowledge"}]},{title:"典例精讲 共性提升",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"答案解析",cellItem:[{text:"需要错题答案解析",name:"hasWrongAnswer"},{text:"答案解析与其它内容合并生成",name:"titleAnswerMerge"}]}]}},l={data:function(){return{mathTypeSetMap:{hasEncourage:!0,hasRankingChange:!0,hasAchievementChange:!0,examinationDifficulty:!0,hasSmallTips:!0,hasGoodKnowledge:!0,hasLoseKnowledge:!0,hasScoreDetail:!0,hasWrongOriginTopic:!0,hasErrorOriginNote:!0,hasTrainTypesetting:!0,testVideo:!0,scoreOfCollege:!0,hasSelfCorrect:!0,classmateOptimization:!0,hasTeacherGuide:!0,commonProblems:!0,hasDividePage:!0,isWrongAnswerEnd:!0,titleAnswerMerge:!0,hasWrongAnswer:!0},pushMap:{pushQuestionUpgrade:!0},newMathTypeSetMap:{hasEncourage:!0,hasScoreDetail:!0,hasSmallTips:!0,hasPromoteGuide:!0,hasRankingChange:!0,hasAchievementChange:!0,hasMathSituation:!0,historyCollection:!0,hasWrongOriginTopic:!0,hasErrorOriginNote:!0,hasTrainTypesetting:!0,testVideo:!0,scoreOfCollege:!0,hasSelfCorrect:!0,classmateOptimization:!0,hasTeacherGuide:!0,commonProblems:!0,gradeCommonProblems:!1,realProblemExpress:!0,hasWrongAnswer:!0,titleAnswerMerge:!0},physicTypeSetMap:{hasScoreDetail:!0,comprehensiveScore:!0,growthLine:!0,knowledgeChange:!0,propositionTrend:!0,strikePain:!0,physicalScenario:!1,historyCollection:!1,errorOriginQuestion:!0,hasErrorAnalyse:!0,selfRevision:!0,promotionTraining:!0,myAnswer:!0,classmateOptimization:!0,commonProblems:!0,realProblemExpress:!0,answerAnalysis:!0,titleAnswerMerge:!0},mathBasicsSetMap:{hasEncourage:!0,hasScoreDetail:!0,hasSmallTips:!0,hasRankingChange:!1,hasAchievementChange:!0,hasBasicKnowledge:!0,hasWrongOriginTopic:!0,hasErrorOriginNote:!0,hasTrainTypesetting:!0,testVideo:!0,scoreOfCollege:!0,hasSelfCorrect:!0,classmateOptimization:!0,hasTeacherGuide:!0,hasKnowledgeReview:!0,hasBasicMemory:!0,hasBasicApply:!0,hasBasicConsolidate:!0,commonProblems:!1,gradeCommonProblems:!1,hasWrongAnswer:!0,titleAnswerMerge:!0},mathAbilitySetMap:{hasEncourage:!0,hasScoreDetail:!0,hasSmallTips:!0,hasLosePointAnalysis:!0,hasDiagnosisExplain:!0,hasWrongOriginTopic:!0,hasErrorOriginNote:!0,hasTrainTypesetting:!0,testVideo:!0,scoreOfCollege:!0,hasSelfCorrect:!0,classmateOptimization:!0,hasTeacherGuide:!0,hasPromoteWay:!0,commonProblems:!1,gradeCommonProblems:!1,hasWrongAnswer:!0,titleAnswerMerge:!0},physicBasicsSetMap:{comprehensiveScore:!0,growthLine:!0,lostPointAnalysis:!0,errorOriginQuestion:!1,hasErrorAnalyse:!0,selfRevision:!0,myAnswer:!0,classmateOptimization:!0,hasKnowledgeReview:!0,hasBasicMemory:!0,hasBasicApply:!0,hasBasicConsolidate:!0,commonProblems:!1,answerAnalysis:!0,titleAnswerMerge:!0},physicAbilitySetMap:{comprehensiveScore:!0,growthLine:!0,lostPointAnalysis:!0,errorOriginQuestion:!1,hasErrorAnalyse:!0,selfRevision:!0,promotionTraining:!0,myAnswer:!0,classmateOptimization:!0,informationExtractionCapability:!0,modelBuildingAbility:!0,expandInquiryAbility:!0,flexibleApplicationAbility:!0,propositionTrend:!0,throughTestOfHigh:!0,commonProblems:!1,answerAnalysis:!0,titleAnswerMerge:!0}}},created:function(){this.pushErrList=[{title:"推送题升级",cellItem:[{text:"展示试题来源,试题多解",name:"pushQuestionUpgrade"}]}],this.mathTypeSetList=[{title:"成长轨迹",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【排名变化图】",name:"hasRankingChange"},{text:"显示【成绩变化图】",name:"hasAchievementChange"},{text:"显示【考试难度小贴士】",name:"examinationDifficulty"},{text:"显示【小贴士】",name:"hasSmallTips"}]},{title:"知识点掌握分析",cellItem:[{text:"显示【得分前五知识点】",name:"hasGoodKnowledge"},{text:"显示【失分前五知识点】",name:"hasLoseKnowledge"}]},{title:"得分明细表",cellItem:[{text:"显示【得分明细表】",name:"hasScoreDetail"}]},{title:"错题整理",cellItem:[{text:"显示【错题原题】",name:"hasWrongOriginTopic"},{text:"显示【错题原笔迹】",name:"hasErrorOriginNote"},{text:"【变式训练题】排版方式",name:"hasTrainTypesetting"},{text:"显示【考点视频二维码】",name:"testVideo"},{text:"显示【考点高考分值表】",name:"scoreOfCollege"},{text:"显示【自我订正】",name:"hasSelfCorrect"},{text:"显示【同学优解】",name:"classmateOptimization"},{text:"显示【名师指导】",name:"hasTeacherGuide"}]},{title:"共性问题",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"答案解析",cellItem:[{text:"【答案解析】排版方式",name:"hasDividePage",showTxt:"答案和解析显示在最后一页"},{text:"错题答案解析显示在最后",name:"isWrongAnswerEnd"},{text:"答案解析与其它内容合并生成",name:"titleAnswerMerge"},{text:"需要错题答案解析",name:"hasWrongAnswer"}]}],this.newMathTypeSetList=[{title:"学情分析",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【得分明细表】",name:"hasScoreDetail"},{text:"显示【小贴士】",name:"hasSmallTips"},{text:"显示【提升指导】",name:"hasPromoteGuide"},{text:"显示【排名变化图】",name:"hasRankingChange"},{text:"显示【成绩变化图】",name:"hasAchievementChange"}]},{title:"素养提升",cellItem:[{text:"显示【数学情境】",name:"hasMathSituation"},{text:"显示【学史典藏】",name:"historyCollection"}]},{title:"错题整理",cellItem:[{text:"显示【错题原题】",name:"hasWrongOriginTopic"},{text:"显示【错题原笔迹】",name:"hasErrorOriginNote"},{text:"【变式训练题】排版方式",name:"hasTrainTypesetting"},{text:"显示【考点视频二维码】",name:"testVideo"},{text:"显示【考点高考分值表】",name:"scoreOfCollege"},{text:"显示【自我订正】",name:"hasSelfCorrect"},{text:"显示【同学优解】",name:"classmateOptimization"},{text:"显示【名师指导】",name:"hasTeacherGuide"}]},{title:"共性问题",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"年级共性问题",cellItem:[{text:"显示【年级共性问题】",name:"gradeCommonProblems"}]},{title:"真题速递",cellItem:[{text:"显示【真题速递】",name:"realProblemExpress"}]},{title:"答案解析",cellItem:[{text:"需要错题答案解析",name:"hasWrongAnswer"}]}],this.physicTypeSetList=[{title:"学情分析",cellItem:[{text:"得分明细",name:"hasScoreDetail"},{text:"综合得分表",name:"comprehensiveScore"},{text:"成长轨迹",name:"growthLine"},{text:"知识点掌握变化",name:"knowledgeChange"}]},{title:"提升规划",cellItem:[{text:"命题走向",name:"propositionTrend"},{text:"直击痛点",name:"strikePain"}]},{title:"素养提升",cellItem:[{text:"物理情景",name:"physicalScenario",tip:"*仅支持高三年级及超前学习的班级开启"},{text:"学史典藏",name:"historyCollection"}]},{title:"个性训练",cellItem:[{text:"错题原题",name:"errorOriginQuestion"},{text:"错因分析",name:"hasErrorAnalyse"},{text:"自我订正",name:"selfRevision"},{text:"提升训练",name:"promotionTraining"},{text:"我的答案",name:"myAnswer"},{text:"同学优解",name:"classmateOptimization"}]},{title:"共性问题",cellItem:[{text:"共性问题",name:"commonProblems"}]},{title:"真题速递",cellItem:[{text:"真题速递",name:"realProblemExpress",tip:"*仅支持高三年级及超前学习的班级开启"}]},{title:"答案解析",cellItem:[{text:"答案解析",name:"answerAnalysis"}]}],this.accurateList=[{title:"学情导航",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【得分明细表】",name:"hasScoreDetail"},{text:"显示【薄弱知识点】",name:"hasLoseKnowledge"}]},{title:"错题变式 个性夯基",cellItem:[{text:"显示【错题原笔迹】",name:"hasErrorOriginNote"},{text:"显示【同学优解】",name:"classmateOptimization"}]},{title:"典例精讲 共性提升",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"答案解析",cellItem:[{text:"答案解析与其它内容合并生成",name:"titleAnswerMerge"},{text:"需要错题答案解析",name:"hasWrongAnswer"}]}],this.mathBasicsList=[{title:"学情分析",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【得分明细表】",name:"hasScoreDetail"},{text:"显示【小贴士】",name:"hasSmallTips"},{text:"显示【排名变化图】",name:"hasRankingChange"},{text:"显示【成绩变化图】",name:"hasAchievementChange"},{text:"显示【基础知识表】",name:"hasBasicKnowledge"}]},{title:"失分基础题",cellItem:[{text:"显示【错题原题】",name:"hasWrongOriginTopic"},{text:"显示【错题原笔迹】",name:"hasErrorOriginNote"},{text:"显示【考点视频二维码】",name:"testVideo"},{text:"显示【考点高考分值表】",name:"scoreOfCollege"},{text:"显示【自我订正】",name:"hasSelfCorrect"},{text:"显示【同学优解】",name:"classmateOptimization"},{text:"显示【名师指导】",name:"hasTeacherGuide"}]},{title:"衔接知识复习",cellItem:[{text:"显示【衔接知识复习】",name:"hasKnowledgeReview"}]},{title:"基础概念掌握",cellItem:[{text:"显示【基础知识记忆】",name:"hasBasicMemory"},{text:"显示【基础知识应用】",name:"hasBasicApply"}]},{title:"基础巩固训练",cellItem:[{text:"显示【基础巩固训练】",name:"hasBasicConsolidate"}]},{title:"共性问题",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"年级共性问题",cellItem:[{text:"显示【年级共性问题】",name:"gradeCommonProblems"}]},{title:"答案解析",cellItem:[{text:"需要错题答案解析",name:"hasWrongAnswer"}]}],this.mathAbilityList=[{title:"学情分析",cellItem:[{text:"显示【激励话语】",name:"hasEncourage"},{text:"显示【得分明细表】",name:"hasScoreDetail"},{text:"显示【小贴士】",name:"hasSmallTips"},{text:"显示【失分点对比分析表】",name:"hasLosePointAnalysis"},{text:"显示【诊断解读】",name:"hasDiagnosisExplain"}]},{title:"错题整理",cellItem:[{text:"显示【错题原题】",name:"hasWrongOriginTopic"},{text:"显示【错题原笔迹】",name:"hasErrorOriginNote"},{text:"显示【考点视频二维码】",name:"testVideo"},{text:"显示【考点高考分值表】",name:"scoreOfCollege"},{text:"显示【自我订正】",name:"hasSelfCorrect"},{text:"显示【同学优解】",name:"classmateOptimization"},{text:"显示【名师指导】",name:"hasTeacherGuide"}]},{title:"能力提升路径",cellItem:[{text:"显示【能力提升路径】",name:"hasPromoteWay"}]},{title:"共性问题",cellItem:[{text:"显示【共性问题】",name:"commonProblems"}]},{title:"年级共性问题",cellItem:[{text:"显示【年级共性问题】",name:"gradeCommonProblems"}]},{title:"答案解析",cellItem:[{text:"需要错题答案解析",name:"hasWrongAnswer"}]}],this.physicBasicsList=[{title:"学情分析",cellItem:[{text:"得分明细",name:"hasScoreDetail"},{text:"综合得分表",name:"comprehensiveScore"},{text:"成长轨迹",name:"growthLine"},{text:"失分点分析",name:"lostPointAnalysis"}]},{title:"失分基础题",cellItem:[{text:"错题原题",name:"errorOriginQuestion"},{text:"错因分析",name:"hasErrorAnalyse"},{text:"自我订正",name:"selfRevision"},{text:"我的答案",name:"myAnswer"},{text:"同学优解",name:"classmateOptimization"}]},{title:"基础提升",cellItem:[{text:"衔接知识复习",name:"hasKnowledgeReview"},{text:"基础知识记忆",name:"hasBasicMemory"},{text:"基础知识应用",name:"hasBasicApply"}]},{title:"基础巩固训练",cellItem:[{text:"基础巩固训练",name:"hasBasicConsolidate"}]},{title:"共性问题",cellItem:[{text:"共性问题",name:"commonProblems"}]},{title:"答案解析",cellItem:[{text:"答案解析",name:"answerAnalysis"}]}],this.physicAbilityList=[{title:"学情分析",cellItem:[{text:"得分明细",name:"hasScoreDetail"},{text:"综合得分表",name:"comprehensiveScore"},{text:"成长轨迹",name:"growthLine"},{text:"失分点分析",name:"lostPointAnalysis"}]},{title:"个性训练",cellItem:[{text:"错题原题",name:"errorOriginQuestion"},{text:"错因分析",name:"hasErrorAnalyse"},{text:"自我订正",name:"selfRevision"},{text:"提升训练",name:"promotionTraining"},{text:"我的答案",name:"myAnswer"},{text:"同学优解",name:"classmateOptimization"}]},{title:"能力提升",cellItem:[{text:"信息提炼能力",name:"informationExtractionCapability"},{text:"模型构建能力",name:"modelBuildingAbility"},{text:"拓展探究能力",name:"expandInquiryAbility"},{text:"灵活应用能力",name:"flexibleApplicationAbility"}]},{title:"走向高考",cellItem:[{text:"命题走向",name:"propositionTrend"},{text:"直通高考",name:"throughTestOfHigh"}]},{title:"共性问题",cellItem:[{text:"共性问题",name:"commonProblems"}]},{title:"答案解析",cellItem:[{text:"答案解析",name:"answerAnalysis"}]}]}},c=(t["a"]={data:function(){return{isAccurate:sessionStorage.getItem("isAccurate"),edition:"",subjectId:Object(n["d"])(),templateId:this.$route.query.id,targetType:this.$route.query.target_type,productType:this.$route.query.product_type,studentLevel:4,rankBase:"score",statisticsMethods:"currentAchieve",studentLevels:[{value:3,label:"分为ABC三层"},{value:4,label:"分为ABCD四层"},{value:5,label:"分为ABCDE五层"},{value:6,label:"分为ABCDEF六层"}],rankBases:[{value:"grade",label:"按班级排名"},{value:"score",label:"按得分率"}],statistics:[{value:"currentAchieve",label:"本次考试成绩"},{value:"latelyThreeAchieve",label:"最近3场考试平均成绩"},{value:"latelyFiveAchieve",label:"最近5场考试平均成绩"}],mathPromoteMap:{select:"选择题",fillInBlank:"填空题",answer:"解答题",chooseAnswer:"其他题型"},physicPromoteMap:{smallTopic:"小题",largeTopic:"大题"},physicTopicGroupMap:{topicGroup:"题组"},mathTrainValues:{pushDifficulty:{select:[0]},pushNumber:{answer:1,chooseAnswer:1,fillInBlank:1,select:1},basics:{knowledge:3,consolidate:3}},physicTrainValues:{pushDifficulty:{select:[0]},pushNumber:{smallTopic:1,largeTopic:1},basics:{knowledge:3,knowledgePushTopic:2},topicGroupPushTopic:{topicGroup:1,pushDifficulty:{select:[0]}}},mathErrValues:{select:["pushLose"],fillInBlank:["pushLose"],answer:["pushLose"],chooseAnswer:["pushLose"],difficulty:[1,2,3]},physicErrValues:{smallTopic:["pushLose"],largeTopic:["pushLose"],difficulty:[1,2,3]},mathErrTopic:{select:"选择题",fillInBlank:"填空题",answer:"解答题",chooseAnswer:"选做题",difficulty:"错题难度"},physicErrTopic:{smallTopic:"小题",largeTopic:"大题",difficulty:"错题难度"},errTopicMap:{},errValues:{},errorTopicList:[],levelList:[],trainValues:{},trainList:[],trainTopicMap:{},pushTopicType:!1,typeSetData:null,typeSetMap:{},typeSetList:[],copyTypeSetList:[],flagScoring:!1,flagClass:!1,isSameTrain:!1}},computed:{},watch:{},created:function(){this.getEdition()},mounted:function(){},methods:{getEdition:function(){var e=this;Object(s["g"])().then((function(t){e.edition=t.data,e.getTemplateContent()}))},getTemplateContent:function(){var e=this,t={id:this.templateId},i=Object(n["c"])(t);Object(s["k"])(i).then((function(t){var i=JSON.parse(t.data.config_text);console.log(i),e.studentLevel=i.studentLevelDivide.studentLevel,e.statisticsMethods=i.studentLevelDivide.statisticsMethods,e.rankBase=i.studentLevelDivide.rankBase,e.isSameTrain=i.studentLevelDivide.isPushSameTrain,e.pushTopicType=i.studentLevelDivide.pushTopicType,e.typeSetData=i.errorTypeSetting,"3"===e.subjectId&&(e.mathBasicsSetMap=i.basicTypeSetting,e.mathAbilitySetMap=i.abilityTypeSetting),"12"===e.subjectId&&(e.physicBasicsSetMap=i.basicTypeSetting,e.physicAbilitySetMap=i.abilityTypeSetting),e.levelList=i.studentLevelDivide.levelDetails.map((function(e){return{level:e.level,versionType:e.versionType,valueEnd:e.valueEnd,valueStart:e.valueStart}})),e.errorTopicList=i.studentLevelDivide.levelDetails.map((function(e){return{level:e.level,versionType:e.versionType,isPushTrain:e.isPushTrain,errorPushDetail:e.errorPushDetail,expandTrainPush:{quantity:e.expandTrainPush&&e.expandTrainPush.quantity?e.expandTrainPush&&e.expandTrainPush.quantity:3,difficulty:[1,2,3]}}})),2!=e.productType&&3!=e.productType||(e.pushMap.pushQuestionUpgrade=i.errorTypeSetting.pushQuestionUpgrade,e.trainList=i.studentLevelDivide.levelDetails.map((function(e){return{level:e.level,versionType:e.versionType,pushNumber:e.trainPushDetail.pushNumber,basics:e.trainPushDetail.basics,topicGroupPushTopic:e.trainPushDetail.topicGroupPushTopic,pushDifficulty:e.trainPushDetail.pushDifficulty}}))),e.showData(),e.isSameTrain||(e.isSameTrain=!1);var a=i.studentLevelDivide.levelDetails[0].versionType;e.pushSameTrain(e.isSameTrain,a)}))},showData:function(){switch(this.subjectId){case"3":this.errTopicMap=this.mathErrTopic,this.errValues=this.mathErrValues,this.trainTopicMap=this.mathPromoteMap,this.trainValues=this.mathTrainValues,this.typeSetMap=this.mathTypeSetMap,this.typeSetList=this.mathTypeSetList,"2"===this.targetType&&(delete this.mathTypeSetMap.titleAnswerMerge,this.typeSetMap=this.mathTypeSetMap,this.mathTypeSetList.forEach((function(e){e.cellItem.forEach((function(t,i){"答案解析与其它内容合并生成"===t.text&&e.cellItem.splice(i,1)}))})),this.typeSetList=this.mathTypeSetList),this.copyTypeSetList=JSON.parse(JSON.stringify(this.mathTypeSetList)),"4"===this.edition&&(this.typeSetMap=this.newMathTypeSetMap,this.typeSetList=this.newMathTypeSetList,"2"===this.targetType&&(delete this.newMathTypeSetMap.titleAnswerMerge,this.typeSetMap=this.newMathTypeSetMap,this.newMathTypeSetList.forEach((function(e){e.cellItem.forEach((function(t,i){"答案解析与其它内容合并生成"===t.text&&e.cellItem.splice(i,1)}))})),this.typeSetList=this.newMathTypeSetList),this.copyTypeSetList=JSON.parse(JSON.stringify(this.newMathTypeSetList))),1==this.isAccurate&&(this.typeSetList=this.accurateList,"2"===this.targetType&&(this.accurateList.forEach((function(e){e.cellItem.forEach((function(t,i){"答案解析与其它内容合并生成"===t.text&&e.cellItem.splice(i,1)}))})),this.typeSetList=this.accurateList),this.copyTypeSetList=JSON.parse(JSON.stringify(this.accurateList))),this.typeSetData||(this.typeSetData=this.typeSetMap),this.setMap(this.typeSetData,this.typeSetMap);break;case"12":this.errTopicMap=this.physicErrTopic,this.errValues=this.physicErrValues,this.trainTopicMap=this.physicPromoteMap,this.trainValues=this.physicTrainValues,this.typeSetMap=this.physicTypeSetMap,this.typeSetList=this.physicTypeSetList,"PromoteStudent"===this.$route.name&&(delete this.physicTypeSetMap.titleAnswerMerge,delete this.physicBasicsSetMap.titleAnswerMerge,delete this.physicAbilitySetMap.titleAnswerMerge,this.typeSetMap=this.physicTypeSetMap),this.copyTypeSetList=JSON.parse(JSON.stringify(this.physicTypeSetList)),this.typeSetData||(this.typeSetData=this.typeSetMap),this.setMap(this.typeSetData,this.typeSetMap);break}},setMap:function(e,t){var i=this;Object.keys(t).forEach((function(a){i.$set(t,a,e[a])}))},pushSameTrain:function(e,t){this.isSameTrain=e,"1"===this.targetType?(this.pro=1,this.switchProType(1),e?(this.errorTopicList.forEach((function(e){e.isPushTrain=!1})),"3"===this.subjectId&&(this.typeSetMap.commonProblems=!1,this.typeSetMap.hasTeacherGuide=!1,this.typeSetMap.gradeCommonProblems=!1,this.typeSetList=this.typeSetList.filter((function(e){return"错题整理"==e.title?e.cellItem=e.cellItem.filter((function(e){return"hasTeacherGuide"!==e.name})):"共性问题"!==e.title&&"年级共性问题"!==e.title&&"典例精讲 共性提升"!==e.title}))),"12"===this.subjectId&&(this.typeSetMap.commonProblems=!1,this.typeSetMap.realProblemExpress=!1,this.typeSetList=this.typeSetList.filter((function(e){return"共性问题"!==e.title&&"真题速递"!==e.title})))):(this.typeSetList=JSON.parse(JSON.stringify(this.copyTypeSetList)),"3"===this.subjectId&&(this.typeSetMap.commonProblems=this.typeSetData.commonProblems,this.typeSetMap.realProblemExpress=this.typeSetData.realProblemExpress,this.typeSetMap.hasTeacherGuide=this.typeSetData.hasTeacherGuide,this.typeSetMap.gradeCommonProblems=this.typeSetData.gradeCommonProblems),"12"===this.subjectId&&(this.typeSetMap.commonProblems=this.typeSetData.commonProblems,this.typeSetMap.realProblemExpress=this.typeSetData.realProblemExpress))):this.switchProType(t)},handleChange:function(e,t){switch(t){case"1":this.studentLevel=e,this.levelList=this.createList(e).levelList,this.errorTopicList=this.createList(e).errorTopicList,2!=this.productType&&3!=this.productType||(this.trainList=this.createList(e).trainList);break;case"2":this.rankBase=e;break;case"3":this.statisticsMethods=e;break}},createList:function(e){for(var t={levelList:[],errorTopicList:[],trainList:[]},i=0;i=Number(e.valueEnd.score):0==t?Number(e.valueStart.score>=e.valueEnd.score):Number(e.valueStart.score>=e.valueEnd.score)||Number(e.valueEnd.score!=i[t-1].valueStart.score-1))})),this.flagClass=this.levelList.some((function(e,t,i){return""===e.valueStart.grade||""===e.valueEnd.grade||((t+1)%2==0?Number(e.valueStart.grade-1)!=Number(i[t-1].valueEnd.grade)||Number(e.valueStart.grade)>=Number(e.valueEnd.grade):0==t?Number(e.valueStart.grade)>=Number(e.valueEnd.grade):Number(e.valueStart.grade)>=Number(e.valueEnd.grade)||Number(e.valueStart.grade-1)!=Number(i[t-1].valueEnd.grade))}))},saveClass:function(){this.getValidateReslut();var e=this.alertMessage();if(!1!==e){for(var t=[],i=0;ig)throw TypeError(f);for(h=l(S,a),u=0;uT-a+i;u--)delete S[u-1]}else if(i>a)for(u=T-a;u>x;u--)p=u+a-1,m=u+i-1,p in S?S[m]=S[p]:delete S[m];for(u=0;u1?arguments[1]:void 0)}})},e015:function(e,t,i){},e2c0:function(e,t,i){"use strict";var a=i("7377"),s=i.n(a);s.a},f795:function(e,t,i){"use strict";var a=i("e015"),s=i.n(a);s.a}}]);