"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[8293],{5445:function(e,l,t){t.r(l),t.d(l,{default:function(){return b}});var a=t(641);const i={class:"left-panel"},n={class:"left-panel"};function r(e,l,t,r,p,o){const s=(0,a.g2)("el-button"),b=(0,a.g2)("el-header"),d=(0,a.g2)("el-table-column"),u=(0,a.g2)("el-progress"),c=(0,a.g2)("scTable"),k=(0,a.g2)("el-main"),F=(0,a.g2)("el-container"),w=(0,a.g2)("el-aside"),f=(0,a.g2)("sc-status-indicator");return(0,a.uX)(),(0,a.Wv)(F,null,{default:(0,a.k6)((()=>[(0,a.bF)(w,{width:"40%"},{default:(0,a.k6)((()=>[(0,a.bF)(F,null,{default:(0,a.k6)((()=>[(0,a.bF)(b,null,{default:(0,a.k6)((()=>[(0,a.Lk)("div",i,[(0,a.bF)(s,{type:"primary",icon:"el-icon-plus"}),(0,a.bF)(s,{type:"danger",plain:"",icon:"el-icon-delete"})])])),_:1}),(0,a.bF)(k,{class:"nopadding"},{default:(0,a.k6)((()=>[(0,a.bF)(c,{ref:"table",apiObj:p.list.apiObj,"row-key":"id",stripe:"",highlightCurrentRow:"",onRowClick:o.rowClick},{default:(0,a.k6)((()=>[(0,a.bF)(d,{type:"selection",width:"50"}),(0,a.bF)(d,{label:"ID",prop:"id",width:"200"}),(0,a.bF)(d,{label:"评分",prop:"num",width:"80"}),(0,a.bF)(d,{label:"进度",prop:"progress",width:"250",sortable:""},{default:(0,a.k6)((e=>[(0,a.bF)(u,{percentage:e.row.progress},null,8,["percentage"])])),_:1}),(0,a.bF)(d,{label:"创建日期",prop:"datetime",width:"150",sortable:""})])),_:1},8,["apiObj","onRowClick"])])),_:1})])),_:1})])),_:1}),(0,a.bF)(F,null,{default:(0,a.k6)((()=>[(0,a.bF)(b,null,{default:(0,a.k6)((()=>[(0,a.Lk)("div",n,[(0,a.bF)(s,{type:"primary",icon:"el-icon-plus"}),(0,a.bF)(s,{type:"danger",plain:"",icon:"el-icon-delete"})])])),_:1}),(0,a.bF)(k,{class:"nopadding"},{default:(0,a.k6)((()=>[(0,a.bF)(c,{ref:"sontable",apiObj:p.list.apiObj,"row-key":"id",stripe:""},{default:(0,a.k6)((()=>[(0,a.bF)(d,{type:"selection",width:"50"}),(0,a.bF)(d,{label:"姓名",prop:"name",width:"180"}),(0,a.bF)(d,{label:"状态",prop:"type",width:"60"},{default:(0,a.k6)((e=>[0==e.row.type?((0,a.uX)(),(0,a.Wv)(f,{key:0,type:"success"})):(0,a.Q3)("",!0),1==e.row.type?((0,a.uX)(),(0,a.Wv)(f,{key:1,pulse:"",type:"danger"})):(0,a.Q3)("",!0)])),_:1}),(0,a.bF)(d,{label:"邮箱",prop:"email",width:"250"}),(0,a.bF)(d,{label:"评分",prop:"num",width:"150"}),(0,a.bF)(d,{label:"注册时间",prop:"datetime",width:"150",sortable:""})])),_:1},8,["apiObj"])])),_:1})])),_:1})])),_:1})}var p={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(6262);const s=(0,o.A)(p,[["render",r]]);var b=s}}]);