app.bd3a365d.js 23 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"002a":function(e,t,n){},"028b":function(e,t,n){"use strict";var a=n("f12c"),i=n.n(a);i.a},"036d":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n("83d6"),i=n.n(a),r=i.a.title||"Vue Admin Template";function o(e){return e?"".concat(e," - ").concat(r):"".concat(r)}},"0469":function(e,t,n){},"117e":function(e,t,n){"use strict";var a=n("5190"),i=n.n(a);i.a},"119c":function(e,t,n){"use strict";var a,i,r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._v(" "),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},o=[],s=n("db72"),c=n("df7c"),u=n.n(c),l=n("61f7"),d={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,r=[];return a&&r.push(e("i",{class:a})),i&&r.push(e("span",{slot:"title"},[i])),r}},f=d,p=(n("96f0"),n("2877")),m=Object(p["a"])(f,a,i,!1,null,null,null),h=m.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("component",e._b({},"component",e.linkProps(e.to),!1),[e._t("default")],2)},v=[],g={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return Object(l["a"])(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},_=g,x=Object(p["a"])(_,b,v,!1,null,null,null),k=x.exports,O={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},w={name:"SidebarItem",components:{Item:h,AppLink:k},mixins:[O],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(s["a"])({},n,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(l["a"])(e)?e:Object(l["a"])(this.basePath)?this.basePath:u.a.resolve(this.basePath,e)}}},S=w,y=(n("d729"),Object(p["a"])(S,r,o,!1,null,null,null));t["a"]=y.exports},"1a5d":function(e,t,n){var a={"./404.vue":["8cdb","chunk-68697b0f"],"./adminer/index.vue":["492e","chunk-1067a878"],"./adminer/role.vue":["3ed2","chunk-46fb6f4c"],"./book/index.vue":["9e8e","chunk-aa914656"],"./charge/hand.vue":["b911","chunk-2ed9b43c"],"./charge/index.vue":["e9c1","chunk-1d5d87a0"],"./dashboard/index.vue":["9406","chunk-a3d50774"],"./home/index.vue":["7abe","chunk-77b85962"],"./login/index.vue":["9ed6","chunk-1d2a882a"],"./member/index.vue":["f2f4","chunk-7001431a"],"./member/log.vue":["8374","chunk-2d5f51da"],"./rollout/index.vue":["0abb","chunk-6c3bff28"],"./team/add.vue":["fb96","chunk-786b0e4d","chunk-3765a706"],"./team/index.vue":["a10a","chunk-7efcfdf0"]};function i(e){var t=a[e];return t?Promise.all(t.slice(1).map(n.e)).then((function(){var e=t[0];return n(e)})):Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}i.keys=function(){return Object.keys(a)},i.id="1a5d",e.exports=i},"1f48":function(e,t,n){"use strict";var a=n("6111"),i=n.n(a);i.a},"223d":function(e,t,n){"use strict";(function(e){n("7f7f");var t=n("db72"),a=(n("96cf"),n("3b8d")),i=n("a18c"),r=n("4360"),o=n("5c96"),s=n("323e"),c=n.n(s),u=(n("a5d8"),n("5f87")),l=n("036d"),d=n("c1f7"),f=n("70c3");c.a.configure({showSpinner:!1});var p=["/login"];function m(e){var t=e.filter((function(e){return e.page&&("Layout"===e.page?e.component=d["a"]:e.component=f(e.page)),e.children&&e.children.length&&(e.children=m(e.children)),!0}));return t}i["a"].beforeEach(function(){var n=Object(a["a"])(regeneratorRuntime.mark((function n(a,s,d){var f,h,b;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(f=a.matched,0!==f.length){n.next=6;break}return n.next=4,r["a"].dispatch("user/getInfo").then((function(){if(r["a"].getters.routes.length<1)e.antRouter=[],d();else{var n=m(JSON.parse(JSON.stringify(r["a"].getters.routes)));i["a"].addRoutes(n),e.antRouter=n,d(Object(t["a"])({},a,{replace:!0}))}}));case 4:n.next=33;break;case 6:if(c.a.start(),document.title=Object(l["a"])(a.meta.title),h=Object(u["a"])(),!h||"undefined"===h||"undefined"===typeof h){n.next=32;break}if("/login"!==a.path){n.next=15;break}d({path:"/"}),c.a.done(),n.next=30;break;case 15:if(b=r["a"].getters.name,!b){n.next=20;break}d(),n.next=30;break;case 20:return n.prev=20,n.next=23,r["a"].dispatch("user/getInfo").then((function(){if(r["a"].getters.routes.length<1)e.antRouter=[],d();else{var n=m(JSON.parse(JSON.stringify(r["a"].getters.routes)));i["a"].addRoutes(n),e.antRouter=n,d(Object(t["a"])({},a,{replace:!0}))}})).catch((function(e){c.a.done(),o["Message"].error(e)}));case 23:n.next=30;break;case 25:n.prev=25,n.t0=n["catch"](20),o["Message"].error("获取用户信息失败,请稍等重试"),d("/login"),c.a.done();case 30:n.next=33;break;case 32:-1!==p.indexOf(a.path)?d():(d("/login"),c.a.done());case 33:case"end":return n.stop()}}),n,null,[[20,25]])})));return function(e,t,a){return n.apply(this,arguments)}}()),i["a"].afterEach((function(){c.a.done()}))}).call(this,n("c8ba"))},"37bf":function(e,t,n){},4360:function(e,t,n){"use strict";var a=n("2b0e"),i=n("2f62"),r=(n("7f7f"),{sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},routes:function(e){return e.user.routes}}),o=r,s=n("a78e"),c=n.n(s),u={sidebar:{opened:!c.a.get("sidebarStatus")||!!+c.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},l={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?c.a.set("sidebarStatus",1):c.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){c.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t}},d={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)}},f={namespaced:!0,state:u,mutations:l,actions:d},p=n("83d6"),m=n.n(p),h=m.a.showSettings,b=m.a.fixedHeader,v=m.a.sidebarLogo,g={showSettings:h,fixedHeader:b,sidebarLogo:v},_={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},x={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},k={namespaced:!0,state:g,mutations:_,actions:x},O=n("b775");function w(e){return Object(O["a"])({url:"/admin/login",method:"post",data:e})}function S(e){return Object(O["a"])({url:"/admin/getadmininfo",method:"get",params:{token:e}})}function y(){return Object(O["a"])({url:"/admin/logout",method:"get"})}var C=n("5f87"),E=n("a18c"),j=n("ec26"),T={token:Object(C["a"])(),name:"",avatar:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif",routes:[]},L={SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROUTES:function(e,t){e.routes=t}},$={login:function(e,t){var n=e.commit,a=t.name,i=t.password;return new Promise((function(e,t){w({name:a.trim(),password:i}).then((function(t){var a=t.data;n("SET_TOKEN",a),Object(C["c"])(a),e()})).catch((function(e){t(e)}))}))},getInfo:function(e){var t=e.commit,n=e.state;return new Promise((function(e,a){S(n.token).then((function(n){var i=n.data;i||a("验证失败,请推出重新登陆");var r=i.name,o=i.permissions;if(t("SET_NAME",r),"string"===typeof o)try{o=JSON.parse(o)}catch(s){o=[]}o.length>0&&0===o[0]&&(o=j["a"]),t("SET_ROUTES",o),e(i)})).catch((function(e){a(e)}))}))},logout:function(e){var t=e.commit;e.state;return new Promise((function(e,n){y().then((function(n){var a=n.error_code;200===a&&(t("SET_TOKEN",""),Object(C["b"])(),Object(E["b"])(),c.a.remove("sidebarStatus")),e(n)})).catch((function(e){n(e)}))}))},resetToken:function(e){var t=e.commit,n=e.token;t("SET_TOKEN",n),Object(C["c"])(n)},removeToken:function(e){var t=e.commit;t("SET_TOKEN",""),Object(C["b"])()}},B={namespaced:!0,state:T,mutations:L,actions:$};a["default"].use(i["a"]);var A=new i["a"].Store({modules:{app:f,settings:k,user:B},getters:o});t["a"]=A},"46f4":function(e,t,n){"use strict";var a=n("577b"),i=n.n(a);i.a},5190:function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),i=(n("f5df"),n("5c96")),r=n.n(i),o=(n("0fae"),n("f0d9")),s=n.n(o),c=(n("b20f"),n("ed2c"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),u=[],l={name:"App"},d=l,f=n("2877"),p=Object(f["a"])(d,c,u,!1,null,null,null),m=p.exports,h=n("4360"),b=n("a18c");n("223d");a["default"].use(r.a,{locale:s.a}),a["default"].config.productionTip=!1,new a["default"]({el:"#app",router:b["a"],store:h["a"],render:function(e){return e(m)}})},"577b":function(e,t,n){},"5af5":function(e,t,n){"use strict";(function(e){var a=n("db72"),i=n("2f62"),r=n("c463"),o=n("119c"),s=n("cf1e"),c=n.n(s);t["a"]={components:{SidebarItem:o["a"],Logo:r["a"]},computed:Object(a["a"])({},Object(i["b"])(["sidebar"]),{routes:function(){return e.antRouter&&e.antRouter.length>1?this.$router.options.routes.concat(e.antRouter):this.$router.options.routes},activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return c.a},isCollapse:function(){return!this.sidebar.opened}})}}).call(this,n("c8ba"))},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c}));var a=n("a78e"),i=n.n(a),r="vue_admin_template_token";function o(){return i.a.get(r)}function s(e){return!!e&&i.a.set(r,e)}function c(){return i.a.remove(r)}},6111:function(e,t,n){},"61f7":function(e,t,n){"use strict";function a(e){return/^(https?:|mailto:|tel:)/.test(e)}n.d(t,"a",(function(){return a}))},"70c3":function(e,t,n){e.exports=function(e){return function(){return n("1a5d")("./"+e+".vue")}}},"83d6":function(e,t){e.exports={title:"缴费后台",fixedHeader:!1,sidebarLogo:!0}},"8e5e":function(e,t,n){},"96f0":function(e,t,n){"use strict";var a=n("002a"),i=n.n(a);i.a},a18c:function(e,t,n){"use strict";n.d(t,"b",(function(){return u}));var a=n("2b0e"),i=n("8c4f"),r=n("c1f7");a["default"].use(i["a"]);var o=[{path:"/login",name:"login",component:function(){return n.e("chunk-1d2a882a").then(n.bind(null,"9ed6"))},hidden:!0},{path:"/404",name:"404",component:function(){return n.e("chunk-68697b0f").then(n.bind(null,"8cdb"))},hidden:!0},{path:"/",component:r["a"],redirect:"/home",children:[{path:"home",name:"home",component:function(){return n.e("chunk-77b85962").then(n.bind(null,"7abe"))},meta:{title:"首页",icon:"plus-icon-tongji"}}]}],s=function(){return new i["a"]({scrollBehavior:function(){return{y:0}},routes:o})},c=s();function u(){var e=s();c.matcher=e.matcher}t["a"]=c},a1bc:function(e,t,n){"use strict";var a=n("37bf"),i=n.n(a);i.a},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b775:function(e,t,n){"use strict";var a=n("bc3a"),i=n.n(a),r=n("5c96"),o=n("4360"),s=n("5f87");i.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded";var c=i.a.create({baseURL:"http://test.jiuweiyun.cn/api",timeout:5e3});c.interceptors.request.use((function(e){return o["a"].getters.token&&(e.headers["authorization"]="Bearer "+Object(s["a"])()),e}),(function(e){return console.log(e),Promise.reject(e)})),c.interceptors.response.use((function(e){var t=e.data,n=t.error_code;if(200===n){var a=e.headers;if(a.authorization){var i=a.authorization;o["a"].dispatch("user/resetToken",i)}return t}401===n?(o["a"].dispatch("user/removeToken"),r["MessageBox"].confirm("请重新登录","登录信息过期",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then((function(){o["a"].dispatch("user/resetToken").then((function(){location.reload()}))}),(function(){o["a"].dispatch("user/resetToken"),Object(r["Message"])({message:"登录信息过期,请重新登录(刷新页面或点击右上角头像退出登陆即可)",duration:1e7,type:"error"})}))):Object(r["Message"])({message:t.msg||"Error",type:"error",duration:5e3})}),(function(e){return Object(r["Message"])({message:e||"Error",type:"error",duration:5e3}),Promise.reject(e)})),t["a"]=c},c1f7:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e._v(" "),n("sidebar",{staticClass:"sidebar-container"}),e._v(" "),n("div",{staticClass:"main-container"},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar")],1),e._v(" "),n("app-main")],1)],1)},i=[],r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{"is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),e._v(" "),n("breadcrumb",{staticClass:"breadcrumb-container"}),e._v(" "),n("div",{staticClass:"right-menu"},[n("span",{staticClass:"admin_name"},[e._v(" "+e._s(e.name)+" ")]),e._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80"}}),e._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),e._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/"}},[n("el-dropdown-item",[e._v("\n 修改密码\n ")])],1),e._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:e.logout}},[e._v("退出后台")])])],1)],1)],1)],1)},o=[],s=(n("96cf"),n("3b8d")),c=n("db72"),u=n("2f62"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},d=[],f=(n("7f7f"),n("bd11")),p=n.n(f),m={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params,n=p.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},h=m,b=(n("a1bc"),n("2877")),v=Object(b["a"])(h,l,d,!1,null,"737f7812",null),g=v.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("i",{class:e.isActive?"plus-icon-shousuo1":"plus-icon-shousuo"})])},x=[],k={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},O=k,w=(n("ddb4"),Object(b["a"])(O,_,x,!1,null,"0378a621",null)),S=w.exports,y={components:{Breadcrumb:g,Hamburger:S},computed:Object(c["a"])({},Object(u["b"])(["sidebar","avatar","name"])),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.$store.dispatch("user/logout");case 2:this.$router.push("/login");case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}},C=y,E=(n("1f48"),Object(b["a"])(C,r,o,!1,null,"e7aa1f46",null)),j=E.exports,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),e._v(" "),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},L=[],$=n("5af5"),B=$["a"],A=Object(b["a"])(B,T,L,!1,null,null,null),M=A.exports,R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("router-view",{key:e.key})],1)],1)])},N=[],P={name:"AppMain",computed:{key:function(){return this.$route.path}}},I=P,D=(n("117e"),n("028b"),Object(b["a"])(I,R,N,!1,null,"f37162c4",null)),H=D.exports,G=n("4360"),z=document,J=z.body,F=992,U={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&G["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(G["a"].dispatch("app/toggleDevice","mobile"),G["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=J.getBoundingClientRect();return e.width-1<F},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();G["a"].dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&G["a"].dispatch("app/closeSideBar",{withoutAnimation:!0})}}}},q={name:"Layout",components:{Navbar:j,Sidebar:M,AppMain:H},mixins:[U],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},fixedHeader:function(){return this.$store.state.settings.fixedHeader},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},K=q,V=(n("fec6"),Object(b["a"])(K,a,i,!1,null,"119b2f81",null));t["a"]=V.exports},c463:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),e._v(" "),n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])])],1)],1)},i=[],r={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"缴费后台",logo:""}}},o=r,s=(n("46f4"),n("2877")),c=Object(s["a"])(o,a,i,!1,null,"7ee0e1b0",null);t["a"]=c.exports},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},d729:function(e,t,n){"use strict";var a=n("8e5e"),i=n.n(a);i.a},ddb4:function(e,t,n){"use strict";var a=n("fbc4"),i=n.n(a);i.a},ec26:function(e,t,n){"use strict";var a=[{path:"/dashboard",page:"Layout",name:"统计",children:[{path:"",name:"Dashboard",page:"dashboard/index",meta:{title:"统计管理",icon:"plus-icon-tongji"}}]},{path:"/team",page:"Layout",redirect:"/team/index",name:"团队管理",meta:{title:"团队管理",icon:"plus-icon-huabanfuben"},children:[{path:"index",name:"team_index",page:"team/index",meta:{title:"团队审核",icon:"plus-icon-shenhe"}},{path:"add",name:"team_add",page:"team/add",meta:{title:"创建团队",icon:"plus-icon-order-add"}}]},{path:"/member",page:"Layout",redirect:"/member/index",name:"队员管理",meta:{title:"队员管理",icon:"plus-icon-user"},children:[{path:"index",name:"member_index",page:"member/index",meta:{title:"队员列表",icon:"plus-icon-liebiao"}},{path:"log",name:"member_log",page:"member/log",meta:{title:"操作记录",icon:"plus-icon-rizhi"}}]},{path:"/rollout",page:"Layout",name:"转出管理",children:[{path:"index",name:"rollout",page:"rollout/index",meta:{title:"转出管理",icon:"plus-icon-zhuanhuan"}}]},{path:"/charge",page:"Layout",redirect:"/charge/index",name:"收费管理",meta:{title:"收费管理",icon:"plus-icon-shoufeiguanli"},children:[{path:"index",name:"index",page:"charge/index",meta:{title:"收费明细",icon:"plus-icon-shoufeiguanli"}},{path:"hand",name:"hand",page:"charge/hand",meta:{title:"手动缴费",icon:"plus-icon-shoufeiguanli"}}]},{path:"/book",page:"Layout",name:"承诺书",children:[{path:"",name:"book",page:"book/index",meta:{title:"承诺书管理",icon:"plus-icon-shu"}}]},{path:"/adminer",page:"Layout",redirect:"/adminer/index",name:"后台管理",meta:{title:"后台管理",icon:"plus-icon-houtai8"},children:[{path:"index",name:"admin_index",page:"adminer/index",meta:{title:"管理员管理",icon:"plus-icon-guanliyuan"}},{path:"role",name:"admin_role",page:"adminer/role",meta:{title:"角色管理",icon:"plus-icon-role"}}]}];t["a"]=a},ed2c:function(e,t,n){},f12c:function(e,t,n){},fbc4:function(e,t,n){},fec6:function(e,t,n){"use strict";var a=n("0469"),i=n.n(a);i.a}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]);