"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[8359],{57089:function(e,l,t){t.r(l),t.d(l,{default:function(){return d}});var a=t(66252);const i={class:"left-panel"},p={class:"left-panel"};function n(e,l,t,n,r,o){const s=(0,a.up)("el-button"),d=(0,a.up)("el-header"),u=(0,a.up)("el-table-column"),w=(0,a.up)("el-progress"),c=(0,a.up)("scTable"),m=(0,a.up)("el-main"),b=(0,a.up)("el-container"),W=(0,a.up)("el-aside"),f=(0,a.up)("sc-status-indicator");return(0,a.wg)(),(0,a.j4)(b,null,{default:(0,a.w5)((()=>[(0,a.Wm)(W,{width:"40%"},{default:(0,a.w5)((()=>[(0,a.Wm)(b,null,{default:(0,a.w5)((()=>[(0,a.Wm)(d,null,{default:(0,a.w5)((()=>[(0,a._)("div",i,[(0,a.Wm)(s,{type:"primary",icon:"el-icon-plus"}),(0,a.Wm)(s,{type:"danger",plain:"",icon:"el-icon-delete"})])])),_:1}),(0,a.Wm)(m,{class:"nopadding"},{default:(0,a.w5)((()=>[(0,a.Wm)(c,{ref:"table",apiObj:r.list.apiObj,"row-key":"id",stripe:"",highlightCurrentRow:"",onRowClick:o.rowClick},{default:(0,a.w5)((()=>[(0,a.Wm)(u,{type:"selection",width:"50"}),(0,a.Wm)(u,{label:"ID",prop:"id",width:"200"}),(0,a.Wm)(u,{label:"评分",prop:"num",width:"80"}),(0,a.Wm)(u,{label:"进度",prop:"progress",width:"250",sortable:""},{default:(0,a.w5)((e=>[(0,a.Wm)(w,{percentage:e.row.progress},null,8,["percentage"])])),_:1}),(0,a.Wm)(u,{label:"创建日期",prop:"datetime",width:"150",sortable:""})])),_:1},8,["apiObj","onRowClick"])])),_:1})])),_:1})])),_:1}),(0,a.Wm)(b,null,{default:(0,a.w5)((()=>[(0,a.Wm)(d,null,{default:(0,a.w5)((()=>[(0,a._)("div",p,[(0,a.Wm)(s,{type:"primary",icon:"el-icon-plus"}),(0,a.Wm)(s,{type:"danger",plain:"",icon:"el-icon-delete"})])])),_:1}),(0,a.Wm)(m,{class:"nopadding"},{default:(0,a.w5)((()=>[(0,a.Wm)(c,{ref:"sontable",apiObj:r.list.apiObj,"row-key":"id",stripe:""},{default:(0,a.w5)((()=>[(0,a.Wm)(u,{type:"selection",width:"50"}),(0,a.Wm)(u,{label:"姓名",prop:"name",width:"180"}),(0,a.Wm)(u,{label:"状态",prop:"type",width:"60"},{default:(0,a.w5)((e=>[0==e.row.type?((0,a.wg)(),(0,a.j4)(f,{key:0,type:"success"})):(0,a.kq)("",!0),1==e.row.type?((0,a.wg)(),(0,a.j4)(f,{key:1,pulse:"",type:"danger"})):(0,a.kq)("",!0)])),_:1}),(0,a.Wm)(u,{label:"邮箱",prop:"email",width:"250"}),(0,a.Wm)(u,{label:"评分",prop:"num",width:"150"}),(0,a.Wm)(u,{label:"注册时间",prop:"datetime",width:"150",sortable:""})])),_:1},8,["apiObj"])])),_:1})])),_:1})])),_:1})}var r={name:"listSon",data(){return{list:{apiObj:this.$API.demo.list}}},methods:{rowClick(e){var l={groupId:e.id};this.$refs.sontable.reload(l)}}},o=t(83744);const s=(0,o.Z)(r,[["render",n]]);var d=s}}]);