"use strict";(self["webpackChunkmi_wifi_agent"]=self["webpackChunkmi_wifi_agent"]||[]).push([[869],{1493:function(e,n,t){t.r(n),t.d(n,{default:function(){return r}});var l=t(641),i=t(2644);const o={class:"user-info-top"};function a(e,n,t,a,u,c){const s=(0,l.g2)("el-avatar"),r=(0,l.g2)("el-tag"),p=(0,l.g2)("el-header"),d=(0,l.g2)("el-icon"),g=(0,l.g2)("el-menu-item"),k=(0,l.g2)("el-menu-item-group"),m=(0,l.g2)("el-menu"),f=(0,l.g2)("el-main"),b=(0,l.g2)("el-container"),h=(0,l.g2)("el-aside"),_=(0,l.g2)("el-skeleton");return(0,l.uX)(),(0,l.Wv)(b,{class:"page-user"},{default:(0,l.k6)((()=>[(0,l.bF)(h,{style:{width:"240px"}},{default:(0,l.k6)((()=>[(0,l.bF)(b,null,{default:(0,l.k6)((()=>[(0,l.bF)(p,{style:{height:"auto",display:"block"}},{default:(0,l.k6)((()=>[(0,l.Lk)("div",o,[(0,l.bF)(s,{size:70,src:"img/avatar.jpg"}),(0,l.Lk)("h2",null,(0,i.v_)(u.user.userName),1),(0,l.Lk)("p",null,[(0,l.bF)(r,{effect:"dark",round:"",size:"large","disable-transitions":""},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(u.user.role),1)])),_:1})])])])),_:1}),(0,l.bF)(f,{class:"nopadding"},{default:(0,l.k6)((()=>[(0,l.bF)(m,{class:"menu","default-active":u.page},{default:(0,l.k6)((()=>[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(u.menu,(e=>((0,l.uX)(),(0,l.Wv)(k,{key:e.groupName,title:e.groupName},{default:(0,l.k6)((()=>[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e.list,(e=>((0,l.uX)(),(0,l.Wv)(g,{key:e.component,index:e.component,onClick:c.openPage},{title:(0,l.k6)((()=>[(0,l.Lk)("span",null,(0,i.v_)(e.title),1)])),default:(0,l.k6)((()=>[e.icon?((0,l.uX)(),(0,l.Wv)(d,{key:0},{default:(0,l.k6)((()=>[((0,l.uX)(),(0,l.Wv)((0,l.$y)(e.icon)))])),_:2},1024)):(0,l.Q3)("",!0)])),_:2},1032,["index","onClick"])))),128))])),_:2},1032,["title"])))),128))])),_:1},8,["default-active"])])),_:1})])),_:1})])),_:1}),(0,l.bF)(f,null,{default:(0,l.k6)((()=>[((0,l.uX)(),(0,l.Wv)(l.tY,null,{default:(0,l.k6)((()=>[((0,l.uX)(),(0,l.Wv)((0,l.$y)(u.page)))])),fallback:(0,l.k6)((()=>[(0,l.bF)(_,{rows:3})])),_:1}))])),_:1})])),_:1})}var u={name:"userCenter",components:{account:(0,l.$V)((()=>t.e(7841).then(t.bind(t,6902)))),seting:(0,l.$V)((()=>t.e(7636).then(t.bind(t,1098)))),pushSettings:(0,l.$V)((()=>t.e(9383).then(t.bind(t,5083)))),password:(0,l.$V)((()=>Promise.all([t.e(8749),t.e(4655)]).then(t.bind(t,7378)))),space:(0,l.$V)((()=>Promise.all([t.e(8749),t.e(4078)]).then(t.bind(t,2825)))),logs:(0,l.$V)((()=>t.e(2701).then(t.bind(t,8368)))),upToEnterprise:(0,l.$V)((()=>t.e(237).then(t.bind(t,6662))))},data(){return{menu:[{groupName:"基本设置",list:[{icon:"el-icon-postcard",title:"账号信息",component:"account"},{icon:"el-icon-operation",title:"个人设置",component:"seting"},{icon:"el-icon-lock",title:"密码",component:"password"},{icon:"el-icon-bell",title:"通知设置",component:"pushSettings"}]},{groupName:"数据管理",list:[{icon:"el-icon-coin",title:"存储空间信息",component:"space"},{icon:"el-icon-clock",title:"操作日志",component:"logs"}]},{groupName:"账号升级",list:[{icon:"el-icon-office-building",title:"升级为企业账号",component:"upToEnterprise"}]}],user:{userName:"Sakuya",role:"超级管理员"},page:"account"}},beforeRouteEnter(e,n,t){t((e=>{n.is&&(delete n.is,e.$alert("路由跳转过来后含有特殊标识，做特殊处理","提示",{type:"success",center:!0}).then((()=>{})).catch((()=>{})))}))},methods:{openPage(e){this.page=e.index}}},c=t(6262);const s=(0,c.A)(u,[["render",a]]);var r=s}}]);