import{m as s,h as l,r as o,S as r}from"./index.d0c68291.js";import{a}from"./status.3ccd5ebb.js";function d(){return{columns:s([{label:"\u7F16\u53F7",prop:"id"},{label:"\u540D\u79F0",prop:"action_name"},{label:"\u72B6\u6001",prop:"status",minWidth:80,cellRenderer:({row:e,props:n})=>l(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};
