chunk-69c59bd5.0e792785.js 10 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69c59bd5"],{"017f":function(e,t,n){},"053b":function(e,t,n){var l=n("1e2c"),o=n("d910").f,s=Function.prototype,a=s.toString,i=/^\s*function ([^ (]*)/,c="name";l&&!(c in s)&&o(s,c,{configurable:!0,get:function(){try{return a.call(this).match(i)[1]}catch(e){return""}}})},1078:function(e,t,n){e.exports=n.p+"img/head.6a78d902.png"},2954:function(e,t,n){"use strict";var l=n("58c7"),o=n.n(l);o.a},"40f5":function(e,t,n){"use strict";var l=n("017f"),o=n.n(l);o.a},"58c7":function(e,t,n){},"5c3d":function(e,t,n){},"8fc1":function(e,t,n){"use strict";var l=n("5c3d"),o=n.n(l);o.a},"9ed2":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABHNCSVQICAgIfAhkiAAABNFJREFUSEuNlltM03cUxz+/trSWtlBogVJablpUgly8zejMcIkPS7Y4X9ShmdvT3PYyX/a68eKTD2bJksUnzeZlS7a5uCUzmwGjURYnY3jBAbYFaouA9EYvQulv+VeRa4vn5f/wO+d8/+f7+55zfoJV7Fy/bFYJ9kloRVKNoDoTIvEi8AroTEt+OVwnenKlEtkOLwzIVglfoAC8mnUKaH/PJTpXcl8R6Hy/PIPg6Gr5p6LTSCQmk+6lq5ScOVwnPlwauwjoZ480x2foEILmXCDdt33UbSxlsH8Co0nHOpdlqXunXsP+/TUiNHewCOh8v+xB0JQNJBxKgoDu24+p31RGb7efHa9XLapoQWxnm0vsWQb0KnT5RsKMBqIkEykSyRnKywtoaCzLWvxCGjMVvbj4jtXuxOsJMvBwArdnku07nLRsthOLzWAw5GUNFbBHEUgG6PyAVJTyRjbv4GSCvgdjKEDKnUgJzS02NFMxEvEZHE2VrNGps4VnKBRKnwjBP7mqiUSeEU/MoNEIem8NU1+Zz5ZaI01rC/jxxhPS5aUYjNpcFLaIcwPyS/G8X1a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RU5ErkJggg=="},d504:function(e,t,n){"use strict";n.r(t);var l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"IndexContainer"},[n("el-container",[n("el-aside",{class:[{shortElaside:e.isCollapse},{lognElaside:!e.isCollapse}]},[n("Navside",{attrs:{isCollapse:e.isCollapse}})],1),n("el-container",[n("el-header",[n("Headside",{on:{lefthide:e.left_hide}})],1),n("el-main",[n("keep-alive",[n("router-view")],1)],1),n("el-footer",[n("p",{staticClass:"footer"},[e._v("济南佰意兴网络科技有限公司提供技术支持")])])],1)],1)],1)},o=[],s=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{attrs:{id:"headside"}},[l("nav",{staticClass:"navbar user-info-navbar",attrs:{role:"navigation"}},[l("i",{class:[{"el-icon-s-unfold left_hide_icon":e.left_panel_state},{"el-icon-s-fold left_show_icon":!e.left_panel_state}],on:{click:e.left_hide}}),l("span",{staticClass:"title"},[e._v("场馆管理系统")]),l("div",{on:{click:e.checkNews}},[e.newnumState?l("el-badge",{staticClass:"item",attrs:{value:e.newnum}},[l("el-button",{attrs:{size:"small"}},[l("i",{staticClass:"el-icon-message"})])],1):e._e()],1),l("ul",{staticClass:"user-info-menu right-links list-inline list-unstyled"},[l("li",{staticClass:"dropdown user-profile"},[l("img",{staticClass:"lteHead",attrs:{src:n("9ed2"),height:"26",width:"26"}}),l("span",{staticClass:"el-dropdown-link customer_serve"},[e._v(" "+e._s(e.user.name)+" ")]),l("span",{on:{click:e.logoutClick}},[e._v(" 退出 ")])])])])])},a=[],i=(n("053b"),n("f753"),n("b8a1")),c=n("1cfa"),r={data:function(){return{user:{name:"admin"},time:"8:30-17:30",tel:"0000-0079-000",qq:"0000079000",newnum:"",newnumState:!1,left_panel_state:!1}},mounted:function(){this.readNewNum(),this.getManagerSelfQuery()},methods:{left_hide:function(){var e=this;e.left_panel_state=!e.left_panel_state,this.$emit("lefthide")},getManagerSelfQuery:function(){var e=this,t={token:localStorage.token},n=c.stringify(t);Object(i["u"])(n).then((function(t){var n=t;if(0==n.Code)e.user.name=n.Rs.Name,localStorage.shopId=n.Rs.ShopId,localStorage.userLevel=n.Rs.Role.State;else{if(1010==n.Code)return e.$message.error(n.Memo),e.$router.push({path:"/login",query:{status:1}}),!1;e.$message.error(n.Memo)}}))},checkNews:function(){var e=this,t=this.$createElement;this.$notify({title:"标题名称",position:"top-left",message:t("i",{style:"color: teal"},"这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案这是提示文案"),onClose:function(){},onClick:function(){this.close();var t={name:"message",link:"/#/message"};e.$emit("navOpen",t)}})},readNewNum:function(){this.newnum=0,this.newnumState=!1},logoutClick:function(){var e=this,t=this;t.$confirm("此操作将退出当前账号, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var t=e,n={token:localStorage.token},l=c.stringify(n);Object(i["V"])(l).then((function(e){var n=e;0==n.Code?(t.$router.push({path:"/login",query:{status:1}}),t.$message({showClose:!0,message:"当前用户已退出登陆!",type:"success"})):t.$message.error(n.Memo)}))})).catch((function(){}))}},components:{}},m=r,u=(n("40f5"),n("9ca4")),d=Object(u["a"])(m,s,a,!1,null,"6a3c2599",null),p=d.exports,h=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"Navside"},[e._m(0),l("div",{staticClass:"userContainer"},[l("img",{attrs:{src:n("1078"),height:"51",width:"51"}}),l("span",[e._v(e._s(e.ShopName))]),l("em",[e._v(e._s(e.userLevelText))])]),l("el-row",{class:[{shortnav:e.isCollapse},{longNav:!e.isCollapse}]},[l("el-col",{attrs:{span:24}},[l("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":e.userLevelDeafult,"background-color":"#ffffff","text-color":"#777777","active-text-color":"#fff",router:""},on:{open:e.handleOpen,close:e.handleClose,select:e.handleSelect}},e._l(e.navs,(function(t){return t.show==e.userLevel?l("el-menu-item",{attrs:{index:t.clmid,route:t.clmurl}},[l("i",{class:t.icon}),l("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.clmname))])]):e._e()})),1)],1)],1)],1)},f=[function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"logoContainer"},[l("img",{attrs:{src:n("e36b"),height:"40",width:"180"}})])}],g=(n("2eeb"),[{clmid:"1",clmcode:"index",clmname:"系统首页",clmurl:"/",prname:"",show:3,grouplist:"2,5",icon:"el-icon-house"},{clmid:"2",clmcode:"member",clmname:"会员管理",clmurl:"/member",prname:"",show:3,grouplist:"2,5",icon:"el-icon-user"},{clmid:"3",clmcode:"lesson",clmname:"课程管理",clmurl:"/lesson",prname:"",show:3,grouplist:"2,5",icon:"el-icon-collection"},{clmid:"4",clmcode:"lessonTable",clmname:"课程表模板",clmurl:"/lessonTable",prname:"",show:3,grouplist:"2,5",icon:"el-icon-tickets"},{clmid:"5",clmcode:"lessonManage",clmname:"课程表管理",clmurl:"/lessonManage",prname:"",show:3,grouplist:"2,5",icon:"el-icon-date"},{clmid:"6",clmcode:"coach",clmname:"教练管理",clmurl:"/coach",prname:"",show:3,grouplist:"2,5",icon:"el-icon-medal-1"},{clmid:"7",clmcode:"appoint",clmname:"预约管理",clmurl:"/appoint",prname:"",show:3,grouplist:"2,5",icon:"el-icon-time"},{clmid:"8",clmcode:"record",clmname:"预约记录",clmurl:"/record",prname:"",show:3,grouplist:"2,5",icon:"el-icon-document-copy"},{clmid:"9",clmcode:"cost",clmname:"消费记录",clmurl:"/cost",prname:"",show:3,grouplist:"2,5",icon:"el-icon-bank-card"},{clmid:"10",clmcode:"finish",clmname:"下课管理",clmurl:"/finish",prname:"",show:3,grouplist:"2,5",icon:"el-icon-bell"},{clmid:"11",clmcode:"setting",clmname:"系统设置",clmurl:"/setting",prname:"",show:3,grouplist:"2,5",icon:"el-icon-setting"},{clmid:"12",clmcode:"adminManage",clmname:"管理员管理",clmurl:"/adminManage",prname:"",show:2,grouplist:"2,5",icon:"el-icon-user"},{clmid:"13",clmcode:"shop",clmname:"店面管理",clmurl:"/shopManage",prname:"",show:2,grouplist:"2,5",icon:"el-icon-s-shop"},{clmid:"14",clmcode:"log",clmname:"操作日志",clmurl:"/log",prname:"",show:2,grouplist:"2,5",icon:"el-icon-s-claim"},{clmid:"15",clmcode:"setting",clmname:"系统设置",clmurl:"/adminSetting",prname:"",show:2,grouplist:"2,5",icon:"el-icon-setting"}]),v=g,S=n("1cfa"),w={data:function(){return{wildState:0,navs:[],ShopName:"",userLevelText:"",userLevel:0,userLevelDeafult:""}},props:["isCollapse"],mounted:function(){this.userLevelDeafult=this.$route.meta.clmid,this.getTableQuery(),this.getManagerSelfQuery()},methods:{handleSelect:function(e,t,n){},getTableQuery:function(){this.navs=v},getManagerSelfQuery:function(){var e=this,t=this,n={token:localStorage.token},l=S.stringify(n);Object(i["u"])(l).then((function(n){var l=n;if(0==l.Code)t.userLevelText=l.Rs.Role.Name,t.userLevel=l.Rs.Role.Id,localStorage.shopId=l.Rs.ShopId,e.panelSelect(l.Rs.ShopId);else{if(1010==l.Code)return t.$message.error(l.Memo),t.$router.push({path:"/login",query:{status:1}}),!1;t.$message.error(l.Memo)}}))},panelSelect:function(e){var t=this,n={token:localStorage.token},l=S.stringify(n);Object(i["N"])(l).then((function(n){var l=n;0==l.Code?l.Rs.map((function(n){n.ShopID==e&&(t.ShopName=n.ShopName,console.log(n.ShopName))})):t.$message.error(l.Memo)}))},handleOpen:function(e,t){},handleClose:function(e,t){}},watch:{$route:function(e,t){this.userLevelDeafult=e.meta.clmid}}},C=w,b=(n("2954"),Object(u["a"])(C,h,f,!1,null,"575c9f12",null)),N=b.exports,k={name:"Home",data:function(){return{isCollapse:!1,aSideState:!1,thisClick:0,tabwildState:1,navs:v,handleTabsList:[{title:"系统首页",name:"1",clmurl:"/"}],editableTabsValue:"1"}},methods:{left_hide:function(){this.aSideState=!this.aSideState,this.isCollapse=!this.isCollapse}},components:{Headside:p,Navside:N}},x=k,y=(n("8fc1"),Object(u["a"])(x,l,o,!1,null,null,null));t["default"]=y.exports},e36b:function(e,t,n){e.exports=n.p+"img/logo.01ee9676.png"}}]);
  2. //# sourceMappingURL=chunk-69c59bd5.0e792785.js.map