chunk-7c2f4fe6.04715c01.js 3.4 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c2f4fe6"],{"6b1f":function(t,e,o){"use strict";o.d(e,"g",(function(){return r})),o.d(e,"i",(function(){return a})),o.d(e,"b",(function(){return c})),o.d(e,"d",(function(){return u})),o.d(e,"a",(function(){return i})),o.d(e,"l",(function(){return s})),o.d(e,"j",(function(){return l})),o.d(e,"c",(function(){return d})),o.d(e,"m",(function(){return f})),o.d(e,"e",(function(){return h})),o.d(e,"h",(function(){return p})),o.d(e,"f",(function(){return m})),o.d(e,"k",(function(){return g}));var n=o("b775");function r(t){return Object(n["a"])({url:"/system/index/getInfo",method:"get",params:t})}function a(t){return Object(n["a"])({url:"/local/getOrganization",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/local/organization",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/local/brands",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/local/addShopInfo",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/local/cate",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/local/qualification/list",method:"get",params:t})}},"74bc":function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div")},r=[],a=o("5c96"),c=o("6b1f"),u=(o("b775"),{name:"Platformlogin",data:function(){return{ssourl:""}},created:function(){this.getssourl()},methods:{getssourl:function(){var t=this,e=window.location.host,o={type:2,site_type:7,domain:e};this.$store.dispatch("getssourl",o).then((function(e){1==e.code&&(t.ssourl=e.data.channel_site[0].domain,t.gotosso())})).catch((function(){}))},gotosso:function(){var t=this,e=this.$route.query.ticket;this.$store.dispatch("Login",{ticket:e}).then((function(e){if(""!=e.token)Object(c["j"])().then((function(e){if(1===e.code)switch(e.data.state){case 0:switch(e.data.status){case 0:t.$router.push({path:"/process"});break;case 1:t.$router.push({path:"/fillShopInf"});break}break;case 1:t.$router.push({path:"/index"});break;case 2:t.$router.push({path:"/reviewing"});break;case 3:var o=e.data.Apply.content;t.$router.push({name:"reviewFail",params:{msg:o}});break}else e&&e.msg?a["Notification"].error({title:"提示:",message:e.msg}):a["Notification"].error({title:"提示:",message:"刷新浏览器后,再次登录,若仍不行,请联系我们!"})}));else{t.$store.dispatch("Statistic"),t.$store.dispatch("FedLogOut");var o=window.location.host,n=document.location.protocol,r=t;setTimeout((function(){window.location.href=n+"//"+r.ssourl+"/api/v2/logout?redirect="+n+"//"+o+"/login"}),1e3)}t.loading=!1})).catch((function(){t.$store.dispatch("FedLogOut");var e=window.location.host,o=document.location.protocol,n=t;setTimeout((function(){window.location.href=o+"//"+n.ssourl+"/api/v2/logout?redirect="+o+"//"+e+"/login"}),1e3),t.loading=!1}))}}}),i=u,s=o("2877"),l=Object(s["a"])(i,n,r,!1,null,null,null);e["default"]=l.exports}}]);