columns.be270cc9.js 1.8 KB

12345
  1. <<<<<<<< HEAD:dist/assets/columns.a49baae7.js
  2. import{E as l,y as i,x as o,ah as n}from"./index.94ae02a7.js";import{f as a}from"./status.9afc58ce.js";function u(){return{columns:l([{type:"selection",width:55,hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u771F\u5B9E\u59D3\u540D",prop:"nickname"},{label:"\u7528\u6237\u540D\u79F0",prop:"username"},{label:"\u72B6\u6001",prop:"status",width:80,cellRenderer:({row:e,props:s})=>i(o("el-tag"),{size:s.size,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:305,prop:"addtime",formatter:({addtime:e})=>n(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:145,slot:"operation"}])}}export{u as useColumns};
  3. ========
  4. import{E as l,y as i,x as o,ah as n}from"./index.aca4dc06.js";import{f as a}from"./status.c539149f.js";function u(){return{columns:l([{type:"selection",width:55,hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u771F\u5B9E\u59D3\u540D",prop:"nickname"},{label:"\u7528\u6237\u540D\u79F0",prop:"username"},{label:"\u72B6\u6001",prop:"status",width:80,cellRenderer:({row:e,props:s})=>i(o("el-tag"),{size:s.size,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:305,prop:"addtime",formatter:({addtime:e})=>n(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:145,slot:"operation"}])}}export{u as useColumns};
  5. >>>>>>>> e31709c6e4767e4b7291f6f89abde625dfd40c2b:dist/assets/columns.be270cc9.js