1 line
1.8 KiB
JavaScript
1 line
1.8 KiB
JavaScript
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[39],{6039:function(e,t,i){i.r(t),i.d(t,{default:function(){return p}});var l=i(6808),a=i(9511);const n={class:"message-body"},s={class:"message-content"},d={class:"message-body-item"};function o(e,t,i,o,c,u){const r=(0,l.up)("x-page-header"),h=(0,l.up)("el-header"),m=(0,l.up)("x-menu-item"),p=(0,l.up)("el-main"),g=(0,l.up)("el-container"),f=(0,l.up)("table2"),b=(0,l.Q2)("loading");return(0,l.wg)(),(0,l.iD)("div",n,[(0,l.wy)(((0,l.wg)(),(0,l.iD)("div",s,[(0,l._)("div",{class:"message-body-side",style:(0,a.j5)({width:c.width+"px"})},[(0,l.Wm)(g,null,{default:(0,l.w5)((()=>[c.title?((0,l.wg)(),(0,l.j4)(h,{key:0},{default:(0,l.w5)((()=>[(0,l.Wm)(r,{title:c.title,icon:c.icon},null,8,["title","icon"])])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(p,{style:{padding:"0"}},{default:(0,l.w5)((()=>[(0,l._)("div",d,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(c.items,((e,t)=>((0,l.wg)(),(0,l.j4)(m,{key:t,label:e.label,num:e.num,icon:e.icon,"icon-color":e.color,select:c.search[c.key]==e.value,onClick:t=>u.sideClick(e)},null,8,["label","num","icon","icon-color","select","onClick"])))),128))])])),_:1})])),_:1})],4),(0,l._)("div",{class:"message-body-content",style:(0,a.j5)({"margin-left":c.width+"px"})},[(0,l.Wm)(f,{ref:"table",onChildLoaded:u.getChildData},null,8,["onChildLoaded"])],4)])),[[b,c.loading]])])}var c=i(1843),u=i(9598),r={components:{table2:u["default"],xMenuItem:c.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}}},h=i(8700);const m=(0,h.Z)(r,[["render",o],["__scopeId","data-v-5207fb39"]]);var p=m}}]); |