您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

p__Jobseeker__List__index.cde51a64.async.js 109KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[955],{57759:function(We,Le,j){var Re=j(59530),_=j(55375),a=j(68872),oe=j(80876),ue=j(86074),De=function(ke){var k=ke.onUploadComplete,Ee=ke.uploadTxt,ye=ke.form_name,fe=function(je){k&&k(je)};return(0,ue.jsx)(ue.Fragment,{children:(0,ue.jsx)(oe.Z,{label:Ee,name:ye,icon:null,fieldProps:{fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(je){var ve=new FormData;ve.append("doc",je.file),console.log(ve),(0,Re.request)(_.FH+"/common/doc/upload?doctype=1",{method:"post",data:ve,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(J){fe(J.data.filename)}).catch(function(J){console.log(J),a.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u6587\u4EF6\u7C7B\u578B\uFF0C\u5982\u6709\u7591\u95EE\uFF0C\u8BF7\u54A8\u8BE2\u7BA1\u7406\u5458")})}}})})};Le.Z=De},67562:function(We,Le,j){var Re=j(5574),_=j.n(Re),a=j(71167),oe=j.n(a),ue=j(40190),De=j(62435),u=j(86492),ke=j.n(u),k=j(86074),Ee=function(fe){var ae=fe.defaultValue,je=fe.placeholder,ve=fe.onChange,J=(0,De.useState)(ae&&ke().decode(ae)),be=_()(J,2),Se=be[0],h=be[1],_e=function(e){h(e),ve(e)};return(0,De.useEffect)(function(){if(ae){var Ie=ae.replace(/<[^>]*>/g,"");_e(Ie?ae:"")}},[ae]),(0,k.jsx)("div",{children:(0,k.jsx)(oe(),{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","image","video"]]},value:Se,onChange:_e,theme:"snow",placeholder:je})})};Le.Z=Ee},67119:function(We,Le,j){var Re=j(5574),_=j.n(Re),a=j(62435),oe=j(59530),ue=j(55375),De=j(42075),u=j(68872),ke=j(98163),k=j(32443),Ee=j(86074),ye=function(ae){var je=ae.onUploadComplete,ve=ae.uploadTxt,J=ae.image_type,be=ae.form_name,Se=ae.image_length,h=ae.multiple,_e=ae.imageUrl,Ie=function(Be){Be&&je(Be)},e=(0,a.useState)(_e),Pe=_()(e,2),$e=Pe[0],Ue=Pe[1];return(0,a.useEffect)(function(){Ue(_e)},[_e]),(0,Ee.jsx)(Ee.Fragment,{children:(0,Ee.jsxs)(De.Z,{children:[(0,Ee.jsx)(k.Z,{label:ve,name:be,icon:null,title:ve,fieldProps:{maxCount:Se,multiple:h,fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(Be){var ge=new FormData;ge.append("image",Be.file),console.log(ge),(0,oe.request)(ue.FH+"/common/image/upload?imgtype="+J,{method:"post",data:ge,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(he){Ue(he.data.filename),Ie(he.data.filename)}).catch(function(he){console.log(he),u.ZP.error("\u4E0A\u4F20\u5931\u8D25")})}}}),$e&&(0,Ee.jsx)(ke.Z,{src:"".concat(ue.VO).concat($e),width:102,height:102,style:{borderRadius:8}})]})})};Le.Z=ye},62394:function(We,Le,j){j.r(Le),j.d(Le,{default:function(){return nn}});var Re=j(5574),_=j.n(Re),a=j(62435),oe=j(59530),ue=j(28459),De=j(15009),u=j.n(De),ke=j(99289),k=j.n(ke),Ee=j(95338),ye=j(42075),fe=j(26412),ae=j(78045),je=j(25278),ve=j(14726),J=j(68872),be=j(17788),Se=j(86250),h=j(39680),_e=j(55375),Ie=j(57759),e=j(86074),Pe={label:"name",value:"id"},$e=function(n){var s=n.dispatch,M=n.getId,Q=n.dictModel,p=n.openModel,F=(0,a.useState)({status:1,customer_id:0,id:0,audit_memo:""}),L=_()(F,2),O=L[0],A=L[1],V=(0,a.useRef)(),I=(0,a.useState)([]),l=_()(I,2),f=l[0],i=l[1],U=(0,a.useState)(0),q=_()(U,2),r=q[0],S=q[1],N=(0,a.useState)(1),ie=_()(N,2),ce=ie[0],me=ie[1],ne=(0,a.useState)(10),D=_()(ne,2),v=D[0],E=D[1],d=(0,a.useState)(!1),t=_()(d,2),Z=t[0],P=t[1],$=(0,a.useState)([]),B=_()($,2),C=B[0],w=B[1],ee=(0,a.useState)(2),z=_()(ee,2),K=z[0],W=z[1],te=(0,a.useState)(""),G=_()(te,2),X=G[0],re=G[1],xe=function(c){M(c)};(0,a.useEffect)(function(){p.openModal||V.current.reload()},[p.openModal]),(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2004,type:"setPositionList"}}),s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}}),s({type:"dictModel/getList",payload:{code:2005,type:"setPayList"}}),s({type:"dictModel/getList",payload:{code:2016,type:"setAccommodationRequirementList"}}),s({type:"dictModel/getList",payload:{code:2017,type:"setHolidayRestList"}}),s({type:"dictModel/getList",payload:{code:2018,type:"setLicenseList"}}),s({type:"dictModel/getList",payload:{code:2021,type:"setWorkExperienceList"}}),s({type:"dictModel/getList",payload:{code:2006,type:"setEducationList"}}),s({type:"dictModel/getList",payload:{code:2014,type:"setTitleList"}}),s({type:"dictModel/getList",payload:{code:2015,type:"setSkillCertificationeList"}}),s({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),s({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),s({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}}),s({type:"dictModel/getList",payload:{code:2010,type:"setPoliticalList"}})},[]);var T=function(c){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ye.Z,{direction:"vertical",style:{width:"100%"},children:(0,e.jsxs)(fe.Z,{title:"\u57FA\u672C\u4FE1\u606F",bordered:!0,column:3,contentStyle:{fontWeight:"bold"},labelStyle:{width:180},children:[(0,e.jsx)(fe.Z.Item,{label:"\u82F1\u8BED",children:c.english_txt}),(0,e.jsx)(fe.Z.Item,{label:"\u56FD\u8BED",children:c.mandarin_txt}),(0,e.jsx)(fe.Z.Item,{label:"\u7CA4\u8BED",children:c.cantonese_txt}),(0,e.jsx)(fe.Z.Item,{label:"\u804C\u79F0",children:c.title_txt}),(0,e.jsx)(fe.Z.Item,{label:"\u653F\u6CBB\u9762\u8C8C",children:c.political_status_txt}),(0,e.jsx)(fe.Z.Item,{label:"\u6708\u85AA\u8981\u6C42\u8303\u56F4",children:c.salary_range_txt}),(0,e.jsx)(fe.Z.Item,{label:"\u5BA1\u6838\u72B6\u6001",children:(0,e.jsxs)(ae.ZP.Group,{size:"small",defaultValue:c.status,onChange:function(){var x=k()(u()().mark(function R(g){var m,Y;return u()().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return de.next=2,(0,h.d5h)({customer_id:c.customer_id,id:c.id,status:g.target.value});case 2:Y=de.sent,(m=V.current)===null||m===void 0||m.reload();case 4:case"end":return de.stop()}},R)}));return function(R){return x.apply(this,arguments)}}(),children:[(0,e.jsx)(ae.ZP,{value:1,children:"\u5F85\u5BA1"}),(0,e.jsx)(ae.ZP,{value:2,children:"\u901A\u8FC7"}),(0,e.jsx)(ae.ZP,{value:3,children:"\u4E0D\u901A\u8FC7"})]})}),c.status==3?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(fe.Z.Item,{label:"\u4E0D\u901A\u8FC7\u539F\u56E0",children:(0,e.jsx)(je.Z,{size:"small",placeholder:"\u8F93\u5165\u539F\u56E0,\u6309\u56DE\u8F66\u952E\u4FDD\u5B58",defaultValue:c.status_txt,onPressEnter:function(){var x=k()(u()().mark(function R(g){var m,Y;return u()().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return de.next=2,(0,h.d5h)({customer_id:c.customer_id,id:c.id,status:3,audit_memo:g.target.value});case 2:Y=de.sent,(m=V.current)===null||m===void 0||m.reload();case 4:case"end":return de.stop()}},R)}));return function(R){return x.apply(this,arguments)}}()})})}):c.status_txt]})})})};return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70",colorLink:"#4FBE70"}},children:[(0,e.jsx)(Ee.Z,{size:"small",scroll:{y:480,x:"auto"},bordered:!0,actionRef:V,dataSource:f,search:{span:8,labelWidth:"auto"},tableAlertRender:function(c){var x=c.selectedRowKeys,R=c.selectedRows,g=c.onCleanSelected;return w(R),(0,e.jsx)(ye.Z,{size:24,children:(0,e.jsxs)("span",{children:["\u5DF2\u9009 ",R.length," \u9879",(0,e.jsx)("a",{style:{marginInlineStart:8},onClick:g,children:"\u53D6\u6D88\u9009\u62E9"})]})})},tableAlertOptionRender:function(){return(0,e.jsxs)(ye.Z,{size:16,children:[(0,e.jsx)(ve.ZP,{type:"primary",onClick:function(x){C.length===0?J.ZP.error("\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E"):P(!0)},children:"\u6279\u91CF\u5BA1\u6838"}),","]})},rowSelection:{type:"checkbox"},expandable:{expandedRowRender:T},columns:[{title:"\u7B5B\u9009\u65E5\u671F",dataIndex:"date_range",hidden:!0,width:200,valueType:"dateRange"},{title:"\u59D3\u540D",dataIndex:"seekername",width:200},{title:"\u6027\u522B",dataIndex:"gender",width:200,valueType:"select",valueEnum:{\u7537:"\u7537",\u5973:"\u5973"}},{title:"\u6559\u80B2\u7A0B\u5EA6",dataIndex:"education_txt",width:200,search:!1},{title:"\u6559\u80B2\u7A0B\u5EA6",dataIndex:"education",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:Pe,options:Q.educationList}},{title:"\u82F1\u8BED",dataIndex:"english",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:Pe,options:Q.degreeList}},{title:"\u56FD\u8BED",dataIndex:"mandarin",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:Pe,options:Q.degreeList}},{title:"\u7CA4\u8BED",dataIndex:"cantonese",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:Pe,options:Q.degreeList}},{title:"\u804C\u79F0",dataIndex:"title",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:Pe,options:Q.titleList}},{title:"\u653F\u6CBB\u9762\u8C8C",dataIndex:"political_status",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:Pe,options:Q.politicalList}},{title:"\u6708\u85AA\u8981\u6C42",dataIndex:"salary_range_desire",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:Pe,options:Q.payList}},{title:"\u5BA1\u6838\u72B6\u6001",dataIndex:"status",width:200,hidden:!0,valueType:"select",valueEnum:{0:"\u5168\u90E8",1:"\u5F85\u5BA1\u6838",2:"\u5BA1\u6838\u901A\u8FC7",3:"\u5BA1\u6838\u4E0D\u901A\u8FC7"}},{title:"\u7B80\u5386\u662F\u5426\u53EF\u89C1",dataIndex:"hide_resume",width:200,search:!1,render:function(c,x){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:x.hide_resume==1?"\u53EF\u89C1":"\u4E0D\u53EF\u89C1"})})}},{title:"\u7B80\u5386\u662F\u5426\u5728\u5BB6\u653F\u6A21\u5757\u53EF\u89C1",dataIndex:"house_keeping_status",width:200,search:!1,render:function(c,x){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:x.house_keeping_status==1?"\u53EF\u89C1":"\u4E0D\u53EF\u89C1"})})}},{title:"\u64CD\u4F5C",key:"option",valueType:"option",render:function(c,x,R){return[(0,e.jsx)(ve.ZP,{type:"link",onClick:function(){xe(x),s({type:"openModel/getOpenModal",payload:!0})},children:"\u7F16\u8F91"},"1"),(0,e.jsx)(ve.ZP,{type:"link",onClick:function(){xe(x),s({type:"openModel/getOpenResumeHelpModal",payload:!0})},children:"\u5DE5\u4F5C\u5E2E\u6276\u60C5\u51B5"},"2"),(0,e.jsx)(ve.ZP,{type:"link",onClick:function(){xe(x),s({type:"openModel/getOpenResumeDetailModal",payload:!0})},children:"\u9884\u89C8\u7B80\u5386"},"3"),(0,e.jsx)(ve.ZP,{type:"link",onClick:function(){xe(x),s({type:"openModel/getOpenExportModal",payload:!0})},children:"\u5BFC\u51FA\u767B\u8BB0\u8868"},"4")]}}],rowKey:"id",pagination:{current:ce,pageSize:v,showSizeChanger:!0,total:r,pageSizeOptions:[9,18,27,99],onChange:function(c,x){me(c),E(x)},onShowSizeChange:function(c,x){me(c),E(x)}},request:k()(u()().mark(function b(){var c,x=arguments;return u()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return c=x.length>0&&x[0]!==void 0?x[0]:{},g.abrupt("return",(0,h.k1T)({page:ce,pagesize:v,sort:"id",sortby:"desc",keyword:c.seekername,gender:c.gender,education:c.education,english:c.english,mandarin:c.mandarin,cantonese:c.cantonese,title:c.title,political_status:c.political_status,salary_range_desire:c.salary_range_desire,status:c.status?Number(c.status):0,start_date:c.date_range?c.date_range[0]:"",end_date:c.date_range?c.date_range[1]:""}).then(function(m){i(m.data.seekers),S(m.data.total)}));case 2:case"end":return g.stop()}},b)})),toolBarRender:function(){return[(0,e.jsx)(ve.ZP,{type:"primary",onClick:function(){J.ZP.info("\u6570\u636E\u5BFC\u51FA\u9700\u8981\u65F6\u95F4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),(0,h.C6i)().then(function(x){var R=_e.VO+x.data.excel_url;window.open(R),J.ZP.info("\u6570\u636E\u5BFC\u51FA\u5B8C\u6BD5")})},children:"\u5BFC\u51FA\u6570\u636E"}),(0,e.jsx)(ve.ZP,{type:"primary",onClick:function(){be.Z.confirm({title:"\u5BFC\u5165\u6587\u4EF6",content:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Ie.Z,{form_name:"doc_url",uploadTxt:"\u5BFC\u5165\u6587\u4EF6"})}),onOk:function(){},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u5BFC\u5165\u6570\u636E"})]},headerTitle:"\u7B80\u5386\u5217\u8868"}),(0,e.jsx)(be.Z,{open:Z,title:"\u8BF7\u9009\u62E9\u5BF9\u6279\u91CF\u6570\u636E\u8FDB\u884C\u4F55\u79CD\u64CD\u4F5C",centered:!0,maskClosable:!1,destroyOnClose:!0,width:400,onCancel:function(){P(!1)},onOk:k()(u()().mark(function b(){var c;return u()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(!K){R.next=5;break}c=C.map(function(g){return(0,h.d5h)({id:g.id,customer_id:g.customer_id,status:K,audit_memo:X})}),Promise.all(c).then(function(){var g,m;P(!1),J.ZP.success("\u6279\u91CF\u64CD\u4F5C\u6210\u529F"),(g=V.current)===null||g===void 0||g.clearSelected(),(m=V.current)===null||m===void 0||m.reload()}).catch(function(g){console.error("\u6279\u91CF\u64CD\u4F5C\u5931\u8D25:",g),J.ZP.error("\u6279\u91CF\u64CD\u4F5C\u5931\u8D25")}),R.next=7;break;case 5:return J.ZP.error("\u8BF7\u5B8C\u6210\u8868\u5355"),R.abrupt("return",!1);case 7:case"end":return R.stop()}},b)})),children:(0,e.jsx)(Se.Z,{vertical:!0,justify:"center",style:{minHeight:100},children:(0,e.jsxs)(ye.Z,{direction:"vertical",children:[(0,e.jsx)("h4",{style:{fontWeight:"bold"},children:"\u72B6\u6001\uFF1A"}),(0,e.jsxs)(ae.ZP.Group,{size:"small",value:K,onChange:function(c){W(c.target.value)},children:[(0,e.jsx)(ae.ZP,{value:1,children:"\u5F85\u5BA1\u6838"}),(0,e.jsx)(ae.ZP,{value:2,children:"\u5BA1\u6838\u901A\u8FC7"}),(0,e.jsx)(ae.ZP,{value:3,children:"\u5BA1\u6838\u4E0D\u901A\u8FC7"})]}),K===3&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("h4",{children:"\u5982\u4E0D\u901A\u8FC7\u8BF7\u8F93\u5165\u539F\u56E0,\u6309\u56DE\u8F66\u952E\u4FDD\u5B58\uFF0C\u4E5F\u53EF\u4E0D\u586B"}),(0,e.jsx)(je.Z,{style:{width:"100%"},placeholder:"\u6B64\u5904\u4E0D\u901A\u8FC7\u539F\u56E0",onChange:function(c){re(c.target.value)}})]})]})})})]})})},Ue=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})($e),Ne=j(92398),Be=j(97269),ge=j(5966),he=j(64317),Ye=j(8214),qe=j(31199),we=j(71230),H=j(15746),He=j(67119),st=function(n){if(n.length===18){var s=n.charAt(17),M;return s==="X"||s=="x"?M=10:M=parseInt(s,10),M%2===0?"\u5973":"\u7537"}else if(n.length===15){var Q=parseInt(n.substring(13,15),10);return Q%2===0?"\u5973":"\u7537"}else return"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"},Qe=function(n){var s=/^(^[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(s.test(n))if(n.length==18){for(var M=new Array(7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2),Q=new Array(1,0,10,9,8,7,6,5,4,3,2),p=0,F=0;F<17;F++)p+=n.substring(F,F+1)*M[F];var L=p%11,O=n.substring(17);return L==2?O=="X"||O=="x"?!0:(J.ZP.error("\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"),!1):O==Q[L]?!0:(J.ZP.error("\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"),!1)}else return!0;else return J.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"),!1},lt=function(n){var s=/^(\+)?(0|86|17951)?1(3\d|4[579]|5\d|6\d|7\d|8\d|9\d)\d{8}$/;return s.test(n)?!0:(J.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"),!1)},Te={label:"name",value:"id"},Ve={label:"name",value:"id",children:"children"},it=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)(null),O=_()(L,2),A=O[0],V=O[1];(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2004,type:"setPositionList"}}),s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}}),s({type:"dictModel/getList",payload:{code:2005,type:"setPayList"}}),s({type:"dictModel/getList",payload:{code:2016,type:"setAccommodationRequirementList"}}),s({type:"dictModel/getList",payload:{code:2017,type:"setHolidayRestList"}}),s({type:"dictModel/getList",payload:{code:2018,type:"setLicenseList"}}),s({type:"dictModel/getList",payload:{code:2021,type:"setWorkExperienceList"}}),s({type:"dictModel/getList",payload:{code:2006,type:"setEducationList"}}),s({type:"dictModel/getList",payload:{code:2014,type:"setTitleList"}}),s({type:"dictModel/getList",payload:{code:2015,type:"setSkillCertificationeList"}}),s({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),s({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),s({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}}),s({type:"dictModel/getList",payload:{code:2010,type:"setPoliticalList"}})},[]);var I=(0,a.useState)(""),l=_()(I,2),f=l[0],i=l[1],U=function(r){i(r)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"},components:{Segmented:{itemSelectedBg:"#19be6e",itemSelectedColor:"#ffffff"}}},children:(0,e.jsx)(Be.A,{formRef:F,request:k()(u()().mark(function q(){var r;return u()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(!p){N.next=10;break}return N.next=3,(0,h.JAg)({customer_id:p.customer_id});case 3:return r=N.sent,r.data.reg_arr=[r.data.reg_level1?r.data.reg_level1:0,r.data.reg_level2?r.data.reg_level2:0,r.data.reg_level3?r.data.reg_level3:0,r.data.reg_level4?r.data.reg_level4:0],r.data.now_arr=[r.data.now_level1?r.data.now_level1:0,r.data.now_level2?r.data.now_level2:0,r.data.now_level3?r.data.now_level3:0,r.data.now_level4?r.data.now_level4:0],r.data.native_arr=["",r.data.native_place_txt?r.data.native_place_txt:0],i(r.data.photo),V(r.data),N.abrupt("return",r.data);case 10:case"end":return N.stop()}},q)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(r,S){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:S})]})},onReset:function(){s({type:"openModel/getOpenModal",payload:!1})}},onFinish:function(){var q=k()(u()().mark(function r(S){var N,ie,ce,me,ne,D,v;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:for(S.photo=f||"",N=0;N<4;N++)S["reg_level".concat(N+1)]=S.reg_arr[N]||0;for(ie=0;ie<4;ie++)S["now_level".concat(ie+1)]=S.now_arr[ie]||0;if(S.native_arr&&S.native_arr.length==1?J.ZP.warning("\u8BF7\u9009\u62E9\u5E02"):S.native_place=A&&A.native_place!=0?A.native_place:S.native_arr[1],ce=S.id_number.substring(6,10),me=S.id_number.substring(10,12),ne=S.id_number.substring(12,14),S.dob=ce+"-"+me+"-"+ne,S.gender=st(S.id_number),delete S.reg_arr,delete S.now_arr,delete S.native_arr,!A){d.next=21;break}return S.id=A.id,S.customer_id=A.customer_id,d.next=17,(0,h.d5h)(S);case 17:D=d.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),d.next=26;break;case 21:return d.next=23,(0,h.dwg)(S);case 23:v=d.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),s({type:"openModel/getOpenModal",payload:!1});case 26:case"end":return d.stop()}},r)}));return function(r){return q.apply(this,arguments)}}(),children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(H.Z,{span:24,style:{display:"flex"},children:(0,e.jsx)(He.Z,{multiple:!1,form_name:"photo",image_length:1,uploadTxt:"\u4E2A\u4EBA\u7167\u7247",image_type:3,imageUrl:f,onUploadComplete:U})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(ge.Z,{label:"\u59D3\u540D",name:"name",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D"})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(ge.Z,{label:"\u8EAB\u4EFD\u8BC1",name:"id_number",placeholder:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1",validateTrigger:"onBlur",rules:[{required:!1},function(){return{validator:function(r,S){var N=Qe(S);return typeof N=="boolean"?Promise.resolve():Promise.reject(new Error(N))}}}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"education",label:"\u5B66\u5386",fieldProps:{fieldNames:Te},options:M.educationList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(Ye.Z,{label:"\u6237\u53E3\u6240\u5728\u5730",name:"reg_arr",fieldProps:{fieldNames:Ve,options:M.areaList,changeOnSelect:!0},placeholder:"\u8BF7\u9009\u62E9\u6237\u53E3\u6240\u5728\u5730"})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(Ye.Z,{label:"\u73B0\u5C45\u5730",name:"now_arr",fieldProps:{fieldNames:Ve,options:M.areaList,changeOnSelect:!0},placeholder:"\u8BF7\u9009\u62E9\u73B0\u5C45\u5730",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73B0\u5C45\u5730"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"title",label:"\u804C\u79F0",fieldProps:{fieldNames:Te},options:M.titleList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"marital_status",label:"\u5A5A\u59FB\u72B6\u51B5",fieldProps:{fieldNames:Te},options:M.maritalList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"ethnicity",label:"\u6C11\u65CF",fieldProps:{fieldNames:Te},options:M.ethnicityList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"political_status",label:"\u653F\u6CBB\u9762\u8C8C",fieldProps:{fieldNames:Te},options:M.politicalList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(Ye.Z,{label:"\u7C4D\u8D2F",name:"native_arr",fieldProps:{fieldNames:Ve,options:M.areaList,changeOnSelect:!0},placeholder:"\u8BF7\u9009\u62E9\u7C4D\u8D2F"})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(qe.Z,{label:"\u8EAB\u9AD8(\u5398\u7C73cm)",placeholder:"\u8BF7\u8F93\u5165\u8EAB\u9AD8(\u5398\u7C73cm)",name:"height",min:0,max:300})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(qe.Z,{label:"\u4F53\u91CD(\u5343\u514Bkg)",placeholder:"\u8BF7\u8F93\u5165\u4F53\u91CD(\u5343\u514Bkg)",name:"weight",min:0,max:300})})]})})})})},at=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(it),dt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)(null),O=_()(L,2),A=O[0],V=O[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Be.A,{formRef:F,request:k()(u()().mark(function I(){var l;return u()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!p){i.next=6;break}return i.next=3,(0,h.dQ0)({customer_id:p.customer_id});case 3:return l=i.sent,V(l.data),i.abrupt("return",l.data);case 6:case"end":return i.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(l,f){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:f})]})},onReset:function(){}},onFinish:function(){var I=k()(u()().mark(function l(f){var i,U;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(console.log(f),!A){r.next=10;break}return f.id=A.id,f.customer_id=A.customer_id,r.next=6,(0,h.vnr)(f);case 6:i=r.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),r.next=14;break;case 10:return r.next=12,(0,h.aWE)(f);case 12:U=r.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F");case 14:case"end":return r.stop()}},l)}));return function(l){return I.apply(this,arguments)}}(),children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(H.Z,{span:12,children:(0,e.jsx)(ge.Z,{label:"\u56FA\u8BDD",name:"landline",placeholder:"\u8BF7\u8F93\u5165\u56FA\u8BDD"})}),(0,e.jsx)(H.Z,{span:12,children:(0,e.jsx)(ge.Z,{label:"\u624B\u673A\u53F7",name:"mobile",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"}]})}),(0,e.jsx)(H.Z,{span:12,children:(0,e.jsx)(ge.Z,{label:"QQ",name:"qq",placeholder:"\u8BF7\u8F93\u5165QQ"})}),(0,e.jsx)(H.Z,{span:12,children:(0,e.jsx)(ge.Z,{label:"\u4E2A\u4EBA\u7F51\u7AD9",name:"personal_website",placeholder:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7F51\u7AD9"})}),(0,e.jsx)(H.Z,{span:12,children:(0,e.jsx)(ge.Z,{label:"\u901A\u4FE1\u5730\u5740",name:"mailing_address",placeholder:"\u8BF7\u8F93\u5165\u901A\u4FE1\u5730\u5740"})}),(0,e.jsx)(H.Z,{span:12,children:(0,e.jsx)(ge.Z,{label:"\u90AE\u7F16",name:"postal_code",placeholder:"\u8BF7\u8F93\u5165\u90AE\u7F16"})})]})})})})},ut=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(dt),Ce=j(50727),ot=j(98163),ct=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)([]),O=_()(L,2),A=O[0],V=O[1],I=(0,a.useState)([]),l=_()(I,2),f=l[0],i=l[1],U=(0,a.useState)([]),q=_()(U,2),r=q[0],S=q[1],N=(0,a.useState)(0),ie=_()(N,2),ce=ie[0],me=ie[1],ne=(0,a.useState)(""),D=_()(ne,2),v=D[0],E=D[1],d=function(Z){E(Z)};return(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),s({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),s({type:"dictModel/getList",payload:{code:2023,type:"setVehicleList"}}),s({type:"dictModel/getList",payload:{code:2024,type:"setOvertimeList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ce.Z,{actionRef:F,rowKey:"id",loading:!1,request:k()(u()().mark(function t(){var Z;return u()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,(0,h.OcR)({customer_id:p.customer_id,sortby:"asc",sort:"id"});case 2:return Z=$.sent,i(Z.data.jobapplicantcertificates),S(Z.data.jobapplicantcertificates),me(Z.data.total),$.abrupt("return",{data:Z.data.jobapplicantcertificates,total:Z.data.total,success:!0});case 7:case"end":return $.stop()}},t)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u8BC1\u4E66\u540D\u79F0",dataIndex:"name",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC1\u4E66\u540D\u79F0"}]}},{title:"\u8BC1\u4E66\u63CF\u8FF0",dataIndex:"description",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC1\u4E66\u63CF\u8FF0"}]}},{title:"\u8BC1\u4E66",dataIndex:"certificate_photo",formItemProps:{rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BC1\u4E66"}]},render:function(Z,P){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ot.Z,{src:"".concat(_e.VO+P.certificate_photo),width:40,height:40,preview:!1})})},renderFormItem:function(Z,P,$){var B=$.isEditable;return B?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(He.Z,{multiple:!1,form_name:"certificate_photo",image_length:1,uploadTxt:"\u8BC1\u4E66",image_type:2,imageUrl:v,onUploadComplete:d})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(He.Z,{multiple:!1,form_name:"certificate_photo",image_length:1,uploadTxt:"\u8BC1\u4E66",image_type:2,imageUrl:v,onUploadComplete:d})})}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(Z,P,$,B){return[(0,e.jsx)("a",{onClick:function(){var w;E(P.certificate_photo),B==null||(w=B.startEditable)===null||w===void 0||w.call(B,P.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:A,onSave:function(){var t=k()(u()().mark(function P($,B,C){var w,ee;return u()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(console.log($,B,C),B.customer_id=p.customer_id,B.certificate_photo=v||"",delete B.index,!($&&r.findIndex(function(W){return W.id===$})!==-1)){K.next=13;break}return B.id=$,K.next=8,(0,h.QSI)(B);case 8:w=K.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),K.next=19;break;case 13:return delete B.id,K.next=16,(0,h.jnc)(B);case 16:ee=K.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 19:case"end":return K.stop()}},P)}));function Z(P,$,B){return t.apply(this,arguments)}return Z}(),onChange:V},recordCreatorProps:{position:"bottom",record:function(){return{id:f.length>0?(f[f.length-1].id+1).toFixed(0):0}}}})})})},pt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(ct),ht=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)([]),O=_()(L,2),A=O[0],V=O[1],I=(0,a.useState)([]),l=_()(I,2),f=l[0],i=l[1],U=(0,a.useState)([]),q=_()(U,2),r=q[0],S=q[1],N=(0,a.useState)(0),ie=_()(N,2),ce=ie[0],me=ie[1];return(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),s({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),s({type:"dictModel/getList",payload:{code:2023,type:"setVehicleList"}}),s({type:"dictModel/getList",payload:{code:2024,type:"setOvertimeList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ce.Z,{actionRef:F,rowKey:"id",loading:!1,request:k()(u()().mark(function ne(){var D;return u()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,(0,h.pgG)({customer_id:p.customer_id,sortby:"asc",sort:"id"});case 2:return D=E.sent,i(D.data.jobapplicantexperiences),S(D.data.jobapplicantexperiences),me(D.data.total),E.abrupt("return",{data:D.data.jobapplicantexperiences,total:D.data.total,success:!0});case 7:case"end":return E.stop()}},ne)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u8D77\u6B62\u65F6\u95F4",dataIndex:"date",valueType:"dateRange",fieldProps:{format:"YYYY-MM"},width:200,formItemProps:{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D77\u6B62\u65F6\u95F4"}]},render:function(D,v,E,d){return(0,e.jsx)(e.Fragment,{children:"".concat(v.start_year,"-").concat(v.start_month,"\u81F3").concat(v.end_year,"-").concat(v.end_month)})}},{title:"\u662F\u5426\u81F3\u4ECA",dataIndex:"end_today",width:100,valueType:"select",fieldProps:{options:[{label:"\u975E\u81F3\u4ECA",value:1},{label:"\u81F3\u4ECA",value:2}]},formItemProps:{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u81F3\u4ECA"}]}},{title:"\u516C\u53F8\u540D\u79F0",dataIndex:"company_name",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0"}]}},{title:"\u804C\u4F4D",dataIndex:"position",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u804C\u4F4D"}]}},{title:"\u79BB\u804C\u539F\u56E0",dataIndex:"reason_for_leaving",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u79BB\u804C\u539F\u56E0"}]}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(D,v,E,d){return[(0,e.jsx)("a",{onClick:function(){var Z;v.date=["".concat(v.start_year,"-").concat(v.start_month),"".concat(v.end_year,"-").concat(v.end_month)],d==null||(Z=d.startEditable)===null||Z===void 0||Z.call(d,v.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:A,onSave:function(){var ne=k()(u()().mark(function v(E,d,t){var Z,P,$,B;return u()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(console.log(E,d,t),d.customer_id=p.customer_id,Z=d.date[0].split("-"),P=d.date[1].split("-"),d.start_year=parseInt(Z[0],10),d.start_month=parseInt(Z[1],10),d.end_year=parseInt(P[0],10),d.end_month=parseInt(P[1],10),delete d.date,delete d.index,!(E&&r.findIndex(function(ee){return ee.id===E})!==-1)){w.next=19;break}return d.id=E,w.next=14,(0,h.lbw)(d);case 14:$=w.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),w.next=25;break;case 19:return delete d.id,w.next=22,(0,h.ah5)(d);case 22:B=w.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 25:case"end":return w.stop()}},v)}));function D(v,E,d){return ne.apply(this,arguments)}return D}(),onChange:V},recordCreatorProps:{position:"bottom",record:function(){return{id:f.length>0?(f[f.length-1].id+1).toFixed(0):0}}}})})})},xt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(ht),mt=j(19109),Xe=j(97462),ft=j(23323),vt=j(67562),gt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)(null),O=_()(L,2),A=O[0],V=O[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Be.A,{formRef:F,request:k()(u()().mark(function I(){var l;return u()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!p){i.next=6;break}return i.next=3,(0,h.E2U)({customer_id:p.customer_id});case 3:return l=i.sent,V(l.data),i.abrupt("return",l.data);case 6:case"end":return i.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(l,f){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:f})]})},onReset:function(){V(null),s({type:"openModel/getOpenModal",payload:!1})}},onFinish:function(){var I=k()(u()().mark(function l(f){var i,U;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!A){r.next=9;break}return f.id=A.id,f.customer_id=A.customer_id,r.next=5,(0,h.adD)(f);case 5:i=r.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),r.next=13;break;case 9:return r.next=11,(0,h.TEe)(f);case 11:U=r.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F");case 13:case"end":return r.stop()}},l)}));return function(l){return I.apply(this,arguments)}}(),children:(0,e.jsx)(we.Z,{gutter:[16,16],children:(0,e.jsx)(H.Z,{span:24,children:(0,e.jsx)(ft.Z.Item,{name:"description",label:"\u4E2A\u4EBA\u7B80\u4ECB",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7B80\u4ECB"}],children:(0,e.jsx)(mt.i$,{children:function(){return(0,e.jsx)(Xe.Z,{name:["description"],children:function(f,i){var U=f.description;return(0,e.jsx)(vt.Z,{placeholder:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7B80\u4ECB",defaultValue:U,onChange:function(r){i.formRef.current.setFieldsValue({description:r})}})}})}})})})})})})})},yt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(gt),Oe={label:"name",value:"id"},jt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)(null),O=_()(L,2),A=O[0],V=O[1];return(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),s({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),s({type:"dictModel/getList",payload:{code:2023,type:"setVehicleList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Be.A,{formRef:F,request:k()(u()().mark(function I(){var l;return u()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!p){i.next=6;break}return i.next=3,(0,h.$8h)({customer_id:p.customer_id});case 3:return l=i.sent,V(l.data),i.abrupt("return",l.data);case 6:case"end":return i.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(l,f){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:f})]})},onReset:function(){}},onFinish:function(){var I=k()(u()().mark(function l(f){var i,U;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(f.computer_skills="\u7535\u8111\u6C34\u5E73"+f.computer_skills,!A){r.next=10;break}return f.id=A.id,f.customer_id=A.customer_id,r.next=6,(0,h._dG)(f);case 6:i=r.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),r.next=15;break;case 10:return f.customer_id=p.customer_id,r.next=13,(0,h.zXV)(f);case 13:U=r.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F");case 15:case"end":return r.stop()}},l)}));return function(l){return I.apply(this,arguments)}}(),children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"english",label:"\u82F1\u8BED",fieldProps:{fieldNames:Oe,placeholder:"\u8BF7\u9009\u62E9\u82F1\u8BED\u7684\u638C\u63E1\u7A0B\u5EA6"},options:M.degreeList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u82F1\u8BED\u7684\u638C\u63E1\u7A0B\u5EA6"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"mandarin",label:"\u56FD\u8BED",fieldProps:{fieldNames:Oe,placeholder:"\u8BF7\u9009\u62E9\u56FD\u8BED\u7684\u638C\u63E1\u7A0B\u5EA6"},options:M.degreeList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u56FD\u8BED\u7684\u638C\u63E1\u7A0B\u5EA6"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"cantonese",label:"\u7CA4\u8BED",fieldProps:{fieldNames:Oe,placeholder:"\u8BF7\u9009\u62E9\u7CA4\u8BED\u7684\u638C\u63E1\u7A0B\u5EA6"},options:M.degreeList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7CA4\u8BED\u7684\u638C\u63E1\u7A0B\u5EA6"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"other_language",label:"\u7B2C\u4E8C\u5916\u8BED",fieldProps:{fieldNames:Oe,placeholder:"\u8BF7\u9009\u62E9\u7B2C\u4E8C\u5916\u8BED"},options:M.otherLanguageList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"computer_skills",label:"\u7535\u8111\u6C34\u5E73",fieldProps:{fieldNames:{label:"name",value:"name"},placeholder:"\u8BF7\u9009\u62E9\u7535\u8111\u6C34\u5E73"},options:M.degreeList.filter(function(I){return[100103,100101,1001096].includes(I.id)}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7535\u8111\u6C34\u5E73"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"vehicle_type",label:"\u4EA4\u901A\u5DE5\u5177",fieldProps:{fieldNames:Oe,placeholder:"\u8BF7\u9009\u62E9\u4EA4\u901A\u5DE5\u5177"},options:M.vehicleList})}),(0,e.jsx)(Xe.Z,{name:["vehicle_type"],children:function(l){var f=l.vehicle_type;return f===1001101&&(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(ge.Z,{label:"\u5176\u4ED6\u4EA4\u901A\u5DE5\u5177",name:"vehicle_type_other",placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u4EA4\u901A\u5DE5\u5177"})})}}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(ge.Z,{label:"\u9A7E\u7167\u7C7B\u578B",name:"drive_type",placeholder:"\u8BF7\u8F93\u5165\u9A7E\u7167\u7C7B\u578B"})})]})})})})},_t=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(jt),bt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)([]),O=_()(L,2),A=O[0],V=O[1],I=(0,a.useState)([]),l=_()(I,2),f=l[0],i=l[1],U=(0,a.useState)([]),q=_()(U,2),r=q[0],S=q[1],N=(0,a.useState)(0),ie=_()(N,2),ce=ie[0],me=ie[1];return(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2007,type:"setOtherLanguageList"}}),s({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),s({type:"dictModel/getList",payload:{code:2023,type:"setVehicleList"}}),s({type:"dictModel/getList",payload:{code:2024,type:"setOvertimeList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ce.Z,{actionRef:F,rowKey:"id",loading:!1,request:k()(u()().mark(function ne(){var D;return u()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,(0,h.TYf)({customer_id:p.customer_id,sortby:"asc",sort:"id"});case 2:return D=E.sent,i(D.data.jobapplicanttrainings),S(D.data.jobapplicanttrainings),me(D.data.total),E.abrupt("return",{data:D.data.jobapplicanttrainings,total:D.data.total,success:!0});case 7:case"end":return E.stop()}},ne)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u8D77\u6B62\u65F6\u95F4",dataIndex:"date",valueType:"dateRange",fieldProps:{format:"YYYY-MM"},width:200,formItemProps:{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D77\u6B62\u65F6\u95F4"}]},render:function(D,v,E,d){return(0,e.jsx)(e.Fragment,{children:"".concat(v.start_year,"-").concat(v.start_month,"\u81F3").concat(v.end_year,"-").concat(v.end_month)})}},{title:"\u662F\u5426\u81F3\u4ECA",dataIndex:"end_today",width:100,valueType:"select",fieldProps:{options:[{label:"\u975E\u81F3\u4ECA",value:1},{label:"\u81F3\u4ECA",value:2}]},formItemProps:{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u81F3\u4ECA"}]}},{title:"\u5B66\u6821/\u57F9\u8BAD\u673A\u6784",dataIndex:"school_or_institution",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u6821/\u57F9\u8BAD\u673A\u6784"}]}},{title:"\u4E13\u4E1A",dataIndex:"major",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A"}]}},{title:"\u83B7\u5F97\u8BC1\u4E66",dataIndex:"certificate",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u83B7\u5F97\u8BC1\u4E66"}]}},{title:"\u66FE\u83B7\u5B66\u6821\u5956\u9879\u6216\u6280\u80FD\u6BD4\u8D5B\u5956\u9879",dataIndex:"awards",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u66FE\u83B7\u5B66\u6821\u5956\u9879\u6216\u6280\u80FD\u6BD4\u8D5B\u5956\u9879"}]}},{title:"\u66FE\u4EFB\u804C\u52A1",dataIndex:"positions_held",formItemProps:{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u66FE\u4EFB\u804C\u52A1"}]}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(D,v,E,d){return[(0,e.jsx)("a",{onClick:function(){var Z;v.date=["".concat(v.start_year,"-").concat(v.start_month),"".concat(v.end_year,"-").concat(v.end_month)],d==null||(Z=d.startEditable)===null||Z===void 0||Z.call(d,v.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:A,onSave:function(){var ne=k()(u()().mark(function v(E,d,t){var Z,P,$,B;return u()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(console.log(E,d,t),d.customer_id=p.customer_id,Z=d.date[0].split("-"),P=d.date[1].split("-"),d.start_year=parseInt(Z[0],10),d.start_month=parseInt(Z[1],10),d.end_year=parseInt(P[0],10),d.end_month=parseInt(P[1],10),delete d.date,delete d.index,!(E&&r.findIndex(function(ee){return ee.id===E})!==-1)){w.next=19;break}return d.id=E,w.next=14,(0,h.C4Y)(d);case 14:$=w.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),w.next=25;break;case 19:return delete d.id,w.next=22,(0,h.mgk)(d);case 22:B=w.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 25:case"end":return w.stop()}},v)}));function D(v,E,d){return ne.apply(this,arguments)}return D}(),onChange:V},recordCreatorProps:{position:"bottom",record:function(){return{id:f.length>0?(f[f.length-1].id+1).toFixed(0):0}}}})})})},Ft=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(bt),Ae={label:"name",value:"id"},Mt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)(null),O=_()(L,2),A=O[0],V=O[1];return(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2019,type:"setJobTypeList"}}),s({type:"dictModel/getList",payload:{code:2020,type:"setTalentTypeList"}}),s({type:"dictModel/getList",payload:{code:2021,type:"setWorkExperienceList"}}),s({type:"dictModel/getList",payload:{code:2005,type:"setScaleList"}}),s({type:"dictModel/getList",payload:{code:2013,type:"setAvailableDateList"}}),s({type:"dictModel/getList",payload:{code:2014,type:"setTitleList"}}),s({type:"dictModel/getList",payload:{code:2015,type:"setSkillCertificationeList"}}),s({type:"dictModel/getList",payload:{code:2016,type:"setAccommodationRequirementList"}}),s({type:"dictModel/getList",payload:{code:2017,type:"setHolidayRestList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Be.A,{formRef:F,request:k()(u()().mark(function I(){var l;return u()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!p){i.next=6;break}return i.next=3,(0,h.yr9)({customer_id:p.customer_id});case 3:return l=i.sent,V(l.data),i.abrupt("return",l.data);case 6:case"end":return i.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(l,f){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:f})]})},onReset:function(){}},onFinish:function(){var I=k()(u()().mark(function l(f){var i,U;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(console.log(f),!A){r.next=10;break}return f.id=A.id,f.customer_id=A.customer_id,r.next=6,(0,h.B9V)(f);case 6:i=r.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),r.next=15;break;case 10:return f.customer_id=p.customer_id,r.next=13,(0,h.Yur)(f);case 13:U=r.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F");case 15:case"end":return r.stop()}},l)}));return function(l){return I.apply(this,arguments)}}(),children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(H.Z,{span:24,children:(0,e.jsx)(ge.Z,{label:"\u5176\u4ED6\u804C\u4F4D",name:"other_positions",placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u804C\u4F4D"})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"job_type",label:"\u6C42\u804C\u7C7B\u578B",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u6C42\u804C\u7C7B\u578B"},options:M.jobTypeList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6C42\u804C\u7C7B\u578B"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"talent_type",label:"\u4EBA\u624D\u7C7B\u578B",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u4EBA\u624D\u7C7B\u578B"},options:M.talentTypeList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4EBA\u624D\u7C7B\u578B"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"work_experience",label:"\u5DE5\u4F5C\u7ECF\u9A8C",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u7ECF\u9A8C"},options:M.workExperienceList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u7ECF\u9A8C"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"salary_range",label:"\u6708\u85AA\u8981\u6C42\u8303\u56F4",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u6708\u85AA\u8981\u6C42\u8303\u56F4"},options:M.scaleList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6708\u85AA\u8981\u6C42\u8303\u56F4"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"available_date",label:"\u53EF\u5230\u804C\u65E5\u671F",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u53EF\u5230\u804C\u65E5\u671F"},options:M.availableDateList,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u53EF\u5230\u804C\u65E5\u671F"}]})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"title_requirement",label:"\u804C\u79F0\u8981\u6C42",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0\u8981\u6C42"},options:M.titleList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"skill_certification",label:"\u6280\u80FD\u8BA4\u8BC1",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u6280\u80FD\u8BA4\u8BC1"},options:M.skillCertificationeList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"accommodation_requirement",label:"\u98DF\u5BBF\u8981\u6C42",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u98DF\u5BBF\u8981\u6C42"},options:M.accommodationRequirementList})}),(0,e.jsx)(H.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"holiday_rest",label:"\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5",fieldProps:{fieldNames:Ae,placeholder:"\u8BF7\u9009\u62E9\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5"},options:M.holidayRestList})})]})})})})},Et=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Mt),sn={label:"name",value:"id",children:"children"},Je={label:"name",value:"id",children:"childss"},wt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useRef)(),O=(0,a.useState)([]),A=_()(O,2),V=A[0],I=A[1],l=(0,a.useState)([]),f=_()(l,2),i=f[0],U=f[1],q=(0,a.useState)([]),r=_()(q,2),S=r[0],N=r[1],ie=(0,a.useState)(0),ce=_()(ie,2),me=ce[0],ne=ce[1];(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]);var D=(0,a.useState)([]),v=_()(D,2),E=v[0],d=v[1],t=(0,a.useState)([]),Z=_()(t,2),P=Z[0],$=Z[1],B=(0,a.useState)([]),C=_()(B,2),w=C[0],ee=C[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ce.Z,{editableFormRef:L,actionRef:F,rowKey:"id",loading:!1,request:k()(u()().mark(function z(){var K;return u()().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return te.next=2,(0,h.Ihr)({customer_id:p.customer_id,sortby:"asc",sort:"id"});case 2:return K=te.sent,U(K.data.jobapplicantareas),N(K.data.jobapplicantareas),ne(K.data.total),te.abrupt("return",{data:K.data.jobapplicantareas,total:K.data.total,success:!0});case 7:case"end":return te.stop()}},z)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u7701\u7EA7",dataIndex:"level1",render:function(K,W){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:W.level1_txt})})},valueType:"select",fieldProps:function(K,W){return{placeholder:"\u8BF7\u9009\u62E9\u7701\u7EA7",options:M.areaList,fieldNames:Je,onChange:function(){var te=k()(u()().mark(function X(re,xe){var T,b,c,x,R,g,m;return u()().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return se.next=2,(0,h.UW$)({code:xe.code});case 2:m=se.sent,d(m.data.dicts),(T=L.current)===null||T===void 0||(b=T.setRowData)===null||b===void 0||b.call(T,W.entity.id,{level2:0}),(c=L.current)===null||c===void 0||(x=c.setRowData)===null||x===void 0||x.call(c,W.entity.id,{level3:0}),(R=L.current)===null||R===void 0||(g=R.setRowData)===null||g===void 0||g.call(R,W.entity.id,{level4:0});case 7:case"end":return se.stop()}},X)}));function G(X,re){return te.apply(this,arguments)}return G}()}}},{title:"\u5E02\u7EA7",dataIndex:"level2",render:function(K,W){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:W.level2_txt})})},valueType:"select",fieldProps:function(K,W){return{placeholder:"\u8BF7\u9009\u62E9\u5E02\u7EA7",options:E,fieldNames:Je,onChange:function(){var te=k()(u()().mark(function X(re,xe){var T,b,c,x,R;return u()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,(0,h.UW$)({code:xe.code});case 2:R=m.sent,$(R.data.dicts),(T=L.current)===null||T===void 0||(b=T.setRowData)===null||b===void 0||b.call(T,W.entity.id,{level3:0}),(c=L.current)===null||c===void 0||(x=c.setRowData)===null||x===void 0||x.call(c,W.entity.id,{level4:0});case 6:case"end":return m.stop()}},X)}));function G(X,re){return te.apply(this,arguments)}return G}()}}},{title:"\u4E61\u9547",dataIndex:"level3",render:function(K,W){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:W.level3_txt})})},valueType:"select",fieldProps:function(K,W){return{placeholder:"\u8BF7\u9009\u62E9\u4E61\u9547",options:P,fieldNames:Je,onChange:function(){var te=k()(u()().mark(function X(re,xe){var T,b,c;return u()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,(0,h.UW$)({code:xe.code});case 2:c=R.sent,ee(c.data.dicts),(T=L.current)===null||T===void 0||(b=T.setRowData)===null||b===void 0||b.call(T,W.entity.id,{level4:0});case 5:case"end":return R.stop()}},X)}));function G(X,re){return te.apply(this,arguments)}return G}()}}},{title:"\u793E\u533A",dataIndex:"level4",render:function(K,W){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:W.level4_txt})})},valueType:"select",fieldProps:{placeholder:"\u8BF7\u9009\u62E9\u793E\u533A",options:w,fieldNames:Je}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(K,W,te,G){return[(0,e.jsx)("a",{onClick:k()(u()().mark(function X(){var re,xe,T,b;return u()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(!W.level1){x.next=5;break}return x.next=3,(0,h.dBj)({id:W.level1});case 3:xe=x.sent,d(xe.data.childs);case 5:if(!W.level2){x.next=10;break}return x.next=8,(0,h.dBj)({id:W.level2});case 8:T=x.sent,$(T.data.childs);case 10:if(!W.level3){x.next=15;break}return x.next=13,(0,h.dBj)({id:W.level3});case 13:b=x.sent,ee(b.data.childs);case 15:G==null||(re=G.startEditable)===null||re===void 0||re.call(G,W.id);case 16:case"end":return x.stop()}},X)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:V,onSave:function(){var z=k()(u()().mark(function W(te,G,X){var re,xe;return u()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(console.log(te,G,X),G.customer_id=p.customer_id,delete G.index,!(te&&S.findIndex(function(c){return c.id===te})!==-1)){b.next=12;break}return G.id=te,b.next=7,(0,h.oUC)(G);case 7:re=b.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),b.next=18;break;case 12:return delete G.id,b.next=15,(0,h.zPM)(G);case 15:xe=b.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 18:case"end":return b.stop()}},W)}));function K(W,te,G){return z.apply(this,arguments)}return K}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:i.length>0?(i[i.length-1].id+1).toFixed(0):0}}}})})})},Ct=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(wt),St={label:"name",value:"id",children:"childss"},Pt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useRef)(),O=(0,a.useState)([]),A=_()(O,2),V=A[0],I=A[1],l=(0,a.useState)([]),f=_()(l,2),i=f[0],U=f[1],q=(0,a.useState)([]),r=_()(q,2),S=r[0],N=r[1],ie=(0,a.useState)(0),ce=_()(ie,2),me=ce[0],ne=ce[1];return(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ce.Z,{editableFormRef:L,actionRef:F,rowKey:"id",loading:!1,request:k()(u()().mark(function D(){var v;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,h.Tw7)({customer_id:p.customer_id,sortby:"asc",sort:"id"});case 2:return v=d.sent,U(v.data.jobapplicantindustrys),N(v.data.jobapplicantindustrys),ne(v.data.total),d.abrupt("return",{data:v.data.jobapplicantindustrys,total:v.data.total,success:!0});case 7:case"end":return d.stop()}},D)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u884C\u4E1A",dataIndex:"industry",render:function(v,E){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:E.industry_txt})})},valueType:"select",fieldProps:function(v,E){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A",options:M.industryPostList,fieldNames:St}}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(v,E,d,t){return[(0,e.jsx)("a",{onClick:k()(u()().mark(function Z(){var P;return u()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(!(me>3)){B.next=3;break}return J.ZP.error("\u6700\u591A\u6DFB\u52A03\u6761\u610F\u5411\u884C\u4E1A"),B.abrupt("return",!1);case 3:t==null||(P=t.startEditable)===null||P===void 0||P.call(t,E.post_id);case 4:case"end":return B.stop()}},Z)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:V,onSave:function(){var D=k()(u()().mark(function E(d,t,Z){var P,$;return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(console.log(d,t,Z),t.customer_id=p.customer_id,!(d&&S.findIndex(function(w){return w.id===d})!==-1)){C.next=11;break}return t.id=d,C.next=6,(0,h.g2b)({id:t.id,customer_id:t.customer_id,industry:t.industry});case 6:P=C.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),C.next=16;break;case 11:return C.next=13,(0,h.IBU)({customer_id:t.customer_id,industry:t.industry});case 13:$=C.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 16:case"end":return C.stop()}},E)}));function v(E,d,t){return D.apply(this,arguments)}return v}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:i.length>0?(i[i.length-1].id+1).toFixed(0):0}}}})})})},Bt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Pt),kt=j(97857),pe=j.n(kt),ze={label:"name",value:"id",children:"childss"},At=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useRef)(),O=(0,a.useState)([]),A=_()(O,2),V=A[0],I=A[1],l=(0,a.useState)([]),f=_()(l,2),i=f[0],U=f[1],q=(0,a.useState)([]),r=_()(q,2),S=r[0],N=r[1],ie=(0,a.useState)(0),ce=_()(ie,2),me=ce[0],ne=ce[1];(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]);var D=(0,a.useState)([]),v=_()(D,2),E=v[0],d=v[1],t=(0,a.useState)([]),Z=_()(t,2),P=Z[0],$=Z[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ce.Z,{editableFormRef:L,actionRef:F,rowKey:"id",loading:!1,request:k()(u()().mark(function B(){var C,w;return u()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.next=2,(0,h.cvX)({customer_id:p.customer_id,sortby:"asc",sort:"id"});case 2:return C=z.sent,z.next=5,Promise.all(C.data.jobapplicantpositions.filter(function(K){return K.level1!==0}).map(function(){var K=k()(u()().mark(function W(te,G){var X,re;return u()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,(0,h.dBj)({id:te.level1});case 2:return X=T.sent,T.next=5,(0,h.dBj)({id:X.data.parent_id});case 5:return re=T.sent,T.abrupt("return",pe()(pe()({},te),{},{post_id:te.id,industry_txt:re.data?re.data.name:"",industry:re.data?re.data.id:""}));case 7:case"end":return T.stop()}},W)}));return function(W,te){return K.apply(this,arguments)}}()));case 5:return w=z.sent,U(w),N(w),ne(C.data.total),z.abrupt("return",{data:w,total:C.data.total,success:!0});case 10:case"end":return z.stop()}},B)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u884C\u4E1A\u5927\u7C7B",dataIndex:"industry",render:function(C,w){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:w.industry_txt})})},valueType:"select",fieldProps:function(C,w){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A\u5927\u7C7B",options:M.industryPostList,fieldNames:ze,onChange:function(){var ee=k()(u()().mark(function K(W,te){var G,X,re,xe,T;return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,h.UW$)({code:te.code});case 2:T=c.sent,d(T.data.dicts),(G=L.current)===null||G===void 0||(X=G.setRowData)===null||X===void 0||X.call(G,w.entity.id,{level1:0}),(re=L.current)===null||re===void 0||(xe=re.setRowData)===null||xe===void 0||xe.call(re,w.entity.id,{level2:0});case 6:case"end":return c.stop()}},K)}));function z(K,W){return ee.apply(this,arguments)}return z}()}}},{title:"\u884C\u4E1A\u4E8C\u7C7B",dataIndex:"level1",render:function(C,w){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:w.level1_txt})})},valueType:"select",fieldProps:function(C,w){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A\u4E8C\u7C7B",options:E,fieldNames:ze,onChange:function(){var ee=k()(u()().mark(function K(W,te){var G,X,re;return u()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,(0,h.UW$)({code:te.code});case 2:re=T.sent,$(re.data.dicts),(G=L.current)===null||G===void 0||(X=G.setRowData)===null||X===void 0||X.call(G,w.entity.id,{level2:0});case 5:case"end":return T.stop()}},K)}));function z(K,W){return ee.apply(this,arguments)}return z}()}}},{title:"\u804C\u4F4D",dataIndex:"level2",render:function(C,w){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:w.level2_txt})})},valueType:"select",fieldProps:function(C,w){return{placeholder:"\u8BF7\u9009\u62E9\u804C\u4F4D",options:P,fieldNames:ze}}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(C,w,ee,z){return[(0,e.jsx)("a",{onClick:k()(u()().mark(function K(){var W,te,G,X,re;return u()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(console.log(w),!w.level1){T.next=9;break}return T.next=4,(0,h.dBj)({id:w.level1});case 4:return te=T.sent,T.next=7,(0,h.dBj)({id:te.data.parent_id});case 7:G=T.sent,d(G.data.childs);case 9:if(!w.level2){T.next=17;break}return T.next=12,(0,h.dBj)({id:w.level2});case 12:return X=T.sent,T.next=15,(0,h.dBj)({id:X.data.parent_id});case 15:re=T.sent,$(re.data.childs);case 17:z==null||(W=z.startEditable)===null||W===void 0||W.call(z,w.id);case 18:case"end":return T.stop()}},K)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:V,onSave:function(){var B=k()(u()().mark(function w(ee,z,K){var W,te;return u()().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(console.log(ee,z,K),z.customer_id=p.customer_id,!(ee&&S.findIndex(function(re){return re.id===ee})!==-1)){X.next=11;break}return z.id=ee,X.next=6,(0,h.VrM)({id:z.id,customer_id:z.customer_id,level1:z.level1,level2:z.level2});case 6:W=X.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),X.next=16;break;case 11:return X.next=13,(0,h.Efk)({customer_id:z.customer_id,level1:z.level1,level2:z.level2});case 13:te=X.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 16:case"end":return X.stop()}},w)}));function C(w,ee,z){return B.apply(this,arguments)}return C}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:i.length>0?(i[i.length-1].id+1).toFixed(0):0}}}})})})},Lt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(At),Dt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useState)(!1),L=_()(F,2),O=L[0],A=L[1];return(0,a.useEffect)(function(){A(Q.openModal)},[Q.openModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(be.Z,{open:O,title:p?"\u7F16\u8F91\u7B80\u5386":"\u6DFB\u52A0\u7B80\u5386",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1200,onCancel:function(){s({type:"openModel/getOpenModal",payload:!1})},children:(0,e.jsx)(Ne.Z,{destroyInactiveTabPane:!0,type:"card",items:[{label:"\u57FA\u672C\u4FE1\u606F",key:"1",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(at,{id:p})})},{label:"\u8054\u7CFB\u4FE1\u606F",key:"2",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ut,{id:p})})},{label:"\u4E2A\u4EBA\u7B80\u4ECB",key:"3",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(yt,{id:p})})},{label:"\u4E13\u4E1A\u6280\u80FD\u638C\u63E1\u7A0B\u5EA6",key:"4",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(_t,{id:p})})},{label:"\u57F9\u8BAD\u7ECF\u5386",key:"5",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Ft,{id:p})})},{label:"\u5DE5\u4F5C\u7ECF\u5386",key:"6",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(xt,{id:p})})},{label:"\u8BC1\u4E66",key:"7",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pt,{id:p})})},{label:"\u57FA\u672C\u610F\u5411",key:"8",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Et,{id:p})})},{label:"\u610F\u5411\u5730\u533A",key:"9",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Ct,{id:p})})},{label:"\u610F\u5411\u884C\u4E1A",key:"10",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Bt,{id:p})})},{label:"\u610F\u5411\u804C\u4F4D",key:"11",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Lt,{id:p})})}]})})})})},Zt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Dt),Rt=j(64082),It=j(36441),Tt=j(84567),Ot=j(2058),$t=j(27484),Ge=j.n($t),Ke={label:"name",value:"id"},et={label:"name",value:"id",children:"children"},Ut=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useState)([]),O=_()(L,2),A=O[0],V=O[1],I=(0,a.useState)(!1),l=_()(I,2),f=l[0],i=l[1],U=(0,a.useState)(null),q=_()(U,2),r=q[0],S=q[1],N=(0,a.useState)(!1),ie=_()(N,2),ce=ie[0],me=ie[1];(0,a.useEffect)(function(){i(Q.openRegisterModal)},[Q.openRegisterModal]);var ne=(0,a.useState)(""),D=_()(ne,2),v=D[0],E=D[1],d=function(c){E(c)},t=(0,a.useState)(!1),Z=_()(t,2),P=Z[0],$=Z[1],B=(0,a.useState)(""),C=_()(B,2),w=C[0],ee=C[1],z=function(c){ee(c)},K=(0,a.useState)(""),W=_()(K,2),te=W[0],G=W[1];(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2011,type:"setMaritalList"}}),s({type:"dictModel/getList",payload:{code:2006,type:"setEducationList"}}),s({type:"dictModel/getList",payload:{code:2012,type:"setEthnicityList"}}),s({type:"dictModel/getList",payload:{code:2020,type:"setTalentTypeList"}}),s({type:"dictModel/getList",payload:{code:2008,type:"setDegreeList"}}),s({type:"dictModel/getList",payload:{code:2023,type:"setVehicleList"}}),s({type:"dictModel/getList",payload:{code:2024,type:"setOvertimeList"}}),s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]);var X=(0,a.useState)(""),re=_()(X,2),xe=re[0],T=re[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{},children:(0,e.jsx)(be.Z,{open:f,centered:!0,footer:null,maskClosable:!1,destroyOnClose:!0,width:1200,onCancel:function(){s({type:"openModel/getOpenRegisterModal",payload:!1})},afterOpenChange:function(){var b=k()(u()().mark(function c(x){var R;return u()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(!x){m.next=5;break}return m.next=3,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 3:R=m.sent,S(R.data);case 5:case"end":return m.stop()}},c)}));return function(c){return b.apply(this,arguments)}}(),children:r&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{id:"export-container",children:[(0,e.jsx)("h1",{style:{fontWeight:"bold",textAlign:"center",marginBottom:"20px"},children:"\u5C31\u4E1A\u670D\u52A1\u767B\u8BB0\u8868"}),xe,(0,e.jsx)(It.vY,{labelStyle:{width:"120px"},bordered:!0,actionRef:F,column:24,request:k()(u()().mark(function b(){return u()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return console.log(r),x.abrupt("return",Promise.resolve({success:!0,data:r}));case 2:case"end":return x.stop()}},b)})),editable:{onSave:function(){var b=k()(u()().mark(function x(R,g){var m,Y,se;return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:T(R),console.log(R),console.log(g,Ge()(g.dob).format("YYYY-MM-DD")),m=null,Y=null,o.t0=R,o.next=o.t0==="seekername"?8:o.t0==="gender"?16:o.t0==="dob"?24:o.t0==="marital_status_txt"?32:o.t0==="education_txt"?40:o.t0==="ethnicity_txt"?48:o.t0==="mobile"?56:o.t0==="id_number"?71:o.t0==="now_level"?83:o.t0==="reg_level"?92:o.t0==="talent_type_txt"?100:108;break;case 8:return o.next=10,(0,h.d5h)({id:r.id,customer_id:r.customer_id,name:g.seekername});case 10:return m=o.sent,o.next=13,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 13:return Y=o.sent,S(function(le){return pe()(pe()({},le),{},{seekername:Y.data.seekername})}),o.abrupt("break",108);case 16:return o.next=18,(0,h.d5h)({id:r.id,customer_id:r.customer_id,gender:g.gender});case 18:return m=o.sent,o.next=21,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 21:return Y=o.sent,S(function(le){return pe()(pe()({},le),{},{gender:Y.data.gender})}),o.abrupt("break",108);case 24:return o.next=26,(0,h.d5h)({id:r.id,customer_id:r.customer_id,dob:Ge()(g.dob).format("YYYY-MM-DD")});case 26:return m=o.sent,o.next=29,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 29:return Y=o.sent,S(function(le){return pe()(pe()({},le),{},{dob:Y.data.dob})}),o.abrupt("break",108);case 32:return o.next=34,(0,h.d5h)({id:r.id,customer_id:r.customer_id,marital_status:g.marital_status_txt});case 34:return m=o.sent,o.next=37,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 37:return Y=o.sent,S(function(le){return pe()(pe()({},le),{},{marital_status_txt:Y.data.marital_status_txt})}),o.abrupt("break",108);case 40:return o.next=42,(0,h.d5h)({id:r.id,customer_id:r.customer_id,education:g.education_txt});case 42:return m=o.sent,o.next=45,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 45:return Y=o.sent,S(function(le){return pe()(pe()({},le),{},{education_txt:Y.data.education_txt})}),o.abrupt("break",108);case 48:return o.next=50,(0,h.d5h)({id:r.id,customer_id:r.customer_id,ethnicity:g.ethnicity_txt});case 50:return m=o.sent,o.next=53,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 53:return Y=o.sent,S(function(le){return pe()(pe()({},le),{},{ethnicity_txt:Y.data.ethnicity_txt})}),o.abrupt("break",108);case 56:if(!lt(g.mobile)){o.next=69;break}return o.next=59,(0,h.dQ0)({id:r.id,customer_id:r.customer_id});case 59:return se=o.sent,o.next=62,(0,h.vnr)({id:se.data.id,customer_id:r.customer_id,mobile:g.mobile});case 62:return m=o.sent,o.next=65,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 65:Y=o.sent,S(function(le){return pe()(pe()({},le),{},{mobile:Y.data.mobile})}),o.next=70;break;case 69:return o.abrupt("return",!1);case 70:return o.abrupt("break",108);case 71:if(!Qe(g.id_number)){o.next=81;break}return o.next=74,(0,h.d5h)({id:r.id,customer_id:r.customer_id,id_number:g.id_number});case 74:return m=o.sent,o.next=77,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 77:Y=o.sent,S(function(le){return pe()(pe()({},le),{},{id_number:Y.data.id_number})}),o.next=82;break;case 81:return o.abrupt("return",!1);case 82:return o.abrupt("break",108);case 83:return o.next=85,(0,h.d5h)({id:r.id,customer_id:r.customer_id,now_level1:g.now_level.length>0&&g.now_level[0]?g.now_level[0]:0,now_level2:g.now_level.length>0&&g.now_level[1]?g.now_level[1]:0,now_level3:g.now_level.length>0&&g.now_level[2]?g.now_level[2]:0,now_level4:g.now_level.length>0&&g.now_level[3]?g.now_level[3]:0});case 85:return m=o.sent,o.next=88,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 88:return Y=o.sent,console.log(Y.data),S(function(le){return pe()(pe()({},le),{},{now_level1_txt:"111",now_level2_txt:Y.data.now_level2_txt,now_level3_txt:Y.data.now_level3_txt,now_level4_txt:Y.data.now_level4_txt})}),o.abrupt("break",108);case 92:return o.next=94,(0,h.d5h)({id:r.id,customer_id:r.customer_id,reg_level1:g.reg_level.length>0&&g.reg_level[0]?g.reg_level[0]:0,reg_level2:g.reg_level.length>0&&g.reg_level[1]?g.reg_level[1]:0,reg_level3:g.reg_level.length>0&&g.reg_level[2]?g.reg_level[2]:0,reg_level4:g.reg_level.length>0&&g.reg_level[3]?g.reg_level[3]:0});case 94:return m=o.sent,o.next=97,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 97:return Y=o.sent,S(function(le){return pe()(pe()({},le),{},{reg_level1_txt:Y.data.reg_level1_txt,reg_level2_txt:Y.data.reg_level2_txt,reg_level3_txt:Y.data.reg_level3_txt,reg_level4_txt:Y.data.reg_level4_txt})}),o.abrupt("break",108);case 100:return o.next=102,(0,h.B9V)({id:r.id,customer_id:r.customer_id,talent_type:g.talent_type});case 102:return m=o.sent,o.next=105,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 105:return Y=o.sent,S(function(le){return pe()(pe()({},le),{},{talent_type_txt:Y.data.talent_type_txt})}),o.abrupt("break",108);case 108:case"end":return o.stop()}},x)}));function c(x,R){return b.apply(this,arguments)}return c}()},columns:[{span:8,title:"\u59D3\u540D",key:"seekername",dataIndex:"seekername"},{span:4,title:"\u6027\u522B",key:"gender",dataIndex:"gender",valueType:"select",valueEnum:{\u7537:{text:"\u7537"},\u5973:{text:"\u5973"}}},{span:8,title:"\u51FA\u751F\u65E5\u671F",key:"dob",dataIndex:"dob",valueType:"date"},{span:4,title:"\u5A5A\u59FB\u72B6\u51B5",key:"marital_status_txt",dataIndex:"marital_status_txt",valueType:"select",fieldProps:{fieldNames:Ke},request:function(){return M.maritalList}},{span:6,title:"\u6587\u5316\u7A0B\u5EA6",key:"education",dataIndex:"education_txt",valueType:"select",fieldProps:{fieldNames:Ke},request:function(){return M.educationList}},{span:6,title:"\u6BD5\u4E1A\u5B66\u6821",key:"school_name",dataIndex:"school_name",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:r.trainings&&r.trainings.length>0&&(0,e.jsx)("span",{children:r.trainings[0].school_or_institution})})}},{span:6,title:"\u4E13\u4E1A",key:"major",dataIndex:"major",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:r.trainings&&r.trainings.length>0&&(0,e.jsx)("span",{children:r.trainings[0].major})})}},{span:6,title:"\u6C11\u65CF",key:"ethnicity",dataIndex:"ethnicity_txt",valueType:"select",fieldProps:{fieldNames:Ke,children:(0,e.jsx)(e.Fragment,{children:"ddd"})},request:function(){return M.ethnicityList}},{span:12,title:"\u8054\u7CFB\u65B9\u5F0F",key:"mobile",dataIndex:"mobile"},{span:12,title:"\u8EAB\u4EFD\u8BC1\u53F7",key:"id_number",dataIndex:"id_number"},{span:12,title:"\u73B0\u5C45\u4F4F\u5730",key:"now_level",dataIndex:"now_level",valueType:"cascader",fieldProps:{fieldNames:et},request:function(){return M.areaList},render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("span",{children:[x.now_level1_txt?x.now_level1_txt:"",x.now_level2_txt?x.now_level2_txt:"",x.now_level3_txt?x.now_level3_txt:"",x.now_level4_txt?x.now_level4_txt:""]})})}},{span:12,title:"\u6237\u53E3\u6240\u5728\u5730",key:"reg_level",dataIndex:"reg_level",valueType:"cascader",fieldProps:{fieldNames:et},request:function(){return M.areaList},render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("span",{children:[x.reg_level1_txt?x.reg_level1_txt:"",x.reg_level2_txt?x.reg_level2_txt:"",x.reg_level3_txt?x.reg_level3_txt:"",x.reg_level4_txt?x.reg_level4_txt:""]})})}},{span:24,title:"\u4EBA\u5458\u7C7B\u522B",key:"talent_type",dataIndex:"talent_type_txt",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:M.talentTypeList.filter(function(m){return[1001091,1001092,1001093,1001028].includes(m.id)}).map(function(m){return(0,e.jsx)(ae.ZP,{value:m.id,checked:x.talent_type==m.id,onChange:function(){var Y=k()(u()().mark(function se(de){var o,le,Fe;return u()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!de.target.checked){Me.next=14;break}return Me.next=3,(0,h.yr9)({id:r.id,customer_id:r.customer_id});case 3:if(o=Me.sent,o.code!=404){Me.next=14;break}return Me.next=7,(0,h.B9V)({id:o.data.id,customer_id:r.customer_id,talent_type:de.target.value});case 7:return le=Me.sent,Me.next=10,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 10:Fe=Me.sent,S(function(rn){return pe()(pe()({},rn),{},{talent_type_txt:Fe.data.talent_type_txt})}),Me.next=14;break;case 14:case"end":return Me.stop()}},se)}));return function(se){return Y.apply(this,arguments)}}(),children:m.name},m.id)})})}},{span:10,title:"\u7535\u8111\u6C34\u5E73",key:"talent_type",dataIndex:"talent_type_txt",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:M.degreeList.filter(function(m){return[100103,100101,1001096].includes(m.id)}).map(function(m){return(0,e.jsx)(ae.ZP,{value:m.id,checked:x.talent_type==m.name,children:m.name},m.id)})})}},{span:8,title:"\u666E\u901A\u8BDD\u6C34\u5E73",key:"mandarin",dataIndex:"mandarin_txt",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:M.degreeList.filter(function(m){return[1001095,100101,1001096].includes(m.id)}).map(function(m){return(0,e.jsx)(ae.ZP,{value:m.id,checked:x.mandarin==m.id,children:m.name},m.id)})})}},{span:6,title:"\u5916\u8BED\u6C34\u5E73",key:"marital_status",dataIndex:"marital_status_txt",valueType:"select",fieldProps:{fieldNames:Ke},request:function(c,x){return M.degreeList}},{span:10,title:"\u4EA4\u901A\u5DE5\u5177",key:"talent_type",dataIndex:"talent_type_txt",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:M.vehicleList.filter(function(m){return[1001098,1001099,1001100,1001101].includes(m.id)}).map(function(m){return(0,e.jsx)(ae.ZP,{value:m.id,children:m.name},m.id)})})}},{span:4,title:"\u9A7E\u7167\u7C7B\u578B",key:"seekername",dataIndex:"seekername"},{span:10,title:"\u53EF\u5426\u52A0\u591C\u73ED",key:"talent_type",dataIndex:"talent_type_txt",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:M.overtimeList.filter(function(m){return[1001103,1001104,1001105].includes(m.id)}).map(function(m){return(0,e.jsx)(ae.ZP,{value:m.id,children:m.name},m.id)})})}},{span:24,title:"\u5B66\u4E60\u6216\u5DE5\u4F5C\u7ECF\u5386",key:"seekername",dataIndex:"seekername",editable:!1,render:function(c,x){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Ce.Z,{rowKey:"id",loading:!1,value:[{id:"1",date:"2020-12-12",danwei:"kgkjgk",gangwei:"dsfsfsdf"},{id:"2",date:"2020-12-12",danwei:"kgkjgk",gangwei:"dsfsfsdf"},{id:"3",date:"2020-12-12",danwei:"kgkjgk",gangwei:"dsfsfsdf"}],columns:[{title:"\u8D77\u6B62\u65F6\u95F4",dataIndex:"date",valueType:"dateRange",fieldProps:{format:"YYYY-MM"}},{title:"\u5B66\u6821/\u5DE5\u4F5C\u5355\u4F4D",dataIndex:"danwei"},{title:"\u804C\u52A1/\u5DE5\u4F5C\u5C97\u4F4D",dataIndex:"gangwei"},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(g,m,Y,se){return[(0,e.jsx)("a",{onClick:function(){var o;se==null||(o=se.startEditable)===null||o===void 0||o.call(se,m.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"multiple",editableKeys:A,onSave:function(){var R=k()(u()().mark(function m(Y,se,de){return u()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:console.log(Y,se,de);case 1:case"end":return le.stop()}},m)}));function g(m,Y,se){return R.apply(this,arguments)}return g}(),onChange:V},recordCreatorProps:{position:"bottom",record:function(){return{id:(Math.random()*1e6).toFixed(0)}}}})})}},{span:24,title:"\u6C42\u804C\u610F\u5411",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(H.Z,{span:4,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:"\u60F3\u4ECE\u4E8B\u804C\u4F4D"}),(0,e.jsxs)(H.Z,{span:20,children:[(0,e.jsxs)(we.Z,{gutter:[16,16],style:{padding:"8px"},children:[(0,e.jsxs)(H.Z,{span:8,style:{display:"flex",alignItems:"center",justifyContent:"flex-start"},children:[(0,e.jsx)("div",{children:"1\u3001"})," ",(0,e.jsx)(je.Z,{style:{width:"80%"}})]}),(0,e.jsxs)(H.Z,{span:8,style:{display:"flex",alignItems:"center",justifyContent:"flex-start"},children:[(0,e.jsx)("div",{children:"2\u3001"}),(0,e.jsx)(je.Z,{style:{width:"80%"}})]}),(0,e.jsxs)(H.Z,{span:8,style:{display:"flex",alignItems:"center",justifyContent:"flex-start"},children:[(0,e.jsx)("div",{children:"3\u3001"}),(0,e.jsx)(je.Z,{style:{width:"80%"}})]})]}),(0,e.jsxs)(we.Z,{gutter:[16,16],style:{padding:"8px"},children:[(0,e.jsxs)(H.Z,{span:14,children:["4\u3001\u662F\u5426\u63A5\u6536\u5176\u4ED6\u804C\u4F4D\u7684\u63A8\u8350\uFF08",(0,e.jsx)(Tt.Z,{}),"\uFF09 "]}),(0,e.jsxs)(H.Z,{span:10,style:{display:"flex",alignItems:"center",justifyContent:"flex-start"},children:["\u85AA\u916C\u8981\u6C42\uFF1A",(0,e.jsx)(je.Z,{style:{width:"40%"}})," \u5143/\u6708"]})]})]})]})})}},{span:24,title:"\u4ECB\u7ECD\u5DE5\u4F5C\u60C5\u51B5",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(H.Z,{span:14,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,e.jsx)(we.Z,{gutter:[16,16],style:{padding:"8px"},children:(0,e.jsx)(Ce.Z,{showHeader:!1,scroll:{x:"100%"},rowKey:"id",loading:!1,value:[{id:"1",date:"2020-12-12",danwei:"kgkjgk",gangwei:"dsfsfsdf"},{id:"2",date:"2020-12-12",danwei:"kgkjgk",gangwei:"dsfsfsdf"}],columns:[{dataIndex:"date"},{valueType:"option",width:200,render:function(Y,se,de,o){return[(0,e.jsx)("a",{onClick:function(){var Fe;o==null||(Fe=o.startEditable)===null||Fe===void 0||Fe.call(o,se.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"multiple",editableKeys:A,onSave:function(){var m=k()(u()().mark(function se(de,o,le){return u()().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:console.log(de,o,le);case 1:case"end":return Ze.stop()}},se)}));function Y(se,de,o){return m.apply(this,arguments)}return Y}(),onChange:V},recordCreatorProps:{position:"bottom",record:function(){return{id:(Math.random()*1e6).toFixed(0)}}}})})}),(0,e.jsx)(H.Z,{span:10,children:(0,e.jsx)(we.Z,{gutter:[16,16],style:{padding:"8px"},children:(0,e.jsxs)(Ot.Z.Dragger,{name:"file",customRequest:function(Y){var se=new FormData;se.append("image",Y.file),console.log(se),(0,oe.request)(_e.FH+"/common/image/upload?imgtype=3",{method:"post",data:se,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(de){}).catch(function(de){console.log(de),J.ZP.error("\u4E0A\u4F20\u5931\u8D25")})},style:{width:"100%",padding:"0 100px"},children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)(Rt.Z,{})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u76F8\u7247\u6216\u8EAB\u4EFD\u8BC1\u590D\u5370\u5904"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:"\u53EF\u62D6\u62FD\u4E0A\u4F20\u6216\u8005\u70B9\u51FB\u9009\u62E9\u4E0A\u4F20"})]})})})]})})}},{span:24,title:"\u5E2E\u6276\u60C5\u51B5",editable:!1,render:function(c,x,R,g){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Ce.Z,{showHeader:!1,scroll:{x:"100%"},rowKey:"id",loading:!1,value:[{id:"1",date:"2020-12-12",danwei:"kgkjgk",gangwei:"dsfsfsdf"},{id:"2",date:"2020-12-12",danwei:"kgkjgk",gangwei:"dsfsfsdf"}],columns:[{dataIndex:"date"},{valueType:"option",width:200,render:function(Y,se,de,o){return[(0,e.jsx)("a",{onClick:function(){var Fe;o==null||(Fe=o.startEditable)===null||Fe===void 0||Fe.call(o,se.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"multiple",editableKeys:A,onSave:function(){var m=k()(u()().mark(function se(de,o,le){return u()().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:console.log(de,o,le);case 1:case"end":return Ze.stop()}},se)}));function Y(se,de,o){return m.apply(this,arguments)}return Y}(),onChange:V},recordCreatorProps:{position:"bottom",record:function(){return{id:(Math.random()*1e6).toFixed(0)}}}})})}}]})]})})})})})},Nt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Ut),tt=j(97088),nt=j(93162),ln={label:"name",value:"id"},Jt=function(n){var s,M,Q,p,F,L,O,A,V,I,l,f,i,U,q,r,S=n.dispatch,N=n.dictModel,ie=n.openModel,ce=n.id,me=(0,a.useState)(!1),ne=_()(me,2),D=ne[0],v=ne[1],E=(0,a.useState)(null),d=_()(E,2),t=d[0],Z=d[1];return(0,a.useEffect)(function(){v(ie.openExportModal)},[ie.openExportModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{},children:(0,e.jsx)(be.Z,{open:D,centered:!0,maskClosable:!1,destroyOnClose:!0,width:1e3,onCancel:function(){S({type:"openModel/getOpenExportModal",payload:!1})},afterOpenChange:function(){var P=k()(u()().mark(function $(B){var C;return u()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(!B){ee.next=5;break}return ee.next=3,(0,h.tsR)({customer_id:ce.customer_id,application_id:ce.id});case 3:C=ee.sent,Z(C.data);case 5:case"end":return ee.stop()}},$)}));return function($){return P.apply(this,arguments)}}(),onOk:k()(u()().mark(function P(){var $,B,C;return u()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return $=document.getElementById("export-container"),B=tt.m($==null?void 0:$.outerHTML),ee.next=4,B;case 4:C=ee.sent,(0,nt.saveAs)(C,t.seekername+"\u5C31\u4E1A\u670D\u52A1\u767B\u8BB0\u8868.docx");case 6:case"end":return ee.stop()}},P)})),children:t&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{id:"export-container",children:[(0,e.jsx)("h1",{style:{fontWeight:"bold",textAlign:"center",marginBottom:"20px"},children:"\u5C31\u4E1A\u670D\u52A1\u767B\u8BB0\u8868"}),(0,e.jsx)("table",{border:1,style:{tableLayout:"fixed",borderCollapse:"collapse",width:"100%",fontSize:"12px"},children:(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u59D3\u540D"}),(0,e.jsx)("td",{colSpan:2,children:(s=t==null?void 0:t.seekername)!==null&&s!==void 0?s:""}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u6027\u522B"}),(0,e.jsx)("td",{style:{width:"10%"},children:(M=t==null?void 0:t.gender)!==null&&M!==void 0?M:""}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u51FA\u751F\u65E5\u671F"}),(0,e.jsx)("td",{colSpan:2,children:(Q=t==null?void 0:t.dob)!==null&&Q!==void 0?Q:""}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u5A5A\u59FB\u72B6\u51B5"}),(0,e.jsx)("td",{style:{width:"10%"},children:(p=t==null?void 0:t.marital_status_txt)!==null&&p!==void 0?p:""})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u6587\u5316\u7A0B\u5EA6"}),(0,e.jsx)("td",{style:{width:"10%"},children:(F=t==null?void 0:t.education_txt)!==null&&F!==void 0?F:""}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u6BD5\u4E1A\u5B66\u6821"}),(0,e.jsx)("td",{colSpan:2,children:"\u6BD5\u4E1A\u5B66\u6821\u6BD5\u4E1A\u5B66\u6821"}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u4E13\u4E1A"}),(0,e.jsx)("td",{colSpan:2,children:"\u6BD5\u4E1A\u5B66\u6821\u6BD5\u4E1A\u5B66\u6821"}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u6C11\u65CF"}),(0,e.jsx)("td",{style:{width:"10%"},children:(L=t==null?void 0:t.ethnicity_txt)!==null&&L!==void 0?L:""})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u8054\u7CFB\u65B9\u5F0F"}),(0,e.jsx)("td",{colSpan:4,children:(O=t==null?void 0:t.mobile)!==null&&O!==void 0?O:""}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u8EAB\u4EFD\u8BC1\u53F7"}),(0,e.jsx)("td",{colSpan:4,children:(A=t==null?void 0:t.id_number)!==null&&A!==void 0?A:""})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u73B0\u5C45\u4F4F\u5730"}),(0,e.jsxs)("td",{colSpan:4,children:[(V=t==null?void 0:t.now_level1_txt)!==null&&V!==void 0?V:"",(I=t==null?void 0:t.now_level2_txt)!==null&&I!==void 0?I:"",(l=t==null?void 0:t.now_level3_txt)!==null&&l!==void 0?l:"",(f=t==null?void 0:t.now_level4_txt)!==null&&f!==void 0?f:""]}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u6237\u53E3\u6240\u5730"}),(0,e.jsxs)("td",{colSpan:4,children:[(i=t==null?void 0:t.reg_level1_txt)!==null&&i!==void 0?i:"",(U=t==null?void 0:t.reg_level2_txt)!==null&&U!==void 0?U:"",(q=t==null?void 0:t.reg_level3_txt)!==null&&q!==void 0?q:"",(r=t==null?void 0:t.reg_level4_txt)!==null&&r!==void 0?r:""]})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u4EBA\u5458\u7C7B\u522B"}),(0,e.jsxs)("td",{colSpan:9,children:[t.talent_type==1001091?"\u2611":"\u25A1","\u9000\u4F0D\u4EBA\u5458 \xA0",t.talent_type==1001092?"\u2611":"\u25A1","\u6B8B\u75BE\u4EBA \xA0",t.talent_type==1001093?"\u2611":"\u25A1","\u201C40\u300150\u201D\u4EBA\u5458 \xA0",t.talent_type==1001028?"\u2611":"\u25A1","\u5E94\u5C4A\u6BD5\u4E1A\u751F \xA0",t.talent_type==0?"\u2611":"\u25A1","\u5176\u4ED6"]})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u7535\u8111\u6C34\u5E73"}),(0,e.jsxs)("td",{colSpan:3,children:[t.talent_type==1001028?"\u2611":"\u25A1","\u719F\u6089 \xA0",t.talent_type==1001028?"\u2611":"\u25A1","\u4E00\u822C \xA0",t.talent_type==1001028?"\u2611":"\u25A1","\u4E0D\u61C2"]}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u666E\u901A\u8BDD\u6C34\u5E73"}),(0,e.jsxs)("td",{colSpan:3,children:[t.talent_type==1001028?"\u2611":"\u25A1","\u6D41\u5229 \xA0",t.talent_type==1001028?"\u2611":"\u25A1","\u4E00\u822C \xA0",t.talent_type==1001028?"\u2611":"\u25A1","\u4E0D\u61C2"]}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u5916\u8BED\u6C34\u5E73"}),(0,e.jsx)("td",{style:{width:"10%"}})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u4EA4\u901A\u5DE5\u5177"}),(0,e.jsxs)("td",{colSpan:3,children:[t.talent_type==1001098?"\u2611":"\u25A1","\u5C0F\u8F66 \xA0",t.talent_type==1001099?"\u2611":"\u25A1","\u6469\u6258\u8F66 \xA0",t.talent_type==1001100?"\u2611":"\u25A1","\u81EA\u884C\u8F66 \xA0",t.talent_type==1001101?"\u2611":"\u25A1","\u5176\u4ED6 \xA0"]}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u9A7E\u7167\u7C7B\u578B"}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"}}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u53EF\u5426\u52A0\u591C\u73ED"}),(0,e.jsxs)("td",{colSpan:3,children:[t.talent_type==1001103?"\u2611":"\u25A1","\u53EF\u4EE5 \xA0",t.talent_type==1001104?"\u2611":"\u25A1","\u4E0D\u53EF\u4EE5 \xA0",t.talent_type==1001105?"\u2611":"\u25A1","\u5076\u7136\u53EF\u4EE5"]})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{rowSpan:4,style:{width:"10%",textAlign:"center"},children:"\u5B66\u4E60\u6216\u5DE5\u4F5C\u7ECF\u5386"}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"},children:"\u8D77\u6B62\u65F6\u95F4"}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"},children:"\u5B66\u6821/\u5DE5\u4F5C\u5355\u4F4D"}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"},children:"\u804C\u52A1/\u5DE5\u4F5C\u5C97\u4F4D"})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}}),(0,e.jsx)("td",{colSpan:3,style:{width:"10%",textAlign:"center"}})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{rowSpan:2,style:{width:"10%",textAlign:"center"},children:"\u6C42\u804C\u610F\u5411"}),(0,e.jsx)("td",{rowSpan:2,style:{width:"10%",textAlign:"center"},children:"\u60F3\u4ECE\u4E8B\u804C\u4F4D"}),(0,e.jsx)("td",{colSpan:8,children:"\u5B66\u6821/\u5DE5\u4F5C\u5355\u4F4D"})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{colSpan:5,children:"\u662F\u5426\u63A5\u6536\u5176\u4ED6\u804C\u4F4D\u7684\u63A8\u8350\uFF08 \uFF09"}),(0,e.jsx)("td",{colSpan:3,children:"\u85AA\u916C\u8981\u6C42\uFF1A 20000\u5143/\u6708"})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u83B7\u4F55\u79CD\u8BC1\u4E66\u6216\u5956\u52B1"}),(0,e.jsx)("td",{colSpan:9})]}),t.intros?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{rowSpan:t.intros&&t.intros.length>5?t.intros.length+2:7,style:{width:"10%",textAlign:"center"},children:"\u4ECB\u7ECD\u5DE5\u4F5C\u60C5\u51B5"}),(0,e.jsx)("td",{colSpan:5,children:t.intros&&t.intros.length>0&&t.intros[0].content}),(0,e.jsx)("td",{rowSpan:5,colSpan:4,children:"\u76F8\u7247\u6216\u8EAB\u4EFD\u8BC1\u590D\u5370\u5904"})]}),t.intros&&t.intros.length>5?(0,e.jsxs)(e.Fragment,{children:[t.intros&&t.intros.length>5&&t.intros.slice(1,5).map(function(P,$){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:5,children:P.content})})})}),t.intros&&t.intros.length>5&&t.intros.slice(5).map(function(P,$){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9,children:P.content})})})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})})]}):(0,e.jsxs)(e.Fragment,{children:[t.intros&&t.intros.slice(1,t.intros.length).map(function(P,$){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9,children:P.content})})})}),t.intros.length<5&&(0,e.jsx)(e.Fragment,{children:Array(7-t.intros.length).fill(0).map(function(P,$){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})})})})})]})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{rowSpan:7,style:{width:"10%",textAlign:"center"},children:"\u4ECB\u7ECD\u5DE5\u4F5C\u60C5\u51B5"}),(0,e.jsx)("td",{colSpan:5}),(0,e.jsx)("td",{rowSpan:5,colSpan:4,children:"\u76F8\u7247\u6216\u8EAB\u4EFD\u8BC1\u590D\u5370\u5904"})]}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:5})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:5})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:5})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:5})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})})]}),t.assists?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{rowSpan:t.assists&&t.assists.length>4?t.assists.length+2:4,style:{width:"10%",textAlign:"center"},children:"\u5E2E\u6276\u60C5\u51B5"}),(0,e.jsx)("td",{colSpan:9,children:t.assists&&t.assists.length>0&&t.assists[0].content})]}),t.assists&&t.assists.length>0&&t.assists.slice(1).map(function(P,$){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9,children:P.content})})})}),Array(4-t.assists.length).fill(0).map(function(P,$){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})})})})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{rowSpan:4,style:{width:"10%",textAlign:"center"},children:"\u5E2E\u6276\u60C5\u51B5"}),(0,e.jsx)("td",{colSpan:9})]}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})}),(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9})})]})]})})]})})})})})},Kt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Jt),Wt=j(86492),Yt=j.n(Wt),an={label:"name",value:"id"},Ht=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useState)(!1),L=_()(F,2),O=L[0],A=L[1],V=(0,a.useState)(null),I=_()(V,2),l=I[0],f=I[1];return(0,a.useEffect)(function(){A(Q.openResumeDetailModal)},[Q.openResumeDetailModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{},children:(0,e.jsx)(be.Z,{open:O,centered:!0,okText:"\u4E0B\u8F7D\u7B80\u5386",maskClosable:!1,destroyOnClose:!0,width:1e3,onCancel:function(){s({type:"openModel/getOpenResumeDetailModal",payload:!1})},afterOpenChange:function(){var i=k()(u()().mark(function U(q){var r;return u()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(!q){N.next=5;break}return N.next=3,(0,h.tsR)({customer_id:p.customer_id,application_id:p.id});case 3:r=N.sent,f(r.data);case 5:case"end":return N.stop()}},U)}));return function(U){return i.apply(this,arguments)}}(),onOk:k()(u()().mark(function i(){var U,q,r;return u()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return U=document.getElementById("export-container"),q=tt.m(U==null?void 0:U.outerHTML),N.next=4,q;case 4:r=N.sent,(0,nt.saveAs)(r,l.seekername+"\u4E2A\u4EBA\u7B80\u5386.docx");case 6:case"end":return N.stop()}},i)})),children:l&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{id:"export-container",children:[(0,e.jsx)("h1",{style:{fontWeight:"bold",textAlign:"center",marginBottom:"20px"},children:"\u4E2A\u4EBA\u7B80\u5386"}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#4fbe70",margin:"10px 0"},children:(0,e.jsx)("h3",{children:"\u57FA\u672C\u8D44\u6599"})}),(0,e.jsx)("div",{children:(0,e.jsx)("table",{border:1,style:{borderCollapse:"collapse",textAlign:"center",width:"100%"},children:(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u59D3\xA0\u540D"}),(0,e.jsx)("td",{children:l.seekername}),(0,e.jsx)("td",{children:"\u6027\xA0\u522B"}),(0,e.jsx)("td",{children:l.gender}),(0,e.jsx)("td",{rowspan:6,style:{textAlign:"center",verticalAlign:"middle"},children:(0,e.jsx)("img",{src:_e.VO+l.photo,alt:"",width:"90",height:"150"})})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u51FA\u751F\u65E5\u671F"}),(0,e.jsx)("td",{children:l.dob}),(0,e.jsx)("td",{children:"\u804C\xA0\u79F0"}),(0,e.jsx)("td",{children:l.title_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u73B0\u5C45\u4F4F\u5730"}),(0,e.jsxs)("td",{children:[l.now_level1_txt?l.now_level1_txt:"",l.now_level2_txt?l.now_level2_txt:"",l.now_level3_txt?l.now_level3_txt:"",l.now_level4_txt?l.now_level4_txt:""]}),(0,e.jsx)("td",{children:"\u6237\u53E3\u6240\u5728\u5730"}),(0,e.jsxs)("td",{children:[l.now_level1_txt?l.now_level1_txt:"",l.now_level2_txt?l.now_level2_txt:"",l.now_level3_txt?l.now_level3_txt:"",l.now_level4_txt?l.now_level4_txt:""]})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u5B66\xA0\u5386"}),(0,e.jsx)("td",{children:l.education_txt}),(0,e.jsx)("td",{children:"\u5A5A\u59FB\u72B6\u51B5"}),(0,e.jsx)("td",{children:l.marital_status_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u6C11\xA0\u65CF"}),(0,e.jsx)("td",{children:l.ethnicity_txt}),(0,e.jsx)("td",{children:"\u653F\u6CBB\u9762\u8C8C"}),(0,e.jsx)("td",{children:l.political_status_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u4F53\xA0\u91CD"}),(0,e.jsxs)("td",{children:[l.weight,"kg"]}),(0,e.jsx)("td",{children:"\u8EAB\xA0\u9AD8"}),(0,e.jsxs)("td",{children:[l.height,"cm"]})]})]})})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#4fbe70",margin:"10px 0"},children:(0,e.jsx)("h3",{children:"\u4E2A\u4EBA\u7B80\u4ECB"})}),(0,e.jsx)("div",{children:(0,e.jsx)("table",{border:1,style:{borderCollapse:"collapse",textAlign:"center",width:"100%"},children:(0,e.jsx)("tbody",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{style:{width:"20%"},children:"\u4E2A\u4EBA\u7B80\u4ECB"}),(0,e.jsx)("td",{style:{width:"80%"},children:(0,e.jsx)("div",{dangerouslySetInnerHTML:{__html:Yt().decode(l.introduction)}})})]})})})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#4fbe70",margin:"10px 0"},children:(0,e.jsx)("h3",{children:"\u6C42\u804C\u671F\u671B"})}),(0,e.jsx)("div",{children:(0,e.jsx)("table",{border:1,style:{borderCollapse:"collapse",textAlign:"center",width:"100%"},children:(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"20%"},children:"\u6C42\u804C\u7C7B\u578B"}),(0,e.jsx)("td",{style:{width:"30%"},children:l.job_type_txt}),(0,e.jsx)("td",{style:{width:"20%"},children:"\u53EF\u5230\u804C\u65E5\u671F"}),(0,e.jsx)("td",{style:{width:"30%"},children:l.available_date_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"20%"},children:"\u4EBA\u624D\u7C7B\u578B"}),(0,e.jsx)("td",{style:{width:"30%"},children:l.talent_type_txt}),(0,e.jsx)("td",{style:{width:"20%"},children:"\u5DE5\u4F5C\u7ECF\u9A8C"}),(0,e.jsx)("td",{style:{width:"30%"},children:l.work_experience})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"20%"},children:"\u6708\u85AA\u8981\u6C42"}),(0,e.jsx)("td",{colspan:3,style:{width:"80%"},children:l.salary_range_txt})]}),l.desire_areas&&l.desire_areas.map(function(i,U){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:["\u671F\u671B\u5DE5\u4F5C\u5730\u533A",U+1]}),(0,e.jsxs)("td",{colspan:3,style:{width:"80%"},children:[i.level1_txt?i.level1_txt:"",i.level2_txt?i.level2_txt:"",i.level3_txt?i.level3_txt:"",i.level4_txt?i.level4_txt:""]})]})}),l.desire_industrys&&l.desire_industrys.map(function(i,U){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:["\u671F\u671B\u4ECE\u4E8B\u884C\u4E1A",U+1]}),(0,e.jsx)("td",{colspan:3,style:{width:"80%"},children:i.industry_txt?i.industry_txt:""})]})}),l.desire_positions&&l.desire_positions.map(function(i,U){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:["\u671F\u671B\u4ECE\u4E8B\u804C\u4F4D",U+1]}),(0,e.jsxs)("td",{colspan:3,style:{width:"80%"},children:[i.level1_txt?i.level1_txt:"",i.level2_txt?i.level2_txt:""]})]})})]})})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#4fbe70",margin:"10px 0"},children:(0,e.jsx)("h3",{children:"\u6559\u80B2\u57F9\u8BAD"})}),(0,e.jsx)("div",{children:(0,e.jsxs)("table",{border:1,style:{borderCollapse:"collapse",textAlign:"center",width:"100%"},children:[(0,e.jsxs)("thead",{children:[(0,e.jsx)("th",{style:{height:"30px",width:"20%"},children:"\u8D77\u6B62\u65F6\u95F4"}),(0,e.jsx)("th",{style:{height:"30px",width:"20%"},children:"\u5B66\u6821/\u57F9\u8BAD\u673A\u6784"}),(0,e.jsx)("th",{style:{height:"30px",width:"20%"},children:"\u4E13\u4E1A"}),(0,e.jsx)("th",{style:{height:"30px",width:"20%"},children:"\u66FE\u62C5\u4EFB\u7684\u804C\u52A1"}),(0,e.jsx)("th",{style:{height:"30px",width:"20%"},children:"\u83B7\u5F97\u8BC1\u4E66\u5956\u9879"})]}),(0,e.jsx)("tbody",{children:l.trainings&&l.trainings.map(function(i,U){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:[i.start_year,".",i.start_month,"\u81F3",i.end_year,".",i.end_month]}),(0,e.jsx)("td",{style:{width:"20%"},children:i.school_or_institution}),(0,e.jsx)("td",{style:{width:"20%"},children:i.major}),(0,e.jsx)("td",{style:{width:"20%"},children:i.positions_held}),(0,e.jsxs)("td",{style:{width:"20%"},children:[(0,e.jsx)("div",{children:i.certificate}),(0,e.jsx)("div",{children:i.awards})]})]})})})]})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#4fbe70",margin:"10px 0"},children:(0,e.jsx)("h3",{children:"\u5DE5\u4F5C\u7ECF\u5386"})}),(0,e.jsx)("div",{children:(0,e.jsxs)("table",{border:1,style:{borderCollapse:"collapse",textAlign:"center",width:"100%"},children:[(0,e.jsxs)("thead",{children:[(0,e.jsx)("th",{style:{height:"30px",width:"25%"},children:"\u8D77\u6B62\u65F6\u95F4"}),(0,e.jsx)("th",{style:{height:"30px",width:"25%"},children:"\u5355\u4F4D\u540D\u79F0"}),(0,e.jsx)("th",{style:{height:"30px",width:"25%"},children:"\u804C\u4F4D"}),(0,e.jsx)("th",{style:{height:"30px",width:"25%"},children:"\u79BB\u804C\u539F\u56E0"})]}),(0,e.jsx)("tbody",{children:l.experiences&&l.experiences.map(function(i,U){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"25%"},children:[i.start_year,".",i.start_month,"\u81F3",i.end_year,".",i.end_month]}),(0,e.jsx)("td",{style:{width:"25%"},children:i.company_name}),(0,e.jsx)("td",{style:{width:"25%"},children:i.position}),(0,e.jsx)("td",{style:{width:"25%"},children:i.reason_for_leaving})]})})})]})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#4fbe70",margin:"10px 0"},children:(0,e.jsx)("h3",{children:"\u4E13\u4E1A\u6280\u80FD\u638C\u63E1\u80FD\u529B"})}),(0,e.jsx)("div",{children:(0,e.jsx)("table",{border:1,style:{borderCollapse:"collapse",textAlign:"center",width:"100%"},children:(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"25%"},children:"\u82F1\xA0\u8BED"}),(0,e.jsx)("td",{style:{width:"25%"},children:l.english_txt}),(0,e.jsx)("td",{style:{width:"25%"},children:"\u7CA4\xA0\u8BED"}),(0,e.jsx)("td",{style:{width:"25%"},children:l.mandarin_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"25%"},children:"\u56FD\xA0\u8BED"}),(0,e.jsx)("td",{style:{width:"25%"},children:l.cantonese_txt}),(0,e.jsx)("td",{style:{width:"25%"},children:"\u7B2C\u4E8C\u5916\u8BED"}),(0,e.jsx)("td",{style:{width:"25%"},children:l.other_language_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"25%"},children:"\u8BA1\u7B97\u673A\u80FD\u529B"}),(0,e.jsx)("td",{colspan:7,style:{width:"75%"},children:l.computer_skills})]})]})})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#4fbe70",margin:"10px 0"},children:(0,e.jsx)("h3",{children:"\u8054\u7CFB\u4FE1\u606F"})}),(0,e.jsx)("div",{children:(0,e.jsx)("table",{border:1,style:{borderCollapse:"collapse",textAlign:"center",width:"100%"},children:(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"15%"},children:"\u79FB\u52A8\u7535\u8BDD"}),(0,e.jsx)("td",{style:{width:"35%"},children:l.mobile}),(0,e.jsx)("td",{style:{width:"15%"},children:"\u56FA\u5B9A\u7535\u8BDD"}),(0,e.jsx)("td",{style:{width:"35%"},children:l.landline})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"15%"},children:"\u8054\u7CFB\u90AE\u7BB1"}),(0,e.jsx)("td",{style:{width:"35%"},children:l.email}),(0,e.jsx)("td",{style:{width:"15%"},children:"Q\xA0Q"}),(0,e.jsx)("td",{style:{width:"35%"},children:l.qq})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"15%"},children:"\u901A\u8BAF\u5730\u5740"}),(0,e.jsx)("td",{style:{width:"35%"},children:l.mailing_address}),(0,e.jsx)("td",{style:{width:"15%"},children:"\u90AE\xA0\u7F16"}),(0,e.jsx)("td",{style:{width:"35%"},children:l.postal_code})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"15%"},children:"\u4E2A\u4EBA\u4E3B\u9875"}),(0,e.jsx)("td",{colspan:3,style:{width:"85%"},children:l.personal_website})]})]})})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#4fbe70",margin:"10px 0"},children:(0,e.jsx)("h3",{children:"\u8BC1\u4E66\u4FE1\u606F"})}),(0,e.jsx)("div",{children:(0,e.jsxs)("table",{border:1,style:{borderCollapse:"collapse",textAlign:"center",width:"100%"},children:[(0,e.jsxs)("thead",{children:[(0,e.jsx)("th",{style:{height:"30px",width:"25%"},children:"\u8BC1\u4E66\u540D\u79F0"}),(0,e.jsx)("th",{style:{height:"30px",width:"80%"},children:"\u8BC1\u4E66\u56FE\u7247"})]}),(0,e.jsx)("tbody",{children:l.certificates&&l.certificates.map(function(i,U){return(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{style:{width:"25%"},children:i.name}),(0,e.jsx)("td",{style:{width:"80%"},children:(0,e.jsx)("img",{src:_e.VO+i.certificate_photo,alt:"",width:"90",height:"150"})})]})})})]})})]})]})]})]})})})})})},Vt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Ht),rt=j(86738),dn={label:"name",value:"id",children:"childss"},zt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useRef)(),O=(0,a.useState)([]),A=_()(O,2),V=A[0],I=A[1],l=(0,a.useState)([]),f=_()(l,2),i=f[0],U=f[1],q=(0,a.useState)([]),r=_()(q,2),S=r[0],N=r[1],ie=(0,a.useState)(0),ce=_()(ie,2),me=ce[0],ne=ce[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ce.Z,{editableFormRef:L,actionRef:F,rowKey:"id",loading:!1,request:k()(u()().mark(function D(){var v;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,h.B9J)({customer_id:p.customer_id,sortby:"asc",sort:"id"});case 2:return v=d.sent,U(v.data.jobapplicantintros),N(v.data.jobapplicantintros),ne(v.data.total),d.abrupt("return",{data:v.data.jobapplicantintros,total:v.data.total,success:!0});case 7:case"end":return d.stop()}},D)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u4ECB\u7ECD\u60C5\u51B5",dataIndex:"content"},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(v,E,d,t){return[(0,e.jsx)("a",{onClick:k()(u()().mark(function Z(){var P;return u()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:t==null||(P=t.startEditable)===null||P===void 0||P.call(t,E.id);case 1:case"end":return B.stop()}},Z)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)(rt.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(P){(0,h.eL)({id:E.id}).then(function($){J.ZP.success("\u5220\u9664\u6210\u529F"),F.current.reload()})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)("a",{children:"\u5220\u9664"},"delete")})]}}],editable:{type:"single",editableKeys:V,onSave:function(){var D=k()(u()().mark(function E(d,t,Z){var P,$;return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(console.log(d,t,Z),t.customer_id=p.customer_id,!(d&&S.findIndex(function(w){return w.id===d})!==-1)){C.next=10;break}return C.next=5,(0,h.CS_)({id:d,customer_id:t.customer_id,content:t.content});case 5:P=C.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),C.next=15;break;case 10:return C.next=12,(0,h.UY5)({customer_id:t.customer_id,intro_content:[t.content]});case 12:$=C.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 15:case"end":return C.stop()}},E)}));function v(E,d,t){return D.apply(this,arguments)}return v}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:i.length>0?(i[i.length-1].id+1).toFixed(0):0}}}})})})},qt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(zt),Qt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useRef)(),L=(0,a.useRef)(),O=(0,a.useState)([]),A=_()(O,2),V=A[0],I=A[1],l=(0,a.useState)([]),f=_()(l,2),i=f[0],U=f[1],q=(0,a.useState)([]),r=_()(q,2),S=r[0],N=r[1],ie=(0,a.useState)(0),ce=_()(ie,2),me=ce[0],ne=ce[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ce.Z,{editableFormRef:L,actionRef:F,rowKey:"id",loading:!1,request:k()(u()().mark(function D(){var v;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,h.PQA)({customer_id:p.customer_id,sortby:"asc",sort:"id"});case 2:return v=d.sent,U(v.data.jobapplicantassists),N(v.data.jobapplicantassists),ne(v.data.total),d.abrupt("return",{data:v.data.jobapplicantassists,total:v.data.total,success:!0});case 7:case"end":return d.stop()}},D)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u5E2E\u6276\u60C5\u51B5",dataIndex:"content"},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(v,E,d,t){return[(0,e.jsx)("a",{onClick:k()(u()().mark(function Z(){var P;return u()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:t==null||(P=t.startEditable)===null||P===void 0||P.call(t,E.id);case 1:case"end":return B.stop()}},Z)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)(rt.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(P){(0,h.U8O)({id:E.id}).then(function($){J.ZP.success("\u5220\u9664\u6210\u529F"),F.current.reload()})},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",children:(0,e.jsx)("a",{children:"\u5220\u9664"},"delete")})]}}],editable:{type:"single",editableKeys:V,onSave:function(){var D=k()(u()().mark(function E(d,t,Z){var P,$;return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(console.log(d,t,Z),t.customer_id=p.customer_id,!(d&&S.findIndex(function(w){return w.id===d})!==-1)){C.next=10;break}return C.next=5,(0,h.g6D)({id:d,customer_id:t.customer_id,content:t.content});case 5:P=C.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),C.next=15;break;case 10:return C.next=12,(0,h.UY5)({customer_id:t.customer_id,assist_content:[t.content]});case 12:$=C.sent,J.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 15:case"end":return C.stop()}},E)}));function v(E,d,t){return D.apply(this,arguments)}return v}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:i.length>0?(i[i.length-1].id+1).toFixed(0):0}}}})})})},Xt=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Qt),Gt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,p=n.id,F=(0,a.useState)(!1),L=_()(F,2),O=L[0],A=L[1];return(0,a.useEffect)(function(){A(Q.openResumeHelpModal)},[Q.openResumeHelpModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(be.Z,{open:O,title:"\u5DE5\u4F5C\u5E2E\u6276\u60C5\u51B5",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){s({type:"openModel/getOpenResumeHelpModal",payload:!1})},children:(0,e.jsx)(Ne.Z,{destroyInactiveTabPane:!0,type:"card",items:[{label:"\u4ECB\u7ECD\u5DE5\u4F5C\u60C5\u51B5",key:"1",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(qt,{id:p})})},{label:"\u5E2E\u6276\u60C5\u51B5",key:"2",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Xt,{id:p})})}]})})})})},en=(0,oe.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Gt),tn=function(n){var s=n.dispatch,M=n.openModel,Q=(0,a.useState)(null),p=_()(Q,2),F=p[0],L=p[1],O=function(V){L(V)};return(0,a.useEffect)(function(){M.openModal||L(0)},[M.openModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(ue.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:[(0,e.jsx)(Ue,{getId:O}),(0,e.jsx)(Zt,{id:F}),(0,e.jsx)(Nt,{id:F}),(0,e.jsx)(Kt,{id:F}),(0,e.jsx)(Vt,{id:F}),(0,e.jsx)(en,{id:F})]})})},nn=(0,oe.connect)(function(y){var n=y.openModel;return{openModel:n}})(tn)}}]);