import{w as l,l as s,r as o,ae as r}from"./index.1d1a5ecb.js";import{a as t}from"./status.d6b2a53d.js";function u(){return{columns:l([{label:"\u771F\u5B9E\u59D3\u540D",prop:"nickname"},{label:"\u89D2\u8272",prop:"role_name"},{label:"\u7528\u6237\u540D\u79F0",prop:"username"},{label:"\u72B6\u6001",prop:"status",minWidth:80,cellRenderer:({row:e,props:p})=>s(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")},{label:"\u64CD\u4F5C",fixed:"right",width:145,slot:"operation"}])}}export{u as useColumns};
