12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700 |
- (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[37],{
- /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=script&lang=js&":
- /*!*****************************************************************************************************************************************************************************************************************************************************************!*\
- !*** ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=script&lang=js& ***!
- \*****************************************************************************************************************************************************************************************************************************************************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.splice */ "./node_modules/core-js/modules/es.array.splice.js");
- /* harmony import */ var core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony import */ var core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.number.constructor */ "./node_modules/core-js/modules/es.number.constructor.js");
- /* harmony import */ var core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_1__);
- /* harmony import */ var _api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../api/waikan/waikan-set.js */ "./src/api/waikan/waikan-set.js");
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- /* harmony default export */ __webpack_exports__["default"] = ({
- name: "WaiKanGenerate",
- components: {},
- filters: {},
- props: {},
- data: function data() {
- return {
- weekName: "2022年7月第二周",
- productName: ["基础宝", "外刊宝", "热点宝"],
- basicShrink: true,
- hotspotShrink: true,
- waikanData: {
- textbooks: [],
- modules: [],
- units: [],
- contexts: [],
- grades: [{
- value: 1,
- label: "高一"
- }, {
- value: 2,
- label: "高二"
- }, {
- value: 3,
- label: "高三"
- }],
- classes: [],
- basicTopics: [],
- hotTopics: []
- },
- productType: "periodicals",
- formWaiKan: {
- category: 2,
- //新老板 1新版 2老版
- select_set_type: 1,
- //选择设置模式
- textbookId: 0,
- //教材版本
- moduleId: 0,
- //模块
- unitId: [],
- //单元
- selectedItemIds: [],
- //主题语境
- grade: 1,
- //年级
- selectClassIds: [],
- //班级
- recommend_mode: 1,
- //推荐模式 默认1
- product_type: 1,
- //产品类型 1基础宝 2外刊宝 3热点宝
- basic_topic: 1,
- //基础选题
- type: 2,
- //外刊类型
- class_between_content: 0,
- // 班级间内容
- level: 2,
- //外刊分级 共性 个性
- hot_topic: 1,
- //热点选题
- //题目数量
- topic_number: {
- //外刊宝
- periodicals: {
- reading: 4,
- //外刊阅读
- gestalt: 0,
- //外刊完形
- seven_selected_five: 1 //外刊七选五
- },
- //热点宝
- hot: {
- reading: 3,
- //外刊阅读
- gestalt: 0,
- //外刊完形
- seven_selected_five: 1 //外刊七选五
- }
- },
- isAnswerSeparate: 0 //下载方式
- },
- maxA: 7,
- maxB: 2,
- maxC: 2,
- minA: 0,
- minB: 0,
- minC: 0
- };
- },
- computed: {},
- watch: {},
- created: function created() {
- this.selectProduct(this.$route.query.product_type);
- this.getTextbook();
- this.selectGrade(1);
- },
- mounted: function mounted() {},
- methods: {
- // 获取版本、模块、单元数据
- getTextbook: function getTextbook() {
- var _this = this;
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__["getTextbookModuleUnit"])().then(function (res) {
- _this.weekName = res.data.week_name;
- _this.waikanData.textbooks = res.data.textbooks;
- _this.formWaiKan.textbookId = res.data.textbooks[0].textbook_id;
- _this.waikanData.modules = res.data.modules;
- _this.formWaiKan.moduleId = res.data.modules[0].textbook_id;
- _this.waikanData.units = res.data.units;
- _this.formWaiKan.unitId.push(res.data.units[0].textbook_id);
- });
- },
- // 选择教材版本
- selectTextbook: function selectTextbook(id) {
- var _this2 = this;
- var params = {
- version_id: id
- };
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__["getModuleAndUnit"])(params).then(function (res) {
- _this2.waikanData.modules = res.data.modules;
- _this2.formWaiKan.moduleId = res.data.modules[0].textbook_id;
- _this2.waikanData.units = res.data.units;
- _this2.formWaiKan.unitId.splice(0, 1, res.data.units[0].textbook_id);
- });
- },
- // 选择模块
- selectModule: function selectModule(id) {
- var _this3 = this;
- var params = {
- module_id: id
- };
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__["getUnitByModuleId"])(params).then(function (res) {
- _this3.waikanData.units = res.data.units;
- _this3.formWaiKan.unitId.splice(0, 1, res.data.units[0].textbook_id);
- });
- },
- // 选择单元
- selectUnit: function selectUnit() {},
- // 选择年级
- selectGrade: function selectGrade(grade) {
- var _this4 = this;
- var params = {
- grade: grade,
- category: 2,
- pt: this.formWaiKan.product_type
- };
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__["getClasses"])(params).then(function (res) {
- _this4.waikanData.classes = res.data.class;
- });
- this.getBasicTopic(grade);
- this.getHotTopic(grade);
- this.formWaiKan.selectClassIds = [];
- this.waikanData.students = [];
- },
- // 选择班级
- selectClass: function selectClass(clas) {// this.getStudent(clas);
- },
- // 获取基础选题数据
- getBasicTopic: function getBasicTopic(val) {
- var _this5 = this;
- var params = {
- grade: val
- };
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__["getBasicTopics"])(params).then(function (res) {
- _this5.waikanData.basicTopics = res.data.basic_topics;
- _this5.formWaiKan.basic_topic = res.data.basic_topics[0].lib_element_id;
- });
- },
- // 获取热点选题数据
- getHotTopic: function getHotTopic(val) {
- var _this6 = this;
- var params = {
- grade: val
- };
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__["getHotTopics"])(params).then(function (res) {
- _this6.waikanData.hotTopics = res.data.hot_topics;
- _this6.formWaiKan.hot_topic = res.data.hot_topics[0].lib_element_id;
- });
- },
- // 选择查询模式
- selectMode: function selectMode(mod) {
- this.formWaiKan.select_set_type = mod;
- if (mod == 2) {
- this.getContext();
- }
- },
- // 获取主题语境数据
- getContext: function getContext() {
- var _this7 = this;
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__["getSubjectContext"])().then(function (res) {
- _this7.waikanData.contexts = res.data.subject_context;
- _this7.formWaiKan.selectedItemIds.push(res.data.subject_context[0].tag_extend_id);
- });
- },
- // 产品设置模块显示
- selectProduct: function selectProduct(val) {
- this.formWaiKan.product_type = Number(val);
- if (val == 2) {
- this.productType = "periodicals";
- } else if (val == 3) {
- this.productType = "hot";
- }
- this.changeNumber();
- },
- // 选择外刊类型
- selectWaiKanType: function selectWaiKanType() {
- this.formWaiKan.class_between_content = 0;
- },
- // 展开、收缩
- open: function open(type) {
- if (type === "basic") {
- this.basicShrink = !this.basicShrink;
- } else {
- this.hotspotShrink = !this.hotspotShrink;
- }
- },
- // 设置题量
- changeNumber: function changeNumber() {
- this.formWaiKan.product_type == 2 ? this.limitNum(7, 2) : this.limitNum(6, 1);
- },
- // 限制题量
- limitNum: function limitNum(max, min) {
- var a, b, c;
- a = this.formWaiKan.topic_number[this.productType].reading;
- b = this.formWaiKan.topic_number[this.productType].gestalt;
- c = this.formWaiKan.topic_number[this.productType].seven_selected_five;
- var total = a + b + c;
- if (total == max) {
- this.maxA = a;
- this.maxB = b;
- this.maxC = c;
- } else {
- this.maxA = max;
- this.maxB = 2;
- this.maxC = 2;
- }
- if (total == min) {
- this.minA = a;
- this.minB = b;
- this.minC = c;
- } else {
- this.minA = 0;
- this.minB = 0;
- this.minC = 0;
- }
- },
- // 生成
- generate: function generate() {
- var _this8 = this;
- if (!this.formWaiKan.selectClassIds.length) return;
- var data = JSON.parse(JSON.stringify(this.formWaiKan));
- if (this.formWaiKan.select_set_type == 1) {
- if (!this.formWaiKan.unitId.length) {
- this.$message.error("请选择单元");
- return;
- }
- delete data.selectedItemIds;
- }
- if (this.formWaiKan.select_set_type == 2) {
- if (!this.formWaiKan.selectedItemIds.length) {
- this.$message.error("请选择主题语境");
- return;
- }
- delete data.textbookId;
- delete data.moduleId;
- delete data.unitId;
- }
- if (this.formWaiKan.select_set_type == 3) {
- delete data.textbookId;
- delete data.moduleId;
- delete data.unitId;
- delete data.selectedItemIds;
- }
- if (this.formWaiKan.product_type == 1 || this.formWaiKan.type == 1) {
- delete data.class_between_content;
- }
- switch (data.product_type) {
- case 1:
- delete data.type;
- delete data.level;
- delete data.topic_number;
- delete data.hot_topic;
- break;
- case 2:
- delete data.basic_topic;
- delete data.hot_topic;
- delete data.topic_number.hot;
- break;
- case 3:
- delete data.basic_topic;
- delete data.topic_number.periodicals;
- break;
- }
- if (data.type == 1) {
- delete data.level;
- }
- console.log(data);
- var loading = this.$loading({
- lock: true,
- text: "开始生成......",
- spinner: "el-icon-loading",
- background: "rgba(0, 0, 0, 0.5)",
- customClass: "waikan-loading"
- });
- Object(_api_waikan_waikan_set_js__WEBPACK_IMPORTED_MODULE_2__["saveEnglishReading"])(data).then(function (res) {
- loading.close();
- if (res.status == 1) {
- _this8.$alert("生成成功!", {
- confirmButtonText: "确定",
- callback: function callback() {
- _this8.back();
- }
- });
- } else {
- _this8.$message.error("设置数据错误!");
- }
- });
- },
- // 返回
- back: function back() {
- var pro = this.formWaiKan.product_type;
- if (false) {} else {
- switch (pro) {
- case 1:
- location.href = "/print/english_reading/pt/1/cg/2";
- break;
- case 2:
- location.href = "/print/english_reading/pt/2/cg/2";
- break;
- case 3:
- location.href = "/print/english_reading/pt/3/cg/2";
- break;
- }
- }
- }
- }
- });
- /***/ }),
- /***/ "./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?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=template&id=f9abca9a&":
- /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** ./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??vue-loader-options!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=template&id=f9abca9a& ***!
- \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
- /*! exports provided: render, staticRenderFns */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
- var render = function() {
- var _vm = this
- var _h = _vm.$createElement
- var _c = _vm._self._c || _h
- return _c(
- "div",
- { staticClass: "waikan-separate set-page" },
- [
- _c("div", { staticClass: "page-title" }, [
- _c("h1", [
- _vm._v(
- _vm._s(_vm.productName[_vm.formWaiKan.product_type - 1]) + "生成"
- )
- ]),
- _c("div", { staticClass: "back-btn btn", on: { click: _vm.back } }, [
- _vm._v("返回")
- ])
- ]),
- _c("p", { staticClass: "tips" }, [
- _vm._v(" 提示:每个班级每周允许生成一次 ")
- ]),
- _c("div", { staticClass: "mode-select clearfix" }, [
- _c("div", { staticClass: "current-time fl" }, [
- _vm._v("当前时间:" + _vm._s(_vm.weekName))
- ]),
- _c("div", { staticClass: "fr" }, [
- _c(
- "div",
- {
- staticClass: "tab-btn mode-btn",
- class: [_vm.formWaiKan.select_set_type == 1 ? "select" : ""],
- on: {
- click: function($event) {
- return _vm.selectMode(1)
- }
- }
- },
- [_vm._v(" 按照教材单元设置 ")]
- ),
- _c(
- "div",
- {
- staticClass: "tab-btn mode-btn",
- class: [_vm.formWaiKan.select_set_type == 2 ? "select" : ""],
- on: {
- click: function($event) {
- return _vm.selectMode(2)
- }
- }
- },
- [_vm._v(" 主题语境设置 ")]
- ),
- _c(
- "div",
- {
- staticClass: "tab-btn mode-btn",
- class: [_vm.formWaiKan.select_set_type == 3 ? "select" : ""],
- on: {
- click: function($event) {
- return _vm.selectMode(3)
- }
- }
- },
- [_vm._v(" 时文阅读 ")]
- )
- ])
- ]),
- _c(
- "el-form",
- { ref: "form", attrs: { model: _vm.formWaiKan } },
- [
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value: _vm.formWaiKan.select_set_type == 1,
- expression: "formWaiKan.select_set_type == 1"
- }
- ],
- attrs: { label: "版本:" }
- },
- [
- _c(
- "div",
- { staticClass: "set-item-cont no-radio multiline" },
- [
- _c(
- "el-radio-group",
- {
- on: { change: _vm.selectTextbook },
- model: {
- value: _vm.formWaiKan.textbookId,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "textbookId", $$v)
- },
- expression: "formWaiKan.textbookId"
- }
- },
- _vm._l(_vm.waikanData.textbooks, function(item, index) {
- return _c(
- "el-radio",
- { key: index, attrs: { label: item.textbook_id } },
- [_vm._v(_vm._s(item.textbook_name))]
- )
- }),
- 1
- )
- ],
- 1
- )
- ]
- ),
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value: _vm.formWaiKan.select_set_type == 1,
- expression: "formWaiKan.select_set_type == 1"
- }
- ],
- attrs: { label: "模块:" }
- },
- [
- _c(
- "div",
- { staticClass: "set-item-cont no-radio multiline" },
- [
- _c(
- "el-radio-group",
- {
- on: { change: _vm.selectModule },
- model: {
- value: _vm.formWaiKan.moduleId,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "moduleId", $$v)
- },
- expression: "formWaiKan.moduleId"
- }
- },
- _vm._l(_vm.waikanData.modules, function(item, index) {
- return _c(
- "el-radio",
- { key: index, attrs: { label: item.textbook_id } },
- [_vm._v(_vm._s(item.textbook_name))]
- )
- }),
- 1
- )
- ],
- 1
- )
- ]
- ),
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value: _vm.formWaiKan.select_set_type == 1,
- expression: "formWaiKan.select_set_type == 1"
- }
- ],
- attrs: { label: "单元:" }
- },
- [
- _c(
- "div",
- { staticClass: "set-item-cont no-check multiline" },
- [
- _c(
- "el-checkbox-group",
- {
- attrs: { max: 3 },
- on: { change: _vm.selectUnit },
- model: {
- value: _vm.formWaiKan.unitId,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "unitId", $$v)
- },
- expression: "formWaiKan.unitId"
- }
- },
- _vm._l(_vm.waikanData.units, function(item, index) {
- return _c(
- "el-checkbox",
- { key: index, attrs: { label: item.textbook_id } },
- [_vm._v(_vm._s(item.textbook_name))]
- )
- }),
- 1
- )
- ],
- 1
- )
- ]
- ),
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value: _vm.formWaiKan.select_set_type == 2,
- expression: "formWaiKan.select_set_type == 2"
- }
- ],
- attrs: { label: "主题语境:" }
- },
- [
- _c(
- "div",
- {
- staticClass: "set-item-cont context-item no-check multiline"
- },
- [
- _c(
- "el-checkbox-group",
- {
- model: {
- value: _vm.formWaiKan.selectedItemIds,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "selectedItemIds", $$v)
- },
- expression: "formWaiKan.selectedItemIds"
- }
- },
- _vm._l(_vm.waikanData.contexts, function(item, index) {
- return _c(
- "el-checkbox",
- { key: index, attrs: { label: item.tag_extend_id } },
- [_vm._v(_vm._s(item.tag_extend_name))]
- )
- }),
- 1
- )
- ],
- 1
- )
- ]
- ),
- _c("el-form-item", { attrs: { label: "班级:" } }, [
- _c(
- "div",
- { staticClass: "set-item-cont class-item" },
- [
- _c(
- "el-select",
- {
- attrs: { size: "mini" },
- on: { change: _vm.selectGrade },
- model: {
- value: _vm.formWaiKan.grade,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "grade", $$v)
- },
- expression: "formWaiKan.grade"
- }
- },
- _vm._l(_vm.waikanData.grades, function(item) {
- return _c("el-option", {
- key: item.value,
- attrs: { label: item.label, value: item.value }
- })
- }),
- 1
- ),
- _c(
- "el-checkbox-group",
- {
- on: { change: _vm.selectClass },
- model: {
- value: _vm.formWaiKan.selectClassIds,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "selectClassIds", $$v)
- },
- expression: "formWaiKan.selectClassIds"
- }
- },
- _vm._l(_vm.waikanData.classes, function(item, index) {
- return _c(
- "el-checkbox",
- {
- key: index,
- attrs: {
- label: item.class_id,
- disabled: item.status == 1 ? true : false
- }
- },
- [_vm._v(_vm._s(item.class_name))]
- )
- }),
- 1
- )
- ],
- 1
- )
- ]),
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value: _vm.formWaiKan.product_type == 1,
- expression: "formWaiKan.product_type == 1"
- }
- ],
- attrs: { label: "基础选题:" }
- },
- [
- _c(
- "div",
- {
- staticClass: "set-item-cont choice-topic multiline",
- class: [_vm.basicShrink ? "shrink" : ""]
- },
- [
- _c(
- "el-radio-group",
- {
- model: {
- value: _vm.formWaiKan.basic_topic,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "basic_topic", $$v)
- },
- expression: "formWaiKan.basic_topic"
- }
- },
- _vm._l(_vm.waikanData.basicTopics, function(item, index) {
- return _c(
- "el-radio",
- { key: index, attrs: { label: item.lib_element_id } },
- [_vm._v(_vm._s(item.rich_text))]
- )
- }),
- 1
- ),
- _c(
- "div",
- {
- staticClass: "open-btn",
- on: {
- click: function($event) {
- return _vm.open("basic")
- }
- }
- },
- [
- _vm.basicShrink
- ? _c("span", [_vm._v("展开")])
- : _c("span", [_vm._v("收缩")])
- ]
- )
- ],
- 1
- )
- ]
- ),
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value:
- _vm.formWaiKan.product_type == 2 ||
- _vm.formWaiKan.product_type == 3,
- expression:
- "formWaiKan.product_type == 2 || formWaiKan.product_type == 3"
- }
- ],
- attrs: { label: "外刊类型:" }
- },
- [
- _c(
- "div",
- { staticClass: "set-item-cont alone" },
- [
- _c(
- "el-radio-group",
- {
- on: { change: _vm.selectWaiKanType },
- model: {
- value: _vm.formWaiKan.type,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "type", $$v)
- },
- expression: "formWaiKan.type"
- }
- },
- [
- _c("el-radio", { attrs: { label: 2 } }, [
- _vm._v("共性外刊"),
- _c("span", { staticClass: "tips" }, [
- _vm._v("(班级同学语篇完全相同,老师可讲解)")
- ])
- ]),
- _c("el-radio", { attrs: { label: 1 } }, [
- _vm._v("个性外刊"),
- _c("span", { staticClass: "tips" }, [
- _vm._v(
- "(班级同学语篇不完全相同,根据学生水平个性化)"
- )
- ])
- ])
- ],
- 1
- ),
- _c(
- "div",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value: _vm.formWaiKan.type == 2,
- expression: "formWaiKan.type == 2"
- }
- ],
- staticClass: "class-content"
- },
- [
- _c("span", { staticClass: "txt" }, [
- _vm._v("班级间内容:")
- ]),
- _c(
- "el-radio",
- {
- attrs: { label: 0 },
- model: {
- value: _vm.formWaiKan.class_between_content,
- callback: function($$v) {
- _vm.$set(
- _vm.formWaiKan,
- "class_between_content",
- $$v
- )
- },
- expression: "formWaiKan.class_between_content"
- }
- },
- [_vm._v("相同")]
- ),
- _c(
- "el-radio",
- {
- attrs: { label: 1 },
- model: {
- value: _vm.formWaiKan.class_between_content,
- callback: function($$v) {
- _vm.$set(
- _vm.formWaiKan,
- "class_between_content",
- $$v
- )
- },
- expression: "formWaiKan.class_between_content"
- }
- },
- [_vm._v("不同")]
- )
- ],
- 1
- )
- ],
- 1
- )
- ]
- ),
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value:
- _vm.formWaiKan.product_type != 1 &&
- _vm.formWaiKan.type == 2,
- expression:
- "formWaiKan.product_type != 1 && formWaiKan.type == 2"
- }
- ],
- attrs: { label: "外刊分级:" }
- },
- [
- _c(
- "div",
- { staticClass: "set-item-cont alone" },
- [
- _c(
- "el-radio-group",
- {
- model: {
- value: _vm.formWaiKan.level,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "level", $$v)
- },
- expression: "formWaiKan.level"
- }
- },
- [
- _c("el-radio", { attrs: { label: 1 } }, [
- _vm._v("尖子班(优秀生)")
- ]),
- _c("el-radio", { attrs: { label: 2 } }, [
- _vm._v("培优班(中等生)")
- ]),
- _c("el-radio", { attrs: { label: 3 } }, [
- _vm._v("提高班(学困生)")
- ])
- ],
- 1
- )
- ],
- 1
- )
- ]
- ),
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value: _vm.formWaiKan.product_type == 3,
- expression: "formWaiKan.product_type == 3"
- }
- ],
- attrs: { label: "热点选题:" }
- },
- [
- _c(
- "div",
- {
- staticClass: "set-item-cont choice-topic multiline",
- class: [_vm.hotspotShrink ? "shrink" : ""]
- },
- [
- _c(
- "el-radio-group",
- {
- model: {
- value: _vm.formWaiKan.hot_topic,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "hot_topic", $$v)
- },
- expression: "formWaiKan.hot_topic"
- }
- },
- _vm._l(_vm.waikanData.hotTopics, function(item, index) {
- return _c(
- "el-radio",
- { key: index, attrs: { label: item.lib_element_id } },
- [_vm._v(_vm._s(item.rich_text))]
- )
- }),
- 1
- ),
- _c(
- "div",
- {
- staticClass: "open-btn",
- on: {
- click: function($event) {
- return _vm.open("hotspot")
- }
- }
- },
- [
- _vm.hotspotShrink
- ? _c("span", [_vm._v("展开")])
- : _c("span", [_vm._v("收缩")])
- ]
- )
- ],
- 1
- )
- ]
- ),
- _c(
- "el-form-item",
- {
- directives: [
- {
- name: "show",
- rawName: "v-show",
- value:
- _vm.formWaiKan.product_type == 2 ||
- _vm.formWaiKan.product_type == 3,
- expression:
- "formWaiKan.product_type == 2 || formWaiKan.product_type == 3"
- }
- ],
- attrs: { label: "题目数量:" }
- },
- [
- _c(
- "div",
- { staticClass: "set-item-cont topic-number" },
- [
- _c("span", [_vm._v("外刊阅读")]),
- _c("el-input-number", {
- attrs: {
- size: "small",
- "controls-position": "right",
- min: _vm.minA,
- max: _vm.maxA
- },
- on: { change: _vm.changeNumber },
- model: {
- value:
- _vm.formWaiKan.topic_number[_vm.productType].reading,
- callback: function($$v) {
- _vm.$set(
- _vm.formWaiKan.topic_number[_vm.productType],
- "reading",
- $$v
- )
- },
- expression: "formWaiKan.topic_number[productType].reading"
- }
- }),
- _c("span", [_vm._v("外刊七选五")]),
- _c("el-input-number", {
- attrs: {
- size: "small",
- "controls-position": "right",
- min: _vm.minC,
- max: _vm.maxC
- },
- on: { change: _vm.changeNumber },
- model: {
- value:
- _vm.formWaiKan.topic_number[_vm.productType]
- .seven_selected_five,
- callback: function($$v) {
- _vm.$set(
- _vm.formWaiKan.topic_number[_vm.productType],
- "seven_selected_five",
- $$v
- )
- },
- expression:
- "formWaiKan.topic_number[productType].seven_selected_five"
- }
- }),
- _c("span", [_vm._v("外刊完形(新高考)")]),
- _c("el-input-number", {
- attrs: {
- size: "small",
- "controls-position": "right",
- min: _vm.minB,
- max: _vm.maxB
- },
- on: { change: _vm.changeNumber },
- model: {
- value:
- _vm.formWaiKan.topic_number[_vm.productType].gestalt,
- callback: function($$v) {
- _vm.$set(
- _vm.formWaiKan.topic_number[_vm.productType],
- "gestalt",
- $$v
- )
- },
- expression: "formWaiKan.topic_number[productType].gestalt"
- }
- })
- ],
- 1
- )
- ]
- ),
- _c("el-form-item", { attrs: { label: "下载方式:" } }, [
- _c(
- "div",
- { staticClass: "set-item-cont" },
- [
- _c(
- "el-radio-group",
- {
- model: {
- value: _vm.formWaiKan.isAnswerSeparate,
- callback: function($$v) {
- _vm.$set(_vm.formWaiKan, "isAnswerSeparate", $$v)
- },
- expression: "formWaiKan.isAnswerSeparate"
- }
- },
- [
- _c("el-radio", { attrs: { label: 0 } }, [
- _vm._v("合并题目和答案")
- ]),
- _c("el-radio", { attrs: { label: 1 } }, [
- _vm._v("分离题目和答案")
- ])
- ],
- 1
- )
- ],
- 1
- )
- ]),
- _c("el-form-item", { attrs: { label: "" } }, [
- _c("div", { staticClass: "set-item-cont generate" }, [
- _c(
- "div",
- {
- staticClass: "generate-btn btn",
- class: [
- !_vm.formWaiKan.selectClassIds.length ? "disabled" : ""
- ],
- on: {
- click: function($event) {
- return _vm.generate()
- }
- }
- },
- [_vm._v(" 开始生成 ")]
- )
- ])
- ])
- ],
- 1
- )
- ],
- 1
- )
- }
- var staticRenderFns = []
- render._withStripped = true
- /***/ }),
- /***/ "./node_modules/core-js/modules/es.array.splice.js":
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.splice.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js");
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js");
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ "./node_modules/core-js/internals/to-integer.js");
- var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js");
- var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js");
- var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js");
- var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js");
- var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js");
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "./node_modules/core-js/internals/array-method-uses-to-length.js");
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
- var USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });
- var max = Math.max;
- var min = Math.min;
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
- var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
- // `Array.prototype.splice` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.splice
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
- splice: function splice(start, deleteCount /* , ...items */) {
- var O = toObject(this);
- var len = toLength(O.length);
- var actualStart = toAbsoluteIndex(start, len);
- var argumentsLength = arguments.length;
- var insertCount, actualDeleteCount, A, k, from, to;
- if (argumentsLength === 0) {
- insertCount = actualDeleteCount = 0;
- } else if (argumentsLength === 1) {
- insertCount = 0;
- actualDeleteCount = len - actualStart;
- } else {
- insertCount = argumentsLength - 2;
- actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);
- }
- if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
- throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
- }
- A = arraySpeciesCreate(O, actualDeleteCount);
- for (k = 0; k < actualDeleteCount; k++) {
- from = actualStart + k;
- if (from in O) createProperty(A, k, O[from]);
- }
- A.length = actualDeleteCount;
- if (insertCount < actualDeleteCount) {
- for (k = actualStart; k < len - actualDeleteCount; k++) {
- from = k + actualDeleteCount;
- to = k + insertCount;
- if (from in O) O[to] = O[from];
- else delete O[to];
- }
- for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];
- } else if (insertCount > actualDeleteCount) {
- for (k = len - actualDeleteCount; k > actualStart; k--) {
- from = k + actualDeleteCount - 1;
- to = k + insertCount - 1;
- if (from in O) O[to] = O[from];
- else delete O[to];
- }
- }
- for (k = 0; k < insertCount; k++) {
- O[k + actualStart] = arguments[k + 2];
- }
- O.length = len - actualDeleteCount + insertCount;
- return A;
- }
- });
- /***/ }),
- /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less&":
- /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** ./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??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??vue-loader-options!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less& ***!
- \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // Imports
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
- exports = ___CSS_LOADER_API_IMPORT___(false);
- // Module
- exports.push([module.i, ".waikan-separate .page-title {\n display: flex;\n justify-content: space-between;\n}\n.waikan-separate .page-title .back-btn {\n width: 60px;\n height: 30px;\n line-height: 30px;\n}\n.waikan-separate .mode-select {\n line-height: 32px;\n margin-bottom: 14px;\n}\n.waikan-separate .mode-select .current-time {\n font-size: 16px;\n font-weight: bold;\n}\n.waikan-separate .mode-select .mode-btn {\n padding: 0 8px;\n}\n.waikan-separate .mode-select .mode-btn:nth-child(-n + 2) {\n margin-right: 18px;\n}\n.waikan-separate .tab-btn {\n height: 34px;\n text-align: center;\n line-height: 32px;\n color: #44be86;\n border: 1px solid #44be86;\n border-radius: 3px;\n cursor: pointer;\n float: left;\n}\n.waikan-separate .tab-btn:hover:not(.select) {\n color: #fff;\n background: #44be86;\n opacity: 0.6;\n}\n.waikan-separate .tab-btn.select {\n color: #fff;\n background: #44be86;\n}\n.waikan-separate .set-item-cont {\n width: 1100px;\n min-height: 38px;\n line-height: 38px;\n float: right;\n border: 1px solid #888;\n padding: 0 10px;\n}\n.waikan-separate .no-radio .el-radio__input {\n display: none;\n}\n.waikan-separate .no-radio .el-radio__label {\n padding-left: 0;\n}\n.waikan-separate .no-check .el-checkbox__input {\n display: none;\n}\n.waikan-separate .no-check .el-checkbox__label {\n padding-left: 0;\n}\n.waikan-separate .multiline {\n padding: 5px 10px;\n line-height: 28px;\n}\n.waikan-separate .multiline .el-radio-group {\n line-height: 28px;\n}\n.waikan-separate .class-item {\n min-height: 83px;\n}\n.waikan-separate .class-item .el-select {\n width: 80px;\n margin-top: 5px;\n}\n.waikan-separate .choice-topic {\n position: relative;\n}\n.waikan-separate .choice-topic .el-radio {\n margin-right: 16px;\n}\n.waikan-separate .choice-topic .el-radio__label {\n padding-left: 6px;\n}\n.waikan-separate .choice-topic .open-btn {\n color: #44be86;\n cursor: pointer;\n position: absolute;\n right: 5px;\n top: -2px;\n}\n.waikan-separate .choice-topic.shrink {\n height: 40px;\n overflow: hidden;\n}\n.waikan-separate .alone .el-radio {\n display: block;\n line-height: 34px;\n}\n.waikan-separate .alone .tips {\n margin-left: 20px;\n}\n.waikan-separate .class-content {\n display: inline-block;\n vertical-align: top;\n line-height: 34px;\n}\n.waikan-separate .class-content .txt {\n margin-right: 20px;\n}\n.waikan-separate .class-content .el-radio {\n display: inline-block;\n}\n.waikan-separate .product-tab {\n border: none;\n padding: 0;\n}\n.waikan-separate .product-tab .tab-btn {\n width: 100px;\n margin-right: 10px;\n}\n.waikan-separate .student-item {\n height: 134px;\n overflow: auto;\n}\n.waikan-separate .student-item .class-list {\n display: flex;\n margin-bottom: 10px;\n}\n.waikan-separate .student-item .class-list span {\n flex: none;\n margin-right: 5px;\n}\n.waikan-separate .student-item .class-list ul {\n min-height: 56px;\n}\n.waikan-separate .student-item .class-list ul li {\n float: left;\n margin-right: 26px;\n}\n.waikan-separate .student-item .class-list:last-child {\n margin-bottom: 0;\n}\n.waikan-separate .topic-number {\n display: flex;\n align-items: center;\n}\n.waikan-separate .topic-number > span {\n margin-right: 10px;\n}\n.waikan-separate .topic-number .el-input-number {\n width: 82px;\n margin-right: 15px;\n}\n.waikan-separate .generate {\n border: none;\n padding: 0;\n}\n.waikan-separate .generate .generate-btn {\n width: 100px;\n height: 38px;\n line-height: 38px;\n}\n", ""]);
- // Exports
- module.exports = exports;
- /***/ }),
- /***/ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less&":
- /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** ./node_modules/vue-style-loader??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??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??vue-loader-options!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less& ***!
- \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // style-loader: Adds some css to the DOM by adding a <style> tag
- // load the styles
- var content = __webpack_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??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??vue-loader-options!./WaiKanSeparate.vue?vue&type=style&index=0&lang=less& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less&");
- if(typeof content === 'string') content = [[module.i, content, '']];
- if(content.locals) module.exports = content.locals;
- // add the styles to the DOM
- var add = __webpack_require__(/*! ../../../node_modules/vue-style-loader/lib/addStylesClient.js */ "./node_modules/vue-style-loader/lib/addStylesClient.js").default
- var update = add("1a93f26c", content, false, {"sourceMap":false,"shadowMode":false});
- // Hot Module Replacement
- if(false) {}
- /***/ }),
- /***/ "./src/api/waikan/waikan-set.js":
- /*!**************************************!*\
- !*** ./src/api/waikan/waikan-set.js ***!
- \**************************************/
- /*! exports provided: getTextbookModuleUnit, getModuleAndUnit, getUnitByModuleId, getClasses, getBasicTopics, getHotTopics, getSubjectContext, saveEnglishReading, getSmartTypeStudents, englishReadingSetInit, EnglishReadingStudentSettingSave, studentImport */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getTextbookModuleUnit", function() { return getTextbookModuleUnit; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getModuleAndUnit", function() { return getModuleAndUnit; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getUnitByModuleId", function() { return getUnitByModuleId; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getClasses", function() { return getClasses; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getBasicTopics", function() { return getBasicTopics; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getHotTopics", function() { return getHotTopics; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSubjectContext", function() { return getSubjectContext; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveEnglishReading", function() { return saveEnglishReading; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSmartTypeStudents", function() { return getSmartTypeStudents; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "englishReadingSetInit", function() { return englishReadingSetInit; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EnglishReadingStudentSettingSave", function() { return EnglishReadingStudentSettingSave; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "studentImport", function() { return studentImport; });
- /* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../http */ "./src/api/http.js");
- // 获取 版本 模块 单元
- function getTextbookModuleUnit() {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingTextbookModuleUnit");
- } // 根据版本获取模块和单元
- function getModuleAndUnit(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxNewGetModuleAndUnit", data);
- } // 根据模块获取单元
- function getUnitByModuleId(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxNewGetUnitByModuleId", data);
- } // 获取班级数据
- function getClasses(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingClasses", data);
- } // 获取基础选题数据
- function getBasicTopics(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingBasicTopics", data);
- } // 获取热点选题数据
- function getHotTopics(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingHotTopics", data);
- } // 获取主题语境数据
- function getSubjectContext() {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxReadingSubjectContext");
- } // 生成外刊宝保存接口
- function saveEnglishReading(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxNewSaveEnglishReading", data);
- } // 获取学生数据
- function getSmartTypeStudents(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxSmartTypeStudents", data);
- } // 学生设置数据初始化
- function englishReadingSetInit(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxEnglishReadingSetInit", data);
- } // 学生设置保存
- function EnglishReadingStudentSettingSave(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/ajaxEnglishReadingStudentSettingSave", data);
- } // 学生设置上传成绩
- function studentImport(data) {
- return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("print/englishReadingStudentImport", data);
- }
- /***/ }),
- /***/ "./src/views/waikan-set/WaiKanSeparate.vue":
- /*!*************************************************!*\
- !*** ./src/views/waikan-set/WaiKanSeparate.vue ***!
- \*************************************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _WaiKanSeparate_vue_vue_type_template_id_f9abca9a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./WaiKanSeparate.vue?vue&type=template&id=f9abca9a& */ "./src/views/waikan-set/WaiKanSeparate.vue?vue&type=template&id=f9abca9a&");
- /* harmony import */ var _WaiKanSeparate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./WaiKanSeparate.vue?vue&type=script&lang=js& */ "./src/views/waikan-set/WaiKanSeparate.vue?vue&type=script&lang=js&");
- /* empty/unused harmony star reexport *//* harmony import */ var _WaiKanSeparate_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./WaiKanSeparate.vue?vue&type=style&index=0&lang=less& */ "./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less&");
- /* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
- /* normalize component */
- var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
- _WaiKanSeparate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
- _WaiKanSeparate_vue_vue_type_template_id_f9abca9a___WEBPACK_IMPORTED_MODULE_0__["render"],
- _WaiKanSeparate_vue_vue_type_template_id_f9abca9a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
- false,
- null,
- null,
- null
-
- )
- /* hot reload */
- if (false) { var api; }
- component.options.__file = "src/views/waikan-set/WaiKanSeparate.vue"
- /* harmony default export */ __webpack_exports__["default"] = (component.exports);
- /***/ }),
- /***/ "./src/views/waikan-set/WaiKanSeparate.vue?vue&type=script&lang=js&":
- /*!**************************************************************************!*\
- !*** ./src/views/waikan-set/WaiKanSeparate.vue?vue&type=script&lang=js& ***!
- \**************************************************************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _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_WaiKanSeparate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/babel-loader/lib!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./WaiKanSeparate.vue?vue&type=script&lang=js& */ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=script&lang=js&");
- /* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_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_WaiKanSeparate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
- /***/ }),
- /***/ "./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less&":
- /*!***********************************************************************************!*\
- !*** ./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less& ***!
- \***********************************************************************************/
- /*! no static exports found */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _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_WaiKanSeparate_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-style-loader??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??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??vue-loader-options!./WaiKanSeparate.vue?vue&type=style&index=0&lang=less& */ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=style&index=0&lang=less&");
- /* harmony import */ var _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_WaiKanSeparate_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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_WaiKanSeparate_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _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_WaiKanSeparate_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _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_WaiKanSeparate_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /* harmony default export */ __webpack_exports__["default"] = (_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_WaiKanSeparate_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "./src/views/waikan-set/WaiKanSeparate.vue?vue&type=template&id=f9abca9a&":
- /*!********************************************************************************!*\
- !*** ./src/views/waikan-set/WaiKanSeparate.vue?vue&type=template&id=f9abca9a& ***!
- \********************************************************************************/
- /*! exports provided: render, staticRenderFns */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _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_WaiKanSeparate_vue_vue_type_template_id_f9abca9a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../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??vue-loader-options!./WaiKanSeparate.vue?vue&type=template&id=f9abca9a& */ "./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?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/waikan-set/WaiKanSeparate.vue?vue&type=template&id=f9abca9a&");
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _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_WaiKanSeparate_vue_vue_type_template_id_f9abca9a___WEBPACK_IMPORTED_MODULE_0__["render"]; });
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _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_WaiKanSeparate_vue_vue_type_template_id_f9abca9a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
- /***/ })
- }]);
- //# sourceMappingURL=37.js.map
|