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