import{w as s,j as l,r as o,ae as r}from"./index.js";import{a as t}from"./status.151ccddb.js";function u(){return{columns:s([{label:"\u771F\u5B9E\u59D3\u540D",prop:"nickname"},{label:"\u7528\u6237\u540D\u79F0",prop:"username"},{label:"\u72B6\u6001",prop:"status",minWidth:80,cellRenderer:({row:e,props:m})=>l(o("el-tag"),{size:"small",type:(t.find(a=>a.value==e.status+"")||{}).type||"info",effect:"plain"},{default:()=>[(t.find(a=>a.value==e.status+"")||{}).label||"--"]})},{label:"\u521B\u5EFA\u65F6\u95F4",width:160,prop:"addtime",formatter:({addtime:e})=>r(e).format("YYYY-MM-DD HH:mm:ss")}])}}export{u as useColumns};
