1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3507],{45073:function(se,Q,d){var f=d(75891),u=d(21532),a=d(32983),J=d(85893),_=function(y){var H=y.description;return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(u.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,J.jsx)(a.Z,{description:H})})})};Q.Z=(0,f.connect)(function(p){var y=p.dictModel;return{dictModel:y}})(_)},31004:function(se,Q,d){var f=d(5574),u=d.n(f),a=d(71167),J=d.n(a),_=d(40190),p=d(67294),y=d(86492),H=d.n(y),m=d(85893),O=function(j){var I=j.defaultValue,C=j.placeholder,R=j.onChange,Z=(0,p.useState)(I&&H().decode(I)),U=u()(Z,2),h=U[0],ee=U[1],B=function(V){ee(V),R(V)};return(0,p.useEffect)(function(){if(I){var z=I.replace(/<[^>]*>/g,"");B(z?I:"")}},[I]),(0,m.jsx)("div",{children:(0,m.jsx)(J(),{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:h,onChange:B,theme:"snow",placeholder:C})})};Q.Z=O},96223:function(se,Q,d){var f=d(75891),u=d(55375),a=d(68872),J=d(53271),_=d(85893),p=function(H){var m=H.onUploadComplete,O=H.uploadTxt,$=H.image_type,j=H.form_name,I=H.image_length,C=function(Z){m&&m(Z)};return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(J.Z,{label:O,name:j,icon:null,title:O,fieldProps:{maxCount:I,multiple:!1,fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(Z){var U=new FormData;U.append("image",Z.file),(0,f.request)(u.FH+"/common/image/upload?imgtype="+$,{method:"post",data:U,Headers:{Authorization:localStorage.getItem("token"),"X-Requested-With":null}}).then(function(h){C(h.data.filename)}).catch(function(h){console.log(h),a.ZP.error("\u4E0A\u4F20\u5931\u8D25")})}}})})};Q.Z=p},7431:function(se,Q,d){d.r(Q),d.d(Q,{default:function(){return ct}});var f=d(5574),u=d.n(f),a=d(67294),J=d(21532),_=d(71230),p=d(15746),y=d(42075),H=d(92398),m=d(24458),O=d(88916),$=d(73403),j=d(86250),I=d(7134),C=d(83622),R=d(17788),Z=d(55375),U=d(15009),h=d.n(U),ee=d(99289),B=d.n(ee),z=d(75891),V=d(97269),G=d(5966),N=d(64317),pe=d(31199),ie=d(8214),Je=d(68872),fe=d(29104),ce=d(89627),he=d(36998),xe=d(96223),e=d(85893),Re=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)(),l=(0,a.useState)(""),i=u()(l,2),n=i[0],s=i[1];return(0,a.useEffect)(function(){x({type:"dictModel/getList",payload:{code:2014,type:"setTitleList"}}),x({type:"dictModel/getList",payload:{code:2006,type:"setEducationList"}}),x({type:"dictModel/getList",payload:{code:2011,type:"setMaritalList"}}),x({type:"dictModel/getList",payload:{code:2012,type:"setEthnicityList"}}),x({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}}),x({type:"dictModel/getList",payload:{code:2010,type:"setPoliticalList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(c,r){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:r})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},request:B()(h()().mark(function v(){var c;return h()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(!t){F.next=10;break}return t.name=t.seekername,t.photo&&s(t.photo),t.reg_level_array=[t.reg_level1?t.reg_level1:"",t.reg_level2?t.reg_level2:"",t.reg_level3?t.reg_level3:"",t.reg_level4?t.reg_level4:""],t.now_level_array=[t.now_level1?t.now_level1:"",t.now_level2?t.now_level2:"",t.now_level3?t.now_level3:"",t.now_level4?t.now_level4:""],c=(0,he.P8)(g.areaList,t.native_place_txt),t.native_place_array=c.length>0?[c[0].id,c[1].id]:[],F.abrupt("return",t);case 10:return F.abrupt("return",{});case 11:case"end":return F.stop()}},v)})),onFinish:function(){var v=B()(h()().mark(function c(r){var F,M,ne,k,L,P,T;return h()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:for(t&&(r.id=t.id,r.customer_id=t.customer_id),r.id_number&&(F=(0,ce.z1)(r.id_number),M=r.id_number.substring(6,14),ne="".concat(M.substring(0,4),"-").concat(M.substring(4,6),"-").concat(M.substring(6,8)),r.gender=F,r.dob=ne),k=0;k<4;k++)r["reg_level".concat(k+1)]=r.reg_level_array[k]||0;for(L=0;L<4;L++)r["now_level".concat(L+1)]=r.now_level_array[L]||0;if(r.native_place_array.length!=1){Y.next=9;break}return Je.ZP.warning("\u8BF7\u9009\u62E9\u5E02"),Y.abrupt("return",!1);case 9:r.native_place=r.native_place_array[1];case 10:if(delete r.reg_level_array,delete r.now_level_array,delete r.native_place_array,console.log(r),r.status=2,!(t&&t.id)){Y.next=22;break}return Y.next=18,(0,m.d5)(r);case 18:P=Y.sent,b(!1),Y.next=26;break;case 22:return Y.next=24,(0,m.dw)(r);case 24:T=Y.sent,b(!1);case 26:case"end":return Y.stop()}},c)}));return function(c){return v.apply(this,arguments)}}(),children:(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(p.Z,{span:24,children:(0,e.jsxs)(y.Z,{children:[(0,e.jsx)(xe.Z,{uploadTxt:"\u4E0A\u4F20\u7167\u7247",form_name:"photo",image_length:1,image_type:1,onUploadComplete:function(c){var r;s(c),(r=D.current)===null||r===void 0||r.setFieldsValue({photo:c})}}),n&&(0,e.jsx)(fe.Z,{src:"".concat(Z.VO).concat(n),width:100,height:100,style:{borderRadius:"50%"}})]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"name",label:"\u59D3\u540D",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u59D3\u540D"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"id_number",label:"\u8EAB\u4EFD\u8BC1\u53F7",placeholder:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7"},function(){return{validator:function(c,r){var F=(0,ce.P4)(r);return typeof F=="boolean"?Promise.resolve():Promise.reject(new Error(F))}}}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"title",label:"\u804C\u79F0",placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0",fieldProps:{fieldNames:Z.RI},options:g.titleList})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"education",label:"\u5B66\u5386",placeholder:"\u8BF7\u9009\u62E9\u5B66\u5386",fieldProps:{fieldNames:Z.RI},options:g.educationList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u5386"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"marital_status",label:"\u5A5A\u59FB\u72B6\u51B5",placeholder:"\u8BF7\u9009\u62E9\u5A5A\u59FB\u72B6\u51B5",fieldProps:{fieldNames:Z.RI},options:g.maritalList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5A5A\u59FB\u72B6\u51B5"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"ethnicity",label:"\u6C11\u65CF",placeholder:"\u8BF7\u9009\u62E9\u6C11\u65CF",fieldProps:{fieldNames:Z.RI},options:g.ethnicityList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6C11\u65CF"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"political_status",label:"\u653F\u6CBB\u9762\u8C8C",placeholder:"\u8BF7\u9009\u62E9\u653F\u6CBB\u9762\u8C8C",fieldProps:{fieldNames:Z.RI},options:g.politicalList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u653F\u6CBB\u9762\u8C8C"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(pe.Z,{label:"\u8EAB\u9AD8CM",name:"height",fieldProps:{precision:0}})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(pe.Z,{label:"\u4F53\u91CDKG",name:"weight",fieldProps:{precision:0}})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(ie.Z,{name:"reg_level_array",label:"\u6237\u53E3\u6240\u5728\u5730",fieldProps:{fieldNames:Z.Mo,options:g.areaList,onChange:function(c){}},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6237\u53E3\u6240\u5728\u5730"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(ie.Z,{name:"now_level_array",label:"\u73B0\u5C45\u4F4F\u5730",fieldProps:{fieldNames:Z.Mo,options:g.areaList,onChange:function(c){}},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73B0\u5C45\u4F4F\u5730"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(ie.Z,{name:"native_place_array",label:"\u7C4D\u8D2F",fieldProps:{changeOnSelect:!0,fieldNames:Z.Mo,options:g.areaList},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7C4D\u8D2F"}]})})]})})})})},ge=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Re),Le=d(31004),ve=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)(),l=(0,a.useState)(""),i=u()(l,2),n=i[0],s=i[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:[(0,e.jsx)(Le.Z,{placeholder:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7B80\u4ECB",defaultValue:t&&t.introduction?t.introduction:"",onChange:function(c){s(c)}}),(0,e.jsx)(j.Z,{justify:"flex-end",style:{paddingTop:20},children:(0,e.jsxs)(y.Z,{children:[(0,e.jsx)(C.ZP,{onClick:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})},children:"\u9000\u51FA\u7F16\u8F91"}),(0,e.jsx)(C.ZP,{onClick:function(){if(t&&t.introduction){var c={id:t.id,customer_id:t.customer_id,description:n};(0,m.ad)(c).then(function(F){b(!1)})}else{var r={customer_id:Number(localStorage.getItem("customerid")),description:n};(0,m.TE)(r).then(function(F){b(!1)})}},children:"\u4FDD\u5B58"})]})})]})})},we=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(ve),ae=d(45073),Fe=function(o){var x=o.detail,g=o.sumbitSusccessGetDetail,t=(0,a.useState)(!1),b=u()(t,2),D=b[0],l=b[1],i=(0,a.useState)(!1),n=u()(i,2),s=n[0],v=n[1],c=function(M){l(M),g()},r=function(M){v(M),g()};return(0,e.jsxs)(e.Fragment,{children:[x&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(j.Z,{align:"flex-start",children:[(0,e.jsxs)(j.Z,{justify:"center",align:"flex-end",children:[(0,e.jsx)(I.C,{size:88,src:Z.VO+x.photo}),(0,e.jsx)(O.Z,{})]}),(0,e.jsxs)(j.Z,{vertical:!0,justify:"space-between",style:{paddingLeft:30,width:"100%"},children:[(0,e.jsxs)(j.Z,{justify:"space-between",align:"flex-start",children:[(0,e.jsx)(j.Z,{vertical:!0,children:(0,e.jsxs)(y.Z,{direction:"vertical",children:[(0,e.jsx)("h1",{children:x.seekername}),(0,e.jsxs)(y.Z,{size:20,children:[(0,e.jsxs)(y.Z,{children:[(0,e.jsx)($.Z,{}),x.age,"\u5C81"]}),(0,e.jsxs)(y.Z,{children:[(0,e.jsx)($.Z,{}),x.work_experience_txt]}),(0,e.jsxs)(y.Z,{children:[(0,e.jsx)($.Z,{}),x.desire_positions&&x.desire_positions.length>0&&x.desire_positions[0].level2_txt]})]})]})}),(0,e.jsx)(y.Z,{children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){l(!0)},children:"\u7F16\u8F91"})})]}),(0,e.jsxs)(j.Z,{vertical:!0,style:{backgroundColor:"#fafafa",marginTop:20,padding:20,width:"100%"},children:[(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.ZP,{type:"text",onClick:function(){v(!0)},children:"\u586B\u5199\u6211\u7684\u4E2A\u4EBA\u7B80\u4ECB"})]}),(0,e.jsx)("div",{style:{width:"100%",backgroundColor:"#fafafa",paddingTop:20,borderRadius:8,lineHeight:2},dangerouslySetInnerHTML:{__html:x==null?void 0:x.introduction}})]})]})]})}),!x&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(ae.Z,{description:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){l(!0)},children:"\u7F16\u8F91\u57FA\u672C\u4FE1\u606F"})})})})}),(0,e.jsx)(R.Z,{open:D,title:"\u7F16\u8F91\u7B80\u5386\u4FE1\u606F",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){l(!1)},children:(0,e.jsx)(ge,{detail:x,closeModel:c})}),(0,e.jsx)(R.Z,{open:s,title:"\u7F16\u8F91\u4E2A\u4EBA\u7B80\u4ECB",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){v(!1)},children:(0,e.jsx)(we,{detail:x,closeModel:r})})]})},Ie=Fe,de=d(86548),me=d(48689),S=d(26412),ue=d(86738),ye=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)();return(0,a.useEffect)(function(){x({type:"dictModel/getList",payload:{code:2019,type:"setJobTypeList"}}),x({type:"dictModel/getList",payload:{code:2020,type:"setTalentTypeList"}}),x({type:"dictModel/getList",payload:{code:2021,type:"setWorkExperienceList"}}),x({type:"dictModel/getList",payload:{code:2005,type:"setScaleList"}}),x({type:"dictModel/getList",payload:{code:2013,type:"setAvailableDateList"}}),x({type:"dictModel/getList",payload:{code:2014,type:"setTitleList"}}),x({type:"dictModel/getList",payload:{code:2015,type:"setSkillCertificationeList"}}),x({type:"dictModel/getList",payload:{code:2016,type:"setAccommodationRequirementList"}}),x({type:"dictModel/getList",payload:{code:2017,type:"setHolidayRestList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,request:B()(h()().mark(function l(){return h()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(t&&t.id)){n.next=4;break}return n.abrupt("return",t);case 4:return n.abrupt("return",{});case 5:case"end":return n.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:n})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var s,v;return h()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(n.customer_id=Number(localStorage.getItem("customerid")),!(t&&t.id)){r.next=9;break}return n.id=t.id,r.next=5,(0,m.XG)(n);case 5:s=r.sent,b(!1),r.next=13;break;case 9:return r.next=11,(0,m.oU)(n);case 11:v=r.sent,b(!1);case 13:case"end":return r.stop()}},i)}));return function(i){return l.apply(this,arguments)}}(),children:(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{label:"\u5176\u4ED6\u804C\u4F4D",name:"other_positions",placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u804C\u4F4D"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u6C42\u804C\u7C7B\u578B",width:"lg",name:"job_type",fieldProps:{fieldNames:Z.RI},options:g.jobTypeList,placeholder:"\u8BF7\u9009\u62E9\u6C42\u804C\u7C7B\u578B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6C42\u804C\u7C7B\u578B"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u4EBA\u624D\u7C7B\u578B",width:"lg",name:"talent_type",fieldProps:{fieldNames:Z.RI},options:g.talentTypeList,placeholder:"\u8BF7\u9009\u62E9\u4EBA\u624D\u7C7B\u578B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4EBA\u624D\u7C7B\u578B"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u5DE5\u4F5C\u7ECF\u9A8C",width:"lg",name:"work_experience",fieldProps:{fieldNames:Z.RI},options:g.workExperienceList,placeholder:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u7ECF\u9A8C",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u7ECF\u9A8C"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u6708\u85AA\u8981\u6C42\u8303\u56F4",width:"lg",name:"salary_range",fieldProps:{fieldNames:Z.RI},options:g.scaleList,placeholder:"\u8BF7\u9009\u62E9\u6708\u85AA\u8981\u6C42\u8303\u56F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6708\u85AA\u8981\u6C42\u8303\u56F4"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u53EF\u5230\u804C\u65E5\u671F",width:"lg",name:"available_date",fieldProps:{fieldNames:Z.RI},options:g.availableDateList,placeholder:"\u8BF7\u9009\u62E9\u53EF\u5230\u804C\u65E5\u671F",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u53EF\u5230\u804C\u65E5\u671F"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u804C\u79F0\u8981\u6C42",width:"lg",name:"title_requirement",fieldProps:{fieldNames:Z.RI},options:g.titleList,placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0\u8981\u6C42"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u6280\u80FD\u8BA4\u8BC1",width:"lg",name:"skill_certification",fieldProps:{fieldNames:Z.RI},options:g.skillCertificationeList,placeholder:"\u8BF7\u9009\u62E9\u6280\u80FD\u8BA4\u8BC1"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u98DF\u5BBF\u8981\u6C42",width:"lg",name:"accommodation_requirement",fieldProps:{fieldNames:Z.RI},options:g.accommodationRequirementList,placeholder:"\u8BF7\u9009\u62E9\u98DF\u5BBF\u8981\u6C42"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{label:"\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5",width:"lg",name:"holiday_rest",fieldProps:{fieldNames:Z.RI},options:g.holidayRestList,placeholder:"\u8BF7\u9009\u62E9\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5"})})]})})})})},Ce=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(ye),Ze=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)();return(0,a.useEffect)(function(){x({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,request:B()(h()().mark(function l(){return h()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(t&&t.id)){n.next=5;break}return t.level_array=[t.level1?t.level1:"",t.level2?t.level2:"",t.level3?t.level3:"",t.level4?t.level4:""],n.abrupt("return",t);case 5:return n.abrupt("return",{});case 6:case"end":return n.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:n})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var s,v,c;return h()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:for(n.customer_id=n.customer_id=Number(localStorage.getItem("customerid")),s=0;s<4;s++)n["level".concat(s+1)]=n.level_array[s]||0;if(delete n.level_array,!(t&&t.id)){F.next=11;break}return n.id=t.id,F.next=7,(0,m.DJ)(n);case 7:v=F.sent,b(!1),F.next=15;break;case 11:return F.next=13,(0,m.hM)(n);case 13:c=F.sent,b(!1);case 15:case"end":return F.stop()}},i)}));return function(i){return l.apply(this,arguments)}}(),children:(0,e.jsx)(_.Z,{gutter:20,children:(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(ie.Z,{name:"level_array",label:"\u671F\u671B\u5730\u533A",fieldProps:{fieldNames:Z.Mo,options:g.areaList,onChange:function(i){}}})})})})})})},Se=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Ze),De=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)();return(0,a.useEffect)(function(){x({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,request:B()(h()().mark(function l(){var i;return h()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!(t&&t.id)){s.next=6;break}return i=(0,he.wi)(g.industryPostList,t.level1),t.level_array=[i[0]?i[0]:0,t.level1?t.level1:"",t.level2?t.level2:""],s.abrupt("return",t);case 6:return s.abrupt("return",{});case 7:case"end":return s.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:n})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var s,v,c;return h()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:for(n.customer_id=Number(localStorage.getItem("customerid")),s=0;s<3;s++)n["level".concat(s+1)]=n.level_array[s+1]||0;if(delete n.level_array,!(t&&t.id)){F.next=11;break}return n.id=t.id,F.next=7,(0,m.eo)(n);case 7:v=F.sent,b(!1),F.next=15;break;case 11:return F.next=13,(0,m.Mx)(n);case 13:c=F.sent,b(!1);case 15:case"end":return F.stop()}},i)}));return function(i){return l.apply(this,arguments)}}(),children:(0,e.jsx)(_.Z,{gutter:20,children:(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(ie.Z,{name:"level_array",label:"\u671F\u671B\u804C\u4F4D(\u8BF7\u9009\u62E9\u5230\u6700\u540E\u4E00\u9879)",fieldProps:{fieldNames:Z.Mo,options:g.industryPostList,onChange:function(i){}}})})})})})})},Be=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(De),Ee=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)();return(0,a.useEffect)(function(){x({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,request:B()(h()().mark(function l(){var i;return h()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!(t&&t.id)){s.next=6;break}return i=(0,he.wi)(g.industryPostList,t.industry),t.industry_array=[i[0]?i[0]:0,t.industry?t.industry:""],s.abrupt("return",t);case 6:return s.abrupt("return",{});case 7:case"end":return s.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:n})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var s,v;return h()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(n.customer_id=Number(localStorage.getItem("customerid")),n.industry=n.industry_array&&n.industry_array.length>0&&n.industry_array[1]?n.industry_array[1]:0,delete n.industry_array,!(t&&t.id)){r.next=12;break}debugger;return n.id=t.id,r.next=8,(0,m.rQ)(n);case 8:s=r.sent,b(!1),r.next=16;break;case 12:return r.next=14,(0,m.B6)(n);case 14:v=r.sent,b(!1);case 16:case"end":return r.stop()}},i)}));return function(i){return l.apply(this,arguments)}}(),children:(0,e.jsx)(_.Z,{gutter:20,children:(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(ie.Z,{name:"industry_array",label:"\u671F\u671B\u884C\u4E1A(\u8BF7\u9009\u62E9\u5230\u7B2C\u4E8C\u9879)",fieldProps:{fieldNames:Z.Mo,options:g.industryPostList,changeOnSelect:!0,onChange:function(i){}}})})})})})})},Me=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Ee),Te=function(o){var x,g,t,b,D,l,i,n,s,v,c=o.info,r=o.sumbitSusccessGetDetail,F=(0,a.useState)(!1),M=u()(F,2),ne=M[0],k=M[1],L=(0,a.useState)(null),P=u()(L,2),T=P[0],W=P[1],Y=(0,a.useState)(""),je=u()(Y,2),q=je[0],X=je[1],be=function(te){k(te),r(),(0,m.k8)().then(function(K){Ge(K.data)})},dt=(0,a.useState)(null),ze=u()(dt,2),w=ze[0],Ge=ze[1];return(0,a.useEffect)(function(){(0,m.k8)().then(function(A){Ge(A.data)})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,e.jsxs)(y.Z,{direction:"vertical",size:30,style:{width:"100%"},children:[w&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{direction:"vertical",style:{width:"100%"},children:[(0,e.jsxs)(j.Z,{align:"center",children:[(0,e.jsx)("h3",{children:"\u57FA\u672C\u671F\u671B"}),(0,e.jsx)(C.ZP,{size:"small",type:"text",onClick:B()(h()().mark(function A(){var te;return h()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,(0,m.k8)();case 2:te=le.sent,W(te.data),X("basic"),k(!0);case 6:case"end":return le.stop()}},A)})),children:"\u53BB\u586B\u5199\u57FA\u672C\u671F\u671B"})]}),(0,e.jsx)("div",{style:{backgroundColor:"#ffffff",padding:"16px",borderRadius:"8px"},children:w?(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(S.Z,{children:[(0,e.jsx)(S.Z.Item,{label:"\u5176\u4ED6\u804C\u4F4D",span:3,children:(x=w==null?void 0:w.other_positions)!==null&&x!==void 0?x:""}),(0,e.jsx)(S.Z.Item,{label:"\u6C42\u804C\u7C7B\u578B",children:(g=w==null?void 0:w.job_type_txt)!==null&&g!==void 0?g:""}),(0,e.jsx)(S.Z.Item,{label:"\u4EBA\u624D\u7C7B\u578B",children:(t=w==null?void 0:w.talent_type_txt)!==null&&t!==void 0?t:""}),(0,e.jsx)(S.Z.Item,{label:"\u5DE5\u4F5C\u7ECF\u9A8C",children:(b=w==null?void 0:w.work_experience_txt)!==null&&b!==void 0?b:""}),(0,e.jsx)(S.Z.Item,{label:"\u6708\u85AA\u8981\u6C42\u8303\u56F4",children:(D=w==null?void 0:w.salary_range_txt)!==null&&D!==void 0?D:""}),(0,e.jsx)(S.Z.Item,{label:"\u53EF\u5230\u804C\u65E5\u671F",children:(l=w==null?void 0:w.available_date_txt)!==null&&l!==void 0?l:""}),(0,e.jsx)(S.Z.Item,{label:"\u804C\u79F0\u8981\u6C42",children:(i=w==null?void 0:w.title_requirement_txt)!==null&&i!==void 0?i:""}),(0,e.jsx)(S.Z.Item,{label:"\u6280\u80FD\u8BA4\u8BC1",children:(n=w==null?void 0:w.skill_certification_txt)!==null&&n!==void 0?n:""}),(0,e.jsx)(S.Z.Item,{label:"\u98DF\u5BBF\u8981\u6C42",children:(s=w==null?void 0:w.accommodation_requirement_txt)!==null&&s!==void 0?s:""}),(0,e.jsx)(S.Z.Item,{label:"\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5",children:(v=w==null?void 0:w.holiday_rest_txt)!==null&&v!==void 0?v:""})]})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){W({}),X("basic"),k(!0)},children:"\u53BB\u586B\u5199\u57FA\u672C\u671F\u671B"})})})})]})}),!w&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(ae.Z,{description:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){X("basic"),k(!0)},children:"\u53BB\u586B\u5199\u57FA\u672C\u671F\u671B"})})})})}),c&&c.desire_industrys&&c.desire_industrys.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{direction:"vertical",style:{width:"100%"},children:[(0,e.jsxs)(j.Z,{align:"center",children:[(0,e.jsx)("h3",{children:"\u671F\u671B\u884C\u4E1A"}),(0,e.jsx)(C.ZP,{size:"small",type:"text",onClick:B()(h()().mark(function A(){return h()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:W({}),X("industry"),k(!0);case 3:case"end":return K.stop()}},A)})),children:"\u6DFB\u52A0\u671F\u671B\u884C\u4E1A"})]}),(0,e.jsx)("div",{style:{backgroundColor:"#ffffff",padding:"16px",borderRadius:"8px"},children:c&&c.desire_industrys&&c.desire_industrys.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(y.Z,{direction:"vertical",children:c.desire_industrys.map(function(A,te){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{children:[(0,e.jsxs)("div",{children:[te+1,"\u3001",A.industry_txt]}),(0,e.jsx)(C.ZP,{type:"text",size:"small",onClick:function(){W(A),X("industry"),k(!0)},children:(0,e.jsx)(de.Z,{})}),(0,e.jsx)(ue.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(le){(0,m.zG)({id:A.id}).then(function(Ne){r()})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(C.ZP,{type:"text",size:"small",children:(0,e.jsx)(me.Z,{})})})]})})})})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){W({}),X("industry"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u884C\u4E1A"})})})})]})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(ae.Z,{description:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){W({}),X("industry"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u884C\u4E1A"})})})})}),c&&c.desire_positions&&c.desire_positions.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{direction:"vertical",style:{width:"100%"},children:[(0,e.jsxs)(j.Z,{align:"center",children:[(0,e.jsx)("h3",{children:"\u671F\u671B\u804C\u4F4D"}),(0,e.jsx)(C.ZP,{size:"small",type:"text",onClick:B()(h()().mark(function A(){return h()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:W({}),X("position"),k(!0);case 3:case"end":return K.stop()}},A)})),children:"\u6DFB\u52A0\u671F\u671B\u804C\u4F4D"})]}),(0,e.jsx)("div",{style:{backgroundColor:"#ffffff",padding:"16px",borderRadius:"8px"},children:c&&c.desire_positions&&c.desire_positions.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(y.Z,{direction:"vertical",children:c.desire_positions.map(function(A,te){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{children:[(0,e.jsxs)("div",{children:[te+1,"\u3001",A.level1_txt,"/",A.level2_txt]}),(0,e.jsx)(C.ZP,{type:"text",size:"small",onClick:function(){W(A),X("position"),k(!0)},children:(0,e.jsx)(de.Z,{})}),(0,e.jsx)(ue.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(le){(0,m.n$)({id:A.id}).then(function(Ne){r()})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(C.ZP,{type:"text",size:"small",children:(0,e.jsx)(me.Z,{})})})]})})})})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){W({}),X("position"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u804C\u4F4D"})})})})]})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(ae.Z,{description:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){W({}),X("position"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u804C\u4F4D"})})})})}),c&&c.desire_areas&&c.desire_areas.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{direction:"vertical",style:{width:"100%"},children:[(0,e.jsxs)(j.Z,{align:"center",children:[(0,e.jsx)("h3",{children:"\u671F\u671B\u804C\u4F4D"}),(0,e.jsx)(C.ZP,{size:"small",type:"text",onClick:B()(h()().mark(function A(){return h()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:W({}),X("area"),k(!0);case 3:case"end":return K.stop()}},A)})),children:"\u6DFB\u52A0\u671F\u671B\u804C\u4F4D"})]}),(0,e.jsx)("div",{style:{backgroundColor:"#ffffff",padding:"16px",borderRadius:"8px"},children:c&&c.desire_areas&&c.desire_areas.length?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(y.Z,{direction:"vertical",children:c.desire_areas.map(function(A,te){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{children:[(0,e.jsxs)("div",{children:[te+1,"\u3001",A.level1_txt,"/",A.level2_txt,"/",A.level3_txt,"/",A.level4_txt]}),(0,e.jsx)(C.ZP,{type:"text",size:"small",onClick:function(){W(A),X("area"),k(!0)},children:(0,e.jsx)(de.Z,{})}),(0,e.jsx)(ue.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(le){(0,m._f)({id:A.id}).then(function(Ne){r()})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(C.ZP,{type:"text",size:"small",children:(0,e.jsx)(me.Z,{})})})]})})})})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){W({}),X("area"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u5730\u533A"})})})})]})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(ae.Z,{description:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){W({}),X("area"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u5730\u533A"})})})})})]}),(0,e.jsxs)(R.Z,{open:ne,title:"\u7F16\u8F91\u6C42\u804C\u610F\u5411",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){k(!1)},children:[q=="basic"&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(Ce,{detail:T,closeModel:be})]}),q=="industry"&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(Me,{detail:T,closeModel:be})]}),q=="position"&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(Be,{detail:T,closeModel:be})]}),q=="area"&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(Se,{detail:T,closeModel:be})]})]})]})})},ke=Te,oe=d(4393),Pe=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)();return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,request:B()(h()().mark(function l(){var i;return h()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!t.customer_id){s.next=7;break}return s.next=3,(0,m.dQ)({customer_id:Number(localStorage.getItem("customerid"))});case 3:return i=s.sent,s.abrupt("return",i.data);case 7:return s.abrupt("return",{});case 8:case"end":return s.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:n})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var s,v;return h()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(n.customer_id=Number(localStorage.getItem("customerid")),!(t&&t.id)){r.next=9;break}return n.id=t.id,r.next=5,(0,m.vn)(n);case 5:s=r.sent,b(!1),r.next=13;break;case 9:return r.next=11,(0,m.aW)(n);case 11:v=r.sent,b(!1);case 13:case"end":return r.stop()}},i)}));return function(i){return l.apply(this,arguments)}}(),children:(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"landline",label:" \u56FA\u8BDD",placeholder:"\u8BF7\u8F93\u5165\u56FA\u8BDD"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"mobile",label:"\u79FB\u52A8\u7535\u8BDD",placeholder:"\u8BF7\u8F93\u5165\u79FB\u52A8\u7535\u8BDD",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u79FB\u52A8\u7535\u8BDD"},function(){return{validator:function(i,n){var s=(0,ce.Zj)(n);return typeof s=="boolean"?Promise.resolve():Promise.reject(new Error(s))}}}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"qq",label:"qq",placeholder:"\u8BF7\u8F93\u5165qq"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"personal_website",label:"\u4E2A\u4EBA\u7F51\u7AD9",placeholder:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7F51\u7AD9"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"mailing_address",label:"\u901A\u4FE1\u5730\u5740",placeholder:"\u8BF7\u8F93\u5165\u901A\u4FE1\u5730\u5740"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"postal_code",label:" \u90AE\u7F16",placeholder:"\u8BF7\u8F93\u5165\u90AE\u7F16"})})]})})})})},_e=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Pe),Oe=function(){var o=(0,a.useState)(!1),x=u()(o,2),g=x[0],t=x[1],b=(0,a.useState)(null),D=u()(b,2),l=D[0],i=D[1],n=function(v){t(v),(0,m.dQ)({customer_id:Number(localStorage.getItem("customerid"))}).then(function(c){i(c.data)})};return(0,a.useEffect)(function(){(0,m.dQ)({customer_id:Number(localStorage.getItem("customerid"))}).then(function(s){i(s.data)})},[]),(0,e.jsxs)(e.Fragment,{children:[l&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(oe.Z,{title:"\u8054\u7CFB\u65B9\u5F0F",extra:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){t(!0)},children:"\u7F16\u8F91"})}),children:(0,e.jsxs)(S.Z,{children:[(0,e.jsx)(S.Z.Item,{span:24,label:"\u624B\u673A\u53F7",children:l.mobile}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u56FA\u8BDD",children:l.landline}),(0,e.jsx)(S.Z.Item,{span:24,label:"QQ",children:l.qq}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u90AE\u7BB1",children:l.email}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u4E2A\u4EBA\u7F51\u7AD9",children:l.personal_website}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u90AE\u653F\u7F16\u7801",children:l.postal_code}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u901A\u4FE1\u5730\u5740",children:l.mailing_address})]})})}),!l&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(ae.Z,{description:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){t(!0)},children:"\u7F16\u8F91\u8054\u7CFB\u65B9\u5F0F"})})})})}),(0,e.jsx)(R.Z,{open:g,title:"\u7F16\u8F91\u8054\u7CFB\u65B9\u5F0F",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){t(!1)},children:(0,e.jsx)(_e,{detail:l,closeModel:n})})]})},We=Oe,Ae=d(86615),Ke=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)();return(0,a.useEffect)(function(){x({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),x({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),x({type:"dictModel/getList",payload:{code:2023,type:"setVehicleList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,request:B()(h()().mark(function l(){var i;return h()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!t.customer_id){s.next=7;break}return s.next=3,(0,m.cd)({customer_id:t.customer_id});case 3:return i=s.sent,s.abrupt("return",i.data);case 7:return s.abrupt("return",{});case 8:case"end":return s.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:n})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var s,v;return h()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(n.customer_id=Number(localStorage.getItem("customerid")),!(t&&t.id)){r.next=9;break}return n.id=t.id,r.next=5,(0,m._d)(n);case 5:s=r.sent,b(!1),r.next=13;break;case 9:return r.next=11,(0,m.zX)(n);case 11:v=r.sent,b(!1);case 13:case"end":return r.stop()}},i)}));return function(i){return l.apply(this,arguments)}}(),children:(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"english",label:" \u82F1\u8BED",placeholder:"\u8BF7\u9009\u62E9\u82F1\u8BED",fieldProps:{fieldNames:Z.RI},options:g.degreeList})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"mandarin",label:" \u56FD\u8BED",placeholder:"\u8BF7\u9009\u62E9\u56FD\u8BED",fieldProps:{fieldNames:Z.RI},options:g.degreeList})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"cantonese",label:" \u7CA4\u8BED",placeholder:"\u8BF7\u9009\u62E9\u7CA4\u8BED",fieldProps:{fieldNames:Z.RI},options:g.degreeList})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"other_language",label:"\u7B2C\u4E8C\u5916\u8BED",placeholder:"\u8BF7\u9009\u62E9\u7B2C\u4E8C\u5916\u8BED",fieldProps:{fieldNames:Z.RI},options:g.otherLanguageList})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(Ae.Z.Group,{name:"computer_skills",label:"\u7535\u8111\u6C34\u5E73",options:[{label:"\u719F\u6089",value:"\u7535\u8111\u6C34\u5E73\u719F\u6089"},{label:"\u4E00\u822C",value:"\u7535\u8111\u6C34\u5E73\u4E00\u822C"},{label:"\u4E0D\u61C2",value:"\u7535\u8111\u6C34\u5E73\u4E0D\u61C2"}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(N.Z,{name:"vehicle_type",label:"\u4EA4\u901A\u5DE5\u5177",placeholder:"\u8BF7\u9009\u62E9\u4EA4\u901A\u5DE5\u5177",fieldProps:{fieldNames:Z.RI},options:g.vehicleList})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"drive_type",label:"\u9A7E\u7167\u7C7B\u578B",placeholder:"\u8BF7\u8F93\u5165\u9A7E\u7167\u7C7B\u578B"})})]})})})})},He=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Ke),Qe=function(){var o=(0,a.useState)(!1),x=u()(o,2),g=x[0],t=x[1],b=(0,a.useState)(null),D=u()(b,2),l=D[0],i=D[1],n=function(v){t(v),(0,m.cd)({customer_id:localStorage.getItem("customerid")}).then(function(c){i(c.data)})};return(0,a.useEffect)(function(){(0,m.cd)({customer_id:localStorage.getItem("customerid")}).then(function(s){i(s.data)})},[]),(0,e.jsxs)(e.Fragment,{children:[l&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(oe.Z,{title:"\u8BED\u8A00/\u6280\u80FD",extra:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){t(!0)},children:"\u7F16\u8F91"})}),children:(0,e.jsxs)(S.Z,{children:[(0,e.jsx)(S.Z.Item,{span:24,label:"\u56FD\u8BED",children:l.cantonese_txt}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u7CA4\u8BED",children:l.mandarin_txt}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u82F1\u8BED",children:l.english_txt}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u5176\u4ED6\u8BED\u8A00",children:l.other_language_txt}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u8BA1\u7B97\u673A\u80FD\u529B",children:l.computer_skills}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u4EA4\u901A\u5DE5\u5177",children:l.vehicle_type_txt}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u4EA4\u901A\u5DE5\u5177\u76F8\u5173\u8BC1\u4E66",children:l.drive_type}),(0,e.jsx)(S.Z.Item,{span:24,label:"\u5176\u4ED6\u4EA4\u901A\u5DE5\u5177",children:l.vehicle_type_other})]})})}),!l&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(j.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(j.Z,{justify:"center",align:"center",children:(0,e.jsx)(ae.Z,{description:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){t(!0)},children:"\u7F16\u8F91\u8BED\u8A00/\u6280\u80FD"})})})})}),(0,e.jsx)(R.Z,{open:g,title:"\u7F16\u8F91\u8BED\u8A00/\u6280\u80FD",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){t(!1)},children:(0,e.jsx)(He,{detail:l,closeModel:n})})]})},Ve=Qe,re=d(2487),Ue=d(80733),$e=d(5251),Ye=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)();return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,request:B()(h()().mark(function l(){return h()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(t&&t.id)){n.next=4;break}return n.abrupt("return",t);case 4:return n.abrupt("return",{});case 5:case"end":return n.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:n})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var s,v,c,r;return h()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(s=n.experienceDateMonthRange[0].split("-"),v=n.experienceDateMonthRange[1].split("-"),n.start_year=parseInt(s[0],10),n.start_month=parseInt(s[1],10),n.end_year=parseInt(v[0],10),n.end_month=parseInt(v[1],10),console.log(n),delete n.experienceDateMonthRange,!(t&&t.id)){M.next=16;break}return n.id=t.id,M.next=12,(0,m.lb)(n);case 12:c=M.sent,b(!1),M.next=20;break;case 16:return M.next=18,(0,m.ah)(n);case 18:r=M.sent,b(!1);case 20:case"end":return M.stop()}},i)}));return function(i){return l.apply(this,arguments)}}(),children:(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(Ue.Z,{name:"experienceDateMonthRange",label:"\u5DE5\u4F5C\u65F6\u95F4",fieldProps:{format:function(i){return i.format("YYYY-MM")},disabledDate:$e.Y}})}),(0,e.jsx)(p.Z,{span:16,children:(0,e.jsx)(Ae.Z.Group,{name:"end_today",label:"\u662F\u5426\u81F3\u4ECA",options:[{label:"\u975E\u81F3\u4ECA",value:2},{label:"\u81F3\u4ECA",value:1}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"company_name",label:"\u516C\u53F8\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"position",label:"\u62C5\u4EFB\u804C\u4F4D",placeholder:"\u8BF7\u8F93\u5165\u62C5\u4EFB\u804C\u4F4D"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"reason_for_leaving",label:"\u79BB\u804C\u539F\u56E0",placeholder:"\u8BF7\u8F93\u5165\u79BB\u804C\u539F\u56E0"})})]})})})})},Xe=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Ye),qe=function(){var o=(0,a.useState)(!1),x=u()(o,2),g=x[0],t=x[1],b=(0,a.useState)([]),D=u()(b,2),l=D[0],i=D[1],n=(0,a.useState)(0),s=u()(n,2),v=s[0],c=s[1],r=(0,a.useState)({}),F=u()(r,2),M=F[0],ne=F[1],k=function(P){t(P),(0,m.Qc)({page:1,pagesize:10,sortby:"desc"}).then(function(T){i(T.data.jobapplicantexperiences&&T.data.jobapplicantexperiences.length>0?T.data.jobapplicantexperiences:[]),c(T.data.total)})};return(0,a.useEffect)(function(){(0,m.Qc)({page:1,pagesize:10,sortby:"desc"}).then(function(L){i(L.data.jobapplicantexperiences&&L.data.jobapplicantexperiences.length>0?L.data.jobapplicantexperiences:[]),c(L.data.total)})},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(oe.Z,{title:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(y.Z,{children:["\u5DE5\u4F5C\u7ECF\u5386 ",(0,e.jsxs)("div",{style:{color:"#999",fontSize:14},children:[" ",v," \u6761\u5DE5\u4F5C\u7ECF\u5386"]})]})," "]}),extra:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){t(!0)},children:"\u6DFB\u52A0\u5DE5\u4F5C\u7ECF\u5386"})}),children:(0,e.jsx)(re.Z,{className:"demo-loadmore-list",itemLayout:"horizontal",dataSource:l,renderItem:function(P,T){return(0,e.jsx)(re.Z.Item,{actions:[(0,e.jsx)(C.ZP,{size:"small",onClick:function(){t(!0),ne(P)},children:"\u7F16\u8F91"}),(0,e.jsx)(ue.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(Y){(0,m.Zd)({id:P.id}).then(function(je){(0,m.Qc)({page:1,pagesize:10,sortby:"desc"}).then(function(q){i(q.data.jobapplicantexperiences&&q.data.jobapplicantexperiences.length>0?q.data.jobapplicantexperiences:[]),c(q.data.total)})})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(C.ZP,{size:"small",children:"\u5220\u9664"})})],children:(0,e.jsx)(re.Z.Item.Meta,{avatar:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(I.C,{children:T+1})}),title:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("h3",{style:{fontWeight:"bold"},children:P.position})}),description:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{direction:"vertical",style:{color:"#000"},children:[(0,e.jsxs)("div",{children:["\u4EFB\u804C\u65F6\u95F4\uFF1A",P.start_year,"\u5E74",P.start_month,"\u6708-",P.end_year,"\u5E74",P.end_month,"\u6708"]}),(0,e.jsxs)("div",{children:["\u662F\u5426\u81F3\u4ECA\uFF1A",P.end_today==1?"\u662F":"\u5426"]}),P.reason_for_leaving?(0,e.jsxs)("div",{children:["\u79BB\u804C\u539F\u56E0\uFF1A",P.reason_for_leaving]}):""]})})})})}})}),(0,e.jsx)(R.Z,{open:g,title:"\u6DFB\u52A0\u5DE5\u4F5C\u7ECF\u5386",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){t(!1)},children:(0,e.jsx)(Xe,{detail:M,closeModel:k})})]})},et=qe,tt=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)();return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsx)(V.A,{formRef:D,request:B()(h()().mark(function l(){return h()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(t&&t.id)){n.next=4;break}return n.abrupt("return",t);case 4:return n.abrupt("return",{});case 5:case"end":return n.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:n})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var s,v,c,r;return h()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(s=n.experienceDateMonthRange[0].split("-"),v=n.experienceDateMonthRange[1].split("-"),n.start_year=parseInt(s[0],10),n.start_month=parseInt(s[1],10),n.end_year=parseInt(v[0],10),n.end_month=parseInt(v[1],10),console.log(n),delete n.experienceDateMonthRange,!(t&&t.id)){M.next=16;break}return n.id=t.id,M.next=12,(0,m.C4)(n);case 12:c=M.sent,b(!1),M.next=20;break;case 16:return M.next=18,(0,m.mg)(n);case 18:r=M.sent,b(!1);case 20:case"end":return M.stop()}},i)}));return function(i){return l.apply(this,arguments)}}(),children:(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(Ue.Z,{name:"experienceDateMonthRange",label:"\u5DE5\u4F5C\u65F6\u95F4",fieldProps:{format:function(i){return i.format("YYYY-MM")},disabledDate:$e.Y}})}),(0,e.jsx)(p.Z,{span:16,children:(0,e.jsx)(Ae.Z.Group,{name:"end_today",label:"\u662F\u5426\u81F3\u4ECA",options:[{label:"\u975E\u81F3\u4ECA",value:2},{label:"\u81F3\u4ECA",value:1}]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"school_or_institution",label:"\u5B66\u6821/\u57F9\u8BAD\u673A\u6784",placeholder:"\u8BF7\u8F93\u5165\u5B66\u6821/\u57F9\u8BAD\u673A\u6784"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"major",label:"\u4E13\u4E1A",placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"certificate",label:" \u83B7\u5F97\u8BC1\u4E66",placeholder:"\u8BF7\u8F93\u5165\u83B7\u5F97\u8BC1\u4E66"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"awards",label:"\u66FE\u83B7\u5B66\u6821\u5956\u9879\u6216\u6280\u80FD\u6BD4\u8D5B\u5956\u9879",placeholder:"\u8BF7\u8F93\u5165\u66FE\u83B7\u5B66\u6821\u5956\u9879\u6216\u6280\u80FD\u6BD4\u8D5B\u5956\u9879"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"positions_held",label:"\u66FE\u4EFB\u804C\u52A1",placeholder:"\u8BF7\u8F93\u5165\u66FE\u4EFB\u804C\u52A1"})})]})})})})},nt=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(tt),at=function(){var o=(0,a.useState)(!1),x=u()(o,2),g=x[0],t=x[1],b=(0,a.useState)([]),D=u()(b,2),l=D[0],i=D[1],n=(0,a.useState)(0),s=u()(n,2),v=s[0],c=s[1],r=(0,a.useState)({}),F=u()(r,2),M=F[0],ne=F[1],k=function(P){t(P),(0,m.Bp)({page:1,pagesize:10,sortby:"desc"}).then(function(T){i(T.data.jobapplicanttrainings&&T.data.jobapplicanttrainings.length>0?T.data.jobapplicanttrainings:[]),c(T.data.total)})};return(0,a.useEffect)(function(){(0,m.Bp)({page:1,pagesize:10,sortby:"desc"}).then(function(L){i(L.data.jobapplicanttrainings&&L.data.jobapplicanttrainings.length>0?L.data.jobapplicanttrainings:[]),c(L.data.total)})},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(oe.Z,{title:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(y.Z,{children:["\u6559\u80B2/\u57F9\u8BAD\u7ECF\u5386",(0,e.jsxs)("div",{style:{color:"#999",fontSize:14},children:[" ",v," \u6761\u6559\u80B2/\u57F9\u8BAD\u7ECF\u5386"]})]})," "]}),extra:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){t(!0)},children:"\u6DFB\u52A0\u6559\u80B2/\u57F9\u8BAD\u7ECF\u5386"})}),children:(0,e.jsx)(re.Z,{className:"demo-loadmore-list",itemLayout:"horizontal",dataSource:l,renderItem:function(P,T){return(0,e.jsx)(re.Z.Item,{actions:[(0,e.jsx)(C.ZP,{size:"small",onClick:function(){t(!0),ne(P)},children:"\u7F16\u8F91"}),(0,e.jsx)(ue.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(Y){(0,m.N8)({id:P.id}).then(function(je){(0,m.Bp)({page:1,pagesize:10,sortby:"desc"}).then(function(q){i(q.data.jobapplicanttrainings&&q.data.jobapplicanttrainings.length>0?q.data.jobapplicanttrainings:[]),c(q.data.total)})})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(C.ZP,{size:"small",children:"\u5220\u9664"})})],children:(0,e.jsx)(re.Z.Item.Meta,{avatar:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(I.C,{children:T+1})}),title:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("h3",{style:{fontWeight:"bold"},children:P.position})}),description:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(y.Z,{direction:"vertical",style:{color:"#000"},children:[(0,e.jsxs)("div",{children:["\u4EFB\u804C\u65F6\u95F4\uFF1A",P.start_year,"\u5E74",P.start_month,"\u6708-",P.end_year,"\u5E74",P.end_month,"\u6708"]}),(0,e.jsxs)("div",{children:["\u662F\u5426\u81F3\u4ECA\uFF1A",P.end_today==1?"\u662F":"\u5426"]}),P.reason_for_leaving?(0,e.jsxs)("div",{children:["\u79BB\u804C\u539F\u56E0\uFF1A",P.reason_for_leaving]}):""]})})})})}})}),(0,e.jsx)(R.Z,{open:g,title:"\u6DFB\u52A0\u6559\u80B2/\u57F9\u8BAD\u7ECF\u5386",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){t(!1)},children:(0,e.jsx)(nt,{detail:M,closeModel:k})})]})},rt=at,it=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,b=o.closeModel,D=(0,a.useRef)(),l=(0,a.useState)(t.photo),i=u()(l,2),n=i[0],s=i[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsxs)(V.A,{formRef:D,request:B()(h()().mark(function v(){return h()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!(t&&t.id)){r.next=5;break}return t.certificate_photo&&s(t.certificate_photo),r.abrupt("return",t);case 5:return r.abrupt("return",{});case 6:case"end":return r.stop()}},v)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(c,r){return(0,e.jsxs)(j.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.Z,{children:r})]})},onReset:function(){R.Z.confirm({title:"\u9000\u51FA\u7F16\u8F91",content:"\u672A\u5B8C\u6210\u7F16\u8F91\uFF0C\u6B64\u65F6\u9000\u51FA\u5F53\u524D\u7F16\u8F91\u5185\u5BB9\u4E0D\u4F1A\u4FDD\u5B58\uFF0C\u662F\u5426\u786E\u5B9A\u9000\u51FA\uFF1F",centered:!0,okText:"\u9000\u51FA",cancelText:"\u53D6\u6D88",onOk:function(){b(!1)},onCancel:function(){}})}},onFinish:function(){var v=B()(h()().mark(function c(r){var F,M;return h()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(r.customer_id=Number(localStorage.getItem("customerid")),!(t&&t.id)){k.next=9;break}return r.id=t.id,k.next=5,(0,m.QS)(r);case 5:F=k.sent,b(!1),k.next=13;break;case 9:return k.next=11,(0,m.jn)(r);case 11:M=k.sent,b(!1);case 13:case"end":return k.stop()}},c)}));return function(c){return v.apply(this,arguments)}}(),children:[(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"name",label:"\u8BC1\u4E66\u540D",placeholder:"\u8BF7\u8F93\u5165\u8BC1\u4E66\u540D"})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"description",label:"\u63CF\u8FF0",placeholder:"\u8BF7\u8F93\u5165\u63CF\u8FF0"})})]}),(0,e.jsxs)(_.Z,{gutter:16,children:[(0,e.jsx)(p.Z,{children:(0,e.jsx)(xe.Z,{uploadTxt:"\u8BC1\u4E66\u7167\u7247",form_name:"certificate_photo",image_length:1,image_type:5,onUploadComplete:function(c){var r;s(c),(r=D.current)===null||r===void 0||r.setFieldsValue({certificate_photo:c})}})}),(0,e.jsx)(p.Z,{children:n&&(0,e.jsx)(fe.Z,{src:Z.VO+n,width:100,height:100,style:{borderRadius:8,marginTop:30}})})]})]})})})},lt=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(it),st=function(){var o=(0,a.useState)(!1),x=u()(o,2),g=x[0],t=x[1],b=(0,a.useState)([]),D=u()(b,2),l=D[0],i=D[1],n=(0,a.useState)(0),s=u()(n,2),v=s[0],c=s[1],r=(0,a.useState)({}),F=u()(r,2),M=F[0],ne=F[1],k=function(P){t(P),(0,m.$G)({page:1,pagesize:10,sortby:"desc"}).then(function(T){i(T.data.jobapplicantcertificates&&T.data.jobapplicantcertificates.length>0?T.data.jobapplicantcertificates:[]),c(T.data.total)})};return(0,a.useEffect)(function(){(0,m.$G)({page:1,pagesize:10,sortby:"desc"}).then(function(L){i(L.data.jobapplicantcertificates&&L.data.jobapplicantcertificates.length>0?L.data.jobapplicantcertificates:[]),c(L.data.total)})},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(oe.Z,{title:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(y.Z,{children:["\u8BC1\u4E66 ",(0,e.jsxs)("div",{style:{color:"#999",fontSize:14},children:[" ",v," \u6761\u8BC1\u4E66"]})]})," "]}),extra:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.ZP,{type:"text",onClick:function(){t(!0)},children:"\u6DFB\u52A0\u8BC1\u4E66"})}),children:(0,e.jsx)(re.Z,{className:"demo-loadmore-list",itemLayout:"horizontal",dataSource:l,renderItem:function(P,T){return(0,e.jsx)(re.Z.Item,{actions:[(0,e.jsx)(C.ZP,{size:"small",onClick:function(){t(!0),ne(P)},children:"\u7F16\u8F91"}),(0,e.jsx)(C.ZP,{size:"small",children:"\u5220\u9664"})],children:(0,e.jsx)(re.Z.Item.Meta,{avatar:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(I.C,{children:T+1})}),title:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("h3",{style:{fontWeight:"bold"},children:P.name})}),description:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(y.Z,{direction:"vertical",style:{color:"#000"},children:P.certificate_photo?(0,e.jsx)(fe.Z,{src:Z.VO+P.certificate_photo,shape:"square",width:200,height:200}):""})})})})}})}),(0,e.jsx)(R.Z,{open:g,title:"\u7F16\u8F91\u7B80\u5386\u4FE1\u606F",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){t(!1)},children:(0,e.jsx)(lt,{detail:M,closeModel:k})})]})},ut=st,ot=function(){var o=(0,a.useState)(null),x=u()(o,2),g=x[0],t=x[1],b=function(){(0,m.ts)({customer_id:localStorage.getItem("customerid")}).then(function(l){t(l.data)})};return(0,a.useEffect)(function(){(0,m.ts)({customer_id:localStorage.getItem("customerid")}).then(function(D){t(D.data)})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)(_.Z,{gutter:[20,20],children:[(0,e.jsx)(p.Z,{span:16,children:(0,e.jsxs)(y.Z,{size:30,direction:"vertical",style:{width:"100%",minHeight:800},children:[(0,e.jsx)(Ie,{detail:g,sumbitSusccessGetDetail:b}),(0,e.jsx)(ke,{info:g,sumbitSusccessGetDetail:b}),(0,e.jsx)(H.Z,{destroyInactiveTabPane:!0,items:[{key:"1",label:"\u5DE5\u4F5C\u7ECF\u5386",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(et,{})})},{key:"2",label:"\u6559\u80B2/\u57F9\u8BAD\u7ECF\u5386",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(rt,{})})},{key:"3",label:"\u8BC1\u4E66",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ut,{})})}]})]})}),(0,e.jsx)(p.Z,{span:8,children:(0,e.jsxs)(y.Z,{size:30,direction:"vertical",style:{width:"100%"},children:[(0,e.jsx)(We,{}),(0,e.jsx)(Ve,{})]})})]})})})},ct=ot},24458:function(se,Q,d){d.d(Q,{dQ:function(){return ae},k8:function(){return I},$G:function(){return _e},Qc:function(){return Ze},Bp:function(){return Me},cd:function(){return S},ts:function(){return J},dw:function(){return _},hM:function(){return ee},oU:function(){return O},B6:function(){return C},Mx:function(){return N},jn:function(){return ke},aW:function(){return ge},ah:function(){return ue},TE:function(){return ce},zX:function(){return Fe},mg:function(){return De},_f:function(){return B},zG:function(){return R},n$:function(){return pe},Zd:function(){return ye},N8:function(){return Be},d5:function(){return y},DJ:function(){return z},XG:function(){return j},rQ:function(){return Z},eo:function(){return ie},QS:function(){return Pe},vn:function(){return ve},lb:function(){return Ce},ad:function(){return xe},_d:function(){return de},C4:function(){return Ee}});var f=d(75334),u=d(55375),a={JobseekerDetail:u.xw+"/jobseeker/detail",JobapplicantAdd:u.xw+"/jobapplicant/add",JobapplicantDel:u.xw+"/jobapplicant/del",JobapplicantUpdate:u.xw+"/jobapplicant/update",JobapplicantList:u.xw+"/jobapplicant/list",JobapplicantDetail:u.xw+"/jobapplicant/detail",JobapplicantAddDesirebase:u.xw+"/jobapplicant/adddesirebase",JobapplicantDelDesirebase:u.xw+"/jobapplicant/deldesirebase",JobapplicantUpdateDesirebase:u.xw+"/jobapplicant/updatedesirebase",JobapplicantDesirebaseDetail:u.xw+"/jobapplicant/desirebasedetail",JobapplicantAddDesireindustry:u.xw+"/jobapplicant/adddesireindustry",JobapplicantDelDesireindustry:u.xw+"/jobapplicant/deldesireindustry",JobapplicantUpdateDesireindustry:u.xw+"/jobapplicant/updatedesireindustry",JobapplicantListDesireindustry:u.xw+"/jobapplicant/listdesireindustry",JobapplicantDesireindustryDetail:u.xw+"/jobapplicant/desireindustrydetail",JobapplicantAddDesirearea:u.xw+"/jobapplicant/adddesirearea",JobapplicantDelDesirearea:u.xw+"/jobapplicant/deldesirearea",JobapplicantUpdateDesirearea:u.xw+"/jobapplicant/updatedesirearea",JobapplicantListDesirearea:u.xw+"/jobapplicant/listdesirearea",JobapplicantDesireareaDetail:u.xw+"/jobapplicant/desireareadetail",JobapplicantAddDesireposition:u.xw+"/jobapplicant/adddesireposition",JobapplicantDelDesireposition:u.xw+"/jobapplicant/deldesireposition",JobapplicantUpdateDesireposition:u.xw+"/jobapplicant/updatedesireposition",JobapplicantListDesireposition:u.xw+"/jobapplicant/listdesireposition",JobapplicantDesirepositionDetail:u.xw+"/jobapplicant/desirepositiondetail",JobapplicantAddintroduction:u.xw+"/jobapplicant/addintroduction",JobapplicantDelintroduction:u.xw+"/jobapplicant/delintroduction",JobapplicantUpdateintroduction:u.xw+"/jobapplicant/updateintroduction",JobapplicantListintroduction:u.xw+"/jobapplicant/listintroduction",JobapplicantIntroductionDetail:u.xw+"/jobapplicant/introductiondetail",JobapplicantAddcontact:u.xw+"/jobapplicant/addcontact",JobapplicantDelcontact:u.xw+"/jobapplicant/delcontact",JobapplicantUpdatecontact:u.xw+"/jobapplicant/updatecontact",JobapplicantListcontact:u.xw+"/jobapplicant/listcontact",JobapplicantContactdetail:u.xw+"/jobapplicant/contactdetail",JobapplicantAddskill:u.xw+"/jobapplicant/addskill",JobapplicantDelskill:u.xw+"/jobapplicant/delskill",JobapplicantUpdateskill:u.xw+"/jobapplicant/updateskill",JobapplicantListskill:u.xw+"/jobapplicant/listskill",JobapplicantSkilldetail:u.xw+"/jobapplicant/skilldetail",JobapplicantAddexperience:u.xw+"/jobapplicant/addexperience",JobapplicantDelexperience:u.xw+"/jobapplicant/delexperience",JobapplicantUpdateexperience:u.xw+"/jobapplicant/updateexperience",JobapplicantListexperience:u.xw+"/jobapplicant/listexperience",JobapplicantExperiencedetail:u.xw+"/jobapplicant/experiencedetail",JobapplicantAddtraining:u.xw+"/jobapplicant/addtraining",JobapplicantDeltraining:u.xw+"/jobapplicant/deltraining",JobapplicantUpdatetraining:u.xw+"/jobapplicant/updatetraining",JobapplicantListtraining:u.xw+"/jobapplicant/listtraining",JobapplicantTrainingdetail:u.xw+"/jobapplicant/trainingdetail",JobapplicantAddcertificate:u.xw+"/jobapplicant/addcertificate",JobapplicantDelcertificate:u.xw+"/jobapplicant/delcertificate",JobapplicantUpdatecertificate:u.xw+"/jobapplicant/updatecertificate",JobapplicantListcertificate:u.xw+"/jobapplicant/listcertificate",JobapplicantCertificatedetail:u.xw+"/jobapplicant/certificatedetail"},J=(0,f.y)(a.JobseekerDetail),_=(0,f.L)(a.JobapplicantAdd),p=(0,f.L)(a.JobapplicantDel),y=(0,f.L)(a.JobapplicantUpdate),H=(0,f.y)(a.JobapplicantList),m=(0,f.y)(a.JobapplicantDetail),O=(0,f.L)(a.JobapplicantAddDesirebase),$=(0,f.L)(a.JobapplicantDelDesirebase),j=(0,f.L)(a.JobapplicantUpdateDesirebase),I=(0,f.y)(a.JobapplicantDesirebaseDetail),C=(0,f.L)(a.JobapplicantAddDesireindustry),R=(0,f.L)(a.JobapplicantDelDesireindustry),Z=(0,f.L)(a.JobapplicantUpdateDesireindustry),U=(0,f.y)(a.JobapplicantListDesireindustry),h=(0,f.y)(a.JobapplicantDesireindustryDetail),ee=(0,f.L)(a.JobapplicantAddDesirearea),B=(0,f.L)(a.JobapplicantDelDesirearea),z=(0,f.L)(a.JobapplicantUpdateDesirearea),V=(0,f.y)(a.JobapplicantListDesirearea),G=(0,f.y)(a.JobapplicantDesireareaDetail),N=(0,f.L)(a.JobapplicantAddDesireposition),pe=(0,f.L)(a.JobapplicantDelDesireposition),ie=(0,f.L)(a.JobapplicantUpdateDesireposition),Je=(0,f.y)(a.JobapplicantListDesireposition),fe=(0,f.y)(a.JobapplicantDesirepositionDetail),ce=(0,f.L)(a.JobapplicantAddintroduction),he=(0,f.L)(a.JobapplicantDelintroduction),xe=(0,f.L)(a.JobapplicantUpdateintroduction),e=(0,f.y)(a.JobapplicantListintroduction),Re=(0,f.y)(a.JobapplicantIntroductionDetail),ge=(0,f.L)(a.JobapplicantAddcontact),Le=(0,f.L)(a.JobapplicantDelcontact),ve=(0,f.L)(a.JobapplicantUpdatecontact),we=(0,f.y)(a.JobapplicantListcontact),ae=(0,f.y)(a.JobapplicantContactdetail),Fe=(0,f.L)(a.JobapplicantAddskill),Ie=(0,f.L)(a.JobapplicantDelskill),de=(0,f.L)(a.JobapplicantUpdateskill),me=(0,f.y)(a.JobapplicantListskill),S=(0,f.y)(a.JobapplicantSkilldetail),ue=(0,f.L)(a.JobapplicantAddexperience),ye=(0,f.L)(a.JobapplicantDelexperience),Ce=(0,f.L)(a.JobapplicantUpdateexperience),Ze=(0,f.y)(a.JobapplicantListexperience),Se=(0,f.y)(a.JobapplicantExperiencedetail),De=(0,f.L)(a.JobapplicantAddtraining),Be=(0,f.L)(a.JobapplicantDeltraining),Ee=(0,f.L)(a.JobapplicantUpdatetraining),Me=(0,f.y)(a.JobapplicantListtraining),Te=(0,f.y)(a.JobapplicantTrainingdetail),ke=(0,f.L)(a.JobapplicantAddcertificate),oe=(0,f.L)(a.JobapplicantDelcertificate),Pe=(0,f.L)(a.JobapplicantUpdatecertificate),_e=(0,f.y)(a.JobapplicantListcertificate),Oe=(0,f.y)(a.JobapplicantCertificatedetail)},89627:function(se,Q,d){d.d(Q,{P4:function(){return u},Zj:function(){return a},z1:function(){return f}});var f=function(_){if(_.length===18){var p=_.charAt(17),y;return p==="X"||p=="x"?y=10:y=parseInt(p,10),y%2===0?"\u5973":"\u7537"}else if(_.length===15){var H=parseInt(_.substring(13,15),10);return H%2===0?"\u5973":"\u7537"}else return"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"},u=function(_){var p=/^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;if(p.test(_))if(_.length==18){for(var y=new Array(7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2),H=new Array(1,0,10,9,8,7,6,5,4,3,2),m=0,O=0;O<17;O++)m+=_.substring(O,O+1)*y[O];var $=m%11,j=_.substring(17);return $==2?j=="X"||j=="x"?!0:"\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF":j==H[$]?!0:"\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"}else return!0;else return"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"},a=function(_){var p=/^(\+)?(0|86|17951)?1(3\d|4[579]|5\d|6\d|7\d|8\d|9\d)\d{8}$/;return p.test(_)?!0:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"}},36998:function(se,Q,d){d.d(Q,{ME:function(){return H},P8:function(){return y},wi:function(){return p}});var f=d(19632),u=d.n(f),a=d(64599),J=d.n(a);function _(m,O,$){var j=[];function I(U){if(U[O]===$&&j.push(U),U.children){var h=_createForOfIteratorHelper(U.children),ee;try{for(h.s();!(ee=h.n()).done;){var B=ee.value;I(B)}}catch(z){h.e(z)}finally{h.f()}}}var C=_createForOfIteratorHelper(m),R;try{for(C.s();!(R=C.n()).done;){var Z=R.value;I(Z)}}catch(U){C.e(U)}finally{C.f()}return j}function p(m,O){var $=[];function j(Z){if(Z.id===O)return!0;if(Z.children){var U=J()(Z.children),h;try{for(U.s();!(h=U.n()).done;){var ee=h.value;if(j(ee))return $.unshift(Z.id),!0}}catch(B){U.e(B)}finally{U.f()}}return!1}var I=J()(m),C;try{for(I.s();!(C=I.n()).done;){var R=C.value;j(R)}}catch(Z){I.e(Z)}finally{I.f()}return $}function y(m,O){var $=[],j=function C(R,Z){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],h=J()(R),ee;try{for(h.s();!(ee=h.n()).done;){var B=ee.value;if(B.name===Z)return[].concat(u()(U),[B]);if(B.children){var z=C(B.children,Z,[].concat(u()(U),[B]));if(z.length>0)return z}}}catch(V){h.e(V)}finally{h.f()}return[]},I=j(m,O);return I}function H(m,O){var $=J()(m),j;try{for($.s();!(j=$.n()).done;){var I=j.value;if(I.id===O)return!0;if(I.children&&Array.isArray(I.children)){var C=H(I.children,O);if(C)return!0}}}catch(R){$.e(R)}finally{$.f()}return!1}},5251:function(se,Q,d){d.d(Q,{Y:function(){return J},_:function(){return a}});var f=d(27484),u=d.n(f),a=function(p){return p&&p<u()().endOf("day")},J=function(p){return p&&p>u()().endOf("day")}}}]);
|