mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			2 lines
		
	
	
		
			1018 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
		
			1018 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import{u as g}from"./columns-BGu4-_7S.js";import{u as d}from"./hooks-lYT7v_hN.js";import{d as f,b as C,e as b,h as o,u as e,w as a,f as t,_ as h}from"./index-FkXh20BC.js";const w=f({__name:"index",setup(x){const{loading:i,columns:r,dataList:s,pagination:n,Empty:c,onCurrentChange:l}=g();return(y,k)=>{const p=o("el-empty"),m=o("el-button"),u=o("pure-table");return b(),C(u,{"row-key":"id",alignWhole:"center",showOverflowTooltip:"",loading:e(i),"loading-config":{background:"transparent"},data:e(s).slice((e(n).currentPage-1)*e(n).pageSize,e(n).currentPage*e(n).pageSize),columns:e(r),pagination:e(n),onPageCurrentChange:e(l)},{empty:a(()=>[t(p,{description:"暂无数据","image-size":60},{image:a(()=>[t(e(c))]),_:1})]),operation:a(({row:_})=>[t(m,{plain:"",circle:"",size:"small",title:`查看序号为${_.id}的详情`,icon:e(d)("ri:search-line")},null,8,["title","icon"])]),_:1},8,["loading","data","columns","pagination","onPageCurrentChange"])}}}),B=h(w,[["__scopeId","data-v-db81b3a6"]]);export{B as default};
 |