1.js.map 37 KB

1
  1. {"version":3,"sources":["webpack:///src/views/product-set/components/train-topic-push/Index.vue","webpack:///./src/views/product-set/components/train-topic-push/Index.vue?30ab","webpack:///./src/views/product-set/components/train-topic-push/Index.vue?d032","webpack:///./src/views/product-set/components/train-topic-push/Index.vue?8c02","webpack:///./src/views/product-set/components/train-topic-push/Index.vue","webpack:///./src/views/product-set/components/train-topic-push/Index.vue?494d","webpack:///./src/views/product-set/components/train-topic-push/Index.vue?7168","webpack:///./src/views/product-set/components/train-topic-push/Index.vue?7d73"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwKA;AACA,wBADA;AAEA;AACA,oBADA;AAEA;AACA;AADA,KAFA;AAKA;AACA,iBADA;AAEA;AACA;AACA;AAJA,KALA;AAWA;AACA,kBADA;AAEA;AACA;AACA;AAJA,KAXA;AAiBA;AACA,kBADA;AAEA;AAFA;AAjBA,GAFA;AAwBA,MAxBA,kBAwBA;AACA;AACA,qDADA;AAEA,gDAFA;AAGA,iDAHA;AAIA,+CAJA;AAKA,mBACA;AACA,gBADA;AAEA;AAFA,OADA,EAKA;AACA,gBADA;AAEA;AAFA,OALA,EASA;AACA,gBADA;AAEA;AAFA,OATA,CALA;AAmBA,cAnBA;AAoBA,cApBA;AAsBA,qBACA;AACA,gBADA;AAEA;AAFA,OADA,EAKA;AACA,gBADA;AAEA;AAFA,OALA,EASA;AACA,gBADA;AAEA;AAFA,OATA,EAaA;AACA,gBADA;AAEA;AAFA,OAbA,CAtBA;AAwCA,uBACA;AACA,gBADA;AAEA;AAFA,OADA,EAKA;AACA,gBADA;AAEA;AAFA,OALA,EASA;AACA,gBADA;AAEA;AAFA,OATA,EAaA;AACA,gBADA;AAEA;AAFA,OAbA,EAiBA;AACA,gBADA;AAEA;AAFA,OAjBA,CAxCA;AA8DA,0BACA;AACA,gBADA;AAEA;AAFA,OADA,EAKA;AACA,gBADA;AAEA;AAFA,OALA,EASA;AACA,gBADA;AAEA;AAFA,OATA,CA9DA;AA4EA;AA5EA;AA8EA,GAvGA;AAwGA;AACA,cADA,wBACA;AACA,kBACA;AACA,gBADA;AAEA;AAFA,OADA,EAKA;AACA,gBADA;AAEA;AAFA,OALA,EASA;AACA,gBADA;AAEA;AAFA,OATA;AAcA,kBACA;AACA,gBADA;AAEA;AAFA,OADA,EAKA;AACA,gBADA;AAEA;AAFA,OALA;AAUA,kBACA;AACA,gBADA;AAEA;AAFA,OADA,EAKA;AACA,gBADA;AAEA;AAFA,OALA,EASA;AACA,gBADA;AAEA;AAFA,OATA,EAaA;AACA,gBADA;AAEA;AAFA,OAbA,EAzBA,CA2CA;;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AApDA,GAxGA;AA8JA;AACA,iBADA,yBACA,GADA,EACA;AACA;AACA;AACA,KAJA;AAKA;AACA,gBADA;AAEA,aAFA,mBAEA,IAFA,EAEA;AACA;AACA;AACA;AACA;AANA;AALA,GA9JA;AA4KA,SA5KA,qBA4KA,EA5KA;AA6KA;AACA,sBADA,8BACA,IADA,EACA;AAAA;;AACA;AACA;AACA;;AACA;AACA,SAHA,MAGA;AACA;AACA;;AACA;;AACA;AACA;AACA,OAVA;AAWA,KAbA;AAeA,cAfA,sBAeA,GAfA,EAeA;AACA;AACA,KAjBA;AAkBA,cAlBA,sBAkBA,GAlBA,EAkBA,IAlBA,EAkBA,QAlBA,EAkBA,MAlBA,EAkBA;AACA;AACA;AApBA;AA7KA,G;;;;;;;;;;;;ACxKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,sBAAsB;AAC3B;AACA;AACA,sBAAsB,gBAAgB;AACtC,gBAAgB;AAChB,OAAO;AACP;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,oCAAoC;AACjD;AACA;AACA,wBAAwB,sDAAsD;AAC9E,qBAAqB,yBAAyB;AAC9C;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,gBAAgB;AACxC;AACA;AACA;AACA,kCAAkC;AAClC;AACA,SAAS;AACT;AACA;AACA;AACA,wBAAwB;AACxB,eAAe;AACf;AACA;AACA;AACA;AACA,wBAAwB,iDAAiD;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,oBAAoB,gBAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,4BAA4B;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC,yCAAyC;AACzC,mCAAmC;AACnC;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,mCAAmC,6BAA6B;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;AACvC,2CAA2C;AAC3C,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,4BAA4B;AAC/D;AACA;AACA,6BAA6B,6BAA6B;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC,qCAAqC;AACrC,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,6BAA6B;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC,yCAAyC;AACzC,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA,iCAAiC,6BAA6B;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC,yCAAyC;AACzC,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,oBAAoB,gBAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,4CAA4C;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C,+CAA+C;AAC/C,yCAAyC;AACzC;AACA;AACA;AACA,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C,iDAAiD;AACjD,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACvTA;AACA,kCAAkC,mBAAO,CAAC,iHAA4D;AACtG;AACA;AACA,cAAc,QAAS,2BAA2B,mBAAmB,sBAAsB,sBAAsB,GAAG,wCAAwC,gBAAgB,sBAAsB,sBAAsB,GAAG,6CAA6C,sBAAsB,GAAG,gCAAgC,kBAAkB,8BAA8B,2BAA2B,GAAG,kDAAkD,uBAAuB,GAAG,wDAAwD,gBAAgB,uBAAuB,GAAG,6DAA6D,iBAAiB,GAAG;AAC9oB;AACA;;;;;;;;;;;;ACNA;;AAEA;AACA,cAAc,mBAAO,CAAC,+1BAA8e;AACpgB,4CAA4C,QAAS;AACrD;AACA;AACA,UAAU,mBAAO,CAAC,mIAAsE;AACxF,8CAA8C,qCAAqC;AACnF;AACA,GAAG,KAAU,EAAE,E;;;;;;;;;;;;ACVf;AAAA;AAAA;AAAA;AAAA;AAAgG;AACvC;AACL;AACsC;;;AAG1F;AACmG;AACnG,gBAAgB,2GAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACvCf;AAAA;AAAA,wCAAsT,CAAgB,sUAAG,EAAC,C;;;;;;;;;;;;ACA1U;AAAA;AAAA;AAAA;AAAwkB,CAAgB,oiBAAG,EAAC,C;;;;;;;;;;;;ACA5lB;AAAA;AAAA;AAAA;AAAA;AAAA","file":"js/1.js","sourcesContent":["<template>\r\n <!-- 训练题推送规则组件 -->\r\n <div class=\"step\">\r\n <ModuleTitle\r\n :titleNum=\"titleNum\"\r\n titleText=\"训练题推送规则\"\r\n style=\"float: left;\"\r\n />\r\n <span\r\n class=\"tips\"\r\n v-if=\"subjectId == '3' && edition == '4' && productType == 3\"\r\n >**基础宝不推送变式题,推送基础知识和训练题</span\r\n >\r\n <div\r\n class=\"topic-group-switch\"\r\n v-if=\"subjectId === '12' && productType !== 1 && targetType == 1\"\r\n >\r\n <el-switch\r\n v-model=\"topicGroupMod\"\r\n active-color=\"#16ae68\"\r\n inactive-color=\"#ddd\"\r\n @change=\"sendSwitch\"\r\n ></el-switch>\r\n <span>题组推题</span>\r\n </div>\r\n <el-table\r\n border\r\n :data=\"trainList\"\r\n style=\"width: 100%\"\r\n :header-cell-style=\"{ background: '#f2f2f2', color: '#606266' }\"\r\n >\r\n <el-table-column\r\n v-if=\"noLevel\"\r\n prop=\"level\"\r\n label=\"学生层次\"\r\n width=\"150\"\r\n ></el-table-column>\r\n <el-table-column\r\n v-if=\"(edition === '4' || subjectId === '12') && productType == 3\"\r\n prop=\"versionType\"\r\n label=\"产品\"\r\n width=\"150\"\r\n >\r\n <template slot-scope=\"scope\">\r\n {{\r\n scope.row.versionType == 1\r\n ? \"学习宝\"\r\n : scope.row.versionType == 2\r\n ? \"基础宝\"\r\n : \"能力宝\"\r\n }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"推送数量\">\r\n <template slot-scope=\"scope\">\r\n <div class=\"push-rules\" v-if=\"scope.row.versionType !== 2\">\r\n <div\r\n class=\"push-select\"\r\n v-show=\"!topicGroupMod\"\r\n v-for=\"(item, value) in trainTopicMap\"\r\n :key=\"value\"\r\n >\r\n <span>{{ item }}</span>\r\n <SelectOption\r\n :value=\"scope.row.pushNumber[value]\"\r\n :options=\"numOptions\"\r\n @change=\"sendChange\"\r\n :index=\"scope.$index\"\r\n :selectType=\"value\"\r\n />\r\n </div>\r\n <div class=\"push-select\" v-if=\"subjectId === '12' && topicGroupMod\">\r\n <span>题组</span>\r\n <SelectOption\r\n :value=\"scope.row.topicGroupPushTopic.topicGroup\"\r\n :options=\"numOptions\"\r\n @change=\"sendChange\"\r\n :index=\"scope.$index\"\r\n selectType=\"topicGroup\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"push-rules\" v-else>\r\n <div class=\"push-select\">\r\n <span>基础知识</span>\r\n <SelectOption\r\n :value=\"scope.row.basics.knowledge\"\r\n :options=\"knowledgeNum\"\r\n @change=\"sendChange\"\r\n :index=\"scope.$index\"\r\n selectType=\"knowledge\"\r\n />\r\n </div>\r\n <div class=\"push-select\" v-if=\"subjectId === '3'\">\r\n <span>基础巩固训练</span>\r\n <SelectOption\r\n :value=\"scope.row.basics.consolidate\"\r\n :options=\"consolidateNum\"\r\n @change=\"sendChange\"\r\n :index=\"scope.$index\"\r\n selectType=\"consolidate\"\r\n />\r\n </div>\r\n <div class=\"push-select\" v-else>\r\n <span>基础知识推题</span>\r\n <SelectOption\r\n :value=\"scope.row.basics.knowledgePushTopic\"\r\n :options=\"knowledgeTopicNum\"\r\n @change=\"sendChange\"\r\n :index=\"scope.$index\"\r\n selectType=\"knowledgePushTopic\"\r\n />\r\n </div>\r\n </div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"推送难度\">\r\n <template slot-scope=\"scope\" v-if=\"scope.row.versionType !== 2\">\r\n <div class=\"push-rules push-difficulty\">\r\n <template v-if=\"!topicGroupMod\">\r\n <div\r\n class=\"push-select\"\r\n v-for=\"(item, index) in nums[scope.$index]\"\r\n :key=\"index\"\r\n >\r\n <span>第{{ item }}题</span>\r\n <SelectOption\r\n :value=\"\r\n scope.row.pushDifficulty[keys[scope.$index]][item - 1]\r\n \"\r\n :options=\"difficulty\"\r\n :index=\"scope.$index\"\r\n :itemIndex=\"index\"\r\n @change=\"sendChange\"\r\n selectType=\"difficulty\"\r\n />\r\n </div>\r\n </template>\r\n <template v-if=\"subjectId === '12' && topicGroupMod\">\r\n <div\r\n class=\"push-select\"\r\n v-for=\"(item, index) in scope.row.topicGroupPushTopic\r\n .topicGroup\"\r\n :key=\"item\"\r\n >\r\n <span>第{{ item }}题</span>\r\n <SelectOption\r\n :value=\"\r\n scope.row.topicGroupPushTopic.pushDifficulty[\r\n keys[scope.$index]\r\n ][item - 1]\r\n \"\r\n :options=\"difficulty\"\r\n :index=\"scope.$index\"\r\n :itemIndex=\"index\"\r\n @change=\"sendChange\"\r\n selectType=\"topicGroupDifficulty\"\r\n />\r\n </div>\r\n </template>\r\n </div>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"TrainTopicPush\",\r\n props: {\r\n titleNum: String,\r\n pushTopicType: {\r\n type: Boolean,\r\n },\r\n trainList: {\r\n type: Array,\r\n default: () => {\r\n return [];\r\n },\r\n },\r\n trainTopicMap: {\r\n type: Object,\r\n default: () => {\r\n return {};\r\n },\r\n },\r\n noLevel: {\r\n type: Number,\r\n default: 1,\r\n },\r\n },\r\n data() {\r\n return {\r\n subjectId: sessionStorage.getItem(\"subject_id\"),\r\n edition: sessionStorage.getItem(\"edition\"),\r\n productType: this.$route.query.product_type,\r\n targetType: this.$route.query.target_type,\r\n difficulty: [\r\n {\r\n value: 0,\r\n label: \"与错题难度相同\",\r\n },\r\n {\r\n value: 1,\r\n label: \"降低一级难度\",\r\n },\r\n {\r\n value: 3,\r\n label: \"增加一级难度\",\r\n },\r\n ],\r\n nums: [],\r\n keys: [],\r\n\r\n knowledgeNum: [\r\n {\r\n value: 1,\r\n label: \"1个\",\r\n },\r\n {\r\n value: 2,\r\n label: \"2个\",\r\n },\r\n {\r\n value: 3,\r\n label: \"3个\",\r\n },\r\n {\r\n value: 4,\r\n label: \"4个\",\r\n },\r\n ],\r\n consolidateNum: [\r\n {\r\n value: 1,\r\n label: \"1个\",\r\n },\r\n {\r\n value: 2,\r\n label: \"2个\",\r\n },\r\n {\r\n value: 3,\r\n label: \"3个\",\r\n },\r\n {\r\n value: 4,\r\n label: \"4个\",\r\n },\r\n {\r\n value: 5,\r\n label: \"5个\",\r\n },\r\n ],\r\n knowledgeTopicNum: [\r\n {\r\n value: 1,\r\n label: \"1道\",\r\n },\r\n {\r\n value: 2,\r\n label: \"2道\",\r\n },\r\n {\r\n value: 3,\r\n label: \"3道\",\r\n },\r\n ],\r\n topicGroupMod: false,\r\n };\r\n },\r\n computed: {\r\n numOptions() {\r\n let arr1 = [\r\n {\r\n value: 1,\r\n label: \"1配1\",\r\n },\r\n {\r\n value: 2,\r\n label: \"1配2\",\r\n },\r\n {\r\n value: 3,\r\n label: \"1配3\",\r\n },\r\n ];\r\n let arr2 = [\r\n {\r\n value: 1,\r\n label: \"1配1\",\r\n },\r\n {\r\n value: 2,\r\n label: \"1配2\",\r\n },\r\n ];\r\n let arr3 = [\r\n {\r\n value: 0,\r\n label: \"不推\",\r\n },\r\n {\r\n value: 1,\r\n label: \"1配1\",\r\n },\r\n {\r\n value: 2,\r\n label: \"1配2\",\r\n },\r\n {\r\n value: 3,\r\n label: \"1配3\",\r\n },\r\n ];\r\n // if (Object.keys(this.trainTopicMap).length == 2) {\r\n if (this.subjectId == 12) {\r\n return arr2;\r\n } else if (this.subjectId == 3 && this.productType === \"3\") {\r\n return arr3;\r\n } else {\r\n return arr1;\r\n }\r\n },\r\n },\r\n watch: {\r\n pushTopicType(val) {\r\n this.topicGroupMod = val;\r\n this.showPushDifficulty(this.trainList);\r\n },\r\n trainList: {\r\n deep: true,\r\n handler(list) {\r\n if (list.length) {\r\n this.showPushDifficulty(list);\r\n }\r\n },\r\n },\r\n },\r\n created() {},\r\n methods: {\r\n showPushDifficulty(data) {\r\n data.forEach((item, index) => {\r\n if (this.topicGroupMod) {\r\n let keyName = Object.keys(item.topicGroupPushTopic.pushDifficulty)[0];\r\n this.$set(this.keys, index, keyName);\r\n } else {\r\n let maxNum = Math.max.apply(null, Object.values(item.pushNumber));\r\n let keyName = Object.keys(item.pushDifficulty)[0];\r\n this.$set(this.nums, index, maxNum);\r\n this.$set(this.keys, index, keyName);\r\n }\r\n });\r\n },\r\n\r\n sendSwitch(val) {\r\n this.$emit(\"trainPushSwitch\", val);\r\n },\r\n sendChange(val, type, rowIndex, dIndex) {\r\n this.$emit(\"trainChange\", val, type, rowIndex, dIndex, this.keys[rowIndex]);\r\n },\r\n },\r\n};\r\n</script>\r\n<style lang=\"less\" scoped>\r\n.tips {\r\n color: #16ae68;\r\n line-height: 28px;\r\n margin-left: 20px;\r\n}\r\n\r\n.topic-group-switch {\r\n float: left;\r\n line-height: 30px;\r\n margin-left: 20px;\r\n\r\n span {\r\n margin-left: 10px;\r\n }\r\n}\r\n.push-rules {\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-align: center;\r\n -ms-flex-align: center;\r\n .push-select {\r\n span {\r\n padding-right: 5px;\r\n }\r\n .el-select {\r\n width: 75px;\r\n margin-right: 15px;\r\n }\r\n }\r\n}\r\n.push-difficulty {\r\n .push-select {\r\n .el-select {\r\n width: 135px;\r\n }\r\n }\r\n}\r\n</style>\r\n","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"step\" },\n [\n _c(\"ModuleTitle\", {\n staticStyle: { float: \"left\" },\n attrs: { titleNum: _vm.titleNum, titleText: \"训练题推送规则\" }\n }),\n _vm.subjectId == \"3\" && _vm.edition == \"4\" && _vm.productType == 3\n ? _c(\"span\", { staticClass: \"tips\" }, [\n _vm._v(\"**基础宝不推送变式题,推送基础知识和训练题\")\n ])\n : _vm._e(),\n _vm.subjectId === \"12\" && _vm.productType !== 1 && _vm.targetType == 1\n ? _c(\n \"div\",\n { staticClass: \"topic-group-switch\" },\n [\n _c(\"el-switch\", {\n attrs: { \"active-color\": \"#16ae68\", \"inactive-color\": \"#ddd\" },\n on: { change: _vm.sendSwitch },\n model: {\n value: _vm.topicGroupMod,\n callback: function($$v) {\n _vm.topicGroupMod = $$v\n },\n expression: \"topicGroupMod\"\n }\n }),\n _c(\"span\", [_vm._v(\"题组推题\")])\n ],\n 1\n )\n : _vm._e(),\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: {\n border: \"\",\n data: _vm.trainList,\n \"header-cell-style\": { background: \"#f2f2f2\", color: \"#606266\" }\n }\n },\n [\n _vm.noLevel\n ? _c(\"el-table-column\", {\n attrs: { prop: \"level\", label: \"学生层次\", width: \"150\" }\n })\n : _vm._e(),\n (_vm.edition === \"4\" || _vm.subjectId === \"12\") &&\n _vm.productType == 3\n ? _c(\"el-table-column\", {\n attrs: { prop: \"versionType\", label: \"产品\", width: \"150\" },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _vm._v(\n \" \" +\n _vm._s(\n scope.row.versionType == 1\n ? \"学习宝\"\n : scope.row.versionType == 2\n ? \"基础宝\"\n : \"能力宝\"\n ) +\n \" \"\n )\n ]\n }\n }\n ],\n null,\n false,\n 1159942169\n )\n })\n : _vm._e(),\n _c(\"el-table-column\", {\n attrs: { label: \"推送数量\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.versionType !== 2\n ? _c(\n \"div\",\n { staticClass: \"push-rules\" },\n [\n _vm._l(_vm.trainTopicMap, function(item, value) {\n return _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.topicGroupMod,\n expression: \"!topicGroupMod\"\n }\n ],\n key: value,\n staticClass: \"push-select\"\n },\n [\n _c(\"span\", [_vm._v(_vm._s(item))]),\n _c(\"SelectOption\", {\n attrs: {\n value: scope.row.pushNumber[value],\n options: _vm.numOptions,\n index: scope.$index,\n selectType: value\n },\n on: { change: _vm.sendChange }\n })\n ],\n 1\n )\n }),\n _vm.subjectId === \"12\" && _vm.topicGroupMod\n ? _c(\n \"div\",\n { staticClass: \"push-select\" },\n [\n _c(\"span\", [_vm._v(\"题组\")]),\n _c(\"SelectOption\", {\n attrs: {\n value:\n scope.row.topicGroupPushTopic\n .topicGroup,\n options: _vm.numOptions,\n index: scope.$index,\n selectType: \"topicGroup\"\n },\n on: { change: _vm.sendChange }\n })\n ],\n 1\n )\n : _vm._e()\n ],\n 2\n )\n : _c(\"div\", { staticClass: \"push-rules\" }, [\n _c(\n \"div\",\n { staticClass: \"push-select\" },\n [\n _c(\"span\", [_vm._v(\"基础知识\")]),\n _c(\"SelectOption\", {\n attrs: {\n value: scope.row.basics.knowledge,\n options: _vm.knowledgeNum,\n index: scope.$index,\n selectType: \"knowledge\"\n },\n on: { change: _vm.sendChange }\n })\n ],\n 1\n ),\n _vm.subjectId === \"3\"\n ? _c(\n \"div\",\n { staticClass: \"push-select\" },\n [\n _c(\"span\", [_vm._v(\"基础巩固训练\")]),\n _c(\"SelectOption\", {\n attrs: {\n value: scope.row.basics.consolidate,\n options: _vm.consolidateNum,\n index: scope.$index,\n selectType: \"consolidate\"\n },\n on: { change: _vm.sendChange }\n })\n ],\n 1\n )\n : _c(\n \"div\",\n { staticClass: \"push-select\" },\n [\n _c(\"span\", [_vm._v(\"基础知识推题\")]),\n _c(\"SelectOption\", {\n attrs: {\n value:\n scope.row.basics.knowledgePushTopic,\n options: _vm.knowledgeTopicNum,\n index: scope.$index,\n selectType: \"knowledgePushTopic\"\n },\n on: { change: _vm.sendChange }\n })\n ],\n 1\n )\n ])\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"推送难度\" },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.versionType !== 2\n ? [\n _c(\n \"div\",\n { staticClass: \"push-rules push-difficulty\" },\n [\n !_vm.topicGroupMod\n ? _vm._l(_vm.nums[scope.$index], function(\n item,\n index\n ) {\n return _c(\n \"div\",\n {\n key: index,\n staticClass: \"push-select\"\n },\n [\n _c(\"span\", [\n _vm._v(\"第\" + _vm._s(item) + \"题\")\n ]),\n _c(\"SelectOption\", {\n attrs: {\n value:\n scope.row.pushDifficulty[\n _vm.keys[scope.$index]\n ][item - 1],\n options: _vm.difficulty,\n index: scope.$index,\n itemIndex: index,\n selectType: \"difficulty\"\n },\n on: { change: _vm.sendChange }\n })\n ],\n 1\n )\n })\n : _vm._e(),\n _vm.subjectId === \"12\" && _vm.topicGroupMod\n ? _vm._l(\n scope.row.topicGroupPushTopic.topicGroup,\n function(item, index) {\n return _c(\n \"div\",\n {\n key: item,\n staticClass: \"push-select\"\n },\n [\n _c(\"span\", [\n _vm._v(\"第\" + _vm._s(item) + \"题\")\n ]),\n _c(\"SelectOption\", {\n attrs: {\n value:\n scope.row.topicGroupPushTopic\n .pushDifficulty[\n _vm.keys[scope.$index]\n ][item - 1],\n options: _vm.difficulty,\n index: scope.$index,\n itemIndex: index,\n selectType: \"topicGroupDifficulty\"\n },\n on: { change: _vm.sendChange }\n })\n ],\n 1\n )\n }\n )\n : _vm._e()\n ],\n 2\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n })\n ],\n 1\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".tips[data-v-c0a77cb8] {\\n color: #16ae68;\\n line-height: 28px;\\n margin-left: 20px;\\n}\\n.topic-group-switch[data-v-c0a77cb8] {\\n float: left;\\n line-height: 30px;\\n margin-left: 20px;\\n}\\n.topic-group-switch span[data-v-c0a77cb8] {\\n margin-left: 10px;\\n}\\n.push-rules[data-v-c0a77cb8] {\\n display: flex;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n}\\n.push-rules .push-select span[data-v-c0a77cb8] {\\n padding-right: 5px;\\n}\\n.push-rules .push-select .el-select[data-v-c0a77cb8] {\\n width: 75px;\\n margin-right: 15px;\\n}\\n.push-difficulty .push-select .el-select[data-v-c0a77cb8] {\\n width: 135px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=c0a77cb8&lang=less&scoped=true&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"6a6ce366\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(module.hot) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=c0a77cb8&lang=less&scoped=true&\", function() {\n var newContent = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=c0a77cb8&lang=less&scoped=true&\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=c0a77cb8&scoped=true&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=c0a77cb8&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c0a77cb8\",\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\zcg-project\\\\git-code\\\\zsy-as2-web-nx\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('c0a77cb8')) {\n api.createRecord('c0a77cb8', component.options)\n } else {\n api.reload('c0a77cb8', component.options)\n }\n module.hot.accept(\"./Index.vue?vue&type=template&id=c0a77cb8&scoped=true&\", function () {\n api.rerender('c0a77cb8', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/views/product-set/components/train-topic-push/Index.vue\"\nexport default component.exports","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"","import mod from \"-!../../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=c0a77cb8&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=c0a77cb8&lang=less&scoped=true&\"","export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"305c61fc-vue-loader-template\\\"}!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=template&id=c0a77cb8&scoped=true&\""],"sourceRoot":""}