"use strict";(self["webpackChunkmi_wifi_agent"]=self["webpackChunkmi_wifi_agent"]||[]).push([[8293],{5445:function(e,l,t){t.r(l),t.d(l,{default:function(){return d}});var a=t(641);const i={class:"left-panel"},n={class:"left-panel"};function r(e,l,t,r,p,o){const b=(0,a.g2)("el-button"),d=(0,a.g2)("el-header"),s=(0,a.g2)("el-table-column"),u=(0,a.g2)("el-progress"),c=(0,a.g2)("scTable"),k=(0,a.g2)("el-main"),w=(0,a.g2)("el-container"),f=(0,a.g2)("el-aside"),F=(0,a.g2)("sc-status-indicator");return(0,a.uX)(),(0,a.Wv)(w,null,{default:(0,a.k6)((()=>[(0,a.bF)(f,{width:"40%"},{default:(0,a.k6)((()=>[(0,a.bF)(w,null,{default:(0,a.k6)((()=>[(0,a.bF)(d,null,{default:(0,a.k6)((()=>[(0,a.Lk)("div",i,[(0,a.bF)(b,{type:"primary",icon:"el-icon-plus"}),(0,a.bF)(b,{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)(s,{type:"selection",width:"50"}),(0,a.bF)(s,{label:"ID",prop:"id",width:"200"}),(0,a.bF)(s,{label:"评分",prop:"num",width:"80"}),(0,a.bF)(s,{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)(s,{label:"创建日期",prop:"datetime",width:"150",sortable:""})])),_:1},8,["apiObj","onRowClick"])])),_:1})])),_:1})])),_:1}),(0,a.bF)(w,null,{default:(0,a.k6)((()=>[(0,a.bF)(d,null,{default:(0,a.k6)((()=>[(0,a.Lk)("div",n,[(0,a.bF)(b,{type:"primary",icon:"el-icon-plus"}),(0,a.bF)(b,{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)(s,{type:"selection",width:"50"}),(0,a.bF)(s,{label:"姓名",prop:"name",width:"180"}),(0,a.bF)(s,{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)(s,{label:"邮箱",prop:"email",width:"250"}),(0,a.bF)(s,{label:"评分",prop:"num",width:"150"}),(0,a.bF)(s,{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 b=(0,o.A)(p,[["render",r]]);var d=b}}]);