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){},1025:function(e,t,n){"use strict";var a=n("be9d"),i=n.n(a);i.a},"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=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)},i=[],r=n("db72"),o=n("df7c"),s=n.n(o);function c(e){return/^(https?:|mailto:|tel:)/.test(e)}var u,l,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}},p=d,m=(n("96f0"),n("2877")),f=Object(m["a"])(p,u,l,!1,null,null,null),h=f.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 c(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},k=g,_=Object(m["a"])(k,b,v,!1,null,null,null),x=_.exports,w={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)}}}}},O={name:"SidebarItem",components:{Item:h,AppLink:x},mixins:[w],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(r["a"])({},n,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return c(e)?e:c(this.basePath)?this.basePath:s.a.resolve(this.basePath,e)}}},y=O,S=(n("d729"),Object(m["a"])(y,a,i,!1,null,null,null));t["a"]=S.exports},"1a5d":function(e,t,n){var a={"./404.vue":["8cdb","chunk-a0fc1dde"],"./adminer/index.vue":["492e","chunk-1067a878"],"./adminer/role.vue":["3ed2","chunk-3d330bff"],"./book/index.vue":["9e8e","chunk-773faa80"],"./charge/hand.vue":["b911","chunk-2ed9b43c"],"./charge/index.vue":["e9c1","chunk-0afa0a1b"],"./dashboard/index.vue":["9406","chunk-a3d50774"],"./feedback/index.vue":["a7e0","chunk-4ae9e29c"],"./home/index.vue":["7abe","chunk-77b85962"],"./login/index.vue":["9ed6","chunk-7b666f75"],"./member/index.vue":["f2f4","chunk-e51ddb6e"],"./member/log.vue":["8374","chunk-02f924fe"],"./notice/add.vue":["15e4","chunk-786b0e4d","chunk-94e65f50"],"./notice/index.vue":["ab43","chunk-165973c7"],"./rollout/index.vue":["0abb","chunk-38ea6352"],"./team/add.vue":["fb96","chunk-786b0e4d","chunk-19f5b414"],"./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},"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"),p=n("70c3");c.a.configure({showSpinner:!1});var m=["/login"];function f(e){var t=e.filter((function(e){return e.page&&("Layout"===e.page?e.component=d["a"]:e.component=p(e.page)),e.children&&e.children.length&&(e.children=f(e.children)),!0}));return t}i["a"].beforeEach(function(){var n=Object(a["a"])(regeneratorRuntime.mark((function n(a,s,d){var p,h,b;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(c.a.start(),document.title=Object(l["a"])(a.meta.title),p=Object(u["a"])(),p){n.next=7;break}a.path&&-1!==m.indexOf(a.path)?d():(d("/login"),c.a.done()),n.next=34;break;case 7:if(h=a.matched,0!==h.length){n.next=20;break}return n.prev=9,n.next=12,r["a"].dispatch("user/getInfo").then((function(){if(r["a"].getters.routes.length<1)e.antRouter=[],d();else{var n=f(JSON.parse(JSON.stringify(r["a"].getters.routes)));i["a"].addRoutes(n),e.antRouter=n,d(Object(t["a"])({},a,{replace:!0}))}}));case 12:n.next=18;break;case 14:n.prev=14,n.t0=n["catch"](9),c.a.done(),o["Message"].error(n.t0);case 18:n.next=34;break;case 20:if(b=r["a"].getters.name,!b){n.next=25;break}d(),n.next=34;break;case 25:return n.prev=25,n.next=28,r["a"].dispatch("user/getInfo").then((function(){if(r["a"].getters.routes.length<1)e.antRouter=[],d();else{var n=f(JSON.parse(JSON.stringify(r["a"].getters.routes)));i["a"].addRoutes(n),e.antRouter=n,d(Object(t["a"])({},a,{replace:!0}))}}));case 28:n.next=34;break;case 30:n.prev=30,n.t1=n["catch"](25),c.a.done(),o["Message"].error(n.t1);case 34:case"end":return n.stop()}}),n,null,[[9,14],[25,30]])})));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)}},p={namespaced:!0,state:u,mutations:l,actions:d},m=n("83d6"),f=n.n(m),h=f.a.showSettings,b=f.a.fixedHeader,v=f.a.sidebarLogo,g={showSettings:h,fixedHeader:b,sidebarLogo:v},k={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},_={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},x={namespaced:!0,state:g,mutations:k,actions:_},w=n("c24f"),O=n("5f87"),y=n("a18c"),S=n("ec26"),C={token:Object(O["a"])(),name:"",avatar:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif",routes:[]},E={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}},T={login:function(e,t){var n=e.commit,a=t.name,i=t.password;return new Promise((function(e,t){Object(w["b"])({name:a.trim(),password:i}).then((function(t){var a=t.data;n("SET_TOKEN",a),Object(O["c"])(a),e()})).catch((function(e){t(e)}))}))},getInfo:function(e){var t=e.commit,n=e.state;return new Promise((function(e,a){Object(w["a"])(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=S["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){Object(w["c"])().then((function(n){var a=n.error_code;200===a&&(t("SET_TOKEN",""),t("SET_NAME",""),t("SET_ROUTES",[]),Object(O["b"])(),Object(y["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(O["c"])(n)},removeToken:function(e){var t=e.commit;t("SET_TOKEN",""),Object(O["b"])()}},j={namespaced:!0,state:C,mutations:E,actions:T};a["default"].use(i["a"]);var $=new i["a"].Store({modules:{app:p,settings:x,user:j},getters:o});t["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,p=n("2877"),m=Object(p["a"])(d,c,u,!1,null,null,null),f=m.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(f)}})},"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)}},"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-7b666f75").then(n.bind(null,"9ed6"))},hidden:!0},{path:"/404",name:"404",component:function(){return n.e("chunk-a0fc1dde").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-liuliangyunpingtaitubiao02"}}]}],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:"https://helper.qcfun.ximengnakang.cn/api",timeout:5e5});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.headers;if(t.authorization){var n=t.authorization.substring(7);o["a"].dispatch("user/resetToken",n)}var a=e.data,i=a.error_code;if(200===i){var s=e.headers;if(s.authorization){var c=s.authorization;o["a"].dispatch("user/resetToken",c)}return a}401===i?(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:a.msg||"Error",type:"error",duration:5e3})}),(function(e){if(e&&e.response)switch(e.response.status){case 401:return e.message="您还未登录",o["a"].dispatch("user/removeToken"),Object(r["Message"])({message:e.message+"即将跳转登陆",type:"error",duration:3e3}),void window.location.reload();default:e.message="连接错误".concat(e.response.status)}else e.message="网络出现问题,请稍后再试";return Object(r["Message"])({message:e.message,type:"error",duration:5e3}),Promise.reject(e)})),t["a"]=c},be9d:function(e,t,n){},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("el-dropdown-item",[n("span",{staticStyle:{display:"block"},on:{click:e.revisePwd}},[e._v("修改密码")])]),e._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:e.logout}},[e._v("退出后台")])])],1)],1)],1),e._v(" "),n("el-dialog",{attrs:{title:"修改密码",visible:e.revisePwdDia,width:"400px","before-close":e.handleClose},on:{"update:visible":function(t){e.revisePwdDia=t}}},[n("el-form",{ref:"reviseForm",staticClass:"demo-ruleForm",attrs:{model:e.reviseForm,"status-icon":"",rules:e.reviseRule,"label-width":"100px"}},[n("el-form-item",{attrs:{label:"密码",prop:"pass"}},[n("el-input",{attrs:{type:"password","auto-complete":"off"},model:{value:e.reviseForm.pass,callback:function(t){e.$set(e.reviseForm,"pass",t)},expression:"reviseForm.pass"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"确认密码",prop:"checkPass"}},[n("el-input",{attrs:{type:"password","auto-complete":"off"},model:{value:e.reviseForm.checkPass,callback:function(t){e.$set(e.reviseForm,"checkPass",t)},expression:"reviseForm.checkPass"}})],1)],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.revisePwdDia=!1}}},[e._v("取 消")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.submitRevise}},[e._v("确 定")])],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=[],p=(n("7f7f"),n("bd11")),m=n.n(p),f={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=m.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=f,b=(n("a1bc"),n("2877")),v=Object(b["a"])(h,l,d,!1,null,"737f7812",null),g=v.exports,k=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={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},w=x,O=(n("ddb4"),Object(b["a"])(w,k,_,!1,null,"0378a621",null)),y=O.exports,S=n("c24f"),C=n("5f87"),E={components:{Breadcrumb:g,Hamburger:y},data:function(){var e=this,t=function(t,n,a){""===n?a(new Error("请输入密码")):n.length<6?a(new Error("密码最少为6为")):(""!==e.reviseForm.checkPass&&e.$refs.reviseForm.validateField("checkPass"),a())},n=function(t,n,a){""===n?a(new Error("请再次输入密码")):n!==e.reviseForm.pass?a(new Error("两次输入密码不一致!")):a()};return{revisePwdDia:!1,reviseForm:{pass:"",checkPass:""},reviseRule:{pass:[{validator:t,trigger:"blur"}],checkPass:[{validator:n,trigger:"blur"}]}}},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}(),revisePwd:function(){this.revisePwdDia=!0},submitRevise:function(){var e=this,t=this;this.$refs.reviseForm.validate((function(n){if(!n)return console.log("error submit!!"),!1;Object(S["d"])({password:t.reviseForm.pass}).then((function(t){Object(C["b"])(),e.$router.push({path:"/login"})}))}))},handleClose:function(){this.revisePwdDia=!1}}},T=E,j=(n("1025"),Object(b["a"])(T,r,o,!1,null,"610f173c",null)),$=j.exports,L=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)},B=[],P=n("5af5"),A=P["a"],M=Object(b["a"])(A,L,B,!1,null,null,null),R=M.exports,D=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)])},F=[],N={name:"AppMain",computed:{key:function(){return this.$route.path}}},I=N,H=(n("117e"),n("028b"),Object(b["a"])(I,D,F,!1,null,"f37162c4",null)),z=H.exports,G=n("4360"),J=document,U=J.body,q=992,K={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=U.getBoundingClientRect();return e.width-1<q},$_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})}}}},V={name:"Layout",components:{Navbar:$,Sidebar:R,AppMain:z},mixins:[K],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})}}},W=V,Q=(n("fec6"),Object(b["a"])(W,a,i,!1,null,"119b2f81",null));t["a"]=Q.exports},c24f:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s}));var a=n("b775");function i(e){return Object(a["a"])({url:"/admin/login",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/admin/getadmininfo",method:"get",params:{token:e}})}function o(){return Object(a["a"])({url:"/admin/logout",method:"get"})}function s(e){return Object(a["a"])({url:"/admin/editpassword",method:"post",data:e})}},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:"统计管理",meta:{sort:1},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",sort:2},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",sort:3},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:"转出管理",meta:{sort:4},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",sort:5},children:[{path:"index",name:"charge_index",page:"charge/index",meta:{title:"收费明细",icon:"plus-icon-shoufeiguanli"}},{path:"hand",name:"charge_hand",page:"charge/hand",meta:{title:"手动缴费",icon:"plus-icon-shoufeiguanli"}}]},{path:"/book",page:"Layout",name:"承诺书管理",meta:{sort:6},children:[{path:"",name:"book",page:"book/index",meta:{title:"承诺书管理",icon:"plus-icon-shu"}}]},{path:"/feedback",page:"Layout",name:"意见反馈",meta:{sort:7},children:[{path:"",name:"feedback",page:"feedback/index",meta:{title:"意见反馈",icon:"plus-icon-yijianfankui"}}]},{path:"/notice",page:"Layout",redirect:"/notice/index",name:"公告管理",meta:{title:"公告管理",icon:"plus-icon-gonggao",sort:8},children:[{path:"index",name:"notice_index",page:"notice/index",meta:{title:"公告列表",icon:"plus-icon-gonggao"}},{path:"add",name:"notice_add",page:"notice/add",meta:{title:"添加公告",icon:"plus-icon-gonggao"}}]},{path:"/adminer",page:"Layout",redirect:"/adminer/index",name:"后台管理",meta:{title:"后台管理",icon:"plus-icon-houtai8",sort:9},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"]]]);
|