1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2902],{31004:function(te,J,n){var f=n(5574),o=n.n(f),g=n(71167),F=n.n(g),N=n(40190),p=n(67294),m=n(86492),H=n.n(m),K=n(85893),Y=function(M){var v=M.defaultValue,S=M.placeholder,U=M.onChange,w=(0,p.useState)(v&&H().decode(v)),V=o()(w,2),ne=V[0],T=V[1],u=function(W){T(W),U(W)};return(0,p.useEffect)(function(){if(v){var q=v.replace(/<[^>]*>/g,"");u(q?v:"")}},[v]),(0,K.jsx)("div",{children:(0,K.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:ne,onChange:u,theme:"snow",placeholder:S})})};J.Z=Y},97785:function(te,J,n){n.r(J),n.d(J,{default:function(){return Re}});var f=n(15009),o=n.n(f),g=n(99289),F=n.n(g),N=n(5574),p=n.n(N),m=n(67294),H=n(7529),K=n(1832),Y=n(68795),X=n(66309),M=n(26412),v=n(83622),S=n(17788),U=n(21532),w=n(86250),V=n(42075),ne=n(65233),T=n(71230),u=n(15746),q=n(92398),W=n(75891),A=n(72131),$=n(45029),Q=n(93410),B=n(86615),z=n(64317),L=n(5966),oe=n(19054),Ze=n(31199),De=n(50335),se=n(19109),de=n(97462),Be=n(70271),ce=n(8214),Pe=n(21134),ue=n(68872),he=n(65520),E=n(55375),Le=n(5251),Se=n(27484),le=n.n(Se),_=n(70489),pe=n(31004),e=n(85893),Ae=function(D){var Z=D.dispatch,C=D.dictModel,d=D.detail,ie=D.closeModel,O=(0,m.useRef)(),c=(0,m.useRef)([]);return(0,m.useEffect)(function(){if(d&&d.data&&d.data.id){var s;c==null||(s=c.current)===null||s===void 0||s.forEach(function(l){var a;d.data.age_array=[d.data.age_min,d.data.age_max],d.data.household_array=[d.data.household_province?d.data.household_province:null,d.data.household_city?d.data.household_city:null],d.data.location_array=[d.data.location_province?d.data.location_province:null,d.data.location_city?d.data.location_city:null,d.data.location_town?d.data.location_town:null];var r=d.data.describe_text.indexOf("<div>\u5C97\u4F4D\u804C\u8D23</div>")+15,t=d.data.describe_text.indexOf("<div>\u4EFB\u804C\u8981\u6C42</div>"),b=d.data.describe_text.substring(r,t),y=d.data.describe_text.indexOf("<div>\u4EFB\u804C\u8981\u6C42</div>")+15,ee=d.data.describe_text.substring(y);d.data.gangweizhize=b.trim(),d.data.renzhiyaoqiu=ee.trim(),l==null||(a=l.current)===null||a===void 0||a.setFieldsValue(d.data)})}},[]),(0,m.useEffect)(function(){Z({type:"dictModel/getList",payload:{code:2004,type:"setPositionList"}}),Z({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}}),Z({type:"dictModel/getList",payload:{code:2005,type:"setPayList"}}),Z({type:"dictModel/getList",payload:{code:2016,type:"setAccommodationRequirementList"}}),Z({type:"dictModel/getList",payload:{code:2017,type:"setHolidayRestList"}}),Z({type:"dictModel/getList",payload:{code:2018,type:"setLicenseList"}}),Z({type:"dictModel/getList",payload:{code:2021,type:"setWorkExperienceList"}}),Z({type:"dictModel/getList",payload:{code:2006,type:"setEducationList"}}),Z({type:"dictModel/getList",payload:{code:2014,type:"setTitleList"}}),Z({type:"dictModel/getList",payload:{code:2015,type:"setSkillCertificationeList"}}),Z({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),Z({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),Z({type:"dictModel/getList",payload:{code:2028,type:"setIndustryPostList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(U.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Segmented:{itemSelectedBg:"#19be6e",itemSelectedColor:"#ffffff"}}},children:(0,e.jsxs)($.L0,{formMapRef:c,formRef:O,onFinish:function(){var s=F()(o()().mark(function l(a){var r,t;return o()().wrap(function(y){for(;;)switch(y.prev=y.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,!d){y.next=18;break}return a.id=d.data.id,y.next=13,(0,A.Kp)(a);case 13:r=y.sent,ue.ZP.success("\u63D0\u4EA4\u6210\u529F"),ie(!1),y.next=23;break;case 18:return y.next=20,(0,A.f5)(a);case 20:t=y.sent,ue.ZP.success("\u63D0\u4EA4\u6210\u529F"),ie(!1);case 23:return y.abrupt("return",!0);case 24:case"end":return y.stop()}},l)}));return function(l){return s.apply(this,arguments)}}(),children:[(0,e.jsx)($.L0.StepForm,{title:"\u57FA\u672C\u4FE1\u606F",onFinish:function(){var s=F()(o()().mark(function l(a){return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},l)}));return function(l){return s.apply(this,arguments)}}(),children:(0,e.jsx)(Q.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(T.Z,{gutter:[16,16],children:[(0,e.jsx)(u.Z,{span:24,children:(0,e.jsx)(B.Z.Group,{name:"urgent",label:"\u662F\u5426\u7D27\u6025",fieldProps:{defaultValue:2},options:[{label:"\u662F",value:1},{label:"\u5426",value:2}]})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{showSearch:!0,name:"department_id",label:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(w.Z,{align:"center",children:["\u9009\u62E9\u90E8\u95E8",(0,e.jsx)(W.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,_.UE)({page:1,pagesize:100,company_id:localStorage.getItem("companyid")}).then(function(l){return l.data.rows})},children:"\u5237\u65B0"})]})}),placeholder:"\u8BF7\u9009\u62E9\u90E8\u95E8",fieldProps:{fieldNames:E.RI,onChange:function(l,a){var r;console.log(a),c==null||(r=c.current)===null||r===void 0||r.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 s=F()(o()().mark(function l(a){return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,_.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()}},l)}));return function(l){return s.apply(this,arguments)}}()})}),(0,e.jsx)(u.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)(u.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)(u.Z,{span:8,children:(0,e.jsx)(oe.Z,{label:"\u804C\u4F4D\u7C7B\u522B",name:"job_type",fieldProps:{fieldNames:E.Mo,treeData:C.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)(u.Z,{span:8,children:(0,e.jsx)(oe.Z,{label:"\u5DE5\u4F5C\u533A\u57DF",name:"job_location",fieldProps:{fieldNames:E.Mo,treeData:C.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)(u.Z,{span:8,children:(0,e.jsx)(Ze.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(l){var a=le()(),r=a.add(l,"day"),t=r.format("YYYY-MM-DD");O.current&&O.current.setFieldsValue({disabled_date:t})}}})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(De.Z,{width:"xl",name:"disabled_date",label:"\u5230\u671F\u65E5\u671F",placeholder:"\u8BF7\u9009\u62E9\u5230\u671F\u65E5\u671F",fieldProps:{disabledDate:Le._,onChange:function(l){if(l){var a=le()(),r=le()(l),t=a.diff(r,"day"),b=-t;O.current&&O.current.setFieldsValue({useful_life:b+1})}else O.current&&O.current.setFieldsValue({useful_life:0})}},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5230\u671F\u65E5\u671F"}]})}),(0,e.jsx)(u.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)($.L0.StepForm,{title:"\u804C\u4F4D\u63CF\u8FF0",onFinish:function(){var s=F()(o()().mark(function l(a){return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},l)}));return function(l){return s.apply(this,arguments)}}(),children:(0,e.jsx)(Q.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(T.Z,{gutter:[16,16],children:[(0,e.jsx)(u.Z,{span:24,children:(0,e.jsx)(he.Z.Item,{name:"gangweizhize",label:"\u5C97\u4F4D\u804C\u8D23",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u804C\u8D23"}],children:(0,e.jsx)(se.i$,{children:function(){return(0,e.jsx)(de.Z,{name:["gangweizhize"],children:function(a,r){var t=a.gangweizhize;return(0,e.jsx)(pe.Z,{placeholder:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u804C\u8D23",defaultValue:t,onChange:function(y){r.formRef.current.setFieldsValue({gangweizhize:y})}})}})}})})}),(0,e.jsx)(u.Z,{span:24,children:(0,e.jsx)(he.Z.Item,{name:"renzhiyaoqiu",label:"\u4EFB\u804C\u8981\u6C42",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EFB\u804C\u8981\u6C42"}],children:(0,e.jsx)(se.i$,{children:function(){return(0,e.jsx)(de.Z,{name:["renzhiyaoqiu"],children:function(a,r){var t=a.renzhiyaoqiu;return(0,e.jsx)(pe.Z,{placeholder:"\u8BF7\u8F93\u5165\u4EFB\u804C\u8981\u6C42",defaultValue:t,onChange:function(y){r.formRef.current.setFieldsValue({renzhiyaoqiu:y})}})}})}})})}),(0,e.jsx)(u.Z,{span:5,children:(0,e.jsx)(B.Z.Group,{name:"fulltime",label:"\u662F\u5426\u5168\u804C",fieldProps:{defaultValue:1,onChange:function(l){if(l.target.value===1){var a;c==null||(a=c.current)===null||a===void 0||a.forEach(function(r){var t;r==null||(t=r.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)(u.Z,{span:5,children:(0,e.jsx)(B.Z.Group,{name:"parttime",label:"\u662F\u5426\u517C\u804C",fieldProps:{defaultValue:2,onChange:function(l){if(l.target.value===1){var a;c==null||(a=c.current)===null||a===void 0||a.forEach(function(r){var t;r==null||(t=r.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)(u.Z,{span:5,children:(0,e.jsx)(B.Z.Group,{name:"casual",label:"\u662F\u5426\u4E34\u65F6",fieldProps:{defaultValue:2,onChange:function(l){if(l.target.value===1){var a;c==null||(a=c.current)===null||a===void 0||a.forEach(function(r){var t;r==null||(t=r.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)(u.Z,{span:5,children:(0,e.jsx)(B.Z.Group,{name:"practical",label:"\u662F\u5426\u5B9E\u4E60",fieldProps:{defaultValue:2,onChange:function(l){if(l.target.value===1){var a;c==null||(a=c.current)===null||a===void 0||a.forEach(function(r){var t;r==null||(t=r.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)(u.Z,{span:4,children:(0,e.jsx)(B.Z.Group,{name:"campus",label:"\u6821\u56ED\u62DB\u8058",fieldProps:{defaultValue:2,onChange:function(l){if(l.target.value===1){var a;c==null||(a=c.current)===null||a===void 0||a.forEach(function(r){var t;r==null||(t=r.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)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u85AA\u8D44\u8303\u56F4",name:"pay_range",fieldProps:{fieldNames:E.RI},options:C.payList,placeholder:"\u8BF7\u9009\u62E9\u85AA\u8D44\u8303\u56F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u85AA\u8D44\u8303\u56F4"}]})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u98DF\u5BBF\u8981\u6C42",name:"shisu",fieldProps:{fieldNames:E.RI},options:C.accommodationRequirementList,placeholder:"\u8BF7\u9009\u62E9\u98DF\u5BBF\u8981\u6C42",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u98DF\u5BBF\u8981\u6C42"}]})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5",name:"holidays",fieldProps:{fieldNames:E.RI},options:C.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)($.L0.StepForm,{title:"\u9762\u8BD5\u5730\u5740",onFinish:function(){var s=F()(o()().mark(function l(a){return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},l)}));return function(l){return s.apply(this,arguments)}}(),children:(0,e.jsx)(Q.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(T.Z,{gutter:[16,16],children:[(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(L.Z,{label:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(w.Z,{align:"center",children:["\u9762\u8BD5\u5730\u5740",(0,e.jsx)("div",{style:{color:"#19be6e",paddingLeft:8},onClick:function(){(0,_.vN)({id:localStorage.getItem("companyid")}).then(function(l){if(l.data.detail_address){var a;c==null||(a=c.current)===null||a===void 0||a.forEach(function(r){var t;r==null||(t=r.current)===null||t===void 0||t.setFieldsValue({interview_address:l.data.detail_address})})}else ue.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)(u.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)($.L0.StepForm,{title:"\u804C\u4F4D\u8981\u6C42",onFinish:function(){var s=F()(o()().mark(function l(a){return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},l)}));return function(l){return s.apply(this,arguments)}}(),children:(0,e.jsx)(Q.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(T.Z,{gutter:[16,16],children:[(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u5DE5\u4F5C\u7ECF\u9A8C\u8981\u6C42",name:"experience",fieldProps:{fieldNames:E.RI},options:C.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)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u5B66\u5386",name:"school_degree",fieldProps:{fieldNames:E.RI},options:C.educationList,placeholder:"\u8BF7\u9009\u62E9\u5B66\u5386"})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(B.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)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u804C\u79F0\u8981\u6C42",name:"profelevel",fieldProps:{fieldNames:E.RI},options:C.titleList,placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0\u8981\u6C42",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u804C\u79F0\u8981\u6C42"}]})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u6280\u80FD\u8BA4\u8BC1",name:"certification",fieldProps:{fieldNames:E.RI},options:C.skillCertificationeList,placeholder:"\u8BF7\u9009\u62E9\u6280\u80FD\u8BA4\u8BC1",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6280\u80FD\u8BA4\u8BC1"}]})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u8BED\u8A00\u8981\u6C42",name:"language",fieldProps:{fieldNames:E.RI},options:C.otherLanguageList,placeholder:"\u8BF7\u9009\u62E9\u8BED\u8A00\u8981\u6C42"})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u638C\u63E1\u7A0B\u5EA6",name:"language_degree",fieldProps:{fieldNames:E.RI},options:C.degreeList,placeholder:"\u8BF7\u9009\u62E9\u638C\u63E1\u7A0B\u5EA6"})}),(0,e.jsx)(u.Z,{span:8,children:(0,e.jsx)(B.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)(u.Z,{span:8,children:(0,e.jsx)(Be.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)(u.Z,{span:8,children:(0,e.jsx)(B.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)(u.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)(u.Z,{span:8,children:(0,e.jsx)(z.Z,{label:"\u8BC1\u4E66\u8981\u6C42",name:"license",fieldProps:{fieldNames:E.RI,options:C.licenseList,mode:"multiple"},placeholder:"\u8BF7\u9009\u62E9\u8BC1\u4E66\u8981\u6C42"})}),(0,e.jsx)(u.Z,{span:12,children:(0,e.jsx)(ce.Z,{label:"\u6240\u5728\u5730\u8981\u6C42",name:"location_arr",fieldProps:{fieldNames:E.Mo,options:C.areaList},placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730\u8981\u6C42"})}),(0,e.jsx)(u.Z,{span:12,children:(0,e.jsx)(ce.Z,{label:"\u7C4D\u8D2F\u8981\u6C42",name:"household_arr",fieldProps:{fieldNames:E.Mo,options:C.areaList},placeholder:"\u8BF7\u9009\u62E9\u7C4D\u8D2F\u8981\u6C42"})})]})})}),(0,e.jsx)($.L0.StepForm,{title:"\u8054\u7CFB\u4FE1\u606F",onFinish:function(){var s=F()(o()().mark(function l(a){return o()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!0);case 1:case"end":return t.stop()}},l)}));return function(l){return s.apply(this,arguments)}}(),children:(0,e.jsx)(Q.Z,{ghost:!0,style:{minWidth:800,maxWidth:"100%"},children:(0,e.jsxs)(T.Z,{gutter:[16,16],children:[(0,e.jsx)(u.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)(u.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)(u.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)(u.Z,{span:16,children:(0,e.jsx)(B.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)(u.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)(u.Z,{span:16,children:(0,e.jsx)(B.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)(u.Z,{span:8,children:(0,e.jsx)(L.Z,{label:"\u90AE\u7BB1",name:"email",placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1"})}),(0,e.jsx)(u.Z,{span:16,children:(0,e.jsx)(B.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)(u.Z,{span:8,children:(0,e.jsx)(L.Z,{label:"\u4F20\u771F",name:"fax",placeholder:"\u8BF7\u8F93\u5165\u4F20\u771F"})}),(0,e.jsx)(u.Z,{span:16,children:(0,e.jsx)(B.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)(u.Z,{span:24,children:(0,e.jsx)(Pe.Z,{name:"status",label:"\u804C\u4F4D\u72B6\u6001",request:F()(o()().mark(function s(){return o()().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()}},s)}))})})]})})})]})})})},ze=(0,W.connect)(function(re){var D=re.dictModel;return{dictModel:D}})(Ae),Me=n(82900),Oe=function(){var D=(0,m.useRef)(),Z=(0,m.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"}]),C=p()(Z,2),d=C[0],ie=C[1],O=(0,m.useState)("0"),c=p()(O,2),s=c[0],l=c[1],a=(0,m.useState)([]),r=p()(a,2),t=r[0],b=r[1],y=(0,m.useState)(0),ee=p()(y,2),Je=ee[0],Te=ee[1],Ie=(0,m.useState)(1),me=p()(Ie,2),fe=me[0],ge=me[1],ke=(0,m.useState)(12),ve=p()(ke,2),ye=ve[0],Ce=ve[1],Ve=(0,m.useState)(!1),xe=p()(Ve,2),We=xe[0],ae=xe[1],Ge=(0,m.useState)({}),je=p()(Ge,2),Ne=je[0],Ke=je[1],Ue=(0,m.useState)(""),Fe=p()(Ue,2),be=Fe[0],$e=Fe[1],He=(0,m.useState)(0),Ee=p()(He,2),Xe=Ee[0],Ye=Ee[1],we=function(P){ae(P),(0,A.k)({page:1,pagesize:12}).then(function(R){b(R.data.list?R.data.list:[])})};(0,m.useEffect)(function(){(0,A.k)({page:1,pagesize:12}).then(function(x){b(x.data.list?x.data.list:[])}),(0,Me.BV)({name:"sendpostcount"}).then(function(x){Ye(Number(x.data.value))}),(0,_.L)({id:localStorage.getItem("companyid")}).then(function(x){localStorage.setItem("license_status",x.data.license_status)})},[]);var Qe=function(P){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{minHeight:"800px"},children:(0,e.jsx)(H.Rs,{actionRef:D,ghost:!0,grid:{gutter:16,column:2},rowKey:"id",dataSource:t,request:F()(o()().mark(function R(){var I,i=arguments;return o()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return I=i.length>0&&i[0]!==void 0?i[0]:{},j.abrupt("return",(0,A.k)({page:fe,pagesize:ye,sort:"id",sortby:"desc",status:Number(s),keyword:be}).then(function(k){b(k.data.list),Te(k.data.total)}));case 2:case"end":return j.stop()}},R)})),pagination:{current:fe,pageSize:ye,total:Je,hideOnSinglePage:!0,onChange:function(I,i){ge(I),Ce(i)},onShowSizeChange:function(I,i){ge(I),Ce(i)}},showActions:"hover",metas:{title:{dataIndex:"name",render:function(I,i){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(W.Link,{to:{pathname:"/talent/job/detail?id=".concat(i.id)},target:"_blank",style:{color:"#000000",fontSize:16,marginRight:10},children:i.name}),i.urgent===1&&(0,e.jsx)(X.Z,{icon:(0,e.jsx)(K.Z,{}),bordered:!1,color:"#f50",children:"\u6025\u62DB"})]})}},content:{render:function(I,i){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(M.Z,{children:[(0,e.jsx)(M.Z.Item,{label:"\u6240\u5C5E\u90E8\u95E8",span:24,children:i.department_name}),(0,e.jsxs)(M.Z.Item,{label:"\u6709\u6548\u65F6\u95F4",span:24,children:[i.publish_date,"\u81F3",i.disabled_date]})]})})}},actions:{cardActionProps:"actions",render:function(I,i){return[(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{style:{width:"100%",display:"flex",justifyContent:"space-around"},children:[(0,e.jsx)(v.ZP,{type:"primary",disabled:i.status==4||i.status==5,onClick:F()(o()().mark(function G(){var j;return o()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,(0,A.by)({id:i.id});case 2:j=h.sent,Ke(j),ae(!0);case 5:case"end":return h.stop()}},G)})),children:"\u7F16\u8F91"}),(0,e.jsx)(v.ZP,{color:"cyan",variant:"solid",disabled:i.status==3||i.status==4||i.status==5||i.status==6,onClick:function(){S.Z.confirm({title:"\u6682\u505C\u62DB\u8058",content:"\u786E\u5B9A\u6682\u505C\u62DB\u8058\u5417\uFF1F",onOk:function(){(0,A.l8)({id:i.id,status:3}).then(function(k){var h;(h=D.current)===null||h===void 0||h.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u6682\u505C\u62DB\u8058"}),(0,e.jsx)(v.ZP,{color:"cyan",variant:"solid",disabled:i.status===1||i.status==4||i.status==5,onClick:function(){S.Z.confirm({title:"\u91CD\u65B0\u53D1\u5E03",content:"\u786E\u5B9A\u91CD\u65B0\u53D1\u5E03\u5417\uFF1F",onOk:function(){(0,A.l8)({id:i.id,status:1}).then(function(k){var h;(h=D.current)===null||h===void 0||h.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u91CD\u65B0\u53D1\u5E03"}),(0,e.jsx)(v.ZP,{disabled:i.status===5||i.status==4,onClick:function(){S.Z.confirm({title:"\u653E\u5165\u56DE\u6536\u7AD9",content:"\u786E\u5B9A\u653E\u5165\u56DE\u6536\u7AD9\u5417\uFF1F",onOk:function(){(0,A.st)({id:i.id}).then(function(k){var h;(h=D.current)===null||h===void 0||h.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u653E\u5165\u56DE\u6536\u7AD9"}),(0,e.jsx)(v.ZP,{disabled:i.status===1||i.status===3||i.status===2||i.status==4||i.status==6,onClick:function(){S.Z.confirm({title:"\u79FB\u51FA\u56DE\u6536\u7AD9",content:"\u786E\u5B9A\u79FB\u51FA\u56DE\u6536\u7AD9\u5417\uFF1F",onOk:function(){(0,A.xc)({id:i.id}).then(function(k){var h;(h=D.current)===null||h===void 0||h.reload()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u79FB\u51FA\u56DE\u6536\u7AD9"}),(0,e.jsx)(v.ZP,{danger:!0,disabled:i.status==4||i.status==5,onClick:function(){S.Z.confirm({title:"\u5220\u9664\u804C\u4F4D",content:"\u786E\u5B9A\u5220\u9664\u804C\u4F4D\u5417\uFF1F",onOk:function(){(0,A.Dl)({id:i.id}).then(function(k){var h;(h=D.current)===null||h===void 0||h.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)(U.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,e.jsx)(w.Z,{justify:"flex-end",align:"center",children:(0,e.jsxs)(V.Z,{children:[(0,e.jsxs)(V.Z.Compact,{children:[(0,e.jsx)(ne.Z,{size:"large",prefix:(0,e.jsx)(Y.Z,{style:{color:"#19be6e"}}),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD",allowClear:!0,value:be,onChange:function(P){$e(P.target.value)}}),(0,e.jsx)(v.ZP,{size:"large",type:"primary",style:{width:100},onClick:function(){var P;(P=D.current)===null||P===void 0||P.reload()},children:"\u641C\u7D22"})]}),(0,e.jsx)(v.ZP,{size:"large",type:"primary",onClick:function(){if(localStorage.getItem("license_status")!=2)return S.Z.confirm({title:"\u8425\u4E1A\u6267\u7167\u72B6\u6001",content:"\u8425\u4E1A\u6267\u7167\u672A\u4E0A\u4F20\uFF0C\u6216\u8005\u8425\u4E1A\u6267\u7167\u672A\u901A\u8FC7\u5BA1\u6838\uFF0C\u65E0\u6CD5\u53D1\u5E03\u804C\u4F4D\uFF0C\u524D\u5F80\u67E5\u770B",onOk:function(){W.history.push("/manage/company/info")},onCancel:function(){console.log("Cancel")},okText:"\u524D\u5F80\u67E5\u770B",cancelText:"\u53D6\u6D88",centered:!0}),!1;ae(!0)},children:"\u53D1\u5E03\u4E00\u4E2A\u804C\u4F4D"})]})}),(0,e.jsx)(V.Z,{direction:"vertical",size:30,children:(0,e.jsx)(T.Z,{gutter:[20,20],children:(0,e.jsx)(u.Z,{span:24,children:(0,e.jsx)(V.Z,{direction:"vertical",size:20,style:{width:"100%"},children:(0,e.jsx)(q.Z,{destroyInactiveTabPane:!0,activeKey:s,items:d.map(function(x,P){return{label:x.name,key:x.id,children:Qe(x.id)}}),onChange:function(P){l(P)}})})})})}),(0,e.jsx)(S.Z,{open:We,title:"\u804C\u4F4D\u4FE1\u606F",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){ae(!1)},children:(0,e.jsx)(ze,{detail:Ne,closeModel:we})})]})})},Re=Oe},72131:function(te,J,n){n.d(J,{by:function(){return M},k:function(){return H},ME:function(){return m},d8:function(){return N},GR:function(){return p},f5:function(){return K},Dl:function(){return X},Kp:function(){return Y},st:function(){return S},l8:function(){return v},xc:function(){return U},$Z:function(){return F}});var f=n(75334),o=n(55375),g={JobSearch:o.xw+"/job/search",JobCompanyjobs:o.xw+"/job/companyjobs",JobDetail:o.xw+"/job/detail",JobAuthdetail:o.xw+"/job/authdetail",CompanyJobList:o.xw+"/company/job_list",CompanyJobAdd:o.xw+"/company/job_add",CompanyJobEdit:o.xw+"/company/job_edit",CompanyJobDel:o.xw+"/company/job_del",CompanyJobInfo:o.xw+"/company/job_info",CompanyJobStatusChange:o.xw+"/company/job_status_change",CompanyJobRecycle:o.xw+"/company/job_recycle",CompanyJobrecoverRecycle:o.xw+"/company/job_recover_recycle"},F=(0,f.L)(g.JobSearch),N=(0,f.y)(g.JobCompanyjobs),p=(0,f.y)(g.JobDetail),m=(0,f.y)(g.JobAuthdetail),H=(0,f.y)(g.CompanyJobList),K=(0,f.L)(g.CompanyJobAdd),Y=(0,f.L)(g.CompanyJobEdit),X=(0,f.L)(g.CompanyJobDel),M=(0,f.y)(g.CompanyJobInfo),v=(0,f.L)(g.CompanyJobStatusChange),S=(0,f.L)(g.CompanyJobRecycle),U=(0,f.L)(g.CompanyJobrecoverRecycle)},5251:function(te,J,n){n.d(J,{Y:function(){return F},_:function(){return g}});var f=n(27484),o=n.n(f),g=function(p){return p&&p<o()().endOf("day")},F=function(p){return p&&p>o()().endOf("day")}}}]);
|