chunk-dfcca712.24a5b187.js 6.7 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dfcca712"],{"520f":function(t,n,e){"use strict";e.d(n,"g",(function(){return s})),e.d(n,"b",(function(){return r})),e.d(n,"z",(function(){return i})),e.d(n,"m",(function(){return u})),e.d(n,"f",(function(){return a})),e.d(n,"w",(function(){return d})),e.d(n,"u",(function(){return f})),e.d(n,"v",(function(){return l})),e.d(n,"k",(function(){return p})),e.d(n,"t",(function(){return v})),e.d(n,"e",(function(){return _})),e.d(n,"n",(function(){return m})),e.d(n,"p",(function(){return g})),e.d(n,"r",(function(){return b})),e.d(n,"o",(function(){return h})),e.d(n,"i",(function(){return w})),e.d(n,"q",(function(){return S})),e.d(n,"s",(function(){return x})),e.d(n,"c",(function(){return j})),e.d(n,"l",(function(){return C})),e.d(n,"d",(function(){return k})),e.d(n,"a",(function(){return y})),e.d(n,"h",(function(){return T})),e.d(n,"j",(function(){return $})),e.d(n,"A",(function(){return E})),e.d(n,"x",(function(){return O})),e.d(n,"y",(function(){return z}));var c=e("1e04"),o="";function s(t){return c["a"].post("productset/getProductEdition".concat(o),t)}function r(t){return c["a"].post("/productset/changeSubject".concat(o),t)}function i(t){return c["a"].post("/productset/switchEdition".concat(o),t)}function u(t){return c["a"].post("productset/initProductSetting".concat(o),t)}o="";var a=function(t){return c["a"].post("/productset/copyTemplate".concat(o),t)},d=function(t){return c["a"].post("/productset/reNameTemplate".concat(o),t)},f=function(t){return c["a"].post("/productset/beforeDelTemplate".concat(o),t)},l=function(t){return c["a"].post("/productset/delTemplate".concat(o),t)},p=function(t){return c["a"].post("/productset/ajaxGetTemplateById".concat(o),t)},v=function(t){return c["a"].post("/productset/saveTemplate".concat(o),t)};function _(t){return c["a"].post("/productset/getClassByGrade".concat(o),t)}function m(t){return c["a"].post("/productset/productClassSet".concat(o),t)}function g(t){return c["a"].post("/productset/resetClassSet".concat(o),t)}var b=function(t){return c["a"].post("/productset/saveClassSet".concat(o),t)};function h(t){return c["a"].post("/productset/productStudentSet".concat(o),t)}var w=function(t){return c["a"].post("/studentinfo/getStudent".concat(o),t)};function S(t){return c["a"].post("/productset/resetStudentSet".concat(o),t)}var x=function(t){return c["a"].post("/productset/saveStudentSet".concat(o),t)};function j(t){return c["a"].post("/productset/customProductStudentSet".concat(o),t)}function C(t){return c["a"].post("/productset/getTemplateByType".concat(o),t)}function k(t){return c["a"].post("/productset/delStudentOptionalCard".concat(o),t)}function y(t){return c["a"].post("/productset/SaveOptionalCard".concat(o),t)}function T(){return c["a"].get("/productset/getSemester".concat(o))}function $(t){return c["a"].get("/productset/getStyleType".concat(o),t)}function E(t){return c["a"].post("/productset/switchStyle".concat(o),t)}function O(){return c["a"].post("/subjectProductSetting/index".concat(o))}function z(t){return c["a"].post("/subjectProductSetting/update".concat(o),t)}},"6bb1":function(t,n,e){t.exports=e.p+"img/math-img.20d9094a.jpg"},9849:function(t,n,e){"use strict";var c=e("e968"),o=e.n(c);o.a},a196:function(t,n,e){"use strict";e.r(n);var c=function(){var t=this,n=t.$createElement,c=t._self._c||n;return c("div",{staticClass:"font-size-setting"},[t._m(0),c("div",{staticClass:"size-setting-content"},[c("div",{staticClass:"subject"},[t._m(1),t._l(t.subjects,(function(n,e){return c("div",{key:n.subject_id,staticClass:"subject-name",class:t.iscolor===e?"active":"",on:{click:function(n){return t.toggle(e)}}},[t._v(t._s(n.name))])}))],2),c("div",{staticClass:"content"},[t._m(2),t._l(t.subjects,(function(n){return c("div",{directives:[{name:"show",rawName:"v-show",value:t.iscolor==n.idx,expression:"iscolor==item2.idx"}],key:n.subject_id},[c("div",{staticClass:"setup"},[c("span",{staticClass:"text"},[t._v("新版字号"),c("i",{staticClass:"el-icon-warning-outline",on:{click:function(n){t.newfont=!t.newfont,t.blank=!1}}})]),c("el-switch",{attrs:{"active-color":"#169bd5","inactive-color":"#8c8c8c"},model:{value:n.config_text.new_version_size,callback:function(e){t.$set(n.config_text,"new_version_size",e)},expression:"item2.config_text.new_version_size"}})],1),c("div",{directives:[{name:"show",rawName:"v-show",value:2!=t.iscolor,expression:"iscolor!=2"}],staticClass:"setup"},[c("span",{staticClass:"text"},[t._v("自动截去空白答题区域"),c("i",{staticClass:"el-icon-warning-outline",on:{click:function(n){t.blank=!t.blank,t.newfont=!1}}})]),c("el-switch",{attrs:{"active-color":"#169bd5","inactive-color":"#8c8c8c"},model:{value:n.config_text.cut_blank_answer_area,callback:function(e){t.$set(n.config_text,"cut_blank_answer_area",e)},expression:"item2.config_text.cut_blank_answer_area"}})],1),c("el-button",{attrs:{type:"success"},on:{click:function(e){return t.fontSave(n)}}},[t._v("保存")])],1)}))],2),c("div",{staticClass:"imgs"},[t._m(3),c("div",{staticClass:"open"},[c("img",{directives:[{name:"show",rawName:"v-show",value:t.newfont,expression:"newfont"}],attrs:{src:e("a210"),alt:""}}),c("img",{directives:[{name:"show",rawName:"v-show",value:t.blank,expression:"blank"}],attrs:{src:e("6bb1"),alt:""}})])])])])},o=[function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"head"},[e("p",[t._v("学科产品设置")])])},function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"cont-head"},[e("h2",[t._v("选择学科")])])},function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"cont-head"},[e("h2",[t._v("选择内容")]),e("p",[t._v("系统会根据您的设置生成产品,此处设置将应用与该学科所有产品")])])},function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"cont-head"},[e("h2",[t._v("示意图")])])}],s=(e("4160"),e("159b"),e("520f")),r=e("7660"),i={name:"FontSizeSetting",data:function(){return{iscolor:0,newfont:!1,blank:!1,subjects:[]}},methods:{toggle:function(t){this.iscolor=t,this.getSubjectList()},getSubjectList:function(){var t=this;Object(s["x"])().then((function(n,e){t.subjects=n.data.lists,t.subjects.forEach((function(n,e){n.config_text=JSON.parse(n.config_text),t.$set(n,"idx",e)}))}))},fontSave:function(t){var n=this;console.log(t);var e={config_text:JSON.stringify(t.config_text),sps_id:t.sps_id},c=Object(r["c"])(e);Object(s["y"])(c).then((function(t){1===t.status?n.$alert("操作成功!","信息",{confirmButtonText:"确定"}):n.$message.error(t.msg)}))}},mounted:function(){this.getSubjectList()}},u=i,a=(e("9849"),e("2877")),d=Object(a["a"])(u,c,o,!1,null,null,null);n["default"]=d.exports},a210:function(t,n,e){t.exports=e.p+"img/physics-img.7687a58f.jpg"},e968:function(t,n,e){}}]);