1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2902],{31004:function(ae,z,u){var o=u(5574),n=u.n(o),r=u(71167),x=u.n(r),N=u(40190),h=u(67294),C=u(86492),K=u.n(C),T=u(85893),$=function(S){var f=S.defaultValue,R=S.placeholder,G=S.onChange,H=(0,h.useState)(f&&K().decode(f)),M=n()(H,2),q=M[0],I=M[1],l=function(k){I(k),G(k)};return(0,h.useEffect)(function(){if(f){var Q=f.replace(/<[^>]*>/g,"");l(Q?f:"")}},[f]),(0,T.jsx)("div",{children:(0,T.jsx)(x(),{bounds:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link"]]},value:q,onChange:l,theme:"snow",placeholder:R})})};z.Z=$},97785:function(ae,z,u){u.r(z),u.d(z,{default:function(){return we}});var o=u(15009),n=u.n(o),r=u(99289),x=u.n(r),N=u(5574),h=u.n(N),C=u(67294),K=u(7529),T=u(1832),$=u(68795),X=u(66309),S=u(26412),f=u(83622),R=u(17788),G=u(21532),H=u(86250),M=u(42075),q=u(65233),I=u(71230),l=u(15746),Q=u(92398),k=u(75891),L=u(72131),V=u(45029),Y=u(93410),E=u(86615),B=u(64317),Z=u(5966),ne=u(19054),he=u(31199),se=u(50335),te=u(19109),ue=u(97462),Ce=u(70271),oe=u(8214),fe=u(21134),ee=u(68872),re=u(65520),g=u(55375),de=u(5251),Be=u(27484),ce=u.n(Be),pe=u(70489),ve=u(31004),e=u(85893),Ae=function(P){var D=P.dispatch,j=P.dictModel,p=P.detail,ye=P.closeModel,J=(0,C.useRef)(),m=(0,C.useRef)([]);return(0,C.useEffect)(function(){if(p&&p.data&&p.data.id){var c;m==null||(c=m.current)===null||c===void 0||c.forEach(function(i){var a;p.data.age_array=[p.data.age_min,p.data.age_max],p.data.household_array=[p.data.household_province?p.data.household_province:null,p.data.household_city?p.data.household_city:null],p.data.location_array=[p.data.location_province?p.data.location_province:null,p.data.location_city?p.data.location_city:null,p.data.location_town?p.data.location_town:null];var s=p.data.describe_text.indexOf("<div>\u5C97\u4F4D\u804C\u8D23</div>")+15,t=p.data.describe_text.indexOf("<div>\u4EFB\u804C\u8981\u6C42</div>"),b=p.data.describe_text.substring(s,t),v=p.data.describe_text.indexOf("<div>\u4EFB\u804C\u8981\u6C42</div>")+15,le=p.data.describe_text.substring(v);p.data.gangweizhize=b.trim(),p.data.renzhiyaoqiu=le.trim(),i==null||(a=i.current)===null||a===void 0||a.setFieldsValue(p.data)})}},[]),(0,C.useEffect)(function(){D({type:"dictModel/getList",payload:{code:2004,type:"setPositionList"}}),D({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}}),D({type:"dictModel/getList",payload:{code:2005,type:"setPayList"}}),D({type:"dictModel/getList",payload:{code:2016,type:"setAccommodationRequirementList"}}),D({type:"dictModel/getList",payload:{code:2017,type:"setHolidayRestList"}}),D({type:"dictModel/getList",payload:{code:2018,type:"setLicenseList"}}),D({type:"dictModel/getList",payload:{code:2021,type:"setWorkExperienceList"}}),D({type:"dictModel/getList",payload:{code:2006,type:"setEducationList"}}),D({type:"dictModel/getList",payload:{code:2014,type:"setTitleList"}}),D({type:"dictModel/getList",payload:{code:2015,type:"setSkillCertificationeList"}}),D({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),D({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),D({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(G.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Segmented:{itemSelectedBg:"#19be6e",itemSelectedColor:"#ffffff"}}},children:(0,e.jsxs)(V.L0,{formMapRef:m,formRef:J,onFinish:function(){var c=x()(n()().mark(function i(a){var s,t;return n()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(a.job_type=a.job_type&&a.job_type.slice(0,3),a.job_location=a.job_location&&a.job_location.slice(0,4),a.age_array&&a.age_array.length>0&&(a.age_min=a.age_array&&a.age_array[0]?a.age_array[0]:0,a.age_max=a.age_array&&a.age_array[1]?a.age_array[1]:0,delete a.age_array),a.household_array&&a.household_array.length>0&&(a.household_province=a.household_array&&a.household_array[0]?a.household_array[0]:0,a.household_city=a.household_array&&a.household_array[1]?a.household_array[1]:0,delete a.household_array),a.location_array&&a.location_array.length>0&&(a.location_province=a.location_array&&a.location_array[0]?a.location_array[0]:0,a.location_city=a.location_array&&a.location_array[1]?a.location_array[1]:0,a.location_town=a.location_array&&a.location_array[2]?a.location_array[2]:0,delete a.location_array),a.describe_text="<div>\u5C97\u4F4D\u804C\u8D23</div>"+a.gangweizhize+"<div>\u4EFB\u804C\u8981\u6C42</div>"+a.renzhiyaoqiu,delete a.gangweizhize,delete a.renzhiyaoqiu,a.status=a.status?a.status:1,!p){v.next=18;break}return a.id=p.data.id,v.next=13,(0,L.Kp)(a);case 13:s=v.sent,ee.ZP.success("\u63D0\u4EA4\u6210\u529F"),ye(!1),v.next=23;break;case 18:return v.next=20,(0,L.f5)(a);case 20:t=v.sent,ee.ZP.success("\u63D0\u4EA4\u6210\u529F"),ye(!1);case 23:return v.abrupt("return",!0);case 24:case"end":return v.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),children:[(0,e.jsx)(V.L0.StepForm,{title:"\u57FA\u672C\u4FE1\u606F",onFinish:function(){var c=x()(n()().mark(function i(a){return n()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),children:(0,e.jsx)(Y.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(I.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(E.Z.Group,{name:"urgent",label:"\u662F\u5426\u7D27\u6025",fieldProps:{defaultValue:2},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{showSearch:!0,name:"department_id",label:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(H.Z,{align:"center",children:["\u9009\u62E9\u90E8\u95E8",(0,e.jsx)(k.Link,{to:{pathname:"/manage/company/department"},target:"_black",style:{color:"#19be6e",paddingLeft:8},children:"\u6DFB\u52A0\u90E8\u95E8"}),"\uFF0C\u6DFB\u52A0\u5B8C\u6BD5\u540E\u70B9\u51FB",(0,e.jsx)("div",{style:{color:"#19be6e"},onClick:function(){(0,pe.UE)({page:1,pagesize:100,company_id:localStorage.getItem("companyid")}).then(function(i){return i.data.rows})},children:"\u5237\u65B0"})]})}),placeholder:"\u8BF7\u9009\u62E9\u90E8\u95E8",fieldProps:{fieldNames:g.RI,onChange:function(i,a){var s;console.log(a),m==null||(s=m.current)===null||s===void 0||s.forEach(function(t){var b;t==null||(b=t.current)===null||b===void 0||b.setFieldsValue({contact:a.contact,phone:a.phone,mobile:a.mobile,email:a.email})})}},request:function(){var c=x()(n()().mark(function i(a){return n()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,pe.UE)({page:1,pagesize:100,keyword:a.keyWords,company_id:localStorage.getItem("companyid")}).then(function(b){return b.data.rows}));case 1:case"end":return t.stop()}},i)}));return function(i){return c.apply(this,arguments)}}()})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u804C\u4F4D\u540D\u79F0",name:"name",placeholder:"\u8BF7\u8F93\u5165\u804C\u4F4D\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u804C\u4F4D\u540D\u79F0"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u62DB\u8058\u4EBA\u6570",name:"invite_count",placeholder:"\u8BF7\u8F93\u5165\u62DB\u8058\u4EBA\u6570"})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(ne.Z,{label:"\u804C\u4F4D\u7C7B\u522B",name:"job_type",fieldProps:{fieldNames:g.Mo,treeData:j.industryPostList,multiple:!0},placeholder:"\u8BF7\u9009\u62E9\u804C\u4F4D\u7C7B\u522B(\u6700\u591A\u4E09\u4E2A,\u591A\u9009\u53EA\u53D6\u524D\u4E09)",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u804C\u4F4D\u7C7B\u522B"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(ne.Z,{label:"\u5DE5\u4F5C\u533A\u57DF",name:"job_location",fieldProps:{fieldNames:g.Mo,treeData:j.areaList,multiple:!0},placeholder:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u533A\u57DF(\u6700\u591A\u56DB\u4E2A,\u591A\u9009\u53EA\u53D6\u524D\u56DB)",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u533A\u57DF"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(he.Z,{label:"\u6709\u6548\u5929\u6570",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u5929\u6570",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6709\u6548\u5929\u6570"}],name:"useful_life",min:0,max:300,fieldProps:{onChange:function(i){var a=ce()(),s=a.add(i,"day"),t=s.format("YYYY-MM-DD");J.current&&J.current.setFieldsValue({disabled_date:t})}}})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(se.Z,{width:"xl",name:"disabled_date",label:"\u5230\u671F\u65E5\u671F",placeholder:"\u8BF7\u9009\u62E9\u5230\u671F\u65E5\u671F",fieldProps:{disabledDate:de._,onChange:function(i){if(i){var a=ce()(),s=ce()(i),t=a.diff(s,"day"),b=-t;J.current&&J.current.setFieldsValue({useful_life:b+1})}else J.current&&J.current.setFieldsValue({useful_life:0})}},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5230\u671F\u65E5\u671F"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u5173\u952E\u8BCD\uFF0C\u53EF\u7528\u4E8E\u641C\u7D22\u804C\u4F4D\u7684\u5173\u952E\u8BCD",name:"key_word",placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\uFF0C\u53EF\u7528\u4E8E\u641C\u7D22\u804C\u4F4D\u7684\u5173\u952E\u8BCD"})})]})})}),(0,e.jsx)(V.L0.StepForm,{title:"\u804C\u4F4D\u63CF\u8FF0",onFinish:function(){var c=x()(n()().mark(function i(a){return n()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),children:(0,e.jsx)(Y.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(I.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(re.Z.Item,{name:"gangweizhize",label:"\u5C97\u4F4D\u804C\u8D23",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u804C\u8D23"}],children:(0,e.jsx)(te.i$,{children:function(){return(0,e.jsx)(ue.Z,{name:["gangweizhize"],children:function(a,s){var t=a.gangweizhize;return(0,e.jsx)(ve.Z,{placeholder:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u804C\u8D23",defaultValue:t,onChange:function(v){s.formRef.current.setFieldsValue({gangweizhize:v})}})}})}})})}),(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(re.Z.Item,{name:"renzhiyaoqiu",label:"\u4EFB\u804C\u8981\u6C42",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EFB\u804C\u8981\u6C42"}],children:(0,e.jsx)(te.i$,{children:function(){return(0,e.jsx)(ue.Z,{name:["renzhiyaoqiu"],children:function(a,s){var t=a.renzhiyaoqiu;return(0,e.jsx)(ve.Z,{placeholder:"\u8BF7\u8F93\u5165\u4EFB\u804C\u8981\u6C42",defaultValue:t,onChange:function(v){s.formRef.current.setFieldsValue({renzhiyaoqiu:v})}})}})}})})}),(0,e.jsx)(l.Z,{span:5,children:(0,e.jsx)(E.Z.Group,{name:"fulltime",label:"\u662F\u5426\u5168\u804C",fieldProps:{defaultValue:1,onChange:function(i){if(i.target.value===1){var a;m==null||(a=m.current)===null||a===void 0||a.forEach(function(s){var t;s==null||(t=s.current)===null||t===void 0||t.setFieldsValue({parttime:2,casual:2,practical:2,campus:2})})}}},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:5,children:(0,e.jsx)(E.Z.Group,{name:"parttime",label:"\u662F\u5426\u517C\u804C",fieldProps:{defaultValue:2,onChange:function(i){if(i.target.value===1){var a;m==null||(a=m.current)===null||a===void 0||a.forEach(function(s){var t;s==null||(t=s.current)===null||t===void 0||t.setFieldsValue({fulltime:2,casual:2,practical:2,campus:2})})}}},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:5,children:(0,e.jsx)(E.Z.Group,{name:"casual",label:"\u662F\u5426\u4E34\u65F6",fieldProps:{defaultValue:2,onChange:function(i){if(i.target.value===1){var a;m==null||(a=m.current)===null||a===void 0||a.forEach(function(s){var t;s==null||(t=s.current)===null||t===void 0||t.setFieldsValue({fulltime:2,parttime:2,practical:2,campus:2})})}}},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:5,children:(0,e.jsx)(E.Z.Group,{name:"practical",label:"\u662F\u5426\u5B9E\u4E60",fieldProps:{defaultValue:2,onChange:function(i){if(i.target.value===1){var a;m==null||(a=m.current)===null||a===void 0||a.forEach(function(s){var t;s==null||(t=s.current)===null||t===void 0||t.setFieldsValue({fulltime:2,parttime:2,casual:2,campus:2})})}}},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:4,children:(0,e.jsx)(E.Z.Group,{name:"campus",label:"\u6821\u56ED\u62DB\u8058",fieldProps:{defaultValue:2,onChange:function(i){if(i.target.value===1){var a;m==null||(a=m.current)===null||a===void 0||a.forEach(function(s){var t;s==null||(t=s.current)===null||t===void 0||t.setFieldsValue({fulltime:2,parttime:2,casual:2,practical:2})})}}},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u85AA\u8D44\u8303\u56F4",name:"pay_range",fieldProps:{fieldNames:g.RI},options:j.payList,placeholder:"\u8BF7\u9009\u62E9\u85AA\u8D44\u8303\u56F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u85AA\u8D44\u8303\u56F4"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u98DF\u5BBF\u8981\u6C42",name:"shisu",fieldProps:{fieldNames:g.RI},options:j.accommodationRequirementList,placeholder:"\u8BF7\u9009\u62E9\u98DF\u5BBF\u8981\u6C42",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u98DF\u5BBF\u8981\u6C42"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5",name:"holidays",fieldProps:{fieldNames:g.RI},options:j.holidayRestList,placeholder:"\u8BF7\u9009\u62E9\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5"}]})})]})})}),(0,e.jsx)(V.L0.StepForm,{title:"\u9762\u8BD5\u5730\u5740",onFinish:function(){var c=x()(n()().mark(function i(a){return n()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),children:(0,e.jsx)(Y.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(I.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(H.Z,{align:"center",children:["\u9762\u8BD5\u5730\u5740",(0,e.jsx)("div",{style:{color:"#19be6e",paddingLeft:8},onClick:function(){(0,pe.vN)({id:localStorage.getItem("companyid")}).then(function(i){if(i.data.detail_address){var a;m==null||(a=m.current)===null||a===void 0||a.forEach(function(s){var t;s==null||(t=s.current)===null||t===void 0||t.setFieldsValue({interview_address:i.data.detail_address})})}else ee.ZP.error("\u6682\u65E0\u5730\u5740")})},children:"\u83B7\u53D6\u4F01\u4E1A\u5730\u5740"})]})}),name:"interview_address",placeholder:"\u8BF7\u8F93\u5165\u9762\u8BD5\u5730\u5740"})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u5176\u4ED6\u5730\u5740",name:"other_address",placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u5730\u5740"})})]})})}),(0,e.jsx)(V.L0.StepForm,{title:"\u804C\u4F4D\u8981\u6C42",onFinish:function(){var c=x()(n()().mark(function i(a){return n()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),children:(0,e.jsx)(Y.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(I.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u5DE5\u4F5C\u7ECF\u9A8C\u8981\u6C42",name:"experience",fieldProps:{fieldNames:g.RI},options:j.workExperienceList,placeholder:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u7ECF\u9A8C\u8981\u6C42",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u7ECF\u9A8C\u8981\u6C42"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u5B66\u5386",name:"school_degree",fieldProps:{fieldNames:g.RI},options:j.educationList,placeholder:"\u8BF7\u9009\u62E9\u5B66\u5386"})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(E.Z.Group,{name:"degree_better",label:"\u662F\u5426\u662F\u6700\u9AD8\u5B66\u5386",fieldProps:{defaultValue:1},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u804C\u79F0\u8981\u6C42",name:"profelevel",fieldProps:{fieldNames:g.RI},options:j.titleList,placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0\u8981\u6C42",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u804C\u79F0\u8981\u6C42"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u6280\u80FD\u8BA4\u8BC1",name:"certification",fieldProps:{fieldNames:g.RI},options:j.skillCertificationeList,placeholder:"\u8BF7\u9009\u62E9\u6280\u80FD\u8BA4\u8BC1",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6280\u80FD\u8BA4\u8BC1"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u8BED\u8A00\u8981\u6C42",name:"language",fieldProps:{fieldNames:g.RI},options:j.otherLanguageList,placeholder:"\u8BF7\u9009\u62E9\u8BED\u8A00\u8981\u6C42"})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u638C\u63E1\u7A0B\u5EA6",name:"language_degree",fieldProps:{fieldNames:g.RI},options:j.degreeList,placeholder:"\u8BF7\u9009\u62E9\u638C\u63E1\u7A0B\u5EA6"})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(E.Z.Group,{name:"sex",label:"\u6027\u522B\u8981\u6C42",fieldProps:{buttonStyle:"solid"},options:[{label:"\u7537",value:1},{label:"\u5973",value:2},{label:"\u4E0D\u9650",value:3}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Ce.Z,{label:"\u5E74\u9F84",name:"age_array",separator:"-",placeholder:["\u8BF7\u8F93\u5165\u6700\u5C0F\u5E74\u9F84","\u8BF7\u8F93\u5165\u6700\u5927\u5E74\u9F84"],fieldProps:{min:10,max:100}})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(E.Z.Group,{name:"marital_status",label:"\u5A5A\u59FB\u72B6\u51B5",fieldProps:{buttonStyle:"solid"},options:[{label:"\u5DF2\u5A5A",value:1},{label:"\u672A\u5A5A",value:2},{label:"\u4E0D\u9650",value:3}],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5A5A\u59FB\u72B6\u51B5"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u4E13\u4E1A",name:"major",placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A"}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(B.Z,{label:"\u8BC1\u4E66\u8981\u6C42",name:"license",fieldProps:{fieldNames:g.RI,options:j.licenseList,mode:"multiple"},placeholder:"\u8BF7\u9009\u62E9\u8BC1\u4E66\u8981\u6C42"})}),(0,e.jsx)(l.Z,{span:12,children:(0,e.jsx)(oe.Z,{label:"\u6240\u5728\u5730\u8981\u6C42",name:"location_arr",fieldProps:{fieldNames:g.Mo,options:j.areaList},placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730\u8981\u6C42"})}),(0,e.jsx)(l.Z,{span:12,children:(0,e.jsx)(oe.Z,{label:"\u7C4D\u8D2F\u8981\u6C42",name:"household_arr",fieldProps:{fieldNames:g.Mo,options:j.areaList},placeholder:"\u8BF7\u9009\u62E9\u7C4D\u8D2F\u8981\u6C42"})})]})})}),(0,e.jsx)(V.L0.StepForm,{title:"\u8054\u7CFB\u4FE1\u606F",onFinish:function(){var c=x()(n()().mark(function i(a){return n()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),children:(0,e.jsx)(Y.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(I.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(Z.Z,{label:"\u8054\u7CFB\u4EBA",name:"contact",placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA"}]})}),(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(Z.Z,{label:"\u62C5\u4EFB\u804C\u4F4D",name:"possession",placeholder:"\u8BF7\u8F93\u5165\u62C5\u4EFB\u804C\u4F4D"})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u8054\u7CFB\u7535\u8BDD",name:"phone",placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD"}]})}),(0,e.jsx)(l.Z,{span:16,children:(0,e.jsx)(E.Z.Group,{name:"phone_public",label:"\u662F\u5426\u516C\u5F00\u8054\u7CFB\u7535\u8BDD",fieldProps:{defaultValue:1},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u624B\u673A",name:"mobile",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A"}]})}),(0,e.jsx)(l.Z,{span:16,children:(0,e.jsx)(E.Z.Group,{name:"mobile_public",label:"\u662F\u5426\u516C\u5F00\u624B\u673A",fieldProps:{defaultValue:1},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u90AE\u7BB1",name:"email",placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1"})}),(0,e.jsx)(l.Z,{span:16,children:(0,e.jsx)(E.Z.Group,{name:"email_public",label:"\u662F\u5426\u516C\u5F00\u90AE\u7BB1",fieldProps:{defaultValue:1},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.Z,{label:"\u4F20\u771F",name:"fax",placeholder:"\u8BF7\u8F93\u5165\u4F20\u771F"})}),(0,e.jsx)(l.Z,{span:16,children:(0,e.jsx)(E.Z.Group,{name:"fax_public",label:"\u662F\u5426\u516C\u5F00\u4F20\u771F",fieldProps:{defaultValue:1},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(fe.Z,{name:"status",label:"\u804C\u4F4D\u72B6\u6001",request:x()(n()().mark(function c(){return n()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",[{label:"\u53D1\u5E03\u4E2D",value:1},{label:"\u672A\u53D1\u5E03",value:2},{label:"\u6682\u505C",value:3},{label:"\u9501\u5B9A",value:4},{label:"\u56DE\u6536\u7AD9",value:5},{label:"\u5DF2\u8FC7\u671F",value:6}]);case 1:case"end":return a.stop()}},c)}))})})]})})})]})})})},Re=(0,k.connect)(function(me){var P=me.dictModel;return{dictModel:P}})(Ae),Se=function(){var P=(0,C.useRef)(),D=(0,C.useState)([{name:"\u5168\u90E8",id:"0"},{name:"\u53D1\u5E03\u4E2D",id:"1"},{name:"\u672A\u53D1\u5E03",id:"2"},{name:"\u5DF2\u6682\u505C",id:"3"},{name:"\u5DF2\u9501\u5B9A",id:"4"},{name:"\u56DE\u6536\u7AD9",id:"5"},{name:"\u5DF2\u8FC7\u671F",id:"6"}]),j=h()(D,2),p=j[0],ye=j[1],J=(0,C.useState)("0"),m=h()(J,2),c=m[0],i=m[1],a=(0,C.useState)([]),s=h()(a,2),t=s[0],b=s[1],v=(0,C.useState)(0),le=h()(v,2),ze=le[0],Ie=le[1],Me=(0,C.useState)(1),xe=h()(Me,2),ge=xe[0],je=xe[1],Je=(0,C.useState)(12),Fe=h()(Je,2),be=Fe[0],Ee=Fe[1],Oe=(0,C.useState)(!1),De=h()(Oe,2),Te=De[0],ie=De[1],Ge=(0,C.useState)({}),Ze=h()(Ge,2),ke=Ze[0],Ve=Ze[1],Ue=(0,C.useState)(""),Pe=h()(Ue,2),Le=Pe[0],We=Pe[1],Ne=function(w){ie(w),(0,L.k)({page:1,pagesize:12}).then(function(O){b(O.data.list?O.data.list:[])})};(0,C.useEffect)(function(){(0,L.k)({page:1,pagesize:12}).then(function(A){b(A.data.list?A.data.list:[])})},[]);var Ke=function(w){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{minHeight:"800px"},children:(0,e.jsx)(K.Rs,{actionRef:P,ghost:!0,grid:{gutter:16,column:2},rowKey:"id",dataSource:t,request:x()(n()().mark(function O(){var U,d=arguments;return n()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return U=d.length>0&&d[0]!==void 0?d[0]:{},F.abrupt("return",(0,L.k)({page:ge,pagesize:be,sort:"id",sortby:"desc",status:Number(c),keyword:Le}).then(function(W){b(W.data.list),Ie(W.data.total)}));case 2:case"end":return F.stop()}},O)})),pagination:{current:ge,pageSize:be,total:ze,hideOnSinglePage:!0,onChange:function(U,d){je(U),Ee(d)},onShowSizeChange:function(U,d){je(U),Ee(d)}},showActions:"hover",metas:{title:{dataIndex:"name",render:function(U,d){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(k.Link,{to:{pathname:"/talent/job/detail?id=".concat(d.id)},target:"_blank",style:{color:"#000000",fontSize:16,marginRight:10},children:d.name}),d.urgent===1&&(0,e.jsx)(X.Z,{icon:(0,e.jsx)(T.Z,{}),bordered:!1,color:"#f50",children:"\u6025\u62DB"})]})}},content:{render:function(U,d){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(S.Z,{children:[(0,e.jsx)(S.Z.Item,{label:"\u6240\u5C5E\u90E8\u95E8",span:24,children:d.department_name}),(0,e.jsxs)(S.Z.Item,{label:"\u6709\u6548\u65F6\u95F4",span:24,children:[d.publish_date,"\u81F3",d.disabled_date]})]})})}},actions:{cardActionProps:"actions",render:function(U,d){return[(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{style:{width:"100%",display:"flex",justifyContent:"space-around"},children:[(0,e.jsx)(f.ZP,{type:"primary",disabled:d.status==4||d.status==5,onClick:x()(n()().mark(function _(){var F;return n()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,L.by)({id:d.id});case 2:F=y.sent,Ve(F),ie(!0);case 5:case"end":return y.stop()}},_)})),children:"\u7F16\u8F91"}),(0,e.jsx)(f.ZP,{color:"cyan",variant:"solid",disabled:d.status==3||d.status==4||d.status==5||d.status==6,onClick:function(){R.Z.confirm({title:"\u6682\u505C\u62DB\u8058",content:"\u786E\u5B9A\u6682\u505C\u62DB\u8058\u5417\uFF1F",onOk:function(){(0,L.l8)({id:d.id,status:3}).then(function(W){var y;(y=P.current)===null||y===void 0||y.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u6682\u505C\u62DB\u8058"}),(0,e.jsx)(f.ZP,{color:"cyan",variant:"solid",disabled:d.status===1||d.status==4||d.status==5,onClick:function(){R.Z.confirm({title:"\u91CD\u65B0\u53D1\u5E03",content:"\u786E\u5B9A\u91CD\u65B0\u53D1\u5E03\u5417\uFF1F",onOk:function(){(0,L.l8)({id:d.id,status:1}).then(function(W){var y;(y=P.current)===null||y===void 0||y.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u91CD\u65B0\u53D1\u5E03"}),(0,e.jsx)(f.ZP,{disabled:d.status===5||d.status==4,onClick:function(){R.Z.confirm({title:"\u653E\u5165\u56DE\u6536\u7AD9",content:"\u786E\u5B9A\u653E\u5165\u56DE\u6536\u7AD9\u5417\uFF1F",onOk:function(){(0,L.st)({id:d.id}).then(function(W){var y;(y=P.current)===null||y===void 0||y.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u653E\u5165\u56DE\u6536\u7AD9"}),(0,e.jsx)(f.ZP,{disabled:d.status===1||d.status===3||d.status===2||d.status==4||d.status==6,onClick:function(){R.Z.confirm({title:"\u79FB\u51FA\u56DE\u6536\u7AD9",content:"\u786E\u5B9A\u79FB\u51FA\u56DE\u6536\u7AD9\u5417\uFF1F",onOk:function(){(0,L.xc)({id:d.id}).then(function(W){var y;(y=P.current)===null||y===void 0||y.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u79FB\u51FA\u56DE\u6536\u7AD9"}),(0,e.jsx)(f.ZP,{danger:!0,disabled:d.status==4||d.status==5,onClick:function(){R.Z.confirm({title:"\u5220\u9664\u804C\u4F4D",content:"\u786E\u5B9A\u5220\u9664\u804C\u4F4D\u5417\uFF1F",onOk:function(){(0,L.Dl)({id:d.id}).then(function(W){var y;(y=P.current)===null||y===void 0||y.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u5220\u9664"})]})})]}}}})})})};return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(G.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,e.jsx)(H.Z,{justify:"flex-end",align:"center",children:(0,e.jsxs)(M.Z,{children:[(0,e.jsxs)(M.Z.Compact,{children:[(0,e.jsx)(q.Z,{size:"large",prefix:(0,e.jsx)($.Z,{style:{color:"#19be6e"}}),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD",allowClear:!0,value:Le,onChange:function(w){We(w.target.value)}}),(0,e.jsx)(f.ZP,{size:"large",type:"primary",style:{width:100},onClick:function(){var w;(w=P.current)===null||w===void 0||w.reload()},children:"\u641C\u7D22"})]}),(0,e.jsx)(f.ZP,{size:"large",type:"primary",onClick:function(){ie(!0)},children:"\u53D1\u5E03\u4E00\u4E2A\u804C\u4F4D"})]})}),(0,e.jsx)(M.Z,{direction:"vertical",size:30,children:(0,e.jsx)(I.Z,{gutter:[20,20],children:(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(M.Z,{direction:"vertical",size:20,style:{width:"100%"},children:(0,e.jsx)(Q.Z,{destroyInactiveTabPane:!0,activeKey:c,items:p.map(function(A,w){return{label:A.name,key:A.id,children:Ke(A.id)}}),onChange:function(w){i(w)}})})})})}),(0,e.jsx)(R.Z,{open:Te,title:"\u804C\u4F4D\u4FE1\u606F",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){ie(!1)},children:(0,e.jsx)(Re,{detail:ke,closeModel:Ne})})]})})},we=Se},70489:function(ae,z,u){u.d(z,{lu:function(){return oe},UE:function(){return R},L:function(){return C},Gc:function(){return ne},vN:function(){return h},Cg:function(){return q},Zq:function(){return H},mX:function(){return G},Os:function(){return de},du:function(){return ee},EZ:function(){return M},Qt:function(){return k},xP:function(){return I},s4:function(){return B},Mt:function(){return te},Jm:function(){return ue},Ld:function(){return X},aY:function(){return S},T7:function(){return f},XE:function(){return K},Cl:function(){return se},su:function(){return Y},z0:function(){return Z},Dz:function(){return E},NJ:function(){return $},cL:function(){return T},Og:function(){return V},Px:function(){return L},h9:function(){return g},FI:function(){return l},mj:function(){return Q},un:function(){return re}});var o=u(75334),n=u(55375),r={CompanyFamousList:n.xw+"/company/famous_list",CompanyProbationList:n.xw+"/company/probation_list",CompanyInfo:n.xw+"/company/info",CompanyDetailInfo:n.xw+"/company/detail_info",CompanyEdit:n.xw+"/company/edit",CompanyPhotoUpload:n.xw+"/company/photo_upload",CompanyLicenseUpload:n.xw+"/company/license_upload",CompanyDepartmentAdd:n.xw+"/company/department_add",CompanyDepartmentDel:n.xw+"/company/department_del",CompanyDepartmentEdit:n.xw+"/company/department_edit",CompanyDepartmentList:n.xw+"/company/department_list",CompanyRecommentResume:n.xw+"/company/recomment_resume",CompanyProfile:n.xw+"/company/profile",CompanyResumeList:n.xw+"/company/resume_list",CompanyInterviewList:n.xw+"/company/interview_list",CompanyTalentPoolList:n.xw+"/company/talent_pool_list",CompanyTalentPoolAdd:n.xw+"/company/talent_pool_add",CompanyTalentPoolDel:n.xw+"/company/talent_pool_del",CompanyResumeRecycleList:n.xw+"/company/resume_recycle_list",CompanyResumeRecycle:n.xw+"/company/resume_recycle",CompanyResumeRecover:n.xw+"/company/resume_recover",CompanyInterviewAdd:n.xw+"/company/interview_add",CompanyInterviewDel:n.xw+"/company/interview_del",CompanyViewedContactList:n.xw+"/company/viewed_contact_list",CompanyInterviewAdmission:n.xw+"/company/interview_admission",CompanyFee:n.xw+"/company/fee",CompanyPwdEdit:n.xw+"/company/pwd_edit",CompanyEmailEdit:n.xw+"/company/email_edit",CompanyCustomerCodeAdd:n.xw+"/companycustomercode/add",CompanyCustomerCodeDel:n.xw+"/companycustomercode/del",CompanyCustomerCodeUpdate:n.xw+"/companycustomercode/update",CompanyCustomerCodeList:n.xw+"/companycustomercode/list",CompanyCustomerCodeDetail:n.xw+"/companycustomercode/detail",CompanyRecruiters:n.xw+"/company/recruiters",JobseekerResetPwd:n.xw+"/jobseeker/resetpwd",CompanySearch:n.xw+"/company/search",CompanyRecrBookList:n.xw+"/company/recr_book_list"},x=(0,o.y)(r.CompanyFamousList),N=(0,o.y)(r.CompanyProbationList),h=(0,o.y)(r.CompanyInfo),C=(0,o.y)(r.CompanyDetailInfo),K=(0,o.L)(r.CompanyEdit),T=(0,o.L)(r.CompanyPhotoUpload),$=(0,o.L)(r.CompanyLicenseUpload),X=(0,o.L)(r.CompanyDepartmentAdd),S=(0,o.L)(r.CompanyDepartmentDel),f=(0,o.L)(r.CompanyDepartmentEdit),R=(0,o.y)(r.CompanyDepartmentList),G=(0,o.y)(r.CompanyRecommentResume),H=(0,o.y)(r.CompanyProfile),M=(0,o.y)(r.CompanyResumeList),q=(0,o.y)(r.CompanyInterviewList),I=(0,o.y)(r.CompanyTalentPoolList),l=(0,o.L)(r.CompanyTalentPoolAdd),Q=(0,o.L)(r.CompanyTalentPoolDel),k=(0,o.y)(r.CompanyResumeRecycleList),L=(0,o.L)(r.CompanyResumeRecycle),V=(0,o.L)(r.CompanyResumeRecover),Y=(0,o.L)(r.CompanyInterviewAdd),E=(0,o.L)(r.CompanyInterviewDel),B=(0,o.y)(r.CompanyViewedContactList),Z=(0,o.L)(r.CompanyInterviewAdmission),ne=(0,o.y)(r.CompanyFee),he=(0,o.L)(r.CompanyPwdEdit),se=(0,o.L)(r.CompanyEmailEdit),te=(0,o.L)(r.CompanyCustomerCodeAdd),ue=(0,o.L)(r.CompanyCustomerCodeDel),Ce=(0,o.L)(r.CompanyCustomerCodeUpdate),oe=(0,o.y)(r.CompanyCustomerCodeList),fe=(0,o.y)(r.CompanyCustomerCodeDetail),ee=(0,o.y)(r.CompanyRecruiters),re=(0,o.L)(r.JobseekerResetPwd),g=(0,o.L)(r.CompanySearch),de=(0,o.y)(r.CompanyRecrBookList)},72131:function(ae,z,u){u.d(z,{by:function(){return S},k:function(){return K},ME:function(){return C},d8:function(){return N},GR:function(){return h},f5:function(){return T},Dl:function(){return X},Kp:function(){return $},st:function(){return R},l8:function(){return f},xc:function(){return G},$Z:function(){return x}});var o=u(75334),n=u(55375),r={JobSearch:n.xw+"/job/search",JobCompanyjobs:n.xw+"/job/companyjobs",JobDetail:n.xw+"/job/detail",JobAuthdetail:n.xw+"/job/authdetail",CompanyJobList:n.xw+"/company/job_list",CompanyJobAdd:n.xw+"/company/job_add",CompanyJobEdit:n.xw+"/company/job_edit",CompanyJobDel:n.xw+"/company/job_del",CompanyJobInfo:n.xw+"/company/job_info",CompanyJobStatusChange:n.xw+"/company/job_status_change",CompanyJobRecycle:n.xw+"/company/job_recycle",CompanyJobrecoverRecycle:n.xw+"/company/job_recover_recycle"},x=(0,o.L)(r.JobSearch),N=(0,o.y)(r.JobCompanyjobs),h=(0,o.y)(r.JobDetail),C=(0,o.y)(r.JobAuthdetail),K=(0,o.y)(r.CompanyJobList),T=(0,o.L)(r.CompanyJobAdd),$=(0,o.L)(r.CompanyJobEdit),X=(0,o.L)(r.CompanyJobDel),S=(0,o.y)(r.CompanyJobInfo),f=(0,o.L)(r.CompanyJobStatusChange),R=(0,o.L)(r.CompanyJobRecycle),G=(0,o.L)(r.CompanyJobrecoverRecycle)},5251:function(ae,z,u){u.d(z,{Y:function(){return x},_:function(){return r}});var o=u(27484),n=u.n(o),r=function(h){return h&&h<n()().endOf("day")},x=function(h){return h&&h>n()().endOf("day")}}}]);
|