x-php-Admin/dist/static/js/970.57d560ed.js
2024-01-10 14:23:24 +08:00

1 line
3.5 KiB
JavaScript

"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[970],{2970:function(e,l,n){n.r(l),n.d(l,{default:function(){return b}});var i=n(6808),t=n(9511);const a=e=>((0,i.dD)("data-v-acc1c5dc"),e=e(),(0,i.Cn)(),e),c={class:"message-body"},o={class:"message-content"},s={class:"message-body-item"},u=a((()=>(0,i._)("span",null,"系统管理组",-1))),d=a((()=>(0,i._)("span",null,"自定义用户组",-1))),m=a((()=>(0,i._)("span",null,"用户等级组",-1)));function r(e,l,n,a,r,p){const h=(0,i.up)("x-page-header"),w=(0,i.up)("el-header"),g=(0,i.up)("x-menu-item"),k=(0,i.up)("el-icon-Setting"),b=(0,i.up)("el-icon"),f=(0,i.up)("el-sub-menu"),y=(0,i.up)("el-icon-Stamp"),_=(0,i.up)("el-icon-Flag"),C=(0,i.up)("el-menu"),v=(0,i.up)("el-main"),W=(0,i.up)("el-container"),x=(0,i.up)("table2"),D=(0,i.Q2)("loading");return(0,i.wg)(),(0,i.iD)("div",c,[(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",{class:"message-body-side",style:(0,t.j5)({width:r.width+"px"})},[(0,i.Wm)(W,null,{default:(0,i.w5)((()=>[r.title?((0,i.wg)(),(0,i.j4)(w,{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)(h,{title:r.title,icon:r.icon},null,8,["title","icon"])])),_:1})):(0,i.kq)("",!0),(0,i.Wm)(v,{style:{padding:"0"}},{default:(0,i.w5)((()=>[(0,i._)("div",s,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.items.all,((e,l)=>((0,i.wg)(),(0,i.j4)(g,{key:l,label:e.label,num:e.num,icon:e.icon,"icon-color":e.color,select:r.search[r.key]==e.value,onClick:l=>p.sideClick(e)},null,8,["label","num","icon","icon-color","select","onClick"])))),128)),(0,i.Wm)(C,{"unique-opened":!0,defaultOpeneds:["system"]},{default:(0,i.w5)((()=>[(0,i.Wm)(f,{index:"system"},{title:(0,i.w5)((()=>[(0,i.Wm)(b,null,{default:(0,i.w5)((()=>[(0,i.Wm)(k)])),_:1}),u])),default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.items.system,((e,l)=>((0,i.wg)(),(0,i.j4)(g,{key:l,label:e.label,num:e.num,icon:e.icon,"icon-color":e.color,select:r.search[r.key]==e.value,onClick:l=>p.sideClick(e)},null,8,["label","num","icon","icon-color","select","onClick"])))),128))])),_:1}),(0,i.Wm)(f,{index:"default"},{title:(0,i.w5)((()=>[(0,i.Wm)(b,null,{default:(0,i.w5)((()=>[(0,i.Wm)(y)])),_:1}),d])),default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.items.default,((e,l)=>((0,i.wg)(),(0,i.j4)(g,{key:l,label:e.label,num:e.num,icon:e.icon,"icon-color":e.color,select:r.search[r.key]==e.value,onClick:l=>p.sideClick(e)},null,8,["label","num","icon","icon-color","select","onClick"])))),128))])),_:1}),(0,i.Wm)(f,{index:"member"},{title:(0,i.w5)((()=>[(0,i.Wm)(b,null,{default:(0,i.w5)((()=>[(0,i.Wm)(_)])),_:1}),m])),default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.items.member,((e,l)=>((0,i.wg)(),(0,i.j4)(g,{key:l,label:e.label,num:e.num,icon:e.icon,"icon-color":e.color,select:r.search[r.key]==e.value,onClick:l=>p.sideClick(e)},null,8,["label","num","icon","icon-color","select","onClick"])))),128))])),_:1})])),_:1})])])),_:1})])),_:1})],4),(0,i._)("div",{class:"message-body-content",style:(0,t.j5)({"margin-left":r.width+"px"})},[(0,i.Wm)(x,{ref:"table",onChildLoaded:p.getChildData},null,8,["onChildLoaded"])],4)])),[[D,r.loading]])])}var p=n(1843),h=n(223),w={name:"table_3",components:{table2:h["default"],xMenuItem:p.Z},props:{name:{type:String,default:""}},data(){return{loading:!0,icon:"",width:180,title:"",items:[],key:"",search:{}}},methods:{sideClick(e){this.info=e,this.search[this.key||"type"]=e.value,this.$refs.table.filterChange(this.search)},getChildData(e){Object.assign(this.$data,e),this.loading=!1}}},g=n(8700);const k=(0,g.Z)(w,[["render",r],["__scopeId","data-v-acc1c5dc"]]);var b=k}}]);