chunk-69e37fdc.undefined.1650785887157.js 10 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69e37fdc"],{"05f6":function(e,t,n){"use strict";n("b631")},1042:function(e,t,n){"use strict";n("2da1")},"2da1":function(e,t,n){},"379d":function(e,t,n){companyInfo={url:"http://det.shandongewall.com/",main:"alloutlong",year:(new Date).getFullYear()},headapi="../"},"582d":function(e,t,n){e.exports=n.p+"img/logo_goallout.01ee9676.png"},"62a6":function(e,t,n){},"8fc1":function(e,t,n){"use strict";n("62a6")},b631:function(e,t,n){},b8a1:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"i",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return u})),n.d(t,"h",(function(){return c})),n.d(t,"j",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"o",(function(){return h})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return v})),n.d(t,"k",(function(){return m})),n.d(t,"m",(function(){return S})),n.d(t,"p",(function(){return g})),n.d(t,"r",(function(){return _})),n.d(t,"q",(function(){return C})),n.d(t,"b",(function(){return b})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return y}));var a=n("f753"),l=n.n(a);n("379d");function s(e,t){return l.a.post(e,t).then((function(e){var t=e.data;return t}),(function(e){console.info(e)}))}function i(e){var t=headapi+"v1/Auth/GenVerifyPic";return s(t,e)}function r(e){var t=headapi+"v1/Auth/SignOut";return s(t,e)}function o(e){var t=headapi+"v1/Class/ClassListQuery";return s(t,e)}function u(e){var t=headapi+"v1/SchoolTimeTable/AllShopClassDetailQuery";return s(t,e)}function c(e){var t=headapi+"v1/Shop/ShopSimpleQuery";return s(t,e)}function d(e){var t=headapi+"v1/Teacher/TeacherSimpleQuery";return s(t,e)}function f(e){var t=headapi+"v1/User/ManagerSelfQuery";return s(t,e)}function h(e){var t=headapi+"v1/User/VipUserHourEdit";return s(t,e)}function p(e){var t=headapi+"v1/User/VipUserClassEdit";return s(t,e)}function v(e){var t=headapi+"v1/User/VipUserExpEdit";return s(t,e)}function m(e){var t=headapi+"v1/User/VipUserAdd ";return s(t,e)}function S(e){var t=headapi+"v1/User/VipUserEdit ";return s(t,e)}function g(e){var t=headapi+"v1/User/VipUserListQuery";return s(t,e)}function _(e){var t=headapi+"v1/User/VipUserStatusEdit ";return s(t,e)}function C(e){var t=headapi+"v1/User/VipUserQueryByPhone ";return s(t,e)}function b(e){var t=headapi+"v1/SchoolTimeTable/ClassAppointTeacher ";return s(t,e)}function w(e){var t=headapi+"v1/FitnessTest/OrderFitnessTestJoinVipUser";return s(t,e)}function y(e){var t=headapi+"v1/FitnessTest/OrderFitnessTestStatusEdit";return s(t,e)}},d504:function(e,t,n){"use strict";n.r(t);var a=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},on:{lefthide:e.left_hide}})],1),n("el-container",[n("el-header",[n("Headside",{on:{lefthide:e.left_hide}})],1),n("el-main",{style:{height:e.clientHeight+"px"}},[n("keep-alive",[n("router-view")],1)],1)],1)],1)],1)},l=[],s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"headside"}},[n("nav",{staticClass:"navbar user-info-navbar",attrs:{role:"navigation"}},[n("span",{staticClass:"title"},[e._v(" 视频管理平台 "),n("em",[e._v(e._s(e.current))])]),n("div",{on:{click:e.checkNews}},[e.newnumState?n("el-badge",{staticClass:"item",attrs:{value:e.newnum}},[n("el-button",{attrs:{size:"small"}},[n("i",{staticClass:"el-icon-message"})])],1):e._e()],1),n("ul",{staticClass:"user-info-menu pull-right list-unstyled"},[n("span",{staticClass:"customer_serve logoutBtn",on:{click:e.logoutClick}},[n("i",{staticClass:"el-icon-switch-button"}),e._v(" 退出")]),n("span",{staticClass:"el-dropdown-link customer_serve"},[e._v(e._s(e.user.name))]),n("span",{staticClass:"el-dropdown-link customer_serve shopinfo"},[n("span",[e._v(e._s(e.ShopName))]),n("span",[e._v(e._s(e.userLevelText))])])])])])},i=[],r=(n("10dd"),n("f753"),n("379d"),n("cad8")),o=n("b8a1"),u=n("daf0"),c={data:function(){return{isCollapse:document.body.clientWidth<1367,user:{name:"admin"},time:"8:30-17:30",tel:"0000-0079-000",qq:"0000079000",newnum:"",newnumState:!1,left_panel_state:!0,screen_full:!1,ShopName:"",userLevelText:"",current:r["a"].globalCurrentWeek()}},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=this,n={token:localStorage.token},a=u.stringify(n);Object(o["e"])(a).then((function(n){var a=n;if(0==a.Code){switch(t.user.name=a.Rs.Name,localStorage.ShopId=a.Rs.ShopId,localStorage.userLevel=a.Rs.Role.Id,localStorage.ServiceId=a.Rs.Shop.ServiceId,localStorage.ServiceKey=a.Rs.Shop.ServiceKey,t.userLevelText=a.Rs.Role.Name,parseInt(a.Rs.Role.Id)){case 1:t.userLevel=1;break;case 2:t.userLevel=2;break;case 3:t.userLevel=3;break;case 4:t.userLevel=4;break}localStorage.ShopId=a.Rs.ShopId,e.panelSelect(a.Rs.ShopId)}}))},panelSelect:function(e){var t=this;t.ShopName=localStorage.ShopName},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;t.$router.push({path:"/login",query:{status:1}});var n={token:localStorage.token},a=u.stringify(n);Object(o["i"])(a).then((function(e){var n=e;0==n.Code?(localStorage.clear(),t.$message({showClose:!0,message:"当前用户已退出登陆!",type:"success"})):t.$message.error(n.Memo+" 错误码:"+n.Code)}))})).catch((function(){}))},full_screen:function(){var e=this;this.screen_full=!0;var t=document.getElementById("app");this.full_state=!0,t.webkitRequestFullScreen?(t.webkitRequestFullScreen(),e.full_rule()):t.mozRequestFullScreen?(t.mozRequestFullScreen(),e.full_rule()):t.requestFullScreen?(t.requestFullscreen(),e.full_rule()):(this.screen_full=!1,e.$message.error("浏览器不支持全屏API或已被禁用",null,null,null,!0,!0))},cancle_screen:function(){var e=this;this.screen_full=!1,this.full_state=!1;var t=document;t.webkitCancelFullScreen?(t.webkitCancelFullScreen(),e.cancle_full_rule()):t.mozCancelFullScreen?(t.mozCancelFullScreen(),e.cancle_full_rule()):t.cancelFullScreen?(t.cancelFullScreen(),e.cancle_full_rule()):t.exitFullscreen?(t.exitFullscreen(),e.cancle_full_rule()):(this.screen_full=!0,e.$message.error("浏览器不支持全屏API或已被禁用",null,null,null,!0,!0))}},components:{}},d=c,f=(n("1042"),n("cba8")),h=Object(f["a"])(d,s,i,!1,null,"2f833dea",null),p=h.exports,v=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.navSideClass},[a("div",{staticClass:"logoContainer"},[a("img",{attrs:{src:n("582d"),height:"40",width:"180"}}),a("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}})]),a("div",{staticClass:"userContainer"}),a("el-row",{class:[{shortnav:e.isCollapse},{longNav:!e.isCollapse}]},[a("el-col",{attrs:{span:24}},[a("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":e.userLevelDeafult,collapse:e.isCollapse,"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,n){return t.show==e.userLevel?a("el-menu-item",{attrs:{index:n.toString(),route:t.clmurl,"popper-append-to-body":"false"}},[a("i",{class:t.icon}),a("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.clmname))])]):e._e()})),1)],1)],1)],1)},m=[],S=[{clmcode:"videoManage",clmname:"视频管理",clmurl:"/videoManage",prname:"",show:1,grouplist:"2,5",icon:"el-icon-loading"},{clmcode:"videoClassify",clmname:"视频分类",clmurl:"/videoClassify",prname:"",show:1,grouplist:"2,5",icon:"el-icon-loading"},{clmcode:"videoLabel",clmname:"视频标签",clmurl:"/videoLabel",prname:"",show:1,grouplist:"2,5",icon:"el-icon-loading"}],g=S,_=n("daf0"),C={data:function(){return{isCollapse:document.body.clientWidth<1366,left_panel_state:!0,wildState:0,navs:[],ShopName:"",userLevelText:"",navSideClass:"Navside",userLevel:1,userLevelDeafult:""}},mounted:function(){this.userLevelDeafult=this.$route.meta.clmid,this.getTableQuery(),this.getManagerSelfQuery(),document.body.clientWidth<1024?this.navSideClass="NavsideShort":this.navSideClass="Navside"},watch:{$route:function(e,t){}},methods:{left_hide:function(){var e=this;e.left_panel_state=!e.left_panel_state,e.isCollapse=!e.isCollapse,this.$emit("lefthide")},handleSelect:function(e,t,n){},getTableQuery:function(){this.navs=g},getManagerSelfQuery:function(){var e=this,t=this,n={token:localStorage.token},a=_.stringify(n);Object(o["e"])(a).then((function(n){var a=n;if(0==a.Code){switch(t.userLevelText=a.Rs.Role.Name,parseInt(a.Rs.Role.Id)){case 1:t.userLevel=1;break;case 2:t.userLevel=2;break;case 3:t.userLevel=3;break;case 4:t.userLevel=4;break}localStorage.ShopId=a.Rs.ShopId,e.panelSelect(a.Rs.ShopId)}else{if(1010==a.Code)return!1;t.$message.error(a.Memo+" 错误码:"+a.Code)}}))},panelSelect:function(e){var t=this;t.ShopName=localStorage.ShopName},handleOpen:function(e,t){},handleClose:function(e,t){}}},b=C,w=(n("05f6"),Object(f["a"])(b,v,m,!1,null,"eab505ca",null)),y=w.exports,k={name:"Home",data:function(){return{isCollapse:document.body.clientWidth<1367,clientHeight:document.documentElement.clientHeight-50,aSideState:!1,thisClick:0,tabWildState:1,navs:g,handleTabsList:[{title:"系统首页",name:"1",clmurl:"/"}],editableTabsValue:"1"}},mounted:function(){document.body.clientWidth<768&&this.$message.warning("请横屏使用本系统")},methods:{left_hide:function(){this.aSideState=!this.aSideState,this.isCollapse=!this.isCollapse}},components:{Headside:p,Navside:y}},L=k,N=(n("8fc1"),Object(f["a"])(L,a,l,!1,null,null,null));t["default"]=N.exports}}]);