30.js 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[30],{
  2. /***/ "./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/font-size-setting/FontSizeSetting.vue?vue&type=script&lang=js&":
  3. /*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  4. !*** ./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/font-size-setting/FontSizeSetting.vue?vue&type=script&lang=js& ***!
  5. \*************************************************************************************************************************************************************************************************************************************************************************/
  6. /*! exports provided: default */
  7. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8. "use strict";
  9. __webpack_require__.r(__webpack_exports__);
  10. /* harmony import */ var core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.for-each */ "./node_modules/core-js/modules/es.array.for-each.js");
  11. /* harmony import */ var core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_0__);
  12. /* harmony import */ var core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each */ "./node_modules/core-js/modules/web.dom-collections.for-each.js");
  13. /* harmony import */ var core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_1__);
  14. /* harmony import */ var _api_product_product_set__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../api/product/product-set */ "./src/api/product/product-set.js");
  15. /* harmony import */ var _lib_productset_many_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../lib/productset/many.js */ "./src/lib/productset/many.js");
  16. //
  17. //
  18. //
  19. //
  20. //
  21. //
  22. //
  23. //
  24. //
  25. //
  26. //
  27. //
  28. //
  29. //
  30. //
  31. //
  32. //
  33. //
  34. //
  35. //
  36. //
  37. //
  38. //
  39. //
  40. //
  41. //
  42. //
  43. //
  44. //
  45. //
  46. //
  47. //
  48. //
  49. //
  50. //
  51. //
  52. //
  53. //
  54. //
  55. //
  56. //
  57. //
  58. /* harmony default export */ __webpack_exports__["default"] = ({
  59. name: 'FontSizeSetting',
  60. data: function data() {
  61. return {
  62. iscolor: 0,
  63. newfont: false,
  64. blank: false,
  65. subjects: []
  66. };
  67. },
  68. methods: {
  69. toggle: function toggle(index) {
  70. this.iscolor = index;
  71. this.getSubjectList();
  72. },
  73. getSubjectList: function getSubjectList() {
  74. var _this = this;
  75. Object(_api_product_product_set__WEBPACK_IMPORTED_MODULE_2__["subjectList"])().then(function (res, index) {
  76. _this.subjects = res.data.lists;
  77. _this.subjects.forEach(function (val, index) {
  78. val.config_text = JSON.parse(val.config_text);
  79. _this.$set(val, 'idx', index);
  80. });
  81. });
  82. },
  83. fontSave: function fontSave(val) {
  84. var _this2 = this;
  85. console.log(val);
  86. var obj = {
  87. config_text: JSON.stringify(val.config_text),
  88. sps_id: val.sps_id
  89. };
  90. var param = Object(_lib_productset_many_js__WEBPACK_IMPORTED_MODULE_3__["getFormData"])(obj);
  91. Object(_api_product_product_set__WEBPACK_IMPORTED_MODULE_2__["subjectSave"])(param).then(function (res) {
  92. if (res.status === 1) {
  93. _this2.$alert("操作成功!", "信息", {
  94. confirmButtonText: "确定"
  95. });
  96. } else {
  97. _this2.$message.error(res.msg);
  98. }
  99. });
  100. }
  101. },
  102. mounted: function mounted() {
  103. this.getSubjectList();
  104. }
  105. });
  106. /***/ }),
  107. /***/ "./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/font-size-setting/FontSizeSetting.vue?vue&type=template&id=8bb797ae&":
  108. /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  109. !*** ./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/font-size-setting/FontSizeSetting.vue?vue&type=template&id=8bb797ae& ***!
  110. \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  111. /*! exports provided: render, staticRenderFns */
  112. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  113. "use strict";
  114. __webpack_require__.r(__webpack_exports__);
  115. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  116. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  117. var render = function() {
  118. var _vm = this
  119. var _h = _vm.$createElement
  120. var _c = _vm._self._c || _h
  121. return _c("div", { staticClass: "font-size-setting" }, [
  122. _vm._m(0),
  123. _c("div", { staticClass: "size-setting-content" }, [
  124. _c(
  125. "div",
  126. { staticClass: "subject" },
  127. [
  128. _vm._m(1),
  129. _vm._l(_vm.subjects, function(item1, index) {
  130. return _c(
  131. "div",
  132. {
  133. key: item1.subject_id,
  134. staticClass: "subject-name",
  135. class: _vm.iscolor === index ? "active" : "",
  136. on: {
  137. click: function($event) {
  138. return _vm.toggle(index)
  139. }
  140. }
  141. },
  142. [_vm._v(_vm._s(item1.name))]
  143. )
  144. })
  145. ],
  146. 2
  147. ),
  148. _c(
  149. "div",
  150. { staticClass: "content" },
  151. [
  152. _vm._m(2),
  153. _vm._l(_vm.subjects, function(item2) {
  154. return _c(
  155. "div",
  156. {
  157. directives: [
  158. {
  159. name: "show",
  160. rawName: "v-show",
  161. value: _vm.iscolor == item2.idx,
  162. expression: "iscolor==item2.idx"
  163. }
  164. ],
  165. key: item2.subject_id
  166. },
  167. [
  168. _c(
  169. "div",
  170. { staticClass: "setup" },
  171. [
  172. _c("span", { staticClass: "text" }, [
  173. _vm._v("新版字号"),
  174. _c("i", {
  175. staticClass: "el-icon-warning-outline",
  176. on: {
  177. click: function($event) {
  178. _vm.newfont = !_vm.newfont
  179. _vm.blank = false
  180. }
  181. }
  182. })
  183. ]),
  184. _c("el-switch", {
  185. attrs: {
  186. "active-color": "#169bd5",
  187. "inactive-color": "#8c8c8c"
  188. },
  189. model: {
  190. value: item2.config_text.new_version_size,
  191. callback: function($$v) {
  192. _vm.$set(item2.config_text, "new_version_size", $$v)
  193. },
  194. expression: "item2.config_text.new_version_size"
  195. }
  196. })
  197. ],
  198. 1
  199. ),
  200. _c(
  201. "div",
  202. {
  203. directives: [
  204. {
  205. name: "show",
  206. rawName: "v-show",
  207. value: _vm.iscolor != 2,
  208. expression: "iscolor!=2"
  209. }
  210. ],
  211. staticClass: "setup"
  212. },
  213. [
  214. _c("span", { staticClass: "text" }, [
  215. _vm._v("自动截去空白答题区域"),
  216. _c("i", {
  217. staticClass: "el-icon-warning-outline",
  218. on: {
  219. click: function($event) {
  220. _vm.blank = !_vm.blank
  221. _vm.newfont = false
  222. }
  223. }
  224. })
  225. ]),
  226. _c("el-switch", {
  227. attrs: {
  228. "active-color": "#169bd5",
  229. "inactive-color": "#8c8c8c"
  230. },
  231. model: {
  232. value: item2.config_text.cut_blank_answer_area,
  233. callback: function($$v) {
  234. _vm.$set(
  235. item2.config_text,
  236. "cut_blank_answer_area",
  237. $$v
  238. )
  239. },
  240. expression: "item2.config_text.cut_blank_answer_area"
  241. }
  242. })
  243. ],
  244. 1
  245. ),
  246. _c(
  247. "el-button",
  248. {
  249. attrs: { type: "success" },
  250. on: {
  251. click: function($event) {
  252. return _vm.fontSave(item2)
  253. }
  254. }
  255. },
  256. [_vm._v("保存")]
  257. )
  258. ],
  259. 1
  260. )
  261. })
  262. ],
  263. 2
  264. ),
  265. _c("div", { staticClass: "imgs" }, [
  266. _vm._m(3),
  267. _c("div", { staticClass: "open" }, [
  268. _c("img", {
  269. directives: [
  270. {
  271. name: "show",
  272. rawName: "v-show",
  273. value: _vm.newfont,
  274. expression: "newfont"
  275. }
  276. ],
  277. attrs: {
  278. src: __webpack_require__(/*! @/assets/img/product/physics-img.jpg */ "./src/assets/img/product/physics-img.jpg"),
  279. alt: ""
  280. }
  281. }),
  282. _c("img", {
  283. directives: [
  284. {
  285. name: "show",
  286. rawName: "v-show",
  287. value: _vm.blank,
  288. expression: "blank"
  289. }
  290. ],
  291. attrs: {
  292. src: __webpack_require__(/*! @/assets/img/product/math-img.jpg */ "./src/assets/img/product/math-img.jpg"),
  293. alt: ""
  294. }
  295. })
  296. ])
  297. ])
  298. ])
  299. ])
  300. }
  301. var staticRenderFns = [
  302. function() {
  303. var _vm = this
  304. var _h = _vm.$createElement
  305. var _c = _vm._self._c || _h
  306. return _c("div", { staticClass: "head" }, [
  307. _c("p", [_vm._v("学科产品设置")])
  308. ])
  309. },
  310. function() {
  311. var _vm = this
  312. var _h = _vm.$createElement
  313. var _c = _vm._self._c || _h
  314. return _c("div", { staticClass: "cont-head" }, [
  315. _c("h2", [_vm._v("选择学科")])
  316. ])
  317. },
  318. function() {
  319. var _vm = this
  320. var _h = _vm.$createElement
  321. var _c = _vm._self._c || _h
  322. return _c("div", { staticClass: "cont-head" }, [
  323. _c("h2", [_vm._v("选择内容")]),
  324. _c("p", [
  325. _vm._v("系统会根据您的设置生成产品,此处设置将应用与该学科所有产品")
  326. ])
  327. ])
  328. },
  329. function() {
  330. var _vm = this
  331. var _h = _vm.$createElement
  332. var _c = _vm._self._c || _h
  333. return _c("div", { staticClass: "cont-head" }, [
  334. _c("h2", [_vm._v("示意图")])
  335. ])
  336. }
  337. ]
  338. render._withStripped = true
  339. /***/ }),
  340. /***/ "./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/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less&":
  341. /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  342. !*** ./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/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less& ***!
  343. \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  344. /*! no static exports found */
  345. /***/ (function(module, exports, __webpack_require__) {
  346. // Imports
  347. var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  348. exports = ___CSS_LOADER_API_IMPORT___(false);
  349. // Module
  350. exports.push([module.i, ".font-size-setting .active {\n color: #00ffff;\n}\n.font-size-setting .head {\n padding: 10px;\n line-height: 30px;\n text-align: center;\n background-color: #ddd;\n}\n.font-size-setting .head p {\n width: 120px;\n height: 30px;\n background-color: #01b677;\n font-size: 16px;\n color: #fff;\n}\n.font-size-setting .size-setting-content {\n height: 100vh;\n display: flex;\n}\n.font-size-setting .size-setting-content .subject,\n.font-size-setting .size-setting-content .content,\n.font-size-setting .size-setting-content .imgs {\n padding: 0 20px;\n border-right: 1px solid #000;\n}\n.font-size-setting .size-setting-content .subject .cont-head,\n.font-size-setting .size-setting-content .content .cont-head,\n.font-size-setting .size-setting-content .imgs .cont-head {\n height: 100px;\n}\n.font-size-setting .size-setting-content .subject .cont-head h2,\n.font-size-setting .size-setting-content .content .cont-head h2,\n.font-size-setting .size-setting-content .imgs .cont-head h2 {\n margin-top: 10px;\n font-size: 25px;\n}\n.font-size-setting .size-setting-content .subject {\n width: 20%;\n}\n.font-size-setting .size-setting-content .subject .subject-name {\n cursor: pointer;\n margin-bottom: 35px;\n font-size: 15px;\n}\n.font-size-setting .size-setting-content .content {\n width: 30%;\n}\n.font-size-setting .size-setting-content .content .setup {\n margin-bottom: 35px;\n}\n.font-size-setting .size-setting-content .content .setup .text {\n font-size: 20px;\n}\n.font-size-setting .size-setting-content .content .setup .text i {\n color: #01b677;\n}\n.font-size-setting .size-setting-content .content .setup .el-switch {\n float: right;\n}\n.font-size-setting .size-setting-content .content p {\n margin-top: 10px;\n line-height: 20px;\n}\n.font-size-setting .size-setting-content .content .el-button {\n margin-top: 50px;\n}\n.font-size-setting .size-setting-content .imgs {\n border-right: none;\n width: 50%;\n}\n", ""]);
  351. // Exports
  352. module.exports = exports;
  353. /***/ }),
  354. /***/ "./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/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less&":
  355. /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  356. !*** ./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/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less& ***!
  357. \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  358. /*! no static exports found */
  359. /***/ (function(module, exports, __webpack_require__) {
  360. // style-loader: Adds some css to the DOM by adding a <style> tag
  361. // load the styles
  362. 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!./FontSizeSetting.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/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less&");
  363. if(typeof content === 'string') content = [[module.i, content, '']];
  364. if(content.locals) module.exports = content.locals;
  365. // add the styles to the DOM
  366. var add = __webpack_require__(/*! ../../../node_modules/vue-style-loader/lib/addStylesClient.js */ "./node_modules/vue-style-loader/lib/addStylesClient.js").default
  367. var update = add("298cc714", content, false, {"sourceMap":false,"shadowMode":false});
  368. // Hot Module Replacement
  369. if(false) {}
  370. /***/ }),
  371. /***/ "./src/api/product/product-set.js":
  372. /*!****************************************!*\
  373. !*** ./src/api/product/product-set.js ***!
  374. \****************************************/
  375. /*! exports provided: getProductEdition, changeSubject, switchEdition, initProductSetting, getCopyTemplate, setReName, setBeforeDel, setDelTemplate, getTemplateById, saveTemplate, getSubject, getClassByGrade, productClassSet, resetClassSet, saveClassSet, productStudentSet, getStudent, resetStudentSet, saveStudentSet, customProductStudentSet, getTemplateByType, delStudentOptionalCard, SaveOptionalCard, getSemester, getStyleType, switchStyle, subjectList, subjectSave */
  376. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  377. "use strict";
  378. __webpack_require__.r(__webpack_exports__);
  379. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getProductEdition", function() { return getProductEdition; });
  380. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "changeSubject", function() { return changeSubject; });
  381. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "switchEdition", function() { return switchEdition; });
  382. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "initProductSetting", function() { return initProductSetting; });
  383. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getCopyTemplate", function() { return getCopyTemplate; });
  384. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setReName", function() { return setReName; });
  385. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setBeforeDel", function() { return setBeforeDel; });
  386. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setDelTemplate", function() { return setDelTemplate; });
  387. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getTemplateById", function() { return getTemplateById; });
  388. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveTemplate", function() { return saveTemplate; });
  389. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSubject", function() { return getSubject; });
  390. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getClassByGrade", function() { return getClassByGrade; });
  391. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "productClassSet", function() { return productClassSet; });
  392. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "resetClassSet", function() { return resetClassSet; });
  393. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveClassSet", function() { return saveClassSet; });
  394. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "productStudentSet", function() { return productStudentSet; });
  395. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getStudent", function() { return getStudent; });
  396. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "resetStudentSet", function() { return resetStudentSet; });
  397. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveStudentSet", function() { return saveStudentSet; });
  398. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "customProductStudentSet", function() { return customProductStudentSet; });
  399. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getTemplateByType", function() { return getTemplateByType; });
  400. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "delStudentOptionalCard", function() { return delStudentOptionalCard; });
  401. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaveOptionalCard", function() { return SaveOptionalCard; });
  402. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSemester", function() { return getSemester; });
  403. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getStyleType", function() { return getStyleType; });
  404. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "switchStyle", function() { return switchStyle; });
  405. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "subjectList", function() { return subjectList; });
  406. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "subjectSave", function() { return subjectSave; });
  407. /* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../http */ "./src/api/http.js");
  408. // 获取版本
  409. function getProductEdition(data) {
  410. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("productset/getProductEdition", data);
  411. } //切换学科
  412. function changeSubject(data) {
  413. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/changeSubject", data);
  414. } // 切换版本
  415. function switchEdition(data) {
  416. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/switchEdition", data);
  417. } // 初始化设定
  418. function initProductSetting(data) {
  419. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("productset/initProductSetting", data);
  420. } // 模板设置接口
  421. var getCopyTemplate = function getCopyTemplate(data) {
  422. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/copyTemplate", data);
  423. };
  424. var setReName = function setReName(data) {
  425. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/reNameTemplate", data);
  426. };
  427. var setBeforeDel = function setBeforeDel(data) {
  428. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/beforeDelTemplate", data);
  429. };
  430. var setDelTemplate = function setDelTemplate(data) {
  431. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/delTemplate", data);
  432. };
  433. var getTemplateById = function getTemplateById(data) {
  434. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/ajaxGetTemplateById", data);
  435. };
  436. var saveTemplate = function saveTemplate(data) {
  437. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/saveTemplate", data);
  438. }; //
  439. var getSubject = function getSubject(data) {
  440. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("productset/getSubject", data);
  441. }; // 根据年级获取班级数据
  442. function getClassByGrade(data) {
  443. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/getClassByGrade", data);
  444. } // 班级定制列表
  445. function productClassSet(data) {
  446. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/productClassSet", data);
  447. } // 班级恢复默认设置
  448. function resetClassSet(data) {
  449. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/resetClassSet", data);
  450. } // 保存班级定制
  451. var saveClassSet = function saveClassSet(data) {
  452. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/saveClassSet", data);
  453. }; // 学生定制
  454. function productStudentSet(data) {
  455. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/productStudentSet", data);
  456. }
  457. var getStudent = function getStudent(data) {
  458. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/studentinfo/getStudent", data);
  459. }; // 学生恢复默认设置
  460. function resetStudentSet(data) {
  461. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/resetStudentSet", data);
  462. } // 保存学生定制
  463. var saveStudentSet = function saveStudentSet(data) {
  464. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/saveStudentSet", data);
  465. }; // 学生自选卡
  466. function customProductStudentSet(data) {
  467. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/customProductStudentSet", data);
  468. } // 定制选模板
  469. function getTemplateByType(data) {
  470. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/getTemplateByType", data);
  471. } // 删除学生自定义配置
  472. function delStudentOptionalCard(data) {
  473. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/delStudentOptionalCard", data);
  474. } // 保存学生自选卡设置
  475. function SaveOptionalCard(data) {
  476. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/SaveOptionalCard", data);
  477. } // 当前学年、学期
  478. function getSemester() {
  479. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].get("/productset/getSemester");
  480. } // 获取字号
  481. function getStyleType(data) {
  482. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].get("/productset/getStyleType", data);
  483. } // 切换字号
  484. function switchStyle(data) {
  485. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/productset/switchStyle", data);
  486. } // 学科产品设置列表
  487. function subjectList() {
  488. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/subjectProductSetting/index");
  489. } //学科产品设置保存
  490. function subjectSave(data) {
  491. return _http__WEBPACK_IMPORTED_MODULE_0__["default"].post("/subjectProductSetting/update", data);
  492. }
  493. /***/ }),
  494. /***/ "./src/assets/img/product/math-img.jpg":
  495. /*!*********************************************!*\
  496. !*** ./src/assets/img/product/math-img.jpg ***!
  497. \*********************************************/
  498. /*! no static exports found */
  499. /***/ (function(module, exports, __webpack_require__) {
  500. module.exports = __webpack_require__.p + "img/math-img.20d9094a.jpg";
  501. /***/ }),
  502. /***/ "./src/assets/img/product/physics-img.jpg":
  503. /*!************************************************!*\
  504. !*** ./src/assets/img/product/physics-img.jpg ***!
  505. \************************************************/
  506. /*! no static exports found */
  507. /***/ (function(module, exports, __webpack_require__) {
  508. module.exports = __webpack_require__.p + "img/physics-img.7687a58f.jpg";
  509. /***/ }),
  510. /***/ "./src/views/font-size-setting/FontSizeSetting.vue":
  511. /*!*********************************************************!*\
  512. !*** ./src/views/font-size-setting/FontSizeSetting.vue ***!
  513. \*********************************************************/
  514. /*! exports provided: default */
  515. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  516. "use strict";
  517. __webpack_require__.r(__webpack_exports__);
  518. /* harmony import */ var _FontSizeSetting_vue_vue_type_template_id_8bb797ae___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FontSizeSetting.vue?vue&type=template&id=8bb797ae& */ "./src/views/font-size-setting/FontSizeSetting.vue?vue&type=template&id=8bb797ae&");
  519. /* harmony import */ var _FontSizeSetting_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FontSizeSetting.vue?vue&type=script&lang=js& */ "./src/views/font-size-setting/FontSizeSetting.vue?vue&type=script&lang=js&");
  520. /* empty/unused harmony star reexport *//* harmony import */ var _FontSizeSetting_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FontSizeSetting.vue?vue&type=style&index=0&lang=less& */ "./src/views/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less&");
  521. /* 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");
  522. /* normalize component */
  523. var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  524. _FontSizeSetting_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  525. _FontSizeSetting_vue_vue_type_template_id_8bb797ae___WEBPACK_IMPORTED_MODULE_0__["render"],
  526. _FontSizeSetting_vue_vue_type_template_id_8bb797ae___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  527. false,
  528. null,
  529. null,
  530. null
  531. )
  532. /* hot reload */
  533. if (false) { var api; }
  534. component.options.__file = "src/views/font-size-setting/FontSizeSetting.vue"
  535. /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  536. /***/ }),
  537. /***/ "./src/views/font-size-setting/FontSizeSetting.vue?vue&type=script&lang=js&":
  538. /*!**********************************************************************************!*\
  539. !*** ./src/views/font-size-setting/FontSizeSetting.vue?vue&type=script&lang=js& ***!
  540. \**********************************************************************************/
  541. /*! exports provided: default */
  542. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  543. "use strict";
  544. __webpack_require__.r(__webpack_exports__);
  545. /* 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_FontSizeSetting_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!./FontSizeSetting.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/font-size-setting/FontSizeSetting.vue?vue&type=script&lang=js&");
  546. /* 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_FontSizeSetting_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
  547. /***/ }),
  548. /***/ "./src/views/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less&":
  549. /*!*******************************************************************************************!*\
  550. !*** ./src/views/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less& ***!
  551. \*******************************************************************************************/
  552. /*! no static exports found */
  553. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  554. "use strict";
  555. __webpack_require__.r(__webpack_exports__);
  556. /* 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_FontSizeSetting_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!./FontSizeSetting.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/font-size-setting/FontSizeSetting.vue?vue&type=style&index=0&lang=less&");
  557. /* 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_FontSizeSetting_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_FontSizeSetting_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
  558. /* 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_FontSizeSetting_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_FontSizeSetting_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  559. /* 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_FontSizeSetting_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
  560. /***/ }),
  561. /***/ "./src/views/font-size-setting/FontSizeSetting.vue?vue&type=template&id=8bb797ae&":
  562. /*!****************************************************************************************!*\
  563. !*** ./src/views/font-size-setting/FontSizeSetting.vue?vue&type=template&id=8bb797ae& ***!
  564. \****************************************************************************************/
  565. /*! exports provided: render, staticRenderFns */
  566. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  567. "use strict";
  568. __webpack_require__.r(__webpack_exports__);
  569. /* 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_FontSizeSetting_vue_vue_type_template_id_8bb797ae___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!./FontSizeSetting.vue?vue&type=template&id=8bb797ae& */ "./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/font-size-setting/FontSizeSetting.vue?vue&type=template&id=8bb797ae&");
  570. /* 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_FontSizeSetting_vue_vue_type_template_id_8bb797ae___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  571. /* 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_FontSizeSetting_vue_vue_type_template_id_8bb797ae___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  572. /***/ })
  573. }]);
  574. //# sourceMappingURL=30.js.map