x-php-Admin/dist/static/js/674.2e76c491.js

1 line
4.9 KiB
JavaScript
Raw Normal View History

2024-01-10 06:23:24 +00:00
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[674],{1674:function(e,t,a){a.r(t),a.d(t,{default:function(){return h}});var l=a(6808),n=a(9511);const i=e=>((0,l.dD)("data-v-3f75ce4f"),e=e(),(0,l.Cn)(),e),u=i((()=>(0,l._)("span",null,"系统管理组",-1))),s={key:0,class:"menu-tag"},d=i((()=>(0,l._)("span",null,"自定义用户组",-1))),o={key:0,class:"menu-tag"},p=i((()=>(0,l._)("span",null,"用户等级组",-1))),r={key:0,class:"menu-tag"};function c(e,t,a,i,c,m){const f=(0,l.up)("x-page-header"),w=(0,l.up)("el-header"),g=(0,l.up)("el-icon-Setting"),y=(0,l.up)("el-icon"),h=(0,l.up)("el-alert"),k=(0,l.up)("el-menu-item"),v=(0,l.up)("el-sub-menu"),_=(0,l.up)("el-icon-Stamp"),x=(0,l.up)("el-icon-Flag"),C=(0,l.up)("el-menu"),W=(0,l.up)("el-main"),b=(0,l.up)("el-button"),D=(0,l.up)("el-footer"),T=(0,l.up)("el-container"),j=(0,l.up)("el-aside"),L=(0,l.up)("save"),q=(0,l.Q2)("loading");return(0,l.wg)(),(0,l.j4)(T,{style:{padding:"10px 10px 5px 10px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(T,{style:{border:"1px solid var(--el-border-color-light)","border-radius":"4px","background-color":"var(--el-fill-color-blank)"}},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(j,{width:"200px"},{default:(0,l.w5)((()=>[(0,l.Wm)(T,null,{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(f,{title:"用户组",icon:"el-icon-Calendar"})])),_:1}),(0,l.Wm)(W,{class:"nopadding"},{default:(0,l.w5)((()=>[(0,l.Wm)(C,{"default-active":c.activeType,onOpen:m.handleOpen,onClose:m.handleClose,"unique-opened":!0,defaultOpeneds:["system"]},{default:(0,l.w5)((()=>[(0,l.Wm)(v,{index:"system"},{title:(0,l.w5)((()=>[(0,l.Wm)(y,null,{default:(0,l.w5)((()=>[(0,l.Wm)(g)])),_:1}),u])),default:(0,l.w5)((()=>[c.groupList.system?(0,l.kq)("",!0):((0,l.wg)(),(0,l.j4)(h,{key:0,title:"暂无系统管理组数据",center:"",type:"info",closable:!1})),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(c.groupList.system,((e,t)=>((0,l.wg)(),(0,l.j4)(k,{key:t,index:e.id,onClick:t=>m.menuClick(e)},{default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(e.title)+" ",1),e.count?((0,l.wg)(),(0,l.iD)("span",s,(0,n.zw)(e.count),1)):(0,l.kq)("",!0)])),_:2},1032,["index","onClick"])))),128))])),_:1}),(0,l.Wm)(v,{index:"default"},{title:(0,l.w5)((()=>[(0,l.Wm)(y,null,{default:(0,l.w5)((()=>[(0,l.Wm)(_)])),_:1}),d])),default:(0,l.w5)((()=>[c.groupList.default?(0,l.kq)("",!0):((0,l.wg)(),(0,l.j4)(h,{key:0,title:"暂无自定义用户组数据",center:"",type:"info",closable:!1})),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(c.groupList.default,((e,t)=>((0,l.wg)(),(0,l.j4)(k,{key:t,index:e.id,onClick:t=>m.menuClick(e)},{default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(e.title)+" ",1),e.count?((0,l.wg)(),(0,l.iD)("span",o,(0,n.zw)(e.count),1)):(0,l.kq)("",!0)])),_:2},1032,["index","onClick"])))),128))])),_:1}),(0,l.Wm)(v,{index:"member"},{title:(0,l.w5)((()=>[(0,l.Wm)(y,null,{default:(0,l.w5)((()=>[(0,l.Wm)(x)])),_:1}),p])),default:(0,l.w5)((()=>[c.groupList.member?(0,l.kq)("",!0):((0,l.wg)(),(0,l.j4)(h,{key:0,title:"暂无用户等级组数据",center:"",type:"info",closable:!1})),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(c.groupList.member,((e,t)=>((0,l.wg)(),(0,l.j4)(k,{key:t,index:e.id,onClick:t=>m.menuClick(e)},{default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(e.title)+" ",1),e.count?((0,l.wg)(),(0,l.iD)("span",r,(0,n.zw)(e.count),1)):(0,l.kq)("",!0)])),_:2},1032,["index","onClick"])))),128))])),_:1})])),_:1},8,["default-active","onOpen","onClose"])])),_:1}),c.activeType?((0,l.wg)(),(0,l.j4)(D,{key:0},{default:(0,l.w5)((()=>[(0,l.Wm)(b,{onClick:t[0]||(t[0]=e=>m.add()),icon:"el-icon-plus",size:"small",type:c.addType[c.activeType]},{default:(0,l.w5)((()=>[(0,l.Uk)("添加用户组")])),_:1},8,["type"])])),_:1})):(0,l.kq)("",!0)])),_:1})])),_:1})),[[q,c.menuloading]]),(0,l.Wm)(T,null,{default:(0,l.w5)((()=>[(0,l.Wm)(W,{class:"nopadding",ref:"main",style:{padding:"20px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(L,{info:{},onRefreshData:m.refreshData,activeType:c.activeType,ref:"save"},null,8,["onRefreshData","activeType"])])),_:1},512)])),_:1})])),_:1})])),_:1})}var m=a(2