"use strict";(self["webpackChunkmi_wifi_agent"]=self["webpackChunkmi_wifi_agent"]||[]).push([[6904],{4447:function(e,l,t){t.r(l),t.d(l,{default:function(){return u}});var a=t(641);const n={class:"left-panel"},i={class:"right-panel"};function r(e,l,t,r,o,s){const p=(0,a.g2)("el-button"),u=(0,a.g2)("el-alert"),b=(0,a.g2)("el-header"),c=(0,a.g2)("el-table-column"),d=(0,a.g2)("el-progress"),g=(0,a.g2)("scTable"),m=(0,a.g2)("el-main"),f=(0,a.g2)("el-container");return(0,a.uX)(),(0,a.Wv)(f,null,{default:(0,a.k6)((()=>[(0,a.bF)(b,null,{default:(0,a.k6)((()=>[(0,a.Lk)("div",n,[(0,a.bF)(p,{type:"primary",icon:"el-icon-plus"}),(0,a.bF)(p,{type:"danger",plain:"",icon:"el-icon-delete"})]),(0,a.Lk)("div",i,[(0,a.bF)(u,{title:"请在右下角第二个按钮体验自定义列",type:"warning",closable:!1})])])),_:1}),(0,a.bF)(m,{class:"nopadding"},{default:(0,a.k6)((()=>[(0,a.bF)(g,{ref:"table",tableName:"listCustomColumn",apiObj:o.list.apiObj,column:o.list.column,"row-key":"id",stripe:""},{progress:(0,a.k6)((e=>[(0,a.bF)(d,{percentage:e.row.progress},null,8,["percentage"])])),default:(0,a.k6)((()=>[(0,a.bF)(c,{type:"selection",width:"50"})])),_:1},8,["apiObj","column"])])),_:1})])),_:1})}var o={name:"tableCustomColumn",data(){return{list:{apiObj:this.$API.demo.list,column:[{label:"姓名",prop:"name",width:"150"},{label:"性别",prop:"sex",width:"150",filters:[{text:"男",value:"男"},{text:"女",value:"女"}]},{label:"邮箱",prop:"email",width:"250",hide:!0},{label:"评分",prop:"num",width:"150",sortable:!0},{label:"进度",prop:"progress",width:"250",sortable:!0},{label:"注册时间",prop:"datetime",width:"150",sortable:!0}]}}}},s=t(6262);const p=(0,s.A)(o,[["render",r]]);var u=p}}]);