1 line
3.7 KiB
JavaScript
1 line
3.7 KiB
JavaScript
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[862],{862: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-b547498a"),e=e(),(0,i.Cn)(),e),o={class:"message-body"},c={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,k){const p=(0,i.up)("x-page-header"),w=(0,i.up)("el-header"),g=(0,i.up)("x-menu-item"),h=(0,i.up)("el-icon-Setting"),b=(0,i.up)("el-icon"),y=(0,i.up)("el-sub-menu"),f=(0,i.up)("el-icon-Stamp"),_=(0,i.up)("el-icon-Flag"),C=(0,i.up)("el-menu"),v=(0,i.up)("el-main"),j=(0,i.up)("el-container"),W=(0,i.up)("table2"),x=(0,i.Q2)("loading");return(0,i.wg)(),(0,i.iD)("div",o,[(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",{class:"message-body-side",style:(0,t.j5)({width:r.width+"px"})},[(0,i.Wm)(j,null,{default:(0,i.w5)((()=>[r.title?((0,i.wg)(),(0,i.j4)(w,{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)(p,{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=>k.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)((()=>[r.items.system?((0,i.wg)(),(0,i.j4)(y,{key:0,index:"system"},{title:(0,i.w5)((()=>[(0,i.Wm)(b,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h)])),_: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=>k.sideClick(e)},null,8,["label","num","icon","icon-color","select","onClick"])))),128))])),_:1})):(0,i.kq)("",!0),r.items.default?((0,i.wg)(),(0,i.j4)(y,{key:1,index:"default"},{title:(0,i.w5)((()=>[(0,i.Wm)(b,null,{default:(0,i.w5)((()=>[(0,i.Wm)(f)])),_: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=>k.sideClick(e)},null,8,["label","num","icon","icon-color","select","onClick"])))),128))])),_:1})):(0,i.kq)("",!0),r.items.member?((0,i.wg)(),(0,i.j4)(y,{key:2,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=>k.sideClick(e)},null,8,["label","num","icon","icon-color","select","onClick"])))),128))])),_:1})):(0,i.kq)("",!0)])),_:1})])])),_:1})])),_:1})],4),(0,i._)("div",{class:"message-body-content",style:(0,t.j5)({"margin-left":r.width+"px"})},[(0,i.Wm)(W,{ref:"table",onChildLoaded:k.getChildData},null,8,["onChildLoaded"])],4)])),[[x,r.loading]])])}var k=n(1843),p=n(9598),w={name:"table_3",components:{table2:p["default"],xMenuItem:k.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 h=(0,g.Z)(w,[["render",r],["__scopeId","data-v-b547498a"]]);var b=h}}]); |