chunk-50d0ce95.6e437ccb.js 9.3 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50d0ce95"],{"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)])},u=[],c=(n("4160"),n("a434"),n("b0c0"),n("159b"),n("7660")),o={name:"SetNavigation",components:{},props:{proType:{type:String}},filters:{},data:function(){return{current:0,subject_id:Object(c["d"])(),setNavList_array:[{name:"模版中心",address:"TemplateCenter"},{name:"班级定制",address:"ClassSetting"},{name:"学生定制",address:"StudentSetting"},{name:"学生自选卡",address:"OptionalCard"}],edition:Object(c["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}}},a=o,s=(n("e54c"),n("2877")),i=Object(s["a"])(a,r,u,!1,null,"1a2c12bf",null);e["a"]=i.exports},"520f":function(t,e,n){"use strict";n.d(e,"g",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"z",(function(){return o})),n.d(e,"m",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"w",(function(){return i})),n.d(e,"u",(function(){return d})),n.d(e,"v",(function(){return f})),n.d(e,"k",(function(){return p})),n.d(e,"t",(function(){return l})),n.d(e,"e",(function(){return b})),n.d(e,"n",(function(){return h})),n.d(e,"p",(function(){return v})),n.d(e,"r",(function(){return m})),n.d(e,"o",(function(){return j})),n.d(e,"i",(function(){return y})),n.d(e,"q",(function(){return g})),n.d(e,"s",(function(){return S})),n.d(e,"c",(function(){return O})),n.d(e,"l",(function(){return w})),n.d(e,"d",(function(){return _})),n.d(e,"a",(function(){return C})),n.d(e,"h",(function(){return N})),n.d(e,"j",(function(){return T})),n.d(e,"A",(function(){return P})),n.d(e,"x",(function(){return I})),n.d(e,"y",(function(){return x}));var r=n("c1fb");function u(t){return r["a"].post("productset/getProductEdition",t)}function c(t){return r["a"].post("/productset/changeSubject",t)}function o(t){return r["a"].post("/productset/switchEdition",t)}function a(t){return r["a"].post("productset/initProductSetting",t)}var s=function(t){return r["a"].post("/productset/copyTemplate",t)},i=function(t){return r["a"].post("/productset/reNameTemplate",t)},d=function(t){return r["a"].post("/productset/beforeDelTemplate",t)},f=function(t){return r["a"].post("/productset/delTemplate",t)},p=function(t){return r["a"].post("/productset/ajaxGetTemplateById",t)},l=function(t){return r["a"].post("/productset/saveTemplate",t)};function b(t){return r["a"].post("/productset/getClassByGrade",t)}function h(t){return r["a"].post("/productset/productClassSet",t)}function v(t){return r["a"].post("/productset/resetClassSet",t)}var m=function(t){return r["a"].post("/productset/saveClassSet",t)};function j(t){return r["a"].post("/productset/productStudentSet",t)}var y=function(t){return r["a"].post("/studentinfo/getStudent",t)};function g(t){return r["a"].post("/productset/resetStudentSet",t)}var S=function(t){return r["a"].post("/productset/saveStudentSet",t)};function O(t){return r["a"].post("/productset/customProductStudentSet",t)}function w(t){return r["a"].post("/productset/getTemplateByType",t)}function _(t){return r["a"].post("/productset/delStudentOptionalCard",t)}function C(t){return r["a"].post("/productset/SaveOptionalCard",t)}function N(){return r["a"].get("/productset/getSemester")}function T(t){return r["a"].get("/productset/getStyleType",t)}function P(t){return r["a"].post("/productset/switchStyle",t)}function I(){return r["a"].post("/subjectProductSetting/index")}function x(t){return r["a"].post("/subjectProductSetting/update",t)}},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));n("a4d3"),n("4de4"),n("4160"),n("e439"),n("dbb4"),n("b64b"),n("159b");var r=n("ade3");function u(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 c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){Object(r["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"6df3":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 method-set"},[n("switch-navigation",{attrs:{proType:t.proType}}),t.hasNav?n("set-navigation",{attrs:{proType:t.proType}}):t._e(),n("router-view")],1)},u=[],c=n("ab2c"),o=n("43e5"),a={name:"MethodSet",components:{SwitchNavigation:c["a"],SetNavigation:o["a"]},filters:{},props:{},data:function(){return{proType:"MethodSet"}},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=a,i=(n("cb4a"),n("2877")),d=Object(i["a"])(s,r,u,!1,null,null,null);e["default"]=d.exports},"7e7e":function(t,e,n){},a434:function(t,e,n){"use strict";var r=n("23e7"),u=n("23cb"),c=n("a691"),o=n("50c4"),a=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=a(this),y=o(j.length),g=u(t,y),S=arguments.length;if(0===S?n=r=0:1===S?(n=0,r=y-g):(n=S-2,r=h(b(c(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)])])])},u=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"product-setting-btn"},[n("a",[t._v("产品设置")])])}],c=(n("4de4"),n("b0c0"),n("5530")),o=n("2f62"),a=n("520f"),s=n("7660"),i={name:"Switch-navigation",props:{proType:{type:String}},data:function(){return{subjectName:"",subjectId:Object(s["d"])()}},computed:Object(c["a"])({},Object(o["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(a["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,u,!1,null,"139b1a1d",null);e["a"]=p.exports},cb4a:function(t,e,n){"use strict";var r=n("7e7e"),u=n.n(r);u.a},d4c1:function(t,e,n){},da2e:function(t,e,n){"use strict";var r=n("d4c1"),u=n.n(r);u.a},dbb4:function(t,e,n){var r=n("23e7"),u=n("83ab"),c=n("56ef"),o=n("fc6a"),a=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),u=a.f,i=c(r),d={},f=0;while(i.length>f)n=u(r,e=i[f++]),void 0!==n&&s(d,e,n);return d}})},e439:function(t,e,n){var r=n("23e7"),u=n("d039"),c=n("fc6a"),o=n("06cf").f,a=n("83ab"),s=u((function(){o(1)})),i=!a||s;r({target:"Object",stat:!0,forced:i,sham:!a},{getOwnPropertyDescriptor:function(t,e){return o(c(t),e)}})},e54c:function(t,e,n){"use strict";var r=n("1b5a"),u=n.n(r);u.a}}]);