1 line
1.7 KiB
JavaScript
1 line
1.7 KiB
JavaScript
"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[9008],{7656:function(e,t,l){l.r(t),l.d(t,{default:function(){return u}});var a=l(641);const r={class:"left-panel"},i={class:"right-panel"};function s(e,t,l,s,n,o){const b=(0,a.g2)("el-button"),u=(0,a.g2)("el-alert"),p=(0,a.g2)("el-header"),c=(0,a.g2)("el-table-column"),d=(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)(p,null,{default:(0,a.k6)((()=>[(0,a.Lk)("div",r,[(0,a.bF)(b,{type:"primary",icon:"el-icon-plus"}),(0,a.bF)(b,{type:"danger",plain:"",icon:"el-icon-delete"})]),(0,a.Lk)("div",i,[(0,a.bF)(u,{title:"因演示使用mock数据,所以视图上看不出效果,可以查看控制台的网络请求",type:"warning",closable:!1})])])),_:1}),(0,a.bF)(m,{class:"nopadding"},{default:(0,a.k6)((()=>[(0,a.bF)(d,{ref:"table",apiObj:n.list.apiObj,"row-key":"id",stripe:"","show-summary":"",remoteSort:"",remoteFilter:"",remoteSummary:""},{default:(0,a.k6)((()=>[(0,a.bF)(c,{type:"selection",width:"50"}),(0,a.bF)(c,{label:"姓名",prop:"name",width:"150"}),(0,a.bF)(c,{label:"性别",prop:"sex",width:"150","column-key":"sex",filters:n.sexFilters},null,8,["filters"]),(0,a.bF)(c,{label:"邮箱",prop:"email",width:"250"}),(0,a.bF)(c,{label:"评分",prop:"num",width:"150",sortable:"custom"}),(0,a.bF)(c,{label:"进度",prop:"progress",width:"250",sortable:""}),(0,a.bF)(c,{label:"注册时间",prop:"datetime",width:"150",sortable:"custom"})])),_:1},8,["apiObj"])])),_:1})])),_:1})}var n={name:"tableRemote",data(){return{sexFilters:[{text:"男",value:"男"},{text:"女",value:"女"}],list:{apiObj:this.$API.demo.list}}},methods:{}},o=l(6262);const b=(0,o.A)(n,[["render",s]]);var u=b}}]); |