Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

p__Manage__Company__Post__index.335b86ec.async.js 32KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2902],{31004:function(ee,z,u){var o=u(5574),n=u.n(o),r=u(71167),f=u.n(r),T=u(40190),h=u(67294),C=u(86492),N=u.n(C),G=u(85893),K=function(D){var v=D.defaultValue,V=D.placeholder,I=D.onChange,H=(0,h.useState)(v&&N().decode(v)),R=n()(H,2),l=R[0],Y=R[1],M=function(S){Y(S),I(S)};return(0,h.useEffect)(function(){if(v){var b=v.replace(/<[^>]*>/g,"");M(b?v:"")}},[v]),(0,G.jsx)("div",{children:(0,G.jsx)(f(),{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:l,onChange:M,theme:"snow",placeholder:V})})};z.Z=K},97785:function(ee,z,u){u.r(z),u.d(z,{default:function(){return Be}});var o=u(15009),n=u.n(o),r=u(99289),f=u.n(r),T=u(5574),h=u.n(T),C=u(67294),N=u(7529),G=u(1832),K=u(66309),k=u(26412),D=u(83622),v=u(17788),V=u(21532),I=u(86250),H=u(42075),R=u(71230),l=u(15746),Y=u(92398),M=u(75891),b=u(72131),S=u(45029),$=u(93410),Z=u(86615),B=u(64317),L=u(5966),ae=u(19054),re=u(31199),le=u(50335),ie=u(19109),ne=u(97462),se=u(70271),te=u(8214),Ce=u(21134),X=u(68872),de=u(65520),g=u(55375),ce=u(5251),me=u(27484),Q=u.n(me),pe=u(70489),fe=u(31004),e=u(85893),Ze=function(A){var P=A.dispatch,F=A.dictModel,m=A.detail,he=A.closeModel,J=(0,C.useRef)(),p=(0,C.useRef)([]);return(0,C.useEffect)(function(){if(m&&m.data&&m.data.id){var c;p==null||(c=p.current)===null||c===void 0||c.forEach(function(i){var a;m.data.age_array=[m.data.age_min,m.data.age_max],m.data.household_array=[m.data.household_province?m.data.household_province:null,m.data.household_city?m.data.household_city:null],m.data.location_array=[m.data.location_province?m.data.location_province:null,m.data.location_city?m.data.location_city:null,m.data.location_town?m.data.location_town:null];var s=m.data.describe_text.indexOf("<div>\u5C97\u4F4D\u804C\u8D23</div>")+15,t=m.data.describe_text.indexOf("<div>\u4EFB\u804C\u8981\u6C42</div>"),E=m.data.describe_text.substring(s,t),x=m.data.describe_text.indexOf("<div>\u4EFB\u804C\u8981\u6C42</div>")+15,ue=m.data.describe_text.substring(x);m.data.gangweizhize=E.trim(),m.data.renzhiyaoqiu=ue.trim(),i==null||(a=i.current)===null||a===void 0||a.setFieldsValue(m.data)})}},[]),(0,C.useEffect)(function(){P({type:"dictModel/getList",payload:{code:2004,type:"setPositionList"}}),P({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}}),P({type:"dictModel/getList",payload:{code:2005,type:"setPayList"}}),P({type:"dictModel/getList",payload:{code:2016,type:"setAccommodationRequirementList"}}),P({type:"dictModel/getList",payload:{code:2017,type:"setHolidayRestList"}}),P({type:"dictModel/getList",payload:{code:2018,type:"setLicenseList"}}),P({type:"dictModel/getList",payload:{code:2021,type:"setWorkExperienceList"}}),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:2007,type:"setOtherLanguageList"}}),P({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),P({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(V.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Segmented:{itemSelectedBg:"#19be6e",itemSelectedColor:"#ffffff"}}},children:(0,e.jsxs)(S.L0,{formMapRef:p,formRef:J,onFinish:function(){var c=f()(n()().mark(function i(a){var s,t;return n()().wrap(function(x){for(;;)switch(x.prev=x.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,!m){x.next=18;break}return a.id=m.data.id,x.next=13,(0,b.Kp)(a);case 13:s=x.sent,X.ZP.success("\u63D0\u4EA4\u6210\u529F"),he(!1),x.next=23;break;case 18:return x.next=20,(0,b.f5)(a);case 20:t=x.sent,X.ZP.success("\u63D0\u4EA4\u6210\u529F"),he(!1);case 23:return x.abrupt("return",!0);case 24:case"end":return x.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),children:[(0,e.jsx)(S.L0.StepForm,{title:"\u57FA\u672C\u4FE1\u606F",onFinish:function(){var c=f()(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)($.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(R.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(Z.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)(I.Z,{align:"center",children:["\u9009\u62E9\u90E8\u95E8",(0,e.jsx)(M.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),p==null||(s=p.current)===null||s===void 0||s.forEach(function(t){var E;t==null||(E=t.current)===null||E===void 0||E.setFieldsValue({contact:a.contact,phone:a.phone,mobile:a.mobile,email:a.email})})}},request:function(){var c=f()(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(E){return E.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)(L.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)(L.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)(ae.Z,{label:"\u804C\u4F4D\u7C7B\u522B",name:"job_type",fieldProps:{fieldNames:g.Mo,treeData:F.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)(ae.Z,{label:"\u5DE5\u4F5C\u533A\u57DF",name:"job_location",fieldProps:{fieldNames:g.Mo,treeData:F.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)(re.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=Q()(),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)(le.Z,{width:"xl",name:"disabled_date",label:"\u5230\u671F\u65E5\u671F",placeholder:"\u8BF7\u9009\u62E9\u5230\u671F\u65E5\u671F",fieldProps:{disabledDate:ce._,onChange:function(i){if(i){var a=Q()(),s=Q()(i),t=a.diff(s,"day"),E=-t;J.current&&J.current.setFieldsValue({useful_life:E+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)(L.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)(S.L0.StepForm,{title:"\u804C\u4F4D\u63CF\u8FF0",onFinish:function(){var c=f()(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)($.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(R.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(de.Z.Item,{name:"gangweizhize",label:"\u5C97\u4F4D\u804C\u8D23",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u804C\u8D23"}],children:(0,e.jsx)(ie.i$,{children:function(){return(0,e.jsx)(ne.Z,{name:["gangweizhize"],children:function(a,s){var t=a.gangweizhize;return(0,e.jsx)(fe.Z,{placeholder:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u804C\u8D23",defaultValue:t,onChange:function(x){s.formRef.current.setFieldsValue({gangweizhize:x})}})}})}})})}),(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(de.Z.Item,{name:"renzhiyaoqiu",label:"\u4EFB\u804C\u8981\u6C42",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EFB\u804C\u8981\u6C42"}],children:(0,e.jsx)(ie.i$,{children:function(){return(0,e.jsx)(ne.Z,{name:["renzhiyaoqiu"],children:function(a,s){var t=a.renzhiyaoqiu;return(0,e.jsx)(fe.Z,{placeholder:"\u8BF7\u8F93\u5165\u4EFB\u804C\u8981\u6C42",defaultValue:t,onChange:function(x){s.formRef.current.setFieldsValue({renzhiyaoqiu:x})}})}})}})})}),(0,e.jsx)(l.Z,{span:5,children:(0,e.jsx)(Z.Z.Group,{name:"fulltime",label:"\u662F\u5426\u5168\u804C",fieldProps:{defaultValue:1,onChange:function(i){if(i.target.value===1){var a;p==null||(a=p.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)(Z.Z.Group,{name:"parttime",label:"\u662F\u5426\u517C\u804C",fieldProps:{defaultValue:2,onChange:function(i){if(i.target.value===1){var a;p==null||(a=p.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)(Z.Z.Group,{name:"casual",label:"\u662F\u5426\u4E34\u65F6",fieldProps:{defaultValue:2,onChange:function(i){if(i.target.value===1){var a;p==null||(a=p.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)(Z.Z.Group,{name:"practical",label:"\u662F\u5426\u5B9E\u4E60",fieldProps:{defaultValue:2,onChange:function(i){if(i.target.value===1){var a;p==null||(a=p.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)(Z.Z.Group,{name:"campus",label:"\u6821\u56ED\u62DB\u8058",fieldProps:{defaultValue:2,onChange:function(i){if(i.target.value===1){var a;p==null||(a=p.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:F.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:F.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:F.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)(S.L0.StepForm,{title:"\u9762\u8BD5\u5730\u5740",onFinish:function(){var c=f()(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)($.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(R.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(L.Z,{label:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(I.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;p==null||(a=p.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 X.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)(L.Z,{label:"\u5176\u4ED6\u5730\u5740",name:"other_address",placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u5730\u5740"})})]})})}),(0,e.jsx)(S.L0.StepForm,{title:"\u804C\u4F4D\u8981\u6C42",onFinish:function(){var c=f()(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)($.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(R.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:F.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:F.educationList,placeholder:"\u8BF7\u9009\u62E9\u5B66\u5386"})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.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:F.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:F.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:F.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:F.degreeList,placeholder:"\u8BF7\u9009\u62E9\u638C\u63E1\u7A0B\u5EA6"})}),(0,e.jsx)(l.Z,{span:8,children:(0,e.jsx)(Z.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)(se.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)(Z.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)(L.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:F.licenseList,mode:"multiple"},placeholder:"\u8BF7\u9009\u62E9\u8BC1\u4E66\u8981\u6C42"})}),(0,e.jsx)(l.Z,{span:12,children:(0,e.jsx)(te.Z,{label:"\u6240\u5728\u5730\u8981\u6C42",name:"location_arr",fieldProps:{fieldNames:g.Mo,options:F.areaList},placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730\u8981\u6C42"})}),(0,e.jsx)(l.Z,{span:12,children:(0,e.jsx)(te.Z,{label:"\u7C4D\u8D2F\u8981\u6C42",name:"household_arr",fieldProps:{fieldNames:g.Mo,options:F.areaList},placeholder:"\u8BF7\u9009\u62E9\u7C4D\u8D2F\u8981\u6C42"})})]})})}),(0,e.jsx)(S.L0.StepForm,{title:"\u8054\u7CFB\u4FE1\u606F",onFinish:function(){var c=f()(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)($.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(R.Z,{gutter:[16,16],children:[(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(L.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)(L.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)(L.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)(Z.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)(L.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)(Z.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)(L.Z,{label:"\u90AE\u7BB1",name:"email",placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1"})}),(0,e.jsx)(l.Z,{span:16,children:(0,e.jsx)(Z.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)(L.Z,{label:"\u4F20\u771F",name:"fax",placeholder:"\u8BF7\u8F93\u5165\u4F20\u771F"})}),(0,e.jsx)(l.Z,{span:16,children:(0,e.jsx)(Z.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)(Ce.Z,{name:"status",label:"\u804C\u4F4D\u72B6\u6001",request:f()(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)}))})})]})})})]})})})},Pe=(0,M.connect)(function(ye){var A=ye.dictModel;return{dictModel:A}})(Ze),Le=function(){var A=(0,C.useRef)(),P=(0,C.useState)([{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"}]),F=h()(P,2),m=F[0],he=F[1],J=(0,C.useState)("1"),p=h()(J,2),c=p[0],i=p[1],a=(0,C.useState)([]),s=h()(a,2),t=s[0],E=s[1],x=(0,C.useState)(0),ue=h()(x,2),Ae=ue[0],Re=ue[1],Se=(0,C.useState)(1),ve=h()(Se,2),xe=ve[0],ge=ve[1],we=(0,C.useState)(12),Fe=h()(we,2),je=Fe[0],be=Fe[1],ze=(0,C.useState)(!1),Ee=h()(ze,2),Ie=Ee[0],oe=Ee[1],Me=(0,C.useState)({}),De=h()(Me,2),Je=De[0],Oe=De[1],Te=function(q){oe(q),(0,b.k)({page:1,pagesize:12}).then(function(O){E(O.data.list?O.data.list:[])})};(0,C.useEffect)(function(){(0,b.k)({page:1,pagesize:12}).then(function(w){E(w.data.list?w.data.list:[])})},[]);var Ge=function(q){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{minHeight:"800px"},children:(0,e.jsx)(N.Rs,{actionRef:A,ghost:!0,grid:{gutter:16,column:2},rowKey:"id",dataSource:t,request:f()(n()().mark(function O(){var U,d=arguments;return n()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return U=d.length>0&&d[0]!==void 0?d[0]:{},j.abrupt("return",(0,b.k)({page:xe,pagesize:je,sort:"id",sortby:"desc",status:Number(c)}).then(function(W){E(W.data.list),Re(W.data.total)}));case 2:case"end":return j.stop()}},O)})),pagination:{current:xe,pageSize:je,total:Ae,hideOnSinglePage:!0,onChange:function(U,d){ge(U),be(d)},onShowSizeChange:function(U,d){ge(U),be(d)}},showActions:"hover",metas:{title:{dataIndex:"name",render:function(U,d){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(M.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)(K.Z,{icon:(0,e.jsx)(G.Z,{}),bordered:!1,color:"#f50",children:"\u6025\u62DB"})]})}},content:{render:function(U,d){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(k.Z,{children:[(0,e.jsx)(k.Z.Item,{label:"\u6240\u5C5E\u90E8\u95E8",span:24,children:d.department_name}),(0,e.jsxs)(k.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)(D.ZP,{size:"small",disabled:d.status==4||d.status==5,onClick:f()(n()().mark(function _(){var j;return n()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,b.by)({id:d.id});case 2:j=y.sent,Oe(j),oe(!0);case 5:case"end":return y.stop()}},_)})),children:"\u7F16\u8F91"}),(0,e.jsx)(D.ZP,{size:"small",disabled:d.status==3||d.status==4||d.status==5||d.status==6,onClick:function(){v.Z.confirm({title:"\u6682\u505C\u62DB\u8058",content:"\u786E\u5B9A\u6682\u505C\u62DB\u8058\u5417\uFF1F",onOk:function(){(0,b.l8)({id:d.id,status:3}).then(function(W){var y;(y=A.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)(D.ZP,{size:"small",disabled:d.status===1||d.status==4||d.status==5,onClick:function(){v.Z.confirm({title:"\u91CD\u65B0\u53D1\u5E03",content:"\u786E\u5B9A\u91CD\u65B0\u53D1\u5E03\u5417\uFF1F",onOk:function(){(0,b.l8)({id:d.id,status:1}).then(function(W){var y;(y=A.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)(D.ZP,{size:"small",disabled:d.status===5||d.status==4,onClick:function(){v.Z.confirm({title:"\u653E\u5165\u56DE\u6536\u7AD9",content:"\u786E\u5B9A\u653E\u5165\u56DE\u6536\u7AD9\u5417\uFF1F",onOk:function(){(0,b.st)({id:d.id}).then(function(W){var y;(y=A.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)(D.ZP,{size:"small",disabled:d.status===1||d.status===3||d.status===2||d.status==4||d.status==6,onClick:function(){v.Z.confirm({title:"\u79FB\u51FA\u56DE\u6536\u7AD9",content:"\u786E\u5B9A\u79FB\u51FA\u56DE\u6536\u7AD9\u5417\uFF1F",onOk:function(){(0,b.xc)({id:d.id}).then(function(W){var y;(y=A.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)(D.ZP,{size:"small",disabled:d.status==4||d.status==5,onClick:function(){v.Z.confirm({title:"\u5220\u9664\u804C\u4F4D",content:"\u786E\u5B9A\u5220\u9664\u804C\u4F4D\u5417\uFF1F",onOk:function(){(0,b.Dl)({id:d.id}).then(function(W){var y;(y=A.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)(V.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,e.jsx)(I.Z,{justify:"flex-end",align:"center",children:(0,e.jsx)(D.ZP,{size:"large",type:"primary",onClick:function(){oe(!0)},children:"\u53D1\u5E03\u4E00\u4E2A\u804C\u4F4D"})}),(0,e.jsx)(H.Z,{direction:"vertical",size:30,children:(0,e.jsx)(R.Z,{gutter:[20,20],children:(0,e.jsx)(l.Z,{span:24,children:(0,e.jsx)(H.Z,{direction:"vertical",size:20,style:{width:"100%"},children:(0,e.jsx)(Y.Z,{destroyInactiveTabPane:!0,activeKey:c,items:m.map(function(w,q){return{label:w.name,key:w.id,children:Ge(w.id)}}),onChange:function(q){i(q)}})})})})}),(0,e.jsx)(v.Z,{open:Ie,title:"\u7F16\u8F91\u7B80\u5386\u4FE1\u606F",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){oe(!1)},children:(0,e.jsx)(Pe,{detail:Je,closeModel:Te})})]})})},Be=Le},70489:function(ee,z,u){u.d(z,{lu:function(){return X},UE:function(){return V},L:function(){return C},Mm:function(){return f},Gc:function(){return le},vN:function(){return h},Cg:function(){return l},DH:function(){return T},Zq:function(){return H},mX:function(){return I},Os:function(){return Q},du:function(){return g},EZ:function(){return R},Qt:function(){return S},xP:function(){return Y},s4:function(){return ae},Mt:function(){return se},Jm:function(){return te},Ld:function(){return k},aY:function(){return D},T7:function(){return v},XE:function(){return N},Cl:function(){return ne},su:function(){return B},z0:function(){return re},Dz:function(){return L},NJ:function(){return K},cL:function(){return G},Og:function(){return Z},Px:function(){return $},h9:function(){return me},FI:function(){return M},mj:function(){return b},un:function(){return ce}});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"},f=(0,o.y)(r.CompanyFamousList),T=(0,o.y)(r.CompanyProbationList),h=(0,o.y)(r.CompanyInfo),C=(0,o.y)(r.CompanyDetailInfo),N=(0,o.L)(r.CompanyEdit),G=(0,o.L)(r.CompanyPhotoUpload),K=(0,o.L)(r.CompanyLicenseUpload),k=(0,o.L)(r.CompanyDepartmentAdd),D=(0,o.L)(r.CompanyDepartmentDel),v=(0,o.L)(r.CompanyDepartmentEdit),V=(0,o.y)(r.CompanyDepartmentList),I=(0,o.y)(r.CompanyRecommentResume),H=(0,o.y)(r.CompanyProfile),R=(0,o.y)(r.CompanyResumeList),l=(0,o.y)(r.CompanyInterviewList),Y=(0,o.y)(r.CompanyTalentPoolList),M=(0,o.L)(r.CompanyTalentPoolAdd),b=(0,o.L)(r.CompanyTalentPoolDel),S=(0,o.y)(r.CompanyResumeRecycleList),$=(0,o.L)(r.CompanyResumeRecycle),Z=(0,o.L)(r.CompanyResumeRecover),B=(0,o.L)(r.CompanyInterviewAdd),L=(0,o.L)(r.CompanyInterviewDel),ae=(0,o.y)(r.CompanyViewedContactList),re=(0,o.L)(r.CompanyInterviewAdmission),le=(0,o.y)(r.CompanyFee),ie=(0,o.L)(r.CompanyPwdEdit),ne=(0,o.L)(r.CompanyEmailEdit),se=(0,o.L)(r.CompanyCustomerCodeAdd),te=(0,o.L)(r.CompanyCustomerCodeDel),Ce=(0,o.L)(r.CompanyCustomerCodeUpdate),X=(0,o.y)(r.CompanyCustomerCodeList),de=(0,o.y)(r.CompanyCustomerCodeDetail),g=(0,o.y)(r.CompanyRecruiters),ce=(0,o.L)(r.JobseekerResetPwd),me=(0,o.L)(r.CompanySearch),Q=(0,o.y)(r.CompanyRecrBookList)},72131:function(ee,z,u){u.d(z,{by:function(){return D},k:function(){return N},ME:function(){return C},d8:function(){return T},GR:function(){return h},f5:function(){return G},Dl:function(){return k},Kp:function(){return K},st:function(){return V},l8:function(){return v},xc:function(){return I},$Z:function(){return f}});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"},f=(0,o.L)(r.JobSearch),T=(0,o.y)(r.JobCompanyjobs),h=(0,o.y)(r.JobDetail),C=(0,o.y)(r.JobAuthdetail),N=(0,o.y)(r.CompanyJobList),G=(0,o.L)(r.CompanyJobAdd),K=(0,o.L)(r.CompanyJobEdit),k=(0,o.L)(r.CompanyJobDel),D=(0,o.y)(r.CompanyJobInfo),v=(0,o.L)(r.CompanyJobStatusChange),V=(0,o.L)(r.CompanyJobRecycle),I=(0,o.L)(r.CompanyJobrecoverRecycle)},5251:function(ee,z,u){u.d(z,{Y:function(){return f},_:function(){return r}});var o=u(27484),n=u.n(o),r=function(h){return h&&h<n()().endOf("day")},f=function(h){return h&&h>n()().endOf("day")}}}]);