1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3507],{45073:function(se,V,p){var f=p(75891),s=p(21532),a=p(32983),J=p(85893),_=function(C){var N=C.description;return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,J.jsx)(a.Z,{description:N})})})};V.Z=(0,f.connect)(function(c){var C=c.dictModel;return{dictModel:C}})(_)},31004:function(se,V,p){var f=p(5574),s=p.n(f),a=p(71167),J=p.n(a),_=p(40190),c=p(67294),C=p(86492),N=p.n(C),m=p(85893),U=function(b){var I=b.defaultValue,y=b.placeholder,R=b.onChange,Z=(0,c.useState)(I&&N().decode(I)),O=s()(Z,2),h=O[0],te=O[1],B=function(Q){te(Q),R(Q)};return(0,c.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:y})})};V.Z=U},96223:function(se,V,p){var f=p(75891),s=p(55375),a=p(68872),J=p(53271),_=p(85893),c=function(N){var m=N.onUploadComplete,U=N.uploadTxt,$=N.image_type,b=N.form_name,I=N.image_length,y=function(Z){m&&m(Z)};return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(J.Z,{label:U,name:b,icon:null,title:U,fieldProps:{maxCount:I,multiple:!1,fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(Z){var O=new FormData;O.append("image",Z.file),(0,f.request)(s.FH+"/common/image/upload?imgtype="+$,{method:"post",data:O,Headers:{Authorization:localStorage.getItem("token"),"X-Requested-With":null}}).then(function(h){y(h.data.filename)}).catch(function(h){console.log(h),a.ZP.error("\u4E0A\u4F20\u5931\u8D25")})}}})})};V.Z=c},7431:function(se,V,p){p.r(V),p.d(V,{default:function(){return ct}});var f=p(5574),s=p.n(f),a=p(67294),J=p(21532),_=p(71230),c=p(15746),C=p(42075),N=p(92398),m=p(24458),U=p(88916),$=p(73403),b=p(86250),I=p(7134),y=p(83622),R=p(17788),Z=p(55375),O=p(15009),h=p.n(O),te=p(99289),B=p.n(te),z=p(75891),Q=p(97269),G=p(5966),W=p(64317),pe=p(31199),re=p(8214),be=p(68872),fe=p(29104),he=p(89627),ce=p(36998),ge=p(96223),e=p(85893),Le=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=o.closeModel,D=(0,a.useRef)(),l=(0,a.useState)(""),i=s()(l,2),n=i[0],u=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)(Q.A,{formRef:D,submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(d,r){return(0,e.jsxs)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},request:B()(h()().mark(function v(){var d;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&&u(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:""],d=(0,ce.P8)(g.areaList,t.native_place_txt),t.native_place_array=d.length>0?[d[0].id,d[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 d(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,he.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 be.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,j(!1),Y.next=26;break;case 22:return Y.next=24,(0,m.dw)(r);case 24:T=Y.sent,j(!1);case 26:case"end":return Y.stop()}},d)}));return function(d){return v.apply(this,arguments)}}(),children:(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(c.Z,{span:24,children:(0,e.jsxs)(C.Z,{children:[(0,e.jsx)(ge.Z,{uploadTxt:"\u4E0A\u4F20\u7167\u7247",form_name:"photo",image_length:1,image_type:1,onUploadComplete:function(d){var r;u(d),(r=D.current)===null||r===void 0||r.setFieldsValue({photo:d})}}),n&&(0,e.jsx)(fe.Z,{src:"".concat(Z.VO).concat(n),width:100,height:100,style:{borderRadius:"50%"}})]})}),(0,e.jsx)(c.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)(c.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(d,r){var F=(0,he.P4)(r);return typeof F=="boolean"?Promise.resolve():Promise.reject(new Error(F))}}}]})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(W.Z,{name:"title",label:"\u804C\u79F0",placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0",fieldProps:{fieldNames:Z.RI},options:g.titleList})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(pe.Z,{label:"\u8EAB\u9AD8CM",name:"height",fieldProps:{precision:0}})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(pe.Z,{label:"\u4F53\u91CDKG",name:"weight",fieldProps:{precision:0}})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(re.Z,{name:"reg_level_array",label:"\u6237\u53E3\u6240\u5728\u5730",fieldProps:{fieldNames:Z.Mo,options:g.areaList,onChange:function(d){}},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6237\u53E3\u6240\u5728\u5730"}]})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(re.Z,{name:"now_level_array",label:"\u73B0\u5C45\u4F4F\u5730",fieldProps:{fieldNames:Z.Mo,options:g.areaList,onChange:function(d){}},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73B0\u5C45\u4F4F\u5730"}]})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(re.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"}]})})]})})})})},we=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Le),ve=p(31004),Ie=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=o.closeModel,D=(0,a.useRef)(),l=(0,a.useState)(""),i=s()(l,2),n=i[0],u=i[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:[(0,e.jsx)(ve.Z,{placeholder:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7B80\u4ECB",defaultValue:t&&t.introduction?t.introduction:"",onChange:function(d){u(d)}}),(0,e.jsx)(b.Z,{justify:"flex-end",style:{paddingTop:20},children:(0,e.jsxs)(C.Z,{children:[(0,e.jsx)(y.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(){j(!1)},onCancel:function(){}})},children:"\u9000\u51FA\u7F16\u8F91"}),(0,e.jsx)(y.ZP,{onClick:function(){if(t&&t.introduction){var d={id:t.id,customer_id:t.customer_id,description:n};(0,m.ad)(d).then(function(F){j(!1)})}else{var r={customer_id:Number(localStorage.getItem("customerid")),description:n};(0,m.TE)(r).then(function(F){j(!1)})}},children:"\u4FDD\u5B58"})]})})]})})},Fe=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Ie),ie=p(45073),ye=function(o){var x=o.detail,g=o.sumbitSusccessGetDetail,t=(0,a.useState)(!1),j=s()(t,2),D=j[0],l=j[1],i=(0,a.useState)(!1),n=s()(i,2),u=n[0],v=n[1],d=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)(b.Z,{align:"flex-start",children:[(0,e.jsxs)(b.Z,{justify:"center",align:"flex-end",children:[(0,e.jsx)(I.C,{size:88,src:Z.VO+x.photo}),(0,e.jsx)(U.Z,{})]}),(0,e.jsxs)(b.Z,{vertical:!0,justify:"space-between",style:{paddingLeft:30,width:"100%"},children:[(0,e.jsxs)(b.Z,{justify:"space-between",align:"flex-start",children:[(0,e.jsx)(b.Z,{vertical:!0,children:(0,e.jsxs)(C.Z,{direction:"vertical",children:[(0,e.jsx)("h1",{children:x.seekername}),(0,e.jsxs)(C.Z,{size:20,children:[(0,e.jsxs)(C.Z,{children:[(0,e.jsx)($.Z,{}),x.age,"\u5C81"]}),(0,e.jsxs)(C.Z,{children:[(0,e.jsx)($.Z,{}),x.work_experience_txt]}),(0,e.jsxs)(C.Z,{children:[(0,e.jsx)($.Z,{}),x.desire_positions&&x.desire_positions.length>0&&x.desire_positions[0].level2_txt]})]})]})}),(0,e.jsx)(C.Z,{children:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){l(!0)},children:"\u7F16\u8F91"})})]}),(0,e.jsxs)(b.Z,{vertical:!0,style:{backgroundColor:"#fafafa",marginTop:20,padding:20,width:"100%"},children:[(0,e.jsxs)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(y.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)(b.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(ie.Z,{description:(0,e.jsx)(y.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)(we,{detail:x,closeModel:d})}),(0,e.jsx)(R.Z,{open:u,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)(Fe,{detail:x,closeModel:r})})]})},Ce=ye,xe=p(86548),de=p(48689),S=p(26412),ue=p(86738),Ze=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=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)(Q.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)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var u,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:u=r.sent,j(!1),r.next=13;break;case 9:return r.next=11,(0,m.oU)(n);case 11:v=r.sent,j(!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)(c.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(W.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"})})]})})})})},De=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Ze),Be=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=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)(Q.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)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var u,v,d;return h()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:for(n.customer_id=n.customer_id=Number(localStorage.getItem("customerid")),u=0;u<4;u++)n["level".concat(u+1)]=n.level_array[u]||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,j(!1),F.next=15;break;case 11:return F.next=13,(0,m.hM)(n);case 13:d=F.sent,j(!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)(c.Z,{span:8,children:(0,e.jsx)(re.Z,{name:"level_array",label:"\u671F\u671B\u5730\u533A",fieldProps:{fieldNames:Z.Mo,options:g.areaList,onChange:function(i){}}})})})})})})},Ee=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Be),Se=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=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)(Q.A,{formRef:D,request:B()(h()().mark(function l(){var i;return h()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!(t&&t.id)){u.next=6;break}return i=(0,ce.wi)(g.industryPostList,t.level1),t.level_array=[i[0]?i[0]:0,t.level1?t.level1:"",t.level2?t.level2:""],u.abrupt("return",t);case 6:return u.abrupt("return",{});case 7:case"end":return u.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var u,v,d;return h()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:for(n.customer_id=Number(localStorage.getItem("customerid")),u=0;u<3;u++)n["level".concat(u+1)]=n.level_array[u+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,j(!1),F.next=15;break;case 11:return F.next=13,(0,m.Mx)(n);case 13:d=F.sent,j(!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)(c.Z,{span:8,children:(0,e.jsx)(re.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){}}})})})})})})},Me=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Se),ke=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=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)(Q.A,{formRef:D,request:B()(h()().mark(function l(){var i;return h()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!(t&&t.id)){u.next=6;break}return i=(0,ce.wi)(g.industryPostList,t.industry),t.industry_array=[i[0]?i[0]:0,t.industry?t.industry:""],u.abrupt("return",t);case 6:return u.abrupt("return",{});case 7:case"end":return u.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var u,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:u=r.sent,j(!1),r.next=16;break;case 12:return r.next=14,(0,m.B6)(n);case 14:v=r.sent,j(!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)(c.Z,{span:8,children:(0,e.jsx)(re.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){}}})})})})})})},Pe=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(ke),_e=function(o){var x,g,t,j,D,l,i,n,u,v,d=o.info,r=o.sumbitSusccessGetDetail,F=(0,a.useState)(!1),M=s()(F,2),ne=M[0],k=M[1],L=(0,a.useState)(null),P=s()(L,2),T=P[0],K=P[1],Y=(0,a.useState)(""),me=s()(Y,2),q=me[0],X=me[1],je=function(ee){k(ee),r(),(0,m.k8)().then(function(H){Ne(H.data)})},dt=(0,a.useState)(null),Ge=s()(dt,2),w=Ge[0],Ne=Ge[1];return(0,a.useEffect)(function(){(0,m.k8)().then(function(A){Ne(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)(C.Z,{direction:"vertical",size:30,style:{width:"100%"},children:[w&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(C.Z,{direction:"vertical",style:{width:"100%"},children:[(0,e.jsxs)(b.Z,{align:"center",children:[(0,e.jsx)("h3",{children:"\u57FA\u672C\u671F\u671B"}),(0,e.jsx)(y.ZP,{size:"small",type:"text",onClick:B()(h()().mark(function A(){var ee;return h()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,(0,m.k8)();case 2:ee=le.sent,K(ee.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:(j=w==null?void 0:w.work_experience_txt)!==null&&j!==void 0?j:""}),(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:(u=w==null?void 0:w.accommodation_requirement_txt)!==null&&u!==void 0?u:""}),(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)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){K({}),X("basic"),k(!0)},children:"\u53BB\u586B\u5199\u57FA\u672C\u671F\u671B"})})})})]})}),!w&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(b.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(ie.Z,{description:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){X("basic"),k(!0)},children:"\u53BB\u586B\u5199\u57FA\u672C\u671F\u671B"})})})})}),d&&d.desire_industrys&&d.desire_industrys.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(C.Z,{direction:"vertical",style:{width:"100%"},children:[(0,e.jsxs)(b.Z,{align:"center",children:[(0,e.jsx)("h3",{children:"\u671F\u671B\u884C\u4E1A"}),(0,e.jsx)(y.ZP,{size:"small",type:"text",onClick:B()(h()().mark(function A(){return h()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:K({}),X("industry"),k(!0);case 3:case"end":return H.stop()}},A)})),children:"\u6DFB\u52A0\u671F\u671B\u884C\u4E1A"})]}),(0,e.jsx)("div",{style:{backgroundColor:"#ffffff",padding:"16px",borderRadius:"8px"},children:d&&d.desire_industrys&&d.desire_industrys.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.Z,{direction:"vertical",children:d.desire_industrys.map(function(A,ee){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(C.Z,{children:[(0,e.jsxs)("div",{children:[ee+1,"\u3001",A.industry_txt]}),(0,e.jsx)(y.ZP,{type:"text",size:"small",onClick:function(){K(A),X("industry"),k(!0)},children:(0,e.jsx)(xe.Z,{})}),(0,e.jsx)(ue.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(le){(0,m.zG)({id:A.id}).then(function(We){r()})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(y.ZP,{type:"text",size:"small",children:(0,e.jsx)(de.Z,{})})})]})})})})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){K({}),X("industry"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u884C\u4E1A"})})})})]})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(b.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(ie.Z,{description:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){K({}),X("industry"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u884C\u4E1A"})})})})}),d&&d.desire_positions&&d.desire_positions.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(C.Z,{direction:"vertical",style:{width:"100%"},children:[(0,e.jsxs)(b.Z,{align:"center",children:[(0,e.jsx)("h3",{children:"\u671F\u671B\u804C\u4F4D"}),(0,e.jsx)(y.ZP,{size:"small",type:"text",onClick:B()(h()().mark(function A(){return h()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:K({}),X("position"),k(!0);case 3:case"end":return H.stop()}},A)})),children:"\u6DFB\u52A0\u671F\u671B\u804C\u4F4D"})]}),(0,e.jsx)("div",{style:{backgroundColor:"#ffffff",padding:"16px",borderRadius:"8px"},children:d&&d.desire_positions&&d.desire_positions.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.Z,{direction:"vertical",children:d.desire_positions.map(function(A,ee){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(C.Z,{children:[(0,e.jsxs)("div",{children:[ee+1,"\u3001",A.level1_txt,"/",A.level2_txt]}),(0,e.jsx)(y.ZP,{type:"text",size:"small",onClick:function(){K(A),X("position"),k(!0)},children:(0,e.jsx)(xe.Z,{})}),(0,e.jsx)(ue.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(le){(0,m.n$)({id:A.id}).then(function(We){r()})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(y.ZP,{type:"text",size:"small",children:(0,e.jsx)(de.Z,{})})})]})})})})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){K({}),X("position"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u804C\u4F4D"})})})})]})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(b.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(ie.Z,{description:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){K({}),X("position"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u804C\u4F4D"})})})})}),d&&d.desire_areas&&d.desire_areas.length>0?(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(C.Z,{direction:"vertical",style:{width:"100%"},children:[(0,e.jsxs)(b.Z,{align:"center",children:[(0,e.jsx)("h3",{children:"\u671F\u671B\u804C\u4F4D"}),(0,e.jsx)(y.ZP,{size:"small",type:"text",onClick:B()(h()().mark(function A(){return h()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:K({}),X("area"),k(!0);case 3:case"end":return H.stop()}},A)})),children:"\u6DFB\u52A0\u671F\u671B\u804C\u4F4D"})]}),(0,e.jsx)("div",{style:{backgroundColor:"#ffffff",padding:"16px",borderRadius:"8px"},children:d&&d.desire_areas&&d.desire_areas.length?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.Z,{direction:"vertical",children:d.desire_areas.map(function(A,ee){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(C.Z,{children:[(0,e.jsxs)("div",{children:[ee+1,"\u3001",A.level1_txt,"/",A.level2_txt,"/",A.level3_txt,"/",A.level4_txt]}),(0,e.jsx)(y.ZP,{type:"text",size:"small",onClick:function(){K(A),X("area"),k(!0)},children:(0,e.jsx)(xe.Z,{})}),(0,e.jsx)(ue.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(le){(0,m._f)({id:A.id}).then(function(We){r()})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(y.ZP,{type:"text",size:"small",children:(0,e.jsx)(de.Z,{})})})]})})})})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){K({}),X("area"),k(!0)},children:"\u53BB\u586B\u5199\u671F\u671B\u5730\u533A"})})})})]})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(b.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(ie.Z,{description:(0,e.jsx)(y.ZP,{type:"text",onClick:function(){K({}),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)(De,{detail:T,closeModel:je})]}),q=="industry"&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(Pe,{detail:T,closeModel:je})]}),q=="position"&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(Me,{detail:T,closeModel:je})]}),q=="area"&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)(Ee,{detail:T,closeModel:je})]})]})]})})},Te=_e,oe=p(4393),Oe=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=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)(Q.A,{formRef:D,request:B()(h()().mark(function l(){var i;return h()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!t.customer_id){u.next=7;break}return u.next=3,(0,m.dQ)({customer_id:Number(localStorage.getItem("customerid"))});case 3:return i=u.sent,u.abrupt("return",i.data);case 7:return u.abrupt("return",{});case 8:case"end":return u.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var u,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:u=r.sent,j(!1),r.next=13;break;case 9:return r.next=11,(0,m.aW)(n);case 11:v=r.sent,j(!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)(c.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"landline",label:" \u56FA\u8BDD",placeholder:"\u8BF7\u8F93\u5165\u56FA\u8BDD"})}),(0,e.jsx)(c.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 u=(0,he.Zj)(n);return typeof u=="boolean"?Promise.resolve():Promise.reject(new Error(u))}}}]})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"qq",label:"qq",placeholder:"\u8BF7\u8F93\u5165qq"})}),(0,e.jsx)(c.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)(c.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)(c.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"postal_code",label:" \u90AE\u7F16",placeholder:"\u8BF7\u8F93\u5165\u90AE\u7F16"})})]})})})})},Ae=(0,z.connect)(function(E){var o=E.dictModel;return{dictModel:o}})(Oe),Je=function(){var o=(0,a.useState)(!1),x=s()(o,2),g=x[0],t=x[1],j=(0,a.useState)(null),D=s()(j,2),l=D[0],i=D[1],n=function(v){t(v),(0,m.dQ)({customer_id:Number(localStorage.getItem("customerid"))}).then(function(d){i(d.data)})};return(0,a.useEffect)(function(){(0,m.dQ)({customer_id:Number(localStorage.getItem("customerid"))}).then(function(u){i(u.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)(y.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)(b.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(ie.Z,{description:(0,e.jsx)(y.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)(Ae,{detail:l,closeModel:n})})]})},Ue=Je,Re=p(86615),Ke=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=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)(Q.A,{formRef:D,request:B()(h()().mark(function l(){var i;return h()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!t.customer_id){u.next=7;break}return u.next=3,(0,m.cd)({customer_id:t.customer_id});case 3:return i=u.sent,u.abrupt("return",i.data);case 7:return u.abrupt("return",{});case 8:case"end":return u.stop()}},l)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u4FDD\u5B58"},render:function(i,n){return(0,e.jsxs)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var u,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:u=r.sent,j(!1),r.next=13;break;case 9:return r.next=11,(0,m.zX)(n);case 11:v=r.sent,j(!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)(c.Z,{span:8,children:(0,e.jsx)(W.Z,{name:"english",label:" \u82F1\u8BED",placeholder:"\u8BF7\u9009\u62E9\u82F1\u8BED",fieldProps:{fieldNames:Z.RI},options:g.degreeList})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(W.Z,{name:"mandarin",label:" \u56FD\u8BED",placeholder:"\u8BF7\u9009\u62E9\u56FD\u8BED",fieldProps:{fieldNames:Z.RI},options:g.degreeList})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(W.Z,{name:"cantonese",label:" \u7CA4\u8BED",placeholder:"\u8BF7\u9009\u62E9\u7CA4\u8BED",fieldProps:{fieldNames:Z.RI},options:g.degreeList})}),(0,e.jsx)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.Z,{span:8,children:(0,e.jsx)(Re.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)(c.Z,{span:8,children:(0,e.jsx)(W.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)(c.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=s()(o,2),g=x[0],t=x[1],j=(0,a.useState)(null),D=s()(j,2),l=D[0],i=D[1],n=function(v){t(v),(0,m.cd)({customer_id:localStorage.getItem("customerid")}).then(function(d){i(d.data)})};return(0,a.useEffect)(function(){(0,m.cd)({customer_id:localStorage.getItem("customerid")}).then(function(u){i(u.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)(y.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)(b.Z,{justify:"center",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:(0,e.jsx)(b.Z,{justify:"center",align:"center",children:(0,e.jsx)(ie.Z,{description:(0,e.jsx)(y.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,ae=p(2487),$e=p(80733),ze=p(5251),Ye=function(o){var x=o.dispatch,g=o.dictModel,t=o.detail,j=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)(Q.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)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var u,v,d,r;return h()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(u=n.experienceDateMonthRange[0].split("-"),v=n.experienceDateMonthRange[1].split("-"),n.start_year=parseInt(u[0],10),n.start_month=parseInt(u[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:d=M.sent,j(!1),M.next=20;break;case 16:return M.next=18,(0,m.ah)(n);case 18:r=M.sent,j(!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)(c.Z,{span:8,children:(0,e.jsx)($e.Z,{name:"experienceDateMonthRange",label:"\u5DE5\u4F5C\u65F6\u95F4",fieldProps:{format:function(i){return i.format("YYYY-MM")},disabledDate:ze.Y}})}),(0,e.jsx)(c.Z,{span:16,children:(0,e.jsx)(Re.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)(c.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)(c.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)(c.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=s()(o,2),g=x[0],t=x[1],j=(0,a.useState)([]),D=s()(j,2),l=D[0],i=D[1],n=(0,a.useState)(0),u=s()(n,2),v=u[0],d=u[1],r=(0,a.useState)({}),F=s()(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:[]),d(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:[]),d(L.data.total)})},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(oe.Z,{title:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(C.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)(y.ZP,{type:"text",onClick:function(){t(!0)},children:"\u6DFB\u52A0\u5DE5\u4F5C\u7ECF\u5386"})}),children:(0,e.jsx)(ae.Z,{className:"demo-loadmore-list",itemLayout:"horizontal",dataSource:l,renderItem:function(P,T){return(0,e.jsx)(ae.Z.Item,{actions:[(0,e.jsx)(y.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(me){(0,m.Qc)({page:1,pagesize:10,sortby:"desc"}).then(function(q){i(q.data.jobapplicantexperiences&&q.data.jobapplicantexperiences.length>0?q.data.jobapplicantexperiences:[]),d(q.data.total)})})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(y.ZP,{size:"small",children:"\u5220\u9664"})})],children:(0,e.jsx)(ae.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)(C.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,j=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)(Q.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)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var l=B()(h()().mark(function i(n){var u,v,d,r;return h()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(u=n.experienceDateMonthRange[0].split("-"),v=n.experienceDateMonthRange[1].split("-"),n.start_year=parseInt(u[0],10),n.start_month=parseInt(u[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:d=M.sent,j(!1),M.next=20;break;case 16:return M.next=18,(0,m.mg)(n);case 18:r=M.sent,j(!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)(c.Z,{span:8,children:(0,e.jsx)($e.Z,{name:"experienceDateMonthRange",label:"\u5DE5\u4F5C\u65F6\u95F4",fieldProps:{format:function(i){return i.format("YYYY-MM")},disabledDate:ze.Y}})}),(0,e.jsx)(c.Z,{span:16,children:(0,e.jsx)(Re.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)(c.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)(c.Z,{span:8,children:(0,e.jsx)(G.Z,{name:"major",label:"\u4E13\u4E1A",placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A"})}),(0,e.jsx)(c.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)(c.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)(c.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=s()(o,2),g=x[0],t=x[1],j=(0,a.useState)([]),D=s()(j,2),l=D[0],i=D[1],n=(0,a.useState)(0),u=s()(n,2),v=u[0],d=u[1],r=(0,a.useState)({}),F=s()(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:[]),d(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:[]),d(L.data.total)})},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(oe.Z,{title:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(C.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)(y.ZP,{type:"text",onClick:function(){t(!0)},children:"\u6DFB\u52A0\u6559\u80B2/\u57F9\u8BAD\u7ECF\u5386"})}),children:(0,e.jsx)(ae.Z,{className:"demo-loadmore-list",itemLayout:"horizontal",dataSource:l,renderItem:function(P,T){return(0,e.jsx)(ae.Z.Item,{actions:[(0,e.jsx)(y.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(me){(0,m.Bp)({page:1,pagesize:10,sortby:"desc"}).then(function(q){i(q.data.jobapplicanttrainings&&q.data.jobapplicanttrainings.length>0?q.data.jobapplicanttrainings:[]),d(q.data.total)})})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(y.ZP,{size:"small",children:"\u5220\u9664"})})],children:(0,e.jsx)(ae.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)(C.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,j=o.closeModel,D=(0,a.useRef)(),l=(0,a.useState)(t.photo),i=s()(l,2),n=i[0],u=i[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(J.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,e.jsxs)(Q.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&&u(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(d,r){return(0,e.jsxs)(b.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(C.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(){j(!1)},onCancel:function(){}})}},onFinish:function(){var v=B()(h()().mark(function d(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,j(!1),k.next=13;break;case 9:return k.next=11,(0,m.jn)(r);case 11:M=k.sent,j(!1);case 13:case"end":return k.stop()}},d)}));return function(d){return v.apply(this,arguments)}}(),children:[(0,e.jsxs)(_.Z,{gutter:20,children:[(0,e.jsx)(c.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)(c.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)(c.Z,{children:(0,e.jsx)(ge.Z,{uploadTxt:"\u8BC1\u4E66\u7167\u7247",form_name:"certificate_photo",image_length:1,image_type:5,onUploadComplete:function(d){var r;u(d),(r=D.current)===null||r===void 0||r.setFieldsValue({certificate_photo:d})}})}),(0,e.jsx)(c.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=s()(o,2),g=x[0],t=x[1],j=(0,a.useState)([]),D=s()(j,2),l=D[0],i=D[1],n=(0,a.useState)(0),u=s()(n,2),v=u[0],d=u[1],r=(0,a.useState)({}),F=s()(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:[]),d(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:[]),d(L.data.total)})},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(oe.Z,{title:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(C.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)(y.ZP,{type:"text",onClick:function(){t(!0)},children:"\u6DFB\u52A0\u8BC1\u4E66"})}),children:(0,e.jsx)(ae.Z,{className:"demo-loadmore-list",itemLayout:"horizontal",dataSource:l,renderItem:function(P,T){return(0,e.jsx)(ae.Z.Item,{actions:[(0,e.jsx)(y.ZP,{size:"small",onClick:function(){t(!0),ne(P)},children:"\u7F16\u8F91"}),(0,e.jsx)(y.ZP,{size:"small",children:"\u5220\u9664"})],children:(0,e.jsx)(ae.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)(C.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=s()(o,2),g=x[0],t=x[1],j=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)(c.Z,{span:16,children:(0,e.jsxs)(C.Z,{size:30,direction:"vertical",style:{width:"100%",minHeight:800},children:[(0,e.jsx)(Ce,{detail:g,sumbitSusccessGetDetail:j}),(0,e.jsx)(Te,{info:g,sumbitSusccessGetDetail:j}),(0,e.jsx)(N.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)(c.Z,{span:8,children:(0,e.jsxs)(C.Z,{size:30,direction:"vertical",style:{width:"100%"},children:[(0,e.jsx)(Ue,{}),(0,e.jsx)(Ve,{})]})})]})})})},ct=ot},24458:function(se,V,p){p.d(V,{dQ:function(){return ye},k8:function(){return y},$G:function(){return Je},Qc:function(){return Ee},Bp:function(){return _e},cd:function(){return ue},ts:function(){return J},dw:function(){return c},hM:function(){return B},oU:function(){return $},B6:function(){return R},Mx:function(){return pe},jn:function(){return oe},aW:function(){return ve},ah:function(){return Ze},TE:function(){return ce},zX:function(){return Ce},mg:function(){return Me},_f:function(){return z},zG:function(){return Z},n$:function(){return re},Zd:function(){return De},N8:function(){return ke},d5:function(){return N},DJ:function(){return Q},XG:function(){return I},rQ:function(){return O},eo:function(){return be},QS:function(){return Ae},vn:function(){return Fe},lb:function(){return Be},ad:function(){return e},_d:function(){return de},C4:function(){return Pe},k1:function(){return _}});var f=p(75334),s=p(55375),a={JobseekerDetail:s.xw+"/jobseeker/detail",JobseekerList:s.xw+"/jobseeker/list",JobapplicantAdd:s.xw+"/jobapplicant/add",JobapplicantDel:s.xw+"/jobapplicant/del",JobapplicantUpdate:s.xw+"/jobapplicant/update",JobapplicantList:s.xw+"/jobapplicant/list",JobapplicantDetail:s.xw+"/jobapplicant/detail",JobapplicantAddDesirebase:s.xw+"/jobapplicant/adddesirebase",JobapplicantDelDesirebase:s.xw+"/jobapplicant/deldesirebase",JobapplicantUpdateDesirebase:s.xw+"/jobapplicant/updatedesirebase",JobapplicantDesirebaseDetail:s.xw+"/jobapplicant/desirebasedetail",JobapplicantAddDesireindustry:s.xw+"/jobapplicant/adddesireindustry",JobapplicantDelDesireindustry:s.xw+"/jobapplicant/deldesireindustry",JobapplicantUpdateDesireindustry:s.xw+"/jobapplicant/updatedesireindustry",JobapplicantListDesireindustry:s.xw+"/jobapplicant/listdesireindustry",JobapplicantDesireindustryDetail:s.xw+"/jobapplicant/desireindustrydetail",JobapplicantAddDesirearea:s.xw+"/jobapplicant/adddesirearea",JobapplicantDelDesirearea:s.xw+"/jobapplicant/deldesirearea",JobapplicantUpdateDesirearea:s.xw+"/jobapplicant/updatedesirearea",JobapplicantListDesirearea:s.xw+"/jobapplicant/listdesirearea",JobapplicantDesireareaDetail:s.xw+"/jobapplicant/desireareadetail",JobapplicantAddDesireposition:s.xw+"/jobapplicant/adddesireposition",JobapplicantDelDesireposition:s.xw+"/jobapplicant/deldesireposition",JobapplicantUpdateDesireposition:s.xw+"/jobapplicant/updatedesireposition",JobapplicantListDesireposition:s.xw+"/jobapplicant/listdesireposition",JobapplicantDesirepositionDetail:s.xw+"/jobapplicant/desirepositiondetail",JobapplicantAddintroduction:s.xw+"/jobapplicant/addintroduction",JobapplicantDelintroduction:s.xw+"/jobapplicant/delintroduction",JobapplicantUpdateintroduction:s.xw+"/jobapplicant/updateintroduction",JobapplicantListintroduction:s.xw+"/jobapplicant/listintroduction",JobapplicantIntroductionDetail:s.xw+"/jobapplicant/introductiondetail",JobapplicantAddcontact:s.xw+"/jobapplicant/addcontact",JobapplicantDelcontact:s.xw+"/jobapplicant/delcontact",JobapplicantUpdatecontact:s.xw+"/jobapplicant/updatecontact",JobapplicantListcontact:s.xw+"/jobapplicant/listcontact",JobapplicantContactdetail:s.xw+"/jobapplicant/contactdetail",JobapplicantAddskill:s.xw+"/jobapplicant/addskill",JobapplicantDelskill:s.xw+"/jobapplicant/delskill",JobapplicantUpdateskill:s.xw+"/jobapplicant/updateskill",JobapplicantListskill:s.xw+"/jobapplicant/listskill",JobapplicantSkilldetail:s.xw+"/jobapplicant/skilldetail",JobapplicantAddexperience:s.xw+"/jobapplicant/addexperience",JobapplicantDelexperience:s.xw+"/jobapplicant/delexperience",JobapplicantUpdateexperience:s.xw+"/jobapplicant/updateexperience",JobapplicantListexperience:s.xw+"/jobapplicant/listexperience",JobapplicantExperiencedetail:s.xw+"/jobapplicant/experiencedetail",JobapplicantAddtraining:s.xw+"/jobapplicant/addtraining",JobapplicantDeltraining:s.xw+"/jobapplicant/deltraining",JobapplicantUpdatetraining:s.xw+"/jobapplicant/updatetraining",JobapplicantListtraining:s.xw+"/jobapplicant/listtraining",JobapplicantTrainingdetail:s.xw+"/jobapplicant/trainingdetail",JobapplicantAddcertificate:s.xw+"/jobapplicant/addcertificate",JobapplicantDelcertificate:s.xw+"/jobapplicant/delcertificate",JobapplicantUpdatecertificate:s.xw+"/jobapplicant/updatecertificate",JobapplicantListcertificate:s.xw+"/jobapplicant/listcertificate",JobapplicantCertificatedetail:s.xw+"/jobapplicant/certificatedetail"},J=(0,f.y)(a.JobseekerDetail),_=(0,f.L)(a.JobseekerList),c=(0,f.L)(a.JobapplicantAdd),C=(0,f.L)(a.JobapplicantDel),N=(0,f.L)(a.JobapplicantUpdate),m=(0,f.y)(a.JobapplicantList),U=(0,f.y)(a.JobapplicantDetail),$=(0,f.L)(a.JobapplicantAddDesirebase),b=(0,f.L)(a.JobapplicantDelDesirebase),I=(0,f.L)(a.JobapplicantUpdateDesirebase),y=(0,f.y)(a.JobapplicantDesirebaseDetail),R=(0,f.L)(a.JobapplicantAddDesireindustry),Z=(0,f.L)(a.JobapplicantDelDesireindustry),O=(0,f.L)(a.JobapplicantUpdateDesireindustry),h=(0,f.y)(a.JobapplicantListDesireindustry),te=(0,f.y)(a.JobapplicantDesireindustryDetail),B=(0,f.L)(a.JobapplicantAddDesirearea),z=(0,f.L)(a.JobapplicantDelDesirearea),Q=(0,f.L)(a.JobapplicantUpdateDesirearea),G=(0,f.y)(a.JobapplicantListDesirearea),W=(0,f.y)(a.JobapplicantDesireareaDetail),pe=(0,f.L)(a.JobapplicantAddDesireposition),re=(0,f.L)(a.JobapplicantDelDesireposition),be=(0,f.L)(a.JobapplicantUpdateDesireposition),fe=(0,f.y)(a.JobapplicantListDesireposition),he=(0,f.y)(a.JobapplicantDesirepositionDetail),ce=(0,f.L)(a.JobapplicantAddintroduction),ge=(0,f.L)(a.JobapplicantDelintroduction),e=(0,f.L)(a.JobapplicantUpdateintroduction),Le=(0,f.y)(a.JobapplicantListintroduction),we=(0,f.y)(a.JobapplicantIntroductionDetail),ve=(0,f.L)(a.JobapplicantAddcontact),Ie=(0,f.L)(a.JobapplicantDelcontact),Fe=(0,f.L)(a.JobapplicantUpdatecontact),ie=(0,f.y)(a.JobapplicantListcontact),ye=(0,f.y)(a.JobapplicantContactdetail),Ce=(0,f.L)(a.JobapplicantAddskill),xe=(0,f.L)(a.JobapplicantDelskill),de=(0,f.L)(a.JobapplicantUpdateskill),S=(0,f.y)(a.JobapplicantListskill),ue=(0,f.y)(a.JobapplicantSkilldetail),Ze=(0,f.L)(a.JobapplicantAddexperience),De=(0,f.L)(a.JobapplicantDelexperience),Be=(0,f.L)(a.JobapplicantUpdateexperience),Ee=(0,f.y)(a.JobapplicantListexperience),Se=(0,f.y)(a.JobapplicantExperiencedetail),Me=(0,f.L)(a.JobapplicantAddtraining),ke=(0,f.L)(a.JobapplicantDeltraining),Pe=(0,f.L)(a.JobapplicantUpdatetraining),_e=(0,f.y)(a.JobapplicantListtraining),Te=(0,f.y)(a.JobapplicantTrainingdetail),oe=(0,f.L)(a.JobapplicantAddcertificate),Oe=(0,f.L)(a.JobapplicantDelcertificate),Ae=(0,f.L)(a.JobapplicantUpdatecertificate),Je=(0,f.y)(a.JobapplicantListcertificate),Ue=(0,f.y)(a.JobapplicantCertificatedetail)},89627:function(se,V,p){p.d(V,{P4:function(){return s},Zj:function(){return a},z1:function(){return f}});var f=function(_){if(_.length===18){var c=_.charAt(17),C;return c==="X"||c=="x"?C=10:C=parseInt(c,10),C%2===0?"\u5973":"\u7537"}else if(_.length===15){var N=parseInt(_.substring(13,15),10);return N%2===0?"\u5973":"\u7537"}else return"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"},s=function(_){var c=/^(^[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(c.test(_))if(_.length==18){for(var C=new Array(7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2),N=new Array(1,0,10,9,8,7,6,5,4,3,2),m=0,U=0;U<17;U++)m+=_.substring(U,U+1)*C[U];var $=m%11,b=_.substring(17);return $==2?b=="X"||b=="x"?!0:"\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF":b==N[$]?!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 c=/^(\+)?(0|86|17951)?1(3\d|4[579]|5\d|6\d|7\d|8\d|9\d)\d{8}$/;return c.test(_)?!0:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"}},36998:function(se,V,p){p.d(V,{ME:function(){return N},P8:function(){return C},wi:function(){return c}});var f=p(19632),s=p.n(f),a=p(64599),J=p.n(a);function _(m,U,$){var b=[];function I(O){if(O[U]===$&&b.push(O),O.children){var h=_createForOfIteratorHelper(O.children),te;try{for(h.s();!(te=h.n()).done;){var B=te.value;I(B)}}catch(z){h.e(z)}finally{h.f()}}}var y=_createForOfIteratorHelper(m),R;try{for(y.s();!(R=y.n()).done;){var Z=R.value;I(Z)}}catch(O){y.e(O)}finally{y.f()}return b}function c(m,U){var $=[];function b(Z){if(Z.id===U)return!0;if(Z.children){var O=J()(Z.children),h;try{for(O.s();!(h=O.n()).done;){var te=h.value;if(b(te))return $.unshift(Z.id),!0}}catch(B){O.e(B)}finally{O.f()}}return!1}var I=J()(m),y;try{for(I.s();!(y=I.n()).done;){var R=y.value;b(R)}}catch(Z){I.e(Z)}finally{I.f()}return $}function C(m,U){var $=[],b=function y(R,Z){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],h=J()(R),te;try{for(h.s();!(te=h.n()).done;){var B=te.value;if(B.name===Z)return[].concat(s()(O),[B]);if(B.children){var z=y(B.children,Z,[].concat(s()(O),[B]));if(z.length>0)return z}}}catch(Q){h.e(Q)}finally{h.f()}return[]},I=b(m,U);return I}function N(m,U){var $=J()(m),b;try{for($.s();!(b=$.n()).done;){var I=b.value;if(I.id===U)return!0;if(I.children&&Array.isArray(I.children)){var y=N(I.children,U);if(y)return!0}}}catch(R){$.e(R)}finally{$.f()}return!1}},5251:function(se,V,p){p.d(V,{Y:function(){return J},_:function(){return a}});var f=p(27484),s=p.n(f),a=function(c){return c&&c<s()().endOf("day")},J=function(c){return c&&c>s()().endOf("day")}}}]);
|