chunk-2a8b9e51.4536ea2c.js 3.0 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a8b9e51"],{"1b5a":function(e,t,a){},"41dd":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"set-page"},[e.hasNav?a("set-navigation"):e._e(),a("router-view")],1)},r=[],i=a("43e5"),s={name:"SetPage",components:{SetNavigation:i["a"]},filters:{},props:{},data:function(){return{hasNav:!0}},computed:{},watch:{$route:{handler:function(e){e.meta&&!e.meta.nav?this.hasNav=!1:this.hasNav=!0},immediate:!0}},created:function(){},mounted:function(){},methods:{}},c=s,o=(a("ce66"),a("2877")),u=Object(o["a"])(c,n,r,!1,null,null,null);t["default"]=u.exports},"43e5":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"set-nav clearfix"},[a("ul",e._l(e.setNavList_array,(function(t,n){return a("li",{key:t.index,on:{click:function(a){return e.bgColor(t,n)}}},[a("router-link",{class:[e.current===n?"sel":""],attrs:{to:t.address}},[e._v(e._s(t.name))])],1)})),0)])},r=[],i=(a("4160"),a("a434"),a("b0c0"),a("159b"),a("7660")),s={name:"SetNavigation",components:{},props:{proType:{type:String}},filters:{},data:function(){return{current:0,subject_id:Object(i["d"])(),setNavList_array:[{name:"模版中心",address:"TemplateCenter"},{name:"班级定制",address:"ClassSetting"},{name:"学生定制",address:"StudentSetting"},{name:"学生自选卡",address:"OptionalCard"}],edition:Object(i["b"])(),isAccurate:sessionStorage.getItem("isAccurate")}},computed:{},watch:{$route:{handler:function(e){var t=this;this.setNavList_array.forEach((function(a,n){e.meta.address==a.address&&(t.current=n)}))},immediate:!0}},created:function(){},mounted:function(){var e=this;this.setNavList_array.forEach((function(t,a){"12"!==e.subject_id&&"MethodSet"!=e.proType&&"1"!==e.isAccurate&&"4"!==e.edition&&"3"!==e.edition||"学生自选卡"==t.name&&e.setNavList_array.splice(a,1)}))},methods:{bgColor:function(e,t){this.current=t}}},c=s,o=(a("e54c"),a("2877")),u=Object(o["a"])(c,n,r,!1,null,"1a2c12bf",null);t["a"]=u.exports},a434:function(e,t,a){"use strict";var n=a("23e7"),r=a("23cb"),i=a("a691"),s=a("50c4"),c=a("7b0b"),o=a("65f0"),u=a("8418"),d=a("1dde"),l=a("ae40"),f=d("splice"),h=l("splice",{ACCESSORS:!0,0:0,1:2}),m=Math.max,p=Math.min,v=9007199254740991,b="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!f||!h},{splice:function(e,t){var a,n,d,l,f,h,g=c(this),_=s(g.length),S=r(e,_),w=arguments.length;if(0===w?a=n=0:1===w?(a=0,n=_-S):(a=w-2,n=p(m(i(t),0),_-S)),_+a-n>v)throw TypeError(b);for(d=o(g,n),l=0;l<n;l++)f=S+l,f in g&&u(d,l,g[f]);if(d.length=n,a<n){for(l=S;l<_-n;l++)f=l+n,h=l+a,f in g?g[h]=g[f]:delete g[h];for(l=_;l>_-n+a;l--)delete g[l-1]}else if(a>n)for(l=_-n;l>S;l--)f=l+n-1,h=l+a-1,f in g?g[h]=g[f]:delete g[h];for(l=0;l<a;l++)g[l+S]=arguments[l+2];return g.length=_-n+a,d}})},ce66:function(e,t,a){"use strict";var n=a("dd3b"),r=a.n(n);r.a},dd3b:function(e,t,a){},e54c:function(e,t,a){"use strict";var n=a("1b5a"),r=a.n(n);r.a}}]);