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