import{r as i,f as t,b as n,at as a}from"./index.4d061c66.js";function r(){return{columns:i([{type:"selection",minWidth:55,align:"left",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u540D\u79F0",prop:"menu_name",minWidth:180,align:"left"},{label:"\u56FE\u6807",prop:"menu_img",minWidth:80,cellRenderer:({row:e,props:l})=>t(n("IconifyIconOnline"),{icon:e.menu_img},null)},{label:"path",prop:"menu_route",minWidth:180,align:"left"},{label:"\u6743\u91CD",prop:"weight",minWidth:60},{label:"\u7C7B\u578B",prop:"menu_type",minWidth:80,cellRenderer:({row:e,props:l})=>t(n("el-tag"),{size:l.size,type:e.menu_type+""=="1"?"success":"danger",effect:"plain"},{default:()=>[e.menu_type+""=="1"?"\u83DC\u5355":"\u9875\u9762"]})},{label:"\u72B6\u6001",prop:"status",minWidth:80,cellRenderer:({row:e,props:l})=>t(n("el-tag"),{size:l.size,type:e.status+""=="1"?"success":"danger",effect:"plain"},{default:()=>[e.status+""=="0"?"\u7981\u7528":"\u542F\u7528"]})},{label:"\u9875\u9762\u8DEF\u5F84",prop:"menu_url",minWidth:180,align:"left"},{label:"\u521B\u5EFA\u65F6\u95F4",width:155,prop:"createTime",formatter:({createTime:e})=>a(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:180,slot:"operation"}])}}export{r as useColumns};
