import{u as a,a as e,g as t,o as l,r as i,c as s,d as o,e as n,f as d,h as r,w as u,s as p}from"./daotianAdmin-20240327_164749.js";import{g}from"./daotianAdmin-20240327_16474916.js";import"./daotianAdmin-20240327_16474914.js";const c={class:"p-manage-myJob"},m=d("div",{class:"m-select g_flex_row_between"},[d("div")],-1),v={class:"m-table g_mt_20 antd-table"},h={key:0,class:"g_pb_16 g_pt_16 g_pageBottom"},_={__name:"record",setup(_){a(),e(),t().appContext.app.config.globalProperties.G,l((()=>{w()}));const z=i({keyword:"",page:1,limit:20,total:0,count:0,loading:!1,records:[]}),w=()=>{z.value.loading=!0,g({limit:z.value.limit,page:z.value.page}).then((a=>{z.value={...a.data,page:a.data.current,limit:a.data.size},z.value.records.forEach(((a,e)=>{a.rank=e+1}))}))},x=i([{title:"序号",key:"rank",dataIndex:"rank",width:"50px",ellipsis:!0},{title:"姓名",key:"username",width:"120px",dataIndex:"username"},{title:"电话",key:"name",width:"180px",dataIndex:"name"},{title:"登录时间",key:"updateTime",dataIndex:"updateTime",ellipsis:!0}]),k=(a,e)=>{z.value.page=a,w()},y=(a,e)=>{z.value.page=1,z.value.size=e,w()};return(a,e)=>{const t=s("a-table"),l=s("a-pagination");return o(),n("div",c,[m,d("div",v,[r(t,{sticky:"",columns:x.value,scroll:{x:1e3},"data-source":z.value.records,size:"middle",pagination:!1,loading:z.value.loading,class:"g_clear_scroll",style:{"max-width":"calc(100% - 0px)"}},{bodyCell:u((({column:a,record:e})=>[])),_:1},8,["columns","data-source","loading"]),z.value.records.length>0?(o(),n("div",h,[r(l,{current:z.value.page,"onUpdate:current":e[0]||(e[0]=a=>z.value.page=a),"page-size":z.value.size,"onUpdate:pageSize":e[1]||(e[1]=a=>z.value.size=a),total:z.value.total,pageSize:z.value.size,"show-total":a=>`共 ${a} 条`,onChange:k,onShowSizeChange:y,"show-quick-jumper":!(z.value.total