1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d6b1f28"],{"3ae5":function(t,n,e){"use strict";var r=e("d23e"),c=e.n(r);c.a},"3b90":function(t,n,e){"use strict";var r=e("ac4e"),c=e.n(r);c.a},"4fa5":function(t,n,e){},"51d1":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"product-set"},[e("switch-navigation"),t.hasNav?e("set-navigation"):t._e(),e("router-view")],1)},c=[],u=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"switch-navigation"},[t._m(0),e("div",{staticClass:"switch-nav clearfix"},[e("div",{staticClass:"show-subject"},[t._v(t._s(t.subjectName))]),e("div",{staticClass:"switch-subject"},[t._v("切换学科")]),e("div",{staticClass:"subject-box"},[e("ul",t._l(t.subject_array,(function(n,r){return e("li",{key:n.val,staticClass:"subject-list",on:{click:function(e){return t.select(n,r)}}},[t._v(" "+t._s(n.name)+" ")])})),0)])])])},o=[function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"product-setting-btn"},[e("a",[t._v("产品设置")])])}],a=(e("b0c0"),e("5530")),i=e("2f62"),s=e("520f"),d=e("7660"),f={name:"SwitchNavigation",data:function(){return{subjectName:"数学",subjectId:Object(d["d"])()}},computed:Object(a["a"])({},Object(i["d"])({subject_array:function(t){return t.juniorProduct.subject_array}})),watch:{subjectName:{deep:!0,immediate:!0,handler:function(){}},$route:{handler:function(t){},deep:!0}},created:function(){Object(d["f"])("3")},methods:{select:function(t){var n={subjectId:t.val},e=Object(d["c"])(n);Object(s["b"])(e).then((function(){})),this.subjectName=t.name,Object(d["f"])(t.val),this.$router.push({path:"/JuniorProductSet",query:{subjectId:t.val}})}}},p=f,l=(e("b7c0"),e("2877")),b=Object(l["a"])(p,u,o,!1,null,"7612c92e",null),v=b.exports,m=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"set-nav clearfix"},[e("ul",t._l(t.setNavList_array,(function(n,r){return e("li",{key:n.index,on:{click:function(e){return t.bgColor(n,r)}}},[e("router-link",{class:[t.current===r?"sel":""],attrs:{to:n.address}},[t._v(t._s(n.name))])],1)})),0)])},h=[],j=(e("4160"),e("159b"),{name:"SetNavigation",components:{},filters:{},props:{},data:function(){return{current:0,subject_id:Object(d["d"])(),setNavList_array:[{name:"模版中心",address:"/JuniorProductSet/TemplateCenter"},{name:"班级定制",address:"/JuniorProductSet/ClassList"},{name:"学生定制",address:"/JuniorProductSet/StudentList"}],edition:Object(d["b"])()}},computed:{},watch:{$route:{handler:function(t){var n=this;this.setNavList_array.forEach((function(e,r){t.path==e.address&&(n.current=r)}))},immediate:!0}},created:function(){},mounted:function(){},methods:{bgColor:function(t,n){this.current=n}}}),O=j,g=(e("3b90"),Object(l["a"])(O,m,h,!1,null,"4bb31392",null)),S=g.exports,y={name:"ProductSet",components:{SwitchNavigation:v,SetNavigation:S},filters:{},props:{},data:function(){return{}},computed:{},watch:{$route:{handler:function(t){t.meta&&!t.meta.nav?this.hasNav=!1:this.hasNav=!0},immediate:!0}},created:function(){},mounted:function(){},methods:{}},w=y,_=(e("3ae5"),Object(l["a"])(w,r,c,!1,null,null,null));n["default"]=_.exports},"520f":function(t,n,e){"use strict";e.d(n,"g",(function(){return u})),e.d(n,"b",(function(){return o})),e.d(n,"z",(function(){return a})),e.d(n,"m",(function(){return i})),e.d(n,"f",(function(){return s})),e.d(n,"w",(function(){return d})),e.d(n,"u",(function(){return f})),e.d(n,"v",(function(){return p})),e.d(n,"k",(function(){return l})),e.d(n,"t",(function(){return b})),e.d(n,"e",(function(){return v})),e.d(n,"n",(function(){return m})),e.d(n,"p",(function(){return h})),e.d(n,"r",(function(){return j})),e.d(n,"o",(function(){return O})),e.d(n,"i",(function(){return g})),e.d(n,"q",(function(){return S})),e.d(n,"s",(function(){return y})),e.d(n,"c",(function(){return w})),e.d(n,"l",(function(){return _})),e.d(n,"d",(function(){return P})),e.d(n,"a",(function(){return C})),e.d(n,"h",(function(){return N})),e.d(n,"j",(function(){return k})),e.d(n,"A",(function(){return x})),e.d(n,"x",(function(){return T})),e.d(n,"y",(function(){return E}));var r=e("1e04"),c="";function u(t){return r["a"].post("productset/getProductEdition".concat(c),t)}function o(t){return r["a"].post("/productset/changeSubject".concat(c),t)}function a(t){return r["a"].post("/productset/switchEdition".concat(c),t)}function i(t){return r["a"].post("productset/initProductSetting".concat(c),t)}c="";var s=function(t){return r["a"].post("/productset/copyTemplate".concat(c),t)},d=function(t){return r["a"].post("/productset/reNameTemplate".concat(c),t)},f=function(t){return r["a"].post("/productset/beforeDelTemplate".concat(c),t)},p=function(t){return r["a"].post("/productset/delTemplate".concat(c),t)},l=function(t){return r["a"].post("/productset/ajaxGetTemplateById".concat(c),t)},b=function(t){return r["a"].post("/productset/saveTemplate".concat(c),t)};function v(t){return r["a"].post("/productset/getClassByGrade".concat(c),t)}function m(t){return r["a"].post("/productset/productClassSet".concat(c),t)}function h(t){return r["a"].post("/productset/resetClassSet".concat(c),t)}var j=function(t){return r["a"].post("/productset/saveClassSet".concat(c),t)};function O(t){return r["a"].post("/productset/productStudentSet".concat(c),t)}var g=function(t){return r["a"].post("/studentinfo/getStudent".concat(c),t)};function S(t){return r["a"].post("/productset/resetStudentSet".concat(c),t)}var y=function(t){return r["a"].post("/productset/saveStudentSet".concat(c),t)};function w(t){return r["a"].post("/productset/customProductStudentSet".concat(c),t)}function _(t){return r["a"].post("/productset/getTemplateByType".concat(c),t)}function P(t){return r["a"].post("/productset/delStudentOptionalCard".concat(c),t)}function C(t){return r["a"].post("/productset/SaveOptionalCard".concat(c),t)}function N(){return r["a"].get("/productset/getSemester".concat(c))}function k(t){return r["a"].get("/productset/getStyleType".concat(c),t)}function x(t){return r["a"].post("/productset/switchStyle".concat(c),t)}function T(){return r["a"].post("/subjectProductSetting/index".concat(c))}function E(t){return r["a"].post("/subjectProductSetting/update".concat(c),t)}},5530:function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));e("a4d3"),e("4de4"),e("4160"),e("e439"),e("dbb4"),e("b64b"),e("159b");var r=e("ade3");function c(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function u(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?c(Object(e),!0).forEach((function(n){Object(r["a"])(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}},ac4e:function(t,n,e){},b7c0:function(t,n,e){"use strict";var r=e("4fa5"),c=e.n(r);c.a},d23e:function(t,n,e){},dbb4:function(t,n,e){var r=e("23e7"),c=e("83ab"),u=e("56ef"),o=e("fc6a"),a=e("06cf"),i=e("8418");r({target:"Object",stat:!0,sham:!c},{getOwnPropertyDescriptors:function(t){var n,e,r=o(t),c=a.f,s=u(r),d={},f=0;while(s.length>f)e=c(r,n=s[f++]),void 0!==e&&i(d,n,e);return d}})},e439:function(t,n,e){var r=e("23e7"),c=e("d039"),u=e("fc6a"),o=e("06cf").f,a=e("83ab"),i=c((function(){o(1)})),s=!a||i;r({target:"Object",stat:!0,forced:s,sham:!a},{getOwnPropertyDescriptor:function(t,n){return o(u(t),n)}})}}]);
|