webpackJsonp([9],{"+skl":function(e,n){},B774:function(e,n){},N1kN:function(e,n){},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("7+uW"),a={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var o=t("VU/8")({name:"App"},a,!1,function(e){t("B774")},null,null).exports,s=t("/ocq");r.default.use(s.a);var u=new s.a({routes:[{path:"/",redirect:"/login"},{path:"/login",name:"login",component:function(){return t.e(2).then(t.bind(null,"vdVF"))}},{path:"/SPDAS",name:"homePage",component:function(){return t.e(1).then(t.bind(null,"LE12"))},redirect:"/SPDAS/domain",meta:{requireAuth:!0},children:[{path:"/SPDAS/domain",name:"domain",component:function(){return Promise.all([t.e(0),t.e(6)]).then(t.bind(null,"SwKW"))},meta:{requireAuth:!0}},{path:"/SPDAS/seriesTime",name:"seriesTime",component:function(){return Promise.all([t.e(0),t.e(5)]).then(t.bind(null,"6NKR"))},meta:{requireAuth:!0}},{path:"/SPDAS/user",name:"user",component:function(){return Promise.all([t.e(0),t.e(7)]).then(t.bind(null,"ZeSV"))},meta:{requireAuth:!0}},{path:"/SPDAS/chat",name:"chat",component:function(){return Promise.all([t.e(0),t.e(4)]).then(t.bind(null,"M2d4"))},meta:{requireAuth:!0}},{path:"/SPDAS/responsive",name:"responsive",component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"fKh/"))},meta:{requireAuth:!0}}]}]});u.beforeEach(function(e,n,t){var r=sessionStorage.getItem("token");console.log("token:",r),e.meta.requireAuth?(console.log(123),r?t():t({path:"/login"})):t()});var i=u,c=(t("j1ja"),t("//Fk")),l=t.n(c),p=t("mtWM"),d=t.n(p),f=t("VkeE"),m=this,h="http://120.79.171.145:5000/SPDAS",_=d.a.create();_.defaults.baseURL=h,_.defaults.timeout=6e5,_.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",_.defaults.headers.post["X-Request-With"]="XMLHttpRequest",_.defaults.headers.post.login_token="",_.interceptors.request.use(function(e){var n="";try{n=JSON.parse(localStorage.getItem(f.p))}catch(e){localStorage.removeItem(f.p),console.log(e)}return n&&(e.headers.login_token=n),e},function(e){return m.$Message.error("网络错误,请稍后再试"),l.a.reject(e)}),_.interceptors.response.use(function(e){return e.data&&200!==e.status?(m.$Message.error("登录信息过期,请重新登录!"),i.replace({name:"login"}),l.a.reject(e)):l.a.resolve(e)},function(e){if(e.response)switch(e.response.status){case 401:localStorage.removeItem(f.p),m.$Message.error("请重新授权登录"),i.replace({name:"login"});break;case 404:m.$Message.error("请求页面不存在");break;case 500:m.$Message.error("服务器错误,请稍后再试")}else m.$Message.error("请求超时,请稍后重试");return l.a.reject(e)});var g=_,S=t("BTaQ"),A=t.n(S),v=(t("+skl"),t("EAZf")),y=t.n(v);t("N1kN");r.default.use(A.a),r.default.config.productionTip=!1,r.default.prototype.$api=g,r.default.use(y.a,{defaultOptions:{zIndex:9999}}),new r.default({el:"#app",router:i,components:{App:o},template:""})},VkeE:function(e,n,t){"use strict";t.d(n,"p",function(){return r}),t.d(n,"g",function(){return a}),t.d(n,"e",function(){return o}),t.d(n,"f",function(){return s}),t.d(n,"l",function(){return u}),t.d(n,"m",function(){return i}),t.d(n,"n",function(){return c}),t.d(n,"o",function(){return l}),t.d(n,"c",function(){return p}),t.d(n,"d",function(){return d}),t.d(n,"a",function(){return f}),t.d(n,"b",function(){return m}),t.d(n,"h",function(){return h}),t.d(n,"i",function(){return _}),t.d(n,"j",function(){return g}),t.d(n,"k",function(){return S});var r="",a="/login",o="/domain_structure_analysis1",s="/domain_structure_analysis2",u="/time_series_analysis1",i="/time_series_analysis2",c="/user_portrait_analysis1",l="/user_portrait_analysis2",p="/chat_function_analysis/choice1",d="/chat_function_analysis/choice2",f="/chat_function_analysis/chat1",m="/chat_function_analysis/chat2",h="/response_analysis1",_="/response_analysis2",g="/second_test1",S="/second_test2"}},["NHnr"]);