import{_ as w,r as s,c as n,x as V,o as b,d as C,e,f as o,y as x,z as B,A as D,k as i,t as c}from"./index-D9WRi6gz.js";import{s as R}from"./personnel-D98NZASG.js";const U={class:"app-container"},q={__name:"index",setup(L){const _=s([]),p=s(!1),r=s(0),a=s({pageNum:1,pageSize:10});function m(){const f={...a.value};p.value=!0,R(f).then(l=>{_.value=l.data.list,r.value=l.data.total,p.value=!1})}function d(){a.value.pageNum=1,a.value.pageSize=10,m()}function N(){a.value={pageNum:1,pageSize:10},d()}return m(),(f,l)=>{const y=n("el-input"),v=n("el-form-item"),g=n("el-button"),S=n("el-form"),u=n("el-table-column"),h=n("el-table"),k=n("pagination"),z=V("loading");return b(),C("div",U,[e(S,{model:a.value,ref:"queryRef",inline:!0},{default:o(()=>[e(v,{label:"职位"},{default:o(()=>[e(y,{placeholder:"请输入",modelValue:a.value.name,"onUpdate:modelValue":l[0]||(l[0]=t=>a.value.name=t)},null,8,["modelValue"])]),_:1}),e(v,null,{default:o(()=>[e(g,{type:"primary",icon:"Search",onClick:d},{default:o(()=>[i("搜索")]),_:1}),e(g,{icon:"Refresh",onClick:N},{default:o(()=>[i("重置")]),_:1})]),_:1})]),_:1},8,["model"]),x((b(),B(h,{data:_.value,"show-overflow-tooltip":""},{default:o(()=>[e(u,{label:"报名时间",prop:"updateTime"}),e(u,{label:"报名企业",prop:"orgName"}),e(u,{label:"报名职位",prop:"name"}),e(u,{label:"姓名"},{default:o(({row:t})=>[i(c(t.person.name),1)]),_:1}),e(u,{label:"联系电话"},{default:o(({row:t})=>[i(c(t.person.phoneNumber),1)]),_:1}),e(u,{label:"性别",prop:"sex"},{default:o(({row:t})=>[i(c(t.person.sex?"男":"女"),1)]),_:1})]),_:1},8,["data"])),[[z,p.value]]),x(e(k,{total:r.value,page:a.value.pageNum,"onUpdate:page":l[1]||(l[1]=t=>a.value.pageNum=t),limit:a.value.pageSize,"onUpdate:limit":l[2]||(l[2]=t=>a.value.pageSize=t),onPagination:m},null,8,["total","page","limit"]),[[D,r.value>0]])])}}},T=w(q,[["__scopeId","data-v-b3b1f2db"]]);export{T as default};
