import{w as l,l as s,r as o,Z as r}from"./index.1d5f2f42.js";import{a}from"./status.3ccd5ebb.js";function d(){return{columns:l([{label:"\u7F16\u53F7",prop:"id"},{label:"\u540D\u79F0",prop:"action_name"},{label:"\u72B6\u6001",prop:"status",minWidth:80,cellRenderer:({row:e,props:n})=>s(o("el-tag"),{size:"small",type:(a.find(t=>t.value==e.status+"")||{}).type||"info",effect:"plain"},{default:()=>[(a.find(t=>t.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{d as useColumns};
