1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9015],{36765:function(ha,_e,d){d.r(_e),d.d(_e,{default:function(){return ft}});var $n=d(15009),M=d.n($n),Xn=d(99289),K=d.n(Xn),Un=d(5574),o=d.n(Un),r=d(67294),ae=d(21532),S=d(42075),se=d(71230),v=d(15746),Vn=d(92783),f=d(86250),Ae=d(84611),Oe=d(75891),Kn=d(97857),s=d.n(Kn),Wn=d(65233),N=d(83622),x=d(26412),h=d(66309),Qn=d(3303),ie=d(96074),Yn=d(68795),qn=d(48115),et=d(80882),e=d(85893),nt={label:"name",value:"id",children:"children"},tt=function(k){var p=k.dispatch,l=k.dictModel,le=k.getSearchParams,O=k.page,B=k.pagesize,y=(0,r.useState)(!1),D=o()(y,2),W=D[0],G=D[1],ce=(0,r.useState)(!1),Q=o()(ce,2),_=Q[0],R=Q[1],m=(0,r.useState)(""),V=o()(m,2),z=V[0],b=V[1],$=(0,r.useState)({keyword:"",gender:"\u5973",title:0,education:0,marital_status:0,ethnicity:0,reg_level1:0,reg_level2:0,reg_level3:0,reg_level4:0,now_level1:0,now_level2:0,now_level3:0,now_level4:0,maxdob:"",mindob:"",maxheight:0,minheight:0,maxweight:0,minweight:0,political_status:0,native_place:0,job_type_desire:0,talent_type_desire:0,max_work_experience:0,min_work_experience:0,salary_range_desire:0,available_date_desire:0,title_requirement_desire:0,skill_certification_desire:0,english:0,mandarin:0,cantonese:0,other_language:0,rand:!0,sort:"id",sortby:"asc",page:O,pagesize:B}),A=o()($,2),H=A[0],i=A[1],j=(0,r.useRef)(!0),Z=(0,r.useState)(!0),L=o()(Z,2),g=L[0],w=L[1];(0,r.useEffect)(function(){var t=function(){var n=K()(M()().mark(function u(){return M()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Promise.all([p({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}}),p({type:"dictModel/getList",payload:{code:"2009000100030002",type:"setXiaolanzhenList"}}),p({type:"dictModel/getList",payload:{code:"200900010003",type:"setZhongshanList"}}),p({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}}),p({type:"dictModel/getList",payload:{code:2011,type:"setMaritalList"}}),p({type:"dictModel/getList",payload:{code:2012,type:"setEthnicityList"}}),p({type:"dictModel/getList",payload:{code:2010,type:"setPoliticalList"}}),p({type:"dictModel/getList",payload:{code:2019,type:"setJobTypeList"}}),p({type:"dictModel/getList",payload:{code:2020,type:"setTalentTypeList"}}),p({type:"dictModel/getList",payload:{code:2005,type:"setPayList"}}),p({type:"dictModel/getList",payload:{code:2013,type:"setAvailableDateList"}}),p({type:"dictModel/getList",payload:{code:2006,type:"setEducationList"}}),p({type:"dictModel/getList",payload:{code:2014,type:"setTitleList"}}),p({type:"dictModel/getList",payload:{code:2015,type:"setSkillCertificationeList"}}),p({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),p({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}})]);case 2:w(!1);case 3:case"end":return c.stop()}},u)}));return function(){return n.apply(this,arguments)}}();t()},[]),(0,r.useEffect)(function(){g||l.maritalList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.maritalList,g]),(0,r.useEffect)(function(){g||l.ethnicityList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.ethnicityList,g]),(0,r.useEffect)(function(){g||l.politicalList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.politicalList,g]),(0,r.useEffect)(function(){g||l.jobTypeList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.jobTypeList,g]),(0,r.useEffect)(function(){g||l.talentTypeList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.talentTypeList,g]),(0,r.useEffect)(function(){g||l.payList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.payList,g]),(0,r.useEffect)(function(){g||l.availableDateList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.availableDateList,g]),(0,r.useEffect)(function(){g||l.educationList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.educationList,g]),(0,r.useEffect)(function(){g||l.titleList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.titleList,g]),(0,r.useEffect)(function(){g||l.skillCertificationeList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.skillCertificationeList,g]),(0,r.useEffect)(function(){g||l.natureList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.natureList,g]),(0,r.useEffect)(function(){g||l.degreeList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.degreeList,g]),(0,r.useEffect)(function(){g||l.otherLanguageList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[l.otherLanguageList,g]);var E=l.xiaolanzhenList.some(function(t){return t.name==="\u4E0D\u9650"}),ue=l.xiaolanzhenList.some(function(t){return t.name==="\u5C0F\u6984\u9547"});ue||l.xiaolanzhenList.unshift({id:100004,name:"\u5C0F\u6984\u9547",checked:!1}),E||l.xiaolanzhenList.unshift({id:0,name:"\u4E0D\u9650",checked:!0});var Y=l.zhongshanList.some(function(t){return t.name==="\u4E2D\u5C71\u5E02"});Y||(l.zhongshanList.unshift({id:1000037,name:"\u4E2D\u5C71\u5E02",checked:!1}),l.zhongshanList=l.zhongshanList.filter(function(t){return t.id!==100004}));var F=(0,r.useState)(""),q=o()(F,2),ee=q[0],X=q[1],T=(0,r.useState)(null),C=o()(T,2),I=C[0],J=C[1],oe=function(n,u){l.xiaolanzhenList.forEach(function(a){a.checked=a.value===n.value}),l.zhongshanList.forEach(function(a){a.checked=a.value===n.value}),n.id==0&&(l.xiaolanzhenList.forEach(function(a){a.checked=a.id===n.id}),l.zhongshanList.forEach(function(a){a.checked=a.id===n.id})),n.id==100004?(l.xiaolanzhenList.forEach(function(a){a.checked=a.id===n.id}),l.zhongshanList.forEach(function(a){a.checked=a.id===n.id})):l.xiaolanzhenList.some(function(a){return a.id===n.id})&&l.xiaolanzhenList.forEach(function(a){a.checked=a.id===n.id}),n.id==1000037?(l.xiaolanzhenList.forEach(function(a){a.checked=a.id===n.id}),l.zhongshanList.forEach(function(a){a.checked=a.id===n.id})):l.zhongshanList.some(function(a){return a.id===n.id})&&l.zhongshanList.forEach(function(a){a.checked=a.id===n.id}),X(n.name),j.current=!1},P=function(n,u){n.id==0&&i(function(a){return s()(s()({},a),{},{reg_level2:0,reg_level3:0,reg_level4:0})}),n.id==100004?i(function(a){return s()(s()({},a),{},{reg_level2:0,reg_level3:n.id,reg_level4:0})}):l.xiaolanzhenList.some(function(a){return a.id===n.id})&&i(function(a){return s()(s()({},a),{},{reg_level2:0,reg_level3:0,reg_level4:n.id})}),n.id==1000037?i(function(a){return s()(s()({},a),{},{reg_level2:n.id,reg_level3:0,reg_level4:0})}):l.zhongshanList.some(function(a){return a.id===n.id})&&i(function(a){return s()(s()({},a),{},{reg_level2:0,reg_level3:n.id,reg_level4:0})})},pt=(0,r.useState)(["\u5973"]),Ne=o()(pt,2),Ge=Ne[0],de=Ne[1],xt=(0,r.useState)({name:"\u5973"}),$e=o()(xt,2),Xe=$e[0],he=$e[1],vt=function(n,u){he(n);var a=u?[n.name]:Ge.filter(function(c){return c!==n.name});de(a),i(function(c){return s()(s()({},c),{},{gender:n.value})})},mt=(0,r.useState)(["\u4E0D\u9650"]),Ue=o()(mt,2),Ve=Ue[0],ge=Ue[1],Ct=(0,r.useState)(null),Ke=o()(Ct,2),We=Ke[0],fe=Ke[1],jt=function(n,u){fe(n);var a=u?[n.name]:Ve.filter(function(c){return c!==n.name});ge(a),i(function(c){return s()(s()({},c),{},{title:n.id})})},St=(0,r.useState)(["\u4E0D\u9650"]),Qe=o()(St,2),pe=Qe[0],xe=Qe[1],yt=(0,r.useState)(null),Ye=o()(yt,2),qe=Ye[0],ve=Ye[1],Zt=function(n,u){ve(n);var a=u?[n.name]:pe.filter(function(c){return c!==n.name});xe(a),i(function(c){return s()(s()({},c),{},{education:n.id})})},Lt=(0,r.useState)(["\u4E0D\u9650"]),en=o()(Lt,2),Tt=en[0],kt=en[1],Et=(0,r.useState)(null),nn=o()(Et,2),tn=nn[0],an=nn[1],It=function(n,u){an(n);var a=u?[n.name]:pe.filter(function(c){return c!==n.name});kt(a),i(function(c){return s()(s()({},c),{},{marital_status:n.id})})},bt=(0,r.useState)(["\u4E0D\u9650"]),sn=o()(bt,2),rn=sn[0],me=sn[1],Ft=(0,r.useState)(null),ln=o()(Ft,2),cn=ln[0],Ce=ln[1],Bt=function(n,u){Ce(n);var a=u?[n.name]:rn.filter(function(c){return c!==n.name});me(a),i(function(c){return s()(s()({},c),{},{ethnicity:n.id})})},zt=(0,r.useState)(["\u4E0D\u9650"]),un=o()(zt,2),on=un[0],je=un[1],wt=(0,r.useState)(null),dn=o()(wt,2),hn=dn[0],Se=dn[1],Pt=function(n,u){Se(n);var a=u?[n.name]:on.filter(function(c){return c!==n.name});je(a),i(function(c){return s()(s()({},c),{},{political_status:n.id})})},Mt=(0,r.useState)(["\u4E0D\u9650"]),gn=o()(Mt,2),fn=gn[0],ye=gn[1],Dt=(0,r.useState)(null),pn=o()(Dt,2),xn=pn[0],Ze=pn[1],_t=function(n,u){Ze(n);var a=u?[n.name]:fn.filter(function(c){return c!==n.name});ye(a),i(function(c){return s()(s()({},c),{},{job_type_desire:n.id})})},At=(0,r.useState)(["\u4E0D\u9650"]),vn=o()(At,2),ne=vn[0],Le=vn[1],Ot=(0,r.useState)(null),mn=o()(Ot,2),Cn=mn[0],Te=mn[1],Rt=function(n,u){Te(n);var a=u?[n.name]:ne.filter(function(c){return c!==n.name});Le(a),i(function(c){return s()(s()({},c),{},{talent_type_desire:n.id})})},Ht=(0,r.useState)(["\u4E0D\u9650"]),jn=o()(Ht,2),Jt=jn[0],ke=jn[1],Nt=(0,r.useState)(null),Sn=o()(Nt,2),yn=Sn[0],Ee=Sn[1],Gt=function(n,u){Ee(n);var a=u?[n.name]:ne.filter(function(c){return c!==n.name});ke(a),i(function(c){return s()(s()({},c),{},{salary_range_desire:n.id})})},$t=(0,r.useState)(["\u4E0D\u9650"]),Zn=o()($t,2),Xt=Zn[0],Ut=Zn[1],Vt=(0,r.useState)(null),Ln=o()(Vt,2),ga=Ln[0],Kt=Ln[1],Wt=function(n,u){Kt(n);var a=u?[n.name]:ne.filter(function(c){return c!==n.name});Ut(a),i(function(c){return s()(s()({},c),{},{available_date_desire:n.id})})},Qt=(0,r.useState)(["\u4E0D\u9650"]),Tn=o()(Qt,2),kn=Tn[0],Ie=Tn[1],Yt=(0,r.useState)(null),En=o()(Yt,2),In=En[0],be=En[1],qt=function(n,u){be(n);var a=u?[n.name]:kn.filter(function(c){return c!==n.name});Ie(a),i(function(c){return s()(s()({},c),{},{skill_certification_desire:n.id})})},ea=(0,r.useState)(["\u4E0D\u9650"]),bn=o()(ea,2),Fn=bn[0],Fe=bn[1],na=(0,r.useState)(null),Bn=o()(na,2),zn=Bn[0],Be=Bn[1],ta=function(n,u){Be(n);var a=u?[n.name]:Fn.filter(function(c){return c!==n.name});Fe(a),i(function(c){return s()(s()({},c),{},{english:n.id})})},aa=(0,r.useState)(["\u4E0D\u9650"]),wn=o()(aa,2),Pn=wn[0],te=wn[1],sa=(0,r.useState)(null),Mn=o()(sa,2),Dn=Mn[0],ze=Mn[1],ia=function(n,u){ze(n);var a=u?[n.name]:Pn.filter(function(c){return c!==n.name});te(a)},ra=(0,r.useState)(["\u4E0D\u9650"]),_n=o()(ra,2),An=_n[0],we=_n[1],la=(0,r.useState)(null),On=o()(la,2),Rn=On[0],Pe=On[1],ca=function(n,u){Pe(n);var a=u?[n.name]:An.filter(function(c){return c!==n.name});we(a),i(function(c){return s()(s()({},c),{},{cantonese:n.id})})},ua=(0,r.useState)(["\u4E0D\u9650"]),Hn=o()(ua,2),Jn=Hn[0],Me=Hn[1],oa=(0,r.useState)(null),Nn=o()(oa,2),Gn=Nn[0],De=Nn[1],da=function(n,u){De(n);var a=u?[n.name]:Jn.filter(function(c){return c!==n.name});Me(a),i(function(c){return s()(s()({},c),{},{other_language:n.id})})};return(0,r.useEffect)(function(){i(function(t){return s()(s()({},t),{},{keyword:z})})},[z]),(0,r.useEffect)(function(){i(function(t){return s()(s()({},t),{},{page:O,pagesize:B})})},[O,B]),(0,r.useEffect)(function(){le(H)},[H]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ae.ZP,{theme:{components:{Segmented:{colorText:"#19be6e"},Button:{colorText:""},Tabs:{verticalItemPadding:"0 24px"}}},children:(0,e.jsxs)(S.Z,{direction:"vertical",size:20,style:{width:"100%"},children:[(0,e.jsx)(f.Z,{justify:"center",align:"center",children:(0,e.jsxs)(S.Z.Compact,{style:{width:"80%"},children:[(0,e.jsx)(Wn.Z,{size:"large",prefix:(0,e.jsx)(Yn.Z,{style:{color:"#19be6e"}}),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD",allowClear:!0,onChange:function(n){b(n.target.value)},defaultValue:z}),(0,e.jsx)(N.ZP,{size:"large",type:"primary",style:{width:200},onClick:function(){b(H.keyword)},children:"\u641C\u7D22"})]})}),(0,e.jsxs)(S.Z,{direction:"vertical",style:{background:"#ffffff",padding:20,borderRadius:4},children:[(0,e.jsxs)(x.Z,{children:[(0,e.jsx)(x.Z.Item,{span:24,label:"\u6027\u522B\u8981\u6C42",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.sexList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:Ge.includes(t.name),onChange:function(a){vt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u804C\u79F0\u8981\u6C42",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.titleList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:Ve.includes(t.name),onChange:function(a){jt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u5B66\u5386\u8981\u6C42",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.educationList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:pe.includes(t.name),onChange:function(a){Zt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u53EF\u5230\u804C\u65E5\u671F",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.availableDateList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:Xt.includes(t.name),onChange:function(a){Wt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u6280\u80FD\u8BA4\u8BC1",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.skillCertificationeList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:kn.includes(t.name),onChange:function(a){qt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u6C42\u804C\u7C7B\u578B",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.jobTypeList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:fn.includes(t.name),onChange:function(a){_t(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u4EBA\u624D\u7C7B\u578B",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.talentTypeList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:ne.includes(t.name),onChange:function(a){Rt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u6708\u85AA\u8981\u6C42",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.payList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:Jt.includes(t.name),onChange:function(a){Gt(t,a)},children:t.name},t.id)})})}),_&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(x.Z.Item,{span:24,label:"\u82F1\u8BED\u638C\u63E1",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.degreeList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:Fn.includes(t.name),onChange:function(a){ta(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u56FD\u8BED\u638C\u63E1",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.degreeList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:Pn.includes(t.name),onChange:function(a){ia(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u7CA4\u8BED\u8981\u6C42",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.degreeList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:An.includes(t.name),onChange:function(a){ca(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u7B2C\u4E8C\u5916\u8BED",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.otherLanguageList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:Jn.includes(t.name),onChange:function(a){da(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u5A5A\u59FB\u8981\u6C42",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.maritalList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:Tt.includes(t.name),onChange:function(a){It(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u6C11\u65CF\u8981\u6C42",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.ethnicityList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:rn.includes(t.name),onChange:function(a){Bt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u653F\u6CBB\u9762\u8C8C",children:(0,e.jsx)(f.Z,{gap:4,wrap:!0,align:"center",children:l.politicalList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:on.includes(t.name),onChange:function(a){Pt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u5730\u533A\u9009\u62E9",children:(0,e.jsxs)(S.Z,{direction:"vertical",size:"small",children:[(0,e.jsx)(f.Z,{wrap:!0,style:{width:"100%"},children:l.xiaolanzhenList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:t.checked,onChange:function(){oe(t,n),J({item:t,index:n}),P(t,n)},children:t.name})})}),(0,e.jsx)(f.Z,{wrap:!0,style:{width:"100%"},children:l.zhongshanList.map(function(t,n){return(0,e.jsx)(h.Z.CheckableTag,{checked:t.checked,onChange:function(){oe(t,n),J({item:t,index:n}),P(t,n)},children:t.name})})}),(0,e.jsx)(Qn.Z,{style:{width:"50%"},placeholder:"\u8BF7\u9009\u62E9\u5730\u533A",options:l.areaList,fieldNames:nt,onChange:function(n){i(function(u){return s()(s()({},u),{},{reg_level1:n&&n[0]?n[0]:0,reg_level2:n&&n[1]?n[1]:0,reg_level3:n&&n[2]?n[2]:0,reg_level4:n&&n[3]?n[3]:0})})}})]})})]}),(0,e.jsx)(x.Z.Item,{span:24,children:(0,e.jsx)(ie.Z,{plain:!0,children:(0,e.jsx)(N.ZP,{type:"text",onClick:function(){R(!_)},icon:_?(0,e.jsx)(qn.Z,{}):(0,e.jsx)(et.Z,{}),iconPosition:"end",children:_?"\u5173\u95ED\u66F4\u591A":"\u5C55\u5F00\u66F4\u591A"})})})]}),(0,e.jsxs)(f.Z,{justify:"space-between",align:"center",children:[(0,e.jsxs)(S.Z,{children:[(0,e.jsx)("div",{style:{width:60},children:"\u5DF2\u9009\u62E9\uFF1A"}),(0,e.jsxs)(se.Z,{gutter:[10,10],children:[z&&(0,e.jsx)(v.Z,{children:(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){b(""),i(function(n){return s()(s()({},n),{},{keyword:""})})},children:z})}),ee&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){X(""),i(function(n){return s()(s()({},n),{},{reg_level1:0,reg_level2:0,reg_level3:0,reg_level4:0})})},children:ee})]}),Xe&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){he({name:"\u5973"}),de(["\u5973"]),i(function(n){return s()(s()({},n),{},{gender:0})})},children:Xe.name})]}),We&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){fe(null),ge(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{profelevel_rq:0})})},children:We.name})]}),qe&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){ve(null),xe(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{school_degree_rq:0})})},children:qe.name})]}),tn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){ze(null),te(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{experience_rq:0})})},children:tn.name})]}),cn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Ce(null),me(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{fulltime:1,parttime:2,casual:2,practical:2,campus:2})})},children:cn.name})]}),hn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Se(null),je(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{certification_rq:0})})},children:hn.name})]}),xn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Ze(null),ye(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{nature:0})})},children:xn.name})]}),Cn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Te(null),Le(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{update_time_range:0})})},children:Cn.name})]}),yn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Ee(null),ke(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{pay_range:0})})},children:yn.name})]}),In&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){be(null),Ie(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{pay_range:0})})},children:In.name})]}),zn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Be(null),Fe(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{english:0})})},children:zn.name})]}),Rn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Pe(null),we(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{shisu:0})})},children:Rn.name})]}),Dn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){ze(null),te(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{holidays:0})})},children:Dn.name})]}),Gn&&(0,e.jsxs)(v.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){De(null),Me(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{urgent:0})})},children:Gn.name})]})]})]}),(0,e.jsx)(N.ZP,{size:"small",onClick:function(){b(""),X(""),he({name:"\u5973"}),de(["\u5973"]),fe(null),ge(["\u4E0D\u9650"]),ve(null),xe(["\u4E0D\u9650"]),an(null),te(["\u4E0D\u9650"]),Ce(null),me(["\u4E0D\u9650"]),Se(null),je(["\u4E0D\u9650"]),Ze(null),ye(["\u4E0D\u9650"]),Te(null),Le(["\u4E0D\u9650"]),Ee(null),ke(["\u4E0D\u9650"]),be(null),Ie(["\u4E0D\u9650"]),Be(null),Fe(["\u4E0D\u9650"]),Pe(null),we(["\u4E0D\u9650"]),De(null),Me(["\u4E0D\u9650"]),i({keyword:"",gender:"\u5973",title:0,education:0,marital_status:0,ethnicity:0,reg_level1:0,reg_level2:0,reg_level3:0,reg_level4:0,now_level1:0,now_level2:0,now_level3:0,now_level4:0,maxdob:"",mindob:"",maxheight:0,minheight:0,maxweight:0,minweight:0,political_status:0,native_place:0,job_type_desire:0,talent_type_desire:0,max_work_experience:0,min_work_experience:0,salary_range_desire:0,available_date_desire:0,title_requirement_desire:0,skill_certification_desire:0,english:0,mandarin:0,cantonese:0,other_language:0,rand:!0,sort:"id",sortby:"asc",page:1,pagesize:12})},children:"\u6E05\u7A7A\u7B5B\u9009"})]})]})]})})})},at=(0,Oe.connect)(function(U){var k=U.dictModel,p=U.openModel;return{dictModel:k}})(tt),st=d(98998),Re=d(45073),it=d(7134),He=d(17788),rt=d(55375),lt=d(97088),ct=d(93162),re=d(24458),ut=d(52087),ot=d(48273),dt=d(2205),ht=function(k){var p=k.list,l=k.type,le=(0,r.useRef)(),O=(0,r.useState)(!1),B=o()(O,2),y=B[0],D=B[1],W=(0,r.useState)("oneModel"),G=o()(W,2),ce=G[0],Q=G[1],_=(0,r.useState)(null),R=o()(_,2),m=R[0],V=R[1],z=(0,r.useState)(!1),b=o()(z,2),$=b[0],A=b[1];(0,r.useEffect)(function(){D(!0)},[m]);var H=function(j){A(j)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(ae.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,e.jsx)("div",{style:{minHeight:"800px"},children:(0,e.jsx)(se.Z,{gutter:[20,20],children:p.length>0&&p.map(function(i,j){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(v.Z,{span:24,children:(0,e.jsx)(S.Z,{direction:"vertical",style:{background:"#ffffff",padding:"20px",width:"100%",borderRadius:10,cursor:"pointer"},children:(0,e.jsxs)(S.Z,{size:10,align:"start",children:[(0,e.jsx)(f.Z,{justify:"center",align:"center",style:{width:88},children:(0,e.jsxs)(S.Z,{direction:"vertical",align:"center",children:[(0,e.jsx)(it.C,{size:68,src:i.photo?"".concat(rt.VO).concat(i.photo):"/images/onlylogo.jpg"}),(0,e.jsxs)(h.Z,{color:"#19be6e",children:[" ",i.salary_range_txt]})]})}),(0,e.jsxs)(S.Z,{direction:"vertical",children:[(0,e.jsxs)(S.Z,{align:"center",children:[(0,e.jsx)("div",{onClick:function(){(0,re.ts)({customer_id:i.customer_id}).then(function(L){V(L.data)})},style:{fontWeight:"bold",fontSize:18},children:i.seekername}),i.age&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(h.Z,{children:[i.age,"\u5C81"]})}),i.gender&&i.gender=="\u7537"&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(h.Z,{color:"blue",children:i.gender})}),i.gender&&i.gender=="\u5973"&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(h.Z,{color:"pink",children:i.gender})})]}),(0,e.jsxs)(S.Z,{children:[(0,e.jsx)("div",{children:i.education_txt&&i.education_txt!=0&&(0,e.jsx)(e.Fragment,{children:i.education_txt})}),(0,e.jsx)("div",{children:i.work_experience_txt&&i.work_experience_txt!=""?(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(ie.Z,{type:"vertical"})," \u5DE5\u4F5C\u7ECF\u9A8C\uFF1A",i.work_experience_txt,"\u5E74"]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ie.Z,{type:"vertical"}),"\u65E0\u5DE5\u4F5C\u7ECF\u9A8C"]})})]}),(0,e.jsxs)(x.Z,{size:"small",style:{width:"100%"},children:[(0,e.jsxs)(x.Z.Item,{label:"\u6C42\u804C\u671F\u671B",span:24,children:[" ",i.other_positions,i.desire_positions&&i.desire_positions.length>0&&(0,e.jsx)(e.Fragment,{children:i.desire_positions[0].name})]}),(0,e.jsx)(x.Z.Item,{label:"\u4E2A\u4EBA\u7B80\u4ECB",span:24,children:i.introduction?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{lineHeight:1.5},dangerouslySetInnerHTML:{__html:i==null?void 0:i.introduction}})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{lineHeight:1.5},children:"\u65E0"})})})]})]})]})})})})})})}),m&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(He.Z,{title:"\u9884\u89C8\u7B80\u5386",centered:!0,destroyOnClose:!0,closable:!1,open:y,footer:function(){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(N.ZP,{onClick:function(){D(!1)},children:"\u5173\u95ED"},"back"),(0,e.jsx)(N.ZP,{type:"primary",onClick:K()(M()().mark(function j(){var Z,L,g;return M()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return Z=document.getElementById("resume-box"),L=lt.m(Z==null?void 0:Z.outerHTML),E.next=4,L;case 4:g=E.sent,(0,ct.saveAs)(g,"\u4E2A\u4EBA\u7B80\u5386.docx");case 6:case"end":return E.stop()}},j)})),children:"\u4E0B\u8F7D\u7B80\u5386"},"submit"),(0,e.jsx)(N.ZP,{type:"primary",onClick:K()(M()().mark(function j(){return M()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:A(!0);case 1:case"end":return L.stop()}},j)})),children:"\u9080\u8BF7\u9762\u8BD5"},"submit")]})},width:1e3,children:(0,e.jsxs)(S.Z,{direction:"vertical",style:{width:"100%"},children:[(m.resume_template==0||m.resume_template==1)&&(0,e.jsx)(ut.Z,{bgcolor:"#19be6e",fontcolor:"#19be6e",id:m==null?void 0:m.customer_id}),(m==null?void 0:m.resume_template)==2&&(0,e.jsx)(ot.Z,{bgcolor:"#19be6e",fontcolor:"#19be6e",id:m==null?void 0:m.customer_id})]})}),(0,e.jsx)(He.Z,{open:$,title:"\u53D1\u9001\u9762\u8BD5\u9080\u8BF7",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:400,onCancel:function(){A(!1)},children:(0,e.jsx)(dt.Z,{detail:m,closeModel:H})})]})]})})},Je=ht,gt=function(){var k=(0,Oe.useSearchParams)(),p=o()(k,2),l=p[0],le=p[1],O=(0,r.useState)([]),B=o()(O,2),y=B[0],D=B[1],W=(0,r.useState)([]),G=o()(W,2),ce=G[0],Q=G[1],_=(0,r.useState)(null),R=o()(_,2),m=R[0],V=R[1],z=(0,r.useState)(0),b=o()(z,2),$=b[0],A=b[1],H=(0,r.useState)(1),i=o()(H,2),j=i[0],Z=i[1],L=(0,r.useState)(12),g=o()(L,2),w=g[0],E=g[1],ue=(0,r.useState)("\u63A8\u8350\u7B80\u5386"),Y=o()(ue,2),F=Y[0],q=Y[1];(0,r.useEffect)(function(){F=="\u5E94\u5C4A\u6BD5\u4E1A\u751F"&&(0,re.k1)({page:j,pagesize:w,sort:"updated_at",sortby:"desc",type:1001028}).then(function(T){D(T.data.seekers?T.data.seekers:[]),X(T.data.total)})},[F,j,w]);var ee=function(){var T=K()(M()().mark(function C(I){var J;return M()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(F!="\u641C\u7D22\u7ED3\u679C"){P.next=9;break}return Z(I.page),E(I.pagesize),console.log(I),P.next=6,(0,re.k1)(I||{page:j,pagesize:w,sort:"updated_at",sortby:"desc"});case 6:J=P.sent,D(J.data.seekers?J.data.seekers:[]),X(J.data.total);case 9:case"end":return P.stop()}},C)}));return function(I){return T.apply(this,arguments)}}(),X=function(C){A(C)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ae.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"},Segmented:{trackBg:"#f0f0f0",itemSelectedColor:"#19be6e"}}},children:(0,e.jsxs)(S.Z,{direction:"vertical",size:30,style:{minHeight:"800px"},children:[F=="\u641C\u7D22\u7ED3\u679C"&&(0,e.jsx)(at,{getSearchParams:ee,page:j,pagesize:w}),(0,e.jsx)(se.Z,{gutter:[16,16],children:(0,e.jsx)(v.Z,{span:24,children:(0,e.jsxs)(S.Z,{direction:"vertical",size:"small",style:{width:"100%"},children:[(0,e.jsx)(Vn.Z,{size:"large",block:!0,value:F,options:["\u63A8\u8350\u7B80\u5386","\u5E94\u5C4A\u6BD5\u4E1A\u751F","\u641C\u7D22\u7ED3\u679C"],onChange:function(C){q(C),Z(1),E(12)}}),(0,e.jsxs)("div",{style:{paddingTop:20},children:[F=="\u63A8\u8350\u7B80\u5386"&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(st.Z,{})}),F=="\u5E94\u5C4A\u6BD5\u4E1A\u751F"&&(0,e.jsxs)(e.Fragment,{children:[y&&y.length>0&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Je,{list:y,type:"\u5E94\u5C4A\u6BD5\u4E1A\u751F"}),(0,e.jsx)(f.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(Ae.Z,{hideOnSinglePage:!0,total:$,showTotal:function(C){return"\u603B\u5171".concat(C,"\u6761")},current:j,pageSize:w,pageSizeOptions:["12","24","36"],onChange:function(C,I){Z(C),E(I)}})})]}),!y||y.length==0&&(0,e.jsx)(f.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(Re.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),F=="\u641C\u7D22\u7ED3\u679C"&&(0,e.jsxs)(e.Fragment,{children:[y&&y.length>0&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Je,{list:y,type:"\u641C\u7D22\u7ED3\u679C"}),(0,e.jsx)(f.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(Ae.Z,{hideOnSinglePage:!0,total:$,showTotal:function(C){return"\u603B\u5171".concat(C,"\u6761")},current:j,pageSize:w,pageSizeOptions:["12","24","36"],onChange:function(C,I){Z(C),E(I)}})})]}),!y||y.length==0&&(0,e.jsx)(f.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(Re.Z,{description:"\u6682\u65E0\u6570\u636E"})})]})]})]})})})]})})})},ft=gt}}]);
|