1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-53457fae"],{"1b5a":function(t,e,n){},"43e5":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"set-nav clearfix"},[n("ul",t._l(t.setNavList_array,(function(e,r){return n("li",{key:e.index,on:{click:function(n){return t.bgColor(e,r)}}},[n("router-link",{class:[t.current===r?"sel":""],attrs:{to:e.address}},[t._v(t._s(e.name))])],1)})),0)])},c=[],u=(n("4160"),n("a434"),n("b0c0"),n("159b"),n("7660")),a={name:"SetNavigation",components:{},props:{proType:{type:String}},filters:{},data:function(){return{current:0,subject_id:Object(u["d"])(),setNavList_array:[{name:"模版中心",address:"TemplateCenter"},{name:"班级定制",address:"ClassSetting"},{name:"学生定制",address:"StudentSetting"},{name:"学生自选卡",address:"OptionalCard"}],edition:Object(u["b"])(),isAccurate:sessionStorage.getItem("isAccurate")}},computed:{},watch:{$route:{handler:function(t){var e=this;this.setNavList_array.forEach((function(n,r){t.meta.address==n.address&&(e.current=r)}))},immediate:!0}},created:function(){},mounted:function(){var t=this;this.setNavList_array.forEach((function(e,n){"12"!==t.subject_id&&"MethodSet"!=t.proType&&"1"!==t.isAccurate&&"4"!==t.edition&&"3"!==t.edition||"学生自选卡"==e.name&&t.setNavList_array.splice(n,1)}))},methods:{bgColor:function(t,e){this.current=e}}},o=a,s=(n("e54c"),n("2877")),i=Object(s["a"])(o,r,c,!1,null,"1a2c12bf",null);e["a"]=i.exports},"4b3c":function(t,e,n){},"520f":function(t,e,n){"use strict";n.d(e,"g",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"z",(function(){return o})),n.d(e,"m",(function(){return s})),n.d(e,"f",(function(){return i})),n.d(e,"w",(function(){return d})),n.d(e,"u",(function(){return f})),n.d(e,"v",(function(){return p})),n.d(e,"k",(function(){return l})),n.d(e,"t",(function(){return b})),n.d(e,"e",(function(){return h})),n.d(e,"n",(function(){return v})),n.d(e,"p",(function(){return m})),n.d(e,"r",(function(){return j})),n.d(e,"o",(function(){return y})),n.d(e,"i",(function(){return g})),n.d(e,"q",(function(){return S})),n.d(e,"s",(function(){return O})),n.d(e,"c",(function(){return w})),n.d(e,"l",(function(){return _})),n.d(e,"d",(function(){return C})),n.d(e,"a",(function(){return N})),n.d(e,"h",(function(){return P})),n.d(e,"j",(function(){return T})),n.d(e,"A",(function(){return I})),n.d(e,"x",(function(){return x})),n.d(e,"y",(function(){return $}));var r=n("1e04"),c="";function u(t){return r["a"].post("productset/getProductEdition".concat(c),t)}function a(t){return r["a"].post("/productset/changeSubject".concat(c),t)}function o(t){return r["a"].post("/productset/switchEdition".concat(c),t)}function s(t){return r["a"].post("productset/initProductSetting".concat(c),t)}c="";var i=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 h(t){return r["a"].post("/productset/getClassByGrade".concat(c),t)}function v(t){return r["a"].post("/productset/productClassSet".concat(c),t)}function m(t){return r["a"].post("/productset/resetClassSet".concat(c),t)}var j=function(t){return r["a"].post("/productset/saveClassSet".concat(c),t)};function y(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 O=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 C(t){return r["a"].post("/productset/delStudentOptionalCard".concat(c),t)}function N(t){return r["a"].post("/productset/SaveOptionalCard".concat(c),t)}function P(){return r["a"].get("/productset/getSemester".concat(c))}function T(t){return r["a"].get("/productset/getStyleType".concat(c),t)}function I(t){return r["a"].post("/productset/switchStyle".concat(c),t)}function x(){return r["a"].post("/subjectProductSetting/index".concat(c))}function $(t){return r["a"].post("/subjectProductSetting/update".concat(c),t)}},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));n("a4d3"),n("4de4"),n("4160"),n("e439"),n("dbb4"),n("b64b"),n("159b");var r=n("ade3");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){Object(r["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"9e21":function(t,e,n){"use strict";var r=n("4b3c"),c=n.n(r);c.a},a434:function(t,e,n){"use strict";var r=n("23e7"),c=n("23cb"),u=n("a691"),a=n("50c4"),o=n("7b0b"),s=n("65f0"),i=n("8418"),d=n("1dde"),f=n("ae40"),p=d("splice"),l=f("splice",{ACCESSORS:!0,0:0,1:2}),b=Math.max,h=Math.min,v=9007199254740991,m="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!p||!l},{splice:function(t,e){var n,r,d,f,p,l,j=o(this),y=a(j.length),g=c(t,y),S=arguments.length;if(0===S?n=r=0:1===S?(n=0,r=y-g):(n=S-2,r=h(b(u(e),0),y-g)),y+n-r>v)throw TypeError(m);for(d=s(j,r),f=0;f<r;f++)p=g+f,p in j&&i(d,f,j[p]);if(d.length=r,n<r){for(f=g;f<y-r;f++)p=f+r,l=f+n,p in j?j[l]=j[p]:delete j[l];for(f=y;f>y-r+n;f--)delete j[f-1]}else if(n>r)for(f=y-r;f>g;f--)p=f+r-1,l=f+n-1,p in j?j[l]=j[p]:delete j[l];for(f=0;f<n;f++)j[f+g]=arguments[f+2];return j.length=y-r+n,d}})},ab2c:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"switch-navigation"},[t._m(0),n("div",{staticClass:"switch-nav clearfix"},[n("div",{staticClass:"show-subject"},[t._v(t._s(t.subjectName))]),n("div",{staticClass:"switch-subject"},[t._v("切换学科")]),n("div",{staticClass:"subject-box"},[n("ul",t._l(t.subject_array,(function(e,r){return n("li",{key:e.val,staticClass:"subject-list",on:{click:function(n){return t.select(e,r)}}},[t._v(" "+t._s(e.name)+" ")])})),0)])])])},c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"product-setting-btn"},[n("a",[t._v("产品设置")])])}],u=(n("4de4"),n("b0c0"),n("5530")),a=n("2f62"),o=n("520f"),s=n("7660"),i={name:"Switch-navigation",props:{proType:{type:String}},data:function(){return{subjectName:"",subjectId:Object(s["d"])()}},computed:Object(u["a"])({},Object(a["d"])({subject_array:function(t){return"MethodSet"==this.proType?t.product.subject_array.filter((function(t){return"数学"===t.name})):t.product.subject_array}})),watch:{subjectName:{deep:!0,immediate:!0,handler:function(){var t=Object(s["d"])();"3"===t?this.subjectName="数学":"12"===t&&(this.subjectName="物理")}},$route:{handler:function(t){"3"===t.query.subjectId?this.subjectName="数学":"12"===t.query.subjectId&&(this.subjectName="物理")},deep:!0}},created:function(){"3"===this.$route.query.subjectId||"3"===this.subjectId?this.subjectName="数学":"12"!==this.$route.query.subjectId&&"12"!==this.subjectId||(this.subjectName="物理")},methods:{select:function(t){var e={subjectId:t.val},n=Object(s["c"])(e);Object(o["b"])(n).then((function(){})),this.subjectName=t.name,Object(s["f"])(t.val),3===t.val?this.$router.push({path:"/ProductSet/VersionSelect",query:{subjectId:t.val}}):12===t.val?this.$router.push({path:"/ProductSet/Customized",query:{subjectId:t.val}}):(location.href="/productset/oldSet?subjectId=".concat(t.val),this.$router.push({query:{subjectId:t.val}})),"MethodSet"==this.proType&&this.$router.push({path:"/MethodSet/Introduction"})}}},d=i,f=(n("da2e"),n("2877")),p=Object(f["a"])(d,r,c,!1,null,"139b1a1d",null);e["a"]=p.exports},abaf:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"product-set"},[n("switch-navigation"),t.hasNav?n("set-navigation"):t._e(),n("router-view")],1)},c=[],u=n("ab2c"),a=n("43e5"),o={name:"ProductSet",components:{SwitchNavigation:u["a"],SetNavigation:a["a"]},filters:{},props:{},data:function(){return{hasNav:!0}},computed:{},watch:{$route:{handler:function(t){t.meta&&!t.meta.nav?this.hasNav=!1:this.hasNav=!0},immediate:!0}},created:function(){},mounted:function(){},methods:{}},s=o,i=(n("9e21"),n("2877")),d=Object(i["a"])(s,r,c,!1,null,null,null);e["default"]=d.exports},d4c1:function(t,e,n){},da2e:function(t,e,n){"use strict";var r=n("d4c1"),c=n.n(r);c.a},dbb4:function(t,e,n){var r=n("23e7"),c=n("83ab"),u=n("56ef"),a=n("fc6a"),o=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!c},{getOwnPropertyDescriptors:function(t){var e,n,r=a(t),c=o.f,i=u(r),d={},f=0;while(i.length>f)n=c(r,e=i[f++]),void 0!==n&&s(d,e,n);return d}})},e439:function(t,e,n){var r=n("23e7"),c=n("d039"),u=n("fc6a"),a=n("06cf").f,o=n("83ab"),s=c((function(){a(1)})),i=!o||s;r({target:"Object",stat:!0,forced:i,sham:!o},{getOwnPropertyDescriptor:function(t,e){return a(u(t),e)}})},e54c:function(t,e,n){"use strict";var r=n("1b5a"),c=n.n(r);c.a}}]);
|