1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9015],{36765:function(ga,Me,d){d.r(Me),d.d(Me,{default:function(){return pt}});var Gn=d(15009),b=d.n(Gn),Xn=d(99289),K=d.n(Xn),Un=d(5574),o=d.n(Un),r=d(67294),se=d(21532),y=d(42075),f=d(86250),Vn=d(72269),ie=d(71230),m=d(15746),Kn=d(92783),Ae=d(84611),_e=d(75891),Wn=d(97857),s=d.n(Wn),Qn=d(65233),$=d(83622),x=d(26412),h=d(66309),Yn=d(3303),Oe=d(96074),qn=d(68795),et=d(48115),nt=d(80882),e=d(85893),tt={label:"name",value:"id",children:"children"},at=function(E){var p=E.dispatch,l=E.dictModel,le=E.getSearchParams,R=E.page,z=E.pagesize,Z=(0,r.useState)(!1),M=o()(Z,2),Y=M[0],G=M[1],ce=(0,r.useState)(!1),q=o()(ce,2),A=q[0],H=q[1],C=(0,r.useState)(""),Q=o()(C,2),w=Q[0],F=Q[1],X=(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:R,pagesize:z}),_=o()(X,2),J=_[0],i=_[1],j=(0,r.useRef)(!0),L=(0,r.useState)(!0),T=o()(L,2),g=T[0],P=T[1];(0,r.useEffect)(function(){var t=function(){var n=K()(b()().mark(function u(){return b()().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:P(!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 I=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}),I||l.xiaolanzhenList.unshift({id:0,name:"\u4E0D\u9650",checked:!0});var ee=l.zhongshanList.some(function(t){return t.name==="\u4E2D\u5C71\u5E02"});ee||(l.zhongshanList.unshift({id:1000037,name:"\u4E2D\u5C71\u5E02",checked:!1}),l.zhongshanList=l.zhongshanList.filter(function(t){return t.id!==100004}));var B=(0,r.useState)(""),U=o()(B,2),ne=U[0],V=U[1],S=(0,r.useState)(null),v=o()(S,2),k=v[0],O=v[1],N=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}),V(n.name),j.current=!1},D=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})})},xt=(0,r.useState)(["\u5973"]),Ne=o()(xt,2),$e=Ne[0],oe=Ne[1],vt=(0,r.useState)({name:"\u5973"}),Ge=o()(vt,2),Xe=Ge[0],de=Ge[1],mt=function(n,u){de(n);var a=u?[n.name]:$e.filter(function(c){return c!==n.name});oe(a),i(function(c){return s()(s()({},c),{},{gender:n.value})})},Ct=(0,r.useState)(["\u4E0D\u9650"]),Ue=o()(Ct,2),Ve=Ue[0],he=Ue[1],jt=(0,r.useState)(null),Ke=o()(jt,2),We=Ke[0],ge=Ke[1],St=function(n,u){ge(n);var a=u?[n.name]:Ve.filter(function(c){return c!==n.name});he(a),i(function(c){return s()(s()({},c),{},{title:n.id})})},yt=(0,r.useState)(["\u4E0D\u9650"]),Qe=o()(yt,2),fe=Qe[0],pe=Qe[1],Zt=(0,r.useState)(null),Ye=o()(Zt,2),qe=Ye[0],xe=Ye[1],Lt=function(n,u){xe(n);var a=u?[n.name]:fe.filter(function(c){return c!==n.name});pe(a),i(function(c){return s()(s()({},c),{},{education:n.id})})},Tt=(0,r.useState)(["\u4E0D\u9650"]),en=o()(Tt,2),kt=en[0],Et=en[1],It=(0,r.useState)(null),nn=o()(It,2),tn=nn[0],an=nn[1],bt=function(n,u){an(n);var a=u?[n.name]:fe.filter(function(c){return c!==n.name});Et(a),i(function(c){return s()(s()({},c),{},{marital_status:n.id})})},Ft=(0,r.useState)(["\u4E0D\u9650"]),sn=o()(Ft,2),rn=sn[0],ve=sn[1],Bt=(0,r.useState)(null),ln=o()(Bt,2),cn=ln[0],me=ln[1],zt=function(n,u){me(n);var a=u?[n.name]:rn.filter(function(c){return c!==n.name});ve(a),i(function(c){return s()(s()({},c),{},{ethnicity:n.id})})},wt=(0,r.useState)(["\u4E0D\u9650"]),un=o()(wt,2),on=un[0],Ce=un[1],Pt=(0,r.useState)(null),dn=o()(Pt,2),hn=dn[0],je=dn[1],Dt=function(n,u){je(n);var a=u?[n.name]:on.filter(function(c){return c!==n.name});Ce(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],Se=gn[1],At=(0,r.useState)(null),pn=o()(At,2),xn=pn[0],ye=pn[1],_t=function(n,u){ye(n);var a=u?[n.name]:fn.filter(function(c){return c!==n.name});Se(a),i(function(c){return s()(s()({},c),{},{job_type_desire:n.id})})},Ot=(0,r.useState)(["\u4E0D\u9650"]),vn=o()(Ot,2),te=vn[0],Ze=vn[1],Rt=(0,r.useState)(null),mn=o()(Rt,2),Cn=mn[0],Le=mn[1],Ht=function(n,u){Le(n);var a=u?[n.name]:te.filter(function(c){return c!==n.name});Ze(a),i(function(c){return s()(s()({},c),{},{talent_type_desire:n.id})})},Jt=(0,r.useState)(["\u4E0D\u9650"]),jn=o()(Jt,2),Nt=jn[0],Te=jn[1],$t=(0,r.useState)(null),Sn=o()($t,2),yn=Sn[0],ke=Sn[1],Gt=function(n,u){ke(n);var a=u?[n.name]:te.filter(function(c){return c!==n.name});Te(a),i(function(c){return s()(s()({},c),{},{salary_range_desire:n.id})})},Xt=(0,r.useState)(["\u4E0D\u9650"]),Zn=o()(Xt,2),Ut=Zn[0],Vt=Zn[1],Kt=(0,r.useState)(null),Ln=o()(Kt,2),fa=Ln[0],Wt=Ln[1],Qt=function(n,u){Wt(n);var a=u?[n.name]:te.filter(function(c){return c!==n.name});Vt(a),i(function(c){return s()(s()({},c),{},{available_date_desire:n.id})})},Yt=(0,r.useState)(["\u4E0D\u9650"]),Tn=o()(Yt,2),kn=Tn[0],Ee=Tn[1],qt=(0,r.useState)(null),En=o()(qt,2),In=En[0],Ie=En[1],ea=function(n,u){Ie(n);var a=u?[n.name]:kn.filter(function(c){return c!==n.name});Ee(a),i(function(c){return s()(s()({},c),{},{skill_certification_desire:n.id})})},na=(0,r.useState)(["\u4E0D\u9650"]),bn=o()(na,2),Fn=bn[0],be=bn[1],ta=(0,r.useState)(null),Bn=o()(ta,2),zn=Bn[0],Fe=Bn[1],aa=function(n,u){Fe(n);var a=u?[n.name]:Fn.filter(function(c){return c!==n.name});be(a),i(function(c){return s()(s()({},c),{},{english:n.id})})},sa=(0,r.useState)(["\u4E0D\u9650"]),wn=o()(sa,2),Pn=wn[0],ae=wn[1],ia=(0,r.useState)(null),Dn=o()(ia,2),Mn=Dn[0],Be=Dn[1],ra=function(n,u){Be(n);var a=u?[n.name]:Pn.filter(function(c){return c!==n.name});ae(a)},la=(0,r.useState)(["\u4E0D\u9650"]),An=o()(la,2),_n=An[0],ze=An[1],ca=(0,r.useState)(null),On=o()(ca,2),Rn=On[0],we=On[1],ua=function(n,u){we(n);var a=u?[n.name]:_n.filter(function(c){return c!==n.name});ze(a),i(function(c){return s()(s()({},c),{},{cantonese:n.id})})},oa=(0,r.useState)(["\u4E0D\u9650"]),Hn=o()(oa,2),Jn=Hn[0],Pe=Hn[1],da=(0,r.useState)(null),Nn=o()(da,2),$n=Nn[0],De=Nn[1],ha=function(n,u){De(n);var a=u?[n.name]:Jn.filter(function(c){return c!==n.name});Pe(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:w})})},[w]),(0,r.useEffect)(function(){i(function(t){return s()(s()({},t),{},{page:R,pagesize:z})})},[R,z]),(0,r.useEffect)(function(){le(J)},[J]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(se.ZP,{theme:{components:{Segmented:{colorText:"#19be6e"},Button:{colorText:""},Tabs:{verticalItemPadding:"0 24px"}}},children:(0,e.jsxs)(y.Z,{direction:"vertical",size:20,style:{width:"100%"},children:[(0,e.jsx)(f.Z,{justify:"center",align:"center",children:(0,e.jsxs)(y.Z.Compact,{style:{width:"80%"},children:[(0,e.jsx)(Qn.Z,{size:"large",prefix:(0,e.jsx)(qn.Z,{style:{color:"#19be6e"}}),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD",allowClear:!0,onChange:function(n){F(n.target.value)},defaultValue:w}),(0,e.jsx)($.ZP,{size:"large",type:"primary",style:{width:200},onClick:function(){F(J.keyword)},children:"\u641C\u7D22"})]})}),(0,e.jsxs)(y.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:$e.includes(t.name),onChange:function(a){mt(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){St(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:fe.includes(t.name),onChange:function(a){Lt(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:Ut.includes(t.name),onChange:function(a){Qt(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){ea(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:te.includes(t.name),onChange:function(a){Ht(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:Nt.includes(t.name),onChange:function(a){Gt(t,a)},children:t.name},t.id)})})}),A&&(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){aa(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){ra(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:_n.includes(t.name),onChange:function(a){ua(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){ha(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:kt.includes(t.name),onChange:function(a){bt(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){zt(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){Dt(t,a)},children:t.name},t.id)})})}),(0,e.jsx)(x.Z.Item,{span:24,label:"\u5730\u533A\u9009\u62E9",children:(0,e.jsxs)(y.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(){N(t,n),O({item:t,index:n}),D(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(){N(t,n),O({item:t,index:n}),D(t,n)},children:t.name})})}),(0,e.jsx)(Yn.Z,{style:{width:"50%"},placeholder:"\u8BF7\u9009\u62E9\u5730\u533A",options:l.areaList,fieldNames:tt,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)(Oe.Z,{plain:!0,children:(0,e.jsx)($.ZP,{type:"text",onClick:function(){H(!A)},icon:A?(0,e.jsx)(et.Z,{}):(0,e.jsx)(nt.Z,{}),iconPosition:"end",children:A?"\u5173\u95ED\u66F4\u591A":"\u5C55\u5F00\u66F4\u591A"})})})]}),(0,e.jsxs)(f.Z,{justify:"space-between",align:"center",children:[(0,e.jsxs)(y.Z,{children:[(0,e.jsx)("div",{style:{width:60},children:"\u5DF2\u9009\u62E9\uFF1A"}),(0,e.jsxs)(ie.Z,{gutter:[10,10],children:[w&&(0,e.jsx)(m.Z,{children:(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){F(""),i(function(n){return s()(s()({},n),{},{keyword:""})})},children:w})}),ne&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){V(""),i(function(n){return s()(s()({},n),{},{reg_level1:0,reg_level2:0,reg_level3:0,reg_level4:0})})},children:ne})]}),Xe&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){de({name:"\u5973"}),oe(["\u5973"]),i(function(n){return s()(s()({},n),{},{gender:0})})},children:Xe.name})]}),We&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){ge(null),he(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{profelevel_rq:0})})},children:We.name})]}),qe&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){xe(null),pe(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{school_degree_rq:0})})},children:qe.name})]}),tn&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Be(null),ae(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{experience_rq:0})})},children:tn.name})]}),cn&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){me(null),ve(["\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)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){je(null),Ce(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{certification_rq:0})})},children:hn.name})]}),xn&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){ye(null),Se(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{nature:0})})},children:xn.name})]}),Cn&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Le(null),Ze(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{update_time_range:0})})},children:Cn.name})]}),yn&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){ke(null),Te(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{pay_range:0})})},children:yn.name})]}),In&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Ie(null),Ee(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{pay_range:0})})},children:In.name})]}),zn&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Fe(null),be(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{english:0})})},children:zn.name})]}),Rn&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){we(null),ze(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{shisu:0})})},children:Rn.name})]}),Mn&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Be(null),ae(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{holidays:0})})},children:Mn.name})]}),$n&&(0,e.jsxs)(m.Z,{children:[" ",(0,e.jsx)(h.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){De(null),Pe(["\u4E0D\u9650"]),i(function(n){return s()(s()({},n),{},{urgent:0})})},children:$n.name})]})]})]}),(0,e.jsx)($.ZP,{size:"small",onClick:function(){F(""),V(""),de({name:"\u5973"}),oe(["\u5973"]),ge(null),he(["\u4E0D\u9650"]),xe(null),pe(["\u4E0D\u9650"]),an(null),ae(["\u4E0D\u9650"]),me(null),ve(["\u4E0D\u9650"]),je(null),Ce(["\u4E0D\u9650"]),ye(null),Se(["\u4E0D\u9650"]),Le(null),Ze(["\u4E0D\u9650"]),ke(null),Te(["\u4E0D\u9650"]),Ie(null),Ee(["\u4E0D\u9650"]),Fe(null),be(["\u4E0D\u9650"]),we(null),ze(["\u4E0D\u9650"]),De(null),Pe(["\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"})]})]})]})})})},st=(0,_e.connect)(function(W){var E=W.dictModel,p=W.openModel;return{dictModel:E}})(at),it=d(98998),Re=d(45073),rt=d(7134),He=d(17788),lt=d(55375),ct=d(97088),ut=d(93162),re=d(24458),ot=d(52087),dt=d(48273),ht=d(2205),gt=function(E){var p=E.list,l=E.type,le=(0,r.useRef)(),R=(0,r.useState)(!1),z=o()(R,2),Z=z[0],M=z[1],Y=(0,r.useState)("oneModel"),G=o()(Y,2),ce=G[0],q=G[1],A=(0,r.useState)(null),H=o()(A,2),C=H[0],Q=H[1],w=(0,r.useState)(!1),F=o()(w,2),X=F[0],_=F[1];(0,r.useEffect)(function(){M(!0)},[C]);var J=function(j){_(j)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(se.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,e.jsx)("div",{style:{minHeight:"800px"},children:(0,e.jsx)(ie.Z,{gutter:[20,20],children:p.length>0&&p.map(function(i,j){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(m.Z,{span:24,children:(0,e.jsx)(y.Z,{direction:"vertical",style:{background:"#ffffff",padding:"20px",width:"100%",borderRadius:10,cursor:"pointer"},children:(0,e.jsxs)(y.Z,{size:10,align:"start",children:[(0,e.jsx)(f.Z,{justify:"center",align:"center",style:{width:88},children:(0,e.jsxs)(y.Z,{direction:"vertical",align:"center",children:[(0,e.jsx)(rt.C,{size:68,src:i.photo?"".concat(lt.VO).concat(i.photo):"/images/onlylogo.jpg"}),(0,e.jsxs)(h.Z,{color:"#19be6e",children:[" ",i.salary_range_txt]})]})}),(0,e.jsxs)(y.Z,{direction:"vertical",children:[(0,e.jsxs)(y.Z,{align:"center",children:[(0,e.jsx)("div",{onClick:function(){(0,re.ts)({customer_id:i.customer_id}).then(function(T){Q(T.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)(y.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&&i.work_experience!=0&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(Oe.Z,{type:"vertical"})," \u5DE5\u4F5C\u7ECF\u9A8C\uFF1A",i.work_experience,"\u5E74"]})})]}),(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"})})})]})]})]})})})})})})}),C&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(He.Z,{title:"\u9884\u89C8\u7B80\u5386",centered:!0,destroyOnClose:!0,closable:!1,open:Z,footer:function(){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)($.ZP,{onClick:function(){M(!1)},children:"\u5173\u95ED"},"back"),",",(0,e.jsx)($.ZP,{type:"primary",onClick:K()(b()().mark(function j(){var L,T,g;return b()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return L=document.getElementById("resume-box"),T=ct.m(L==null?void 0:L.outerHTML),I.next=4,T;case 4:g=I.sent,(0,ut.saveAs)(g,"\u4E2A\u4EBA\u7B80\u5386.docx");case 6:case"end":return I.stop()}},j)})),children:"\u4E0B\u8F7D\u7B80\u5386"},"submit"),",",(0,e.jsx)($.ZP,{type:"primary",onClick:K()(b()().mark(function j(){return b()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:_(!0);case 1:case"end":return T.stop()}},j)})),children:"\u9080\u8BF7\u9762\u8BD5"},"submit"),","]})},width:1e3,children:(0,e.jsxs)(y.Z,{direction:"vertical",style:{width:"100%"},children:[(C.resume_template==0||C.resume_template==1)&&(0,e.jsx)(ot.Z,{bgcolor:"#19be6e",fontcolor:"#19be6e",id:C==null?void 0:C.customer_id}),(C==null?void 0:C.resume_template)==2&&(0,e.jsx)(dt.Z,{bgcolor:"#19be6e",fontcolor:"#19be6e",id:C==null?void 0:C.customer_id})]})}),(0,e.jsx)(He.Z,{open:X,title:"\u53D1\u9001\u9762\u8BD5\u9080\u8BF7",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:400,onCancel:function(){_(!1)},children:(0,e.jsx)(ht.Z,{detail:C,closeModel:J})})]})]})})},Je=gt,ft=function(){var E=(0,_e.useSearchParams)(),p=o()(E,2),l=p[0],le=p[1],R=(0,r.useState)([]),z=o()(R,2),Z=z[0],M=z[1],Y=(0,r.useState)([]),G=o()(Y,2),ce=G[0],q=G[1],A=(0,r.useState)(null),H=o()(A,2),C=H[0],Q=H[1],w=(0,r.useState)(0),F=o()(w,2),X=F[0],_=F[1],J=(0,r.useState)(1),i=o()(J,2),j=i[0],L=i[1],T=(0,r.useState)(12),g=o()(T,2),P=g[0],I=g[1],ue=(0,r.useState)("\u63A8\u8350\u7B80\u5386"),ee=o()(ue,2),B=ee[0],U=ee[1];(0,r.useEffect)(function(){B=="\u5E94\u5C4A\u6BD5\u4E1A\u751F"&&(0,re.k1)({page:j,pagesize:P,sort:"updated_at",sortby:"desc",type:1001028}).then(function(S){M(S.data.seekers?S.data.seekers:[]),V(S.data.total)})},[B,j,P]);var ne=function(){var S=K()(b()().mark(function v(k){var O;return b()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(B!="\u641C\u7D22\u7ED3\u679C"){D.next=9;break}return L(k.page),I(k.pagesize),console.log(k),D.next=6,(0,re.k1)(k||{page:j,pagesize:P,sort:"updated_at",sortby:"desc"});case 6:O=D.sent,M(O.data.seekers?O.data.seekers:[]),V(O.data.total);case 9:case"end":return D.stop()}},v)}));return function(k){return S.apply(this,arguments)}}(),V=function(v){_(v)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(se.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"},Segmented:{trackBg:"#f0f0f0",itemSelectedColor:"#19be6e"}}},children:(0,e.jsxs)(y.Z,{direction:"vertical",size:30,style:{minHeight:"800px"},children:[B=="\u641C\u7D22\u7ED3\u679C"?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(st,{getSearchParams:ne,page:j,pagesize:P})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(f.Z,{justify:"flex-end",align:"center",children:(0,e.jsx)(Vn.Z,{checkedChildren:"\u5173\u95ED\u641C\u7D22",unCheckedChildren:"\u5F00\u542F\u641C\u7D22",onChange:function(){var S=K()(b()().mark(function v(k){return b()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:U(k?"\u641C\u7D22\u7ED3\u679C":"\u63A8\u8350\u7B80\u5386");case 1:case"end":return N.stop()}},v)}));return function(v){return S.apply(this,arguments)}}()})})}),(0,e.jsx)(ie.Z,{gutter:[16,16],children:(0,e.jsx)(m.Z,{span:24,children:(0,e.jsxs)(y.Z,{direction:"vertical",size:"small",style:{width:"100%"},children:[(0,e.jsx)(Kn.Z,{size:"large",block:!0,value:B,options:["\u63A8\u8350\u7B80\u5386","\u5E94\u5C4A\u6BD5\u4E1A\u751F","\u641C\u7D22\u7ED3\u679C"],onChange:function(v){U(v),L(1),I(12)}}),(0,e.jsxs)("div",{style:{paddingTop:20},children:[B=="\u63A8\u8350\u7B80\u5386"&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(it.Z,{})}),B=="\u5E94\u5C4A\u6BD5\u4E1A\u751F"&&(0,e.jsxs)(e.Fragment,{children:[Z&&Z.length>0&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Je,{list:Z,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:X,showTotal:function(v){return"\u603B\u5171".concat(v,"\u6761")},current:j,pageSize:P,pageSizeOptions:["12","24","36"],onChange:function(v,k){L(v),I(k)}})})]}),!Z||Z.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"})})]}),B=="\u641C\u7D22\u7ED3\u679C"&&(0,e.jsxs)(e.Fragment,{children:[Z&&Z.length>0&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Je,{list:Z,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:X,showTotal:function(v){return"\u603B\u5171".concat(v,"\u6761")},current:j,pageSize:P,pageSizeOptions:["12","24","36"],onChange:function(v,k){L(v),I(k)}})})]}),!Z||Z.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"})})]})]})]})})})]})})})},pt=ft}}]);
|