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

p__Jobseeker__List__index.0c20f593.async.js 108KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[955],{67562:function(Ve,De,_){var Re=_(5574),j=_.n(Re),a=_(71167),ce=_.n(a),pe=_(40190),Ze=_(62435),u=_(86492),Ie=_.n(u),D=_(86074),Pe=function(ve){var de=ve.defaultValue,Ce=ve.placeholder,Fe=ve.onChange,q=(0,Ze.useState)(de&&Ie().decode(de)),Me=j()(q,2),Se=Me[0],h=Me[1],ge=function(je){h(je),Fe(je)};return(0,Ze.useEffect)(function(){if(de){var e=de.replace(/<[^>]*>/g,"");ge(e?de:"")}},[de]),(0,D.jsx)("div",{children:(0,D.jsx)(ce(),{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:ge,theme:"snow",placeholder:Ce})})};De.Z=Pe},67119:function(Ve,De,_){var Re=_(5574),j=_.n(Re),a=_(62435),ce=_(59530),pe=_(55375),Ze=_(42075),u=_(68872),Ie=_(98163),D=_(32443),Pe=_(86074),ye=function(de){var Ce=de.onUploadComplete,Fe=de.uploadTxt,q=de.image_type,Me=de.form_name,Se=de.image_length,h=de.multiple,ge=de.imageUrl,e=function(fe){fe&&Ce(fe)},je=(0,a.useState)(ge),Ne=j()(je,2),Ue=Ne[0],Te=Ne[1];return(0,a.useEffect)(function(){Te(ge)},[ge]),(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)(Ze.Z,{children:[(0,Pe.jsx)(D.Z,{label:Fe,name:Me,icon:null,title:Fe,fieldProps:{maxCount:Se,multiple:h,fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(fe){var he=new FormData;he.append("image",fe.file),console.log(he),(0,ce.request)(pe.FH+"/common/image/upload?imgtype="+q,{method:"post",data:he,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(Be){Te(Be.data.filename),e(Be.data.filename)}).catch(function(Be){console.log(Be),u.ZP.error("\u4E0A\u4F20\u5931\u8D25")})}}}),Ue&&(0,Pe.jsx)(Ie.Z,{src:"".concat(pe.VO).concat(Ue),width:102,height:102,style:{borderRadius:8}})]})})};De.Z=ye},62394:function(Ve,De,_){_.r(De),_.d(De,{default:function(){return tn}});var Re=_(5574),j=_.n(Re),a=_(62435),ce=_(59530),pe=_(28459),Ze=_(15009),u=_.n(Ze),Ie=_(99289),D=_.n(Ie),Pe=_(95338),ye=_(42075),ve=_(26412),de=_(78045),Ce=_(25278),Fe=_(14726),q=_(68872),Me=_(17788),Se=_(86250),h=_(39680),ge=_(55375),e=_(86074),je={label:"name",value:"id"},Ne=function(n){var s=n.dispatch,M=n.getId,Q=n.dictModel,c=n.openModel,F=(0,a.useState)({status:1,customer_id:0,id:0,audit_memo:""}),A=j()(F,2),$=A[0],B=A[1],H=(0,a.useRef)(),I=(0,a.useState)([]),i=j()(I,2),f=i[0],l=i[1],N=(0,a.useState)(0),z=j()(N,2),r=z[0],S=z[1],U=(0,a.useState)(1),le=j()(U,2),ue=le[0],me=le[1],ne=(0,a.useState)(10),L=j()(ne,2),v=L[0],w=L[1],d=(0,a.useState)(!1),t=j()(d,2),Z=t[0],P=t[1],O=(0,a.useState)([]),k=j()(O,2),C=k[0],E=k[1],ee=(0,a.useState)(2),V=j()(ee,2),J=V[0],K=V[1],te=(0,a.useState)(""),G=j()(te,2),X=G[0],re=G[1],xe=function(p){M(p)};(0,a.useEffect)(function(){c.openModal||H.current.reload()},[c.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:2028,type:"setIndustryPostList"}}),s({type:"dictModel/getList",payload:{code:2010,type:"setPoliticalList"}})},[]);var T=function(p){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ye.Z,{direction:"vertical",style:{width:"100%"},children:(0,e.jsxs)(ve.Z,{title:"\u57FA\u672C\u4FE1\u606F",bordered:!0,column:3,contentStyle:{fontWeight:"bold"},labelStyle:{width:180},children:[(0,e.jsx)(ve.Z.Item,{label:"\u82F1\u8BED",children:p.english_txt}),(0,e.jsx)(ve.Z.Item,{label:"\u56FD\u8BED",children:p.mandarin_txt}),(0,e.jsx)(ve.Z.Item,{label:"\u7CA4\u8BED",children:p.cantonese_txt}),(0,e.jsx)(ve.Z.Item,{label:"\u804C\u79F0",children:p.title_txt}),(0,e.jsx)(ve.Z.Item,{label:"\u653F\u6CBB\u9762\u8C8C",children:p.political_status_txt}),(0,e.jsx)(ve.Z.Item,{label:"\u6708\u85AA\u8981\u6C42\u8303\u56F4",children:p.salary_range_txt}),(0,e.jsx)(ve.Z.Item,{label:"\u5BA1\u6838\u72B6\u6001",children:(0,e.jsxs)(de.ZP.Group,{size:"small",defaultValue:p.status,onChange:function(){var x=D()(u()().mark(function R(g){var m,W;return u()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,(0,h.d5h)({customer_id:p.customer_id,id:p.id,status:g.target.value});case 2:W=ae.sent,(m=H.current)===null||m===void 0||m.reload();case 4:case"end":return ae.stop()}},R)}));return function(R){return x.apply(this,arguments)}}(),children:[(0,e.jsx)(de.ZP,{value:1,children:"\u5F85\u5BA1"}),(0,e.jsx)(de.ZP,{value:2,children:"\u901A\u8FC7"}),(0,e.jsx)(de.ZP,{value:3,children:"\u4E0D\u901A\u8FC7"})]})}),p.status==3?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ve.Z.Item,{label:"\u4E0D\u901A\u8FC7\u539F\u56E0",children:(0,e.jsx)(Ce.Z,{size:"small",placeholder:"\u8F93\u5165\u539F\u56E0,\u6309\u56DE\u8F66\u952E\u4FDD\u5B58",defaultValue:p.status_txt,onPressEnter:function(){var x=D()(u()().mark(function R(g){var m,W;return u()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,(0,h.d5h)({customer_id:p.customer_id,id:p.id,status:3,audit_memo:g.target.value});case 2:W=ae.sent,(m=H.current)===null||m===void 0||m.reload();case 4:case"end":return ae.stop()}},R)}));return function(R){return x.apply(this,arguments)}}()})})}):p.status_txt]})})})};return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70",colorLink:"#4FBE70"}},children:[(0,e.jsx)(Pe.Z,{size:"small",scroll:{y:480,x:"auto"},bordered:!0,actionRef:H,dataSource:f,search:{span:8,labelWidth:"auto"},tableAlertRender:function(p){var x=p.selectedRowKeys,R=p.selectedRows,g=p.onCleanSelected;return E(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)(Fe.ZP,{onClick:function(x){C.length===0?q.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:je,options:Q.educationList}},{title:"\u82F1\u8BED",dataIndex:"english",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:je,options:Q.degreeList}},{title:"\u56FD\u8BED",dataIndex:"mandarin",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:je,options:Q.degreeList}},{title:"\u7CA4\u8BED",dataIndex:"cantonese",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:je,options:Q.degreeList}},{title:"\u804C\u79F0",dataIndex:"title",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:je,options:Q.titleList}},{title:"\u653F\u6CBB\u9762\u8C8C",dataIndex:"political_status",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:je,options:Q.politicalList}},{title:"\u6708\u85AA\u8981\u6C42",dataIndex:"salary_range_desire",width:200,hidden:!0,valueType:"select",fieldProps:{fieldNames:je,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(p,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(p,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(p,x,R){return[(0,e.jsx)(Fe.ZP,{type:"link",onClick:function(){xe(x),s({type:"openModel/getOpenModal",payload:!0})},children:"\u7F16\u8F91"},"1"),(0,e.jsx)(Fe.ZP,{type:"link",onClick:function(){xe(x),s({type:"openModel/getOpenResumeHelpModal",payload:!0})},children:"\u5DE5\u4F5C\u5E2E\u6276\u60C5\u51B5"},"2"),(0,e.jsx)(Fe.ZP,{type:"link",onClick:function(){xe(x),s({type:"openModel/getOpenResumeDetailModal",payload:!0})},children:"\u9884\u89C8\u7B80\u5386"},"3"),(0,e.jsx)(Fe.ZP,{type:"link",onClick:function(){xe(x),s({type:"openModel/getOpenExportModal",payload:!0})},children:"\u5BFC\u51FA\u767B\u8BB0\u8868"},"4")]}}],rowKey:"id",pagination:{current:ue,pageSize:v,showSizeChanger:!0,total:r,pageSizeOptions:[9,18,27,99],onChange:function(p,x){me(p),w(x)},onShowSizeChange:function(p,x){me(p),w(x)}},request:D()(u()().mark(function b(){var p,x=arguments;return u()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return p=x.length>0&&x[0]!==void 0?x[0]:{},g.abrupt("return",(0,h.k1T)({page:ue,pagesize:v,sort:"id",sortby:"desc",keyword:p.seekername,gender:p.gender,education:p.education,english:p.english,mandarin:p.mandarin,cantonese:p.cantonese,title:p.title,political_status:p.political_status,salary_range_desire:p.salary_range_desire,status:p.status?Number(p.status):0,start_date:p.date_range?p.date_range[0]:"",end_date:p.date_range?p.date_range[1]:""}).then(function(m){l(m.data.seekers),S(m.data.total)}));case 2:case"end":return g.stop()}},b)})),toolBarRender:function(){return[(0,e.jsx)(Fe.ZP,{type:"primary",onClick:function(){q.ZP.info("\u6570\u636E\u5BFC\u51FA\u9700\u8981\u65F6\u95F4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),(0,h.C6i)().then(function(x){var R=ge.VO+x.data.excel_url;window.open(R),q.ZP.info("\u6570\u636E\u5BFC\u51FA\u5B8C\u6BD5")})},children:"\u5BFC\u51FA\u6570\u636E"})]},headerTitle:"\u7B80\u5386\u5217\u8868"}),(0,e.jsx)(Me.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:D()(u()().mark(function b(){var p;return u()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(!J){R.next=5;break}p=C.map(function(g){return(0,h.d5h)({id:g.id,customer_id:g.customer_id,status:J,audit_memo:X})}),Promise.all(p).then(function(){var g,m;P(!1),q.ZP.success("\u6279\u91CF\u64CD\u4F5C\u6210\u529F"),(g=H.current)===null||g===void 0||g.clearSelected(),(m=H.current)===null||m===void 0||m.reload()}).catch(function(g){console.error("\u6279\u91CF\u64CD\u4F5C\u5931\u8D25:",g),q.ZP.error("\u6279\u91CF\u64CD\u4F5C\u5931\u8D25")}),R.next=7;break;case 5:return q.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)(de.ZP.Group,{size:"small",value:J,onChange:function(p){K(p.target.value)},children:[(0,e.jsx)(de.ZP,{value:1,children:"\u5F85\u5BA1\u6838"}),(0,e.jsx)(de.ZP,{value:2,children:"\u5BA1\u6838\u901A\u8FC7"}),(0,e.jsx)(de.ZP,{value:3,children:"\u5BA1\u6838\u4E0D\u901A\u8FC7"})]}),J===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)(Ce.Z,{style:{width:"100%"},placeholder:"\u6B64\u5904\u4E0D\u901A\u8FC7\u539F\u56E0",onChange:function(p){re(p.target.value)}})]})]})})})]})})},Ue=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Ne),Te=_(92398),Le=_(97269),fe=_(5966),he=_(64317),Be=_(8214),ze=_(31199),we=_(71230),Y=_(15746),We=_(67119),rt=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),c=0,F=0;F<17;F++)c+=n.substring(F,F+1)*M[F];var A=c%11,$=n.substring(17);return A==2?$=="X"||$=="x"?!0:(q.ZP.error("\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"),!1):$==Q[A]?!0:(q.ZP.error("\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"),!1)}else return!0;else return q.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"),!1},st=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:(q.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"),!1)},$e={label:"name",value:"id"},Ye={label:"name",value:"id",children:"children"},it=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)(null),$=j()(A,2),B=$[0],H=$[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:2028,type:"setIndustryPostList"}}),s({type:"dictModel/getList",payload:{code:2010,type:"setPoliticalList"}})},[]);var I=(0,a.useState)(""),i=j()(I,2),f=i[0],l=i[1],N=function(r){l(r)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"},components:{Segmented:{itemSelectedBg:"#19be6e",itemSelectedColor:"#ffffff"}}},children:(0,e.jsx)(Le.A,{formRef:F,request:D()(u()().mark(function z(){var r;return u()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(!c){U.next=10;break}return U.next=3,(0,h.JAg)({customer_id:c.customer_id});case 3:return r=U.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],l(r.data.photo),H(r.data),U.abrupt("return",r.data);case 10:case"end":return U.stop()}},z)})),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 z=D()(u()().mark(function r(S){var U,le,ue,me,ne,L,v;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:for(S.photo=f||"",U=0;U<4;U++)S["reg_level".concat(U+1)]=S.reg_arr[U]||0;for(le=0;le<4;le++)S["now_level".concat(le+1)]=S.now_arr[le]||0;if(S.native_arr&&S.native_arr.length==1?q.ZP.warning("\u8BF7\u9009\u62E9\u5E02"):S.native_place=B&&B.native_place!=0?B.native_place:S.native_arr[1],ue=S.id_number.substring(6,10),me=S.id_number.substring(10,12),ne=S.id_number.substring(12,14),S.dob=ue+"-"+me+"-"+ne,S.gender=rt(S.id_number),delete S.reg_arr,delete S.now_arr,delete S.native_arr,!B){d.next=21;break}return S.id=B.id,S.customer_id=B.customer_id,d.next=17,(0,h.d5h)(S);case 17:L=d.sent,q.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,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),s({type:"openModel/getOpenModal",payload:!1});case 26:case"end":return d.stop()}},r)}));return function(r){return z.apply(this,arguments)}}(),children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(Y.Z,{span:24,style:{display:"flex"},children:(0,e.jsx)(We.Z,{multiple:!1,form_name:"photo",image_length:1,uploadTxt:"\u4E2A\u4EBA\u7167\u7247",image_type:3,imageUrl:f,onUploadComplete:N})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(fe.Z,{label:"\u59D3\u540D",name:"name",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D"})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(fe.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 U=qe(S);return typeof U=="boolean"?Promise.resolve():Promise.reject(new Error(U))}}}]})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"education",label:"\u5B66\u5386",fieldProps:{fieldNames:$e},options:M.educationList})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(Be.Z,{label:"\u6237\u53E3\u6240\u5728\u5730",name:"reg_arr",fieldProps:{fieldNames:Ye,options:M.areaList,changeOnSelect:!0},placeholder:"\u8BF7\u9009\u62E9\u6237\u53E3\u6240\u5728\u5730"})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(Be.Z,{label:"\u73B0\u5C45\u5730",name:"now_arr",fieldProps:{fieldNames:Ye,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)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"title",label:"\u804C\u79F0",fieldProps:{fieldNames:$e},options:M.titleList})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"marital_status",label:"\u5A5A\u59FB\u72B6\u51B5",fieldProps:{fieldNames:$e},options:M.maritalList})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"ethnicity",label:"\u6C11\u65CF",fieldProps:{fieldNames:$e},options:M.ethnicityList})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"political_status",label:"\u653F\u6CBB\u9762\u8C8C",fieldProps:{fieldNames:$e},options:M.politicalList})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(Be.Z,{label:"\u7C4D\u8D2F",name:"native_arr",fieldProps:{fieldNames:Ye,options:M.areaList,changeOnSelect:!0},placeholder:"\u8BF7\u9009\u62E9\u7C4D\u8D2F"})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(ze.Z,{label:"\u8EAB\u9AD8(\u5398\u7C73cm)",placeholder:"\u8BF7\u8F93\u5165\u8EAB\u9AD8(\u5398\u7C73cm)",name:"height",min:0,max:300})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(ze.Z,{label:"\u4F53\u91CD(\u5343\u514Bkg)",placeholder:"\u8BF7\u8F93\u5165\u4F53\u91CD(\u5343\u514Bkg)",name:"weight",min:0,max:300})})]})})})})},lt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(it),at=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)(null),$=j()(A,2),B=$[0],H=$[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Le.A,{formRef:F,request:D()(u()().mark(function I(){var i;return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(!c){l.next=6;break}return l.next=3,(0,h.dQ0)({customer_id:c.customer_id});case 3:return i=l.sent,H(i.data),l.abrupt("return",i.data);case 6:case"end":return l.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(i,f){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:f})]})},onReset:function(){}},onFinish:function(){var I=D()(u()().mark(function i(f){var l,N;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(console.log(f),!B){r.next=10;break}return f.id=B.id,f.customer_id=B.customer_id,r.next=6,(0,h.vnr)(f);case 6:l=r.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),r.next=14;break;case 10:return r.next=12,(0,h.aWE)(f);case 12:N=r.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F");case 14:case"end":return r.stop()}},i)}));return function(i){return I.apply(this,arguments)}}(),children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(Y.Z,{span:12,children:(0,e.jsx)(fe.Z,{label:"\u56FA\u8BDD",name:"landline",placeholder:"\u8BF7\u8F93\u5165\u56FA\u8BDD"})}),(0,e.jsx)(Y.Z,{span:12,children:(0,e.jsx)(fe.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)(Y.Z,{span:12,children:(0,e.jsx)(fe.Z,{label:"QQ",name:"qq",placeholder:"\u8BF7\u8F93\u5165QQ"})}),(0,e.jsx)(Y.Z,{span:12,children:(0,e.jsx)(fe.Z,{label:"\u4E2A\u4EBA\u7F51\u7AD9",name:"personal_website",placeholder:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7F51\u7AD9"})}),(0,e.jsx)(Y.Z,{span:12,children:(0,e.jsx)(fe.Z,{label:"\u901A\u4FE1\u5730\u5740",name:"mailing_address",placeholder:"\u8BF7\u8F93\u5165\u901A\u4FE1\u5730\u5740"})}),(0,e.jsx)(Y.Z,{span:12,children:(0,e.jsx)(fe.Z,{label:"\u90AE\u7F16",name:"postal_code",placeholder:"\u8BF7\u8F93\u5165\u90AE\u7F16"})})]})})})})},dt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(at),Ee=_(50727),ut=_(98163),ot=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)([]),$=j()(A,2),B=$[0],H=$[1],I=(0,a.useState)([]),i=j()(I,2),f=i[0],l=i[1],N=(0,a.useState)([]),z=j()(N,2),r=z[0],S=z[1],U=(0,a.useState)(0),le=j()(U,2),ue=le[0],me=le[1],ne=(0,a.useState)(""),L=j()(ne,2),v=L[0],w=L[1],d=function(Z){w(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)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ee.Z,{actionRef:F,rowKey:"id",loading:!1,request:D()(u()().mark(function t(){var Z;return u()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,(0,h.OcR)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return Z=O.sent,l(Z.data.jobapplicantcertificates),S(Z.data.jobapplicantcertificates),me(Z.data.total),O.abrupt("return",{data:Z.data.jobapplicantcertificates,total:Z.data.total,success:!0});case 7:case"end":return O.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)(ut.Z,{src:"".concat(ge.VO+P.certificate_photo),width:40,height:40,preview:!1})})},renderFormItem:function(Z,P,O){var k=O.isEditable;return k?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(We.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)(We.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,O,k){return[(0,e.jsx)("a",{onClick:function(){var E;w(P.certificate_photo),k==null||(E=k.startEditable)===null||E===void 0||E.call(k,P.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:B,onSave:function(){var t=D()(u()().mark(function P(O,k,C){var E,ee;return u()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(console.log(O,k,C),k.customer_id=c.customer_id,k.certificate_photo=v||"",delete k.index,!(O&&r.findIndex(function(K){return K.id===O})!==-1)){J.next=13;break}return k.id=O,J.next=8,(0,h.QSI)(k);case 8:E=J.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),J.next=19;break;case 13:return delete k.id,J.next=16,(0,h.jnc)(k);case 16:ee=J.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 19:case"end":return J.stop()}},P)}));function Z(P,O,k){return t.apply(this,arguments)}return Z}(),onChange:H},recordCreatorProps:{position:"bottom",record:function(){return{id:f.length>0?(f[f.length-1].id+1).toFixed(0):0}}}})})})},ct=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(ot),pt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)([]),$=j()(A,2),B=$[0],H=$[1],I=(0,a.useState)([]),i=j()(I,2),f=i[0],l=i[1],N=(0,a.useState)([]),z=j()(N,2),r=z[0],S=z[1],U=(0,a.useState)(0),le=j()(U,2),ue=le[0],me=le[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)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ee.Z,{actionRef:F,rowKey:"id",loading:!1,request:D()(u()().mark(function ne(){var L;return u()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,(0,h.pgG)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return L=w.sent,l(L.data.jobapplicantexperiences),S(L.data.jobapplicantexperiences),me(L.data.total),w.abrupt("return",{data:L.data.jobapplicantexperiences,total:L.data.total,success:!0});case 7:case"end":return w.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(L,v,w,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(L,v,w,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:B,onSave:function(){var ne=D()(u()().mark(function v(w,d,t){var Z,P,O,k;return u()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(console.log(w,d,t),d.customer_id=c.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,!(w&&r.findIndex(function(ee){return ee.id===w})!==-1)){E.next=19;break}return d.id=w,E.next=14,(0,h.lbw)(d);case 14:O=E.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),E.next=25;break;case 19:return delete d.id,E.next=22,(0,h.ah5)(d);case 22:k=E.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 25:case"end":return E.stop()}},v)}));function L(v,w,d){return ne.apply(this,arguments)}return L}(),onChange:H},recordCreatorProps:{position:"bottom",record:function(){return{id:f.length>0?(f[f.length-1].id+1).toFixed(0):0}}}})})})},ht=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(pt),xt=_(19109),Qe=_(97462),mt=_(23323),ft=_(67562),vt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)(null),$=j()(A,2),B=$[0],H=$[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Le.A,{formRef:F,request:D()(u()().mark(function I(){var i;return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(!c){l.next=6;break}return l.next=3,(0,h.E2U)({customer_id:c.customer_id});case 3:return i=l.sent,H(i.data),l.abrupt("return",i.data);case 6:case"end":return l.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(i,f){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:f})]})},onReset:function(){H(null),s({type:"openModel/getOpenModal",payload:!1})}},onFinish:function(){var I=D()(u()().mark(function i(f){var l,N;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!B){r.next=9;break}return f.id=B.id,f.customer_id=B.customer_id,r.next=5,(0,h.adD)(f);case 5:l=r.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),r.next=13;break;case 9:return r.next=11,(0,h.TEe)(f);case 11:N=r.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F");case 13:case"end":return r.stop()}},i)}));return function(i){return I.apply(this,arguments)}}(),children:(0,e.jsx)(we.Z,{gutter:[16,16],children:(0,e.jsx)(Y.Z,{span:24,children:(0,e.jsx)(mt.Z.Item,{name:"description",label:"\u4E2A\u4EBA\u7B80\u4ECB",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7B80\u4ECB"}],children:(0,e.jsx)(xt.i$,{children:function(){return(0,e.jsx)(Qe.Z,{name:["description"],children:function(f,l){var N=f.description;return(0,e.jsx)(ft.Z,{placeholder:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7B80\u4ECB",defaultValue:N,onChange:function(r){l.formRef.current.setFieldsValue({description:r})}})}})}})})})})})})})},gt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(vt),Oe={label:"name",value:"id"},yt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)(null),$=j()(A,2),B=$[0],H=$[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)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Le.A,{formRef:F,request:D()(u()().mark(function I(){var i;return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(!c){l.next=6;break}return l.next=3,(0,h.$8h)({customer_id:c.customer_id});case 3:return i=l.sent,H(i.data),l.abrupt("return",i.data);case 6:case"end":return l.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(i,f){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:f})]})},onReset:function(){}},onFinish:function(){var I=D()(u()().mark(function i(f){var l,N;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(f.computer_skills="\u7535\u8111\u6C34\u5E73"+f.computer_skills,!B){r.next=10;break}return f.id=B.id,f.customer_id=B.customer_id,r.next=6,(0,h._dG)(f);case 6:l=r.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),r.next=15;break;case 10:return f.customer_id=c.customer_id,r.next=13,(0,h.zXV)(f);case 13:N=r.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F");case 15:case"end":return r.stop()}},i)}));return function(i){return I.apply(this,arguments)}}(),children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(Y.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)(Y.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)(Y.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)(Y.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)(Y.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)(Y.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)(Qe.Z,{name:["vehicle_type"],children:function(i){var f=i.vehicle_type;return f===1001101&&(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(fe.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)(Y.Z,{span:8,children:(0,e.jsx)(fe.Z,{label:"\u9A7E\u7167\u7C7B\u578B",name:"drive_type",placeholder:"\u8BF7\u8F93\u5165\u9A7E\u7167\u7C7B\u578B"})})]})})})})},jt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(yt),_t=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)([]),$=j()(A,2),B=$[0],H=$[1],I=(0,a.useState)([]),i=j()(I,2),f=i[0],l=i[1],N=(0,a.useState)([]),z=j()(N,2),r=z[0],S=z[1],U=(0,a.useState)(0),le=j()(U,2),ue=le[0],me=le[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)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ee.Z,{actionRef:F,rowKey:"id",loading:!1,request:D()(u()().mark(function ne(){var L;return u()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,(0,h.TYf)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return L=w.sent,l(L.data.jobapplicanttrainings),S(L.data.jobapplicanttrainings),me(L.data.total),w.abrupt("return",{data:L.data.jobapplicanttrainings,total:L.data.total,success:!0});case 7:case"end":return w.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(L,v,w,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(L,v,w,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:B,onSave:function(){var ne=D()(u()().mark(function v(w,d,t){var Z,P,O,k;return u()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(console.log(w,d,t),d.customer_id=c.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,!(w&&r.findIndex(function(ee){return ee.id===w})!==-1)){E.next=19;break}return d.id=w,E.next=14,(0,h.C4Y)(d);case 14:O=E.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),E.next=25;break;case 19:return delete d.id,E.next=22,(0,h.mgk)(d);case 22:k=E.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 25:case"end":return E.stop()}},v)}));function L(v,w,d){return ne.apply(this,arguments)}return L}(),onChange:H},recordCreatorProps:{position:"bottom",record:function(){return{id:f.length>0?(f[f.length-1].id+1).toFixed(0):0}}}})})})},bt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(_t),ke={label:"name",value:"id"},Ft=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)(null),$=j()(A,2),B=$[0],H=$[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)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Le.A,{formRef:F,request:D()(u()().mark(function I(){var i;return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(!c){l.next=6;break}return l.next=3,(0,h.yr9)({customer_id:c.customer_id});case 3:return i=l.sent,H(i.data),l.abrupt("return",i.data);case 6:case"end":return l.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(i,f){return(0,e.jsxs)(Se.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(ye.Z,{children:f})]})},onReset:function(){}},onFinish:function(){var I=D()(u()().mark(function i(f){var l,N;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(console.log(f),!B){r.next=10;break}return f.id=B.id,f.customer_id=B.customer_id,r.next=6,(0,h.B9V)(f);case 6:l=r.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),r.next=15;break;case 10:return f.customer_id=c.customer_id,r.next=13,(0,h.Yur)(f);case 13:N=r.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F");case 15:case"end":return r.stop()}},i)}));return function(i){return I.apply(this,arguments)}}(),children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(Y.Z,{span:24,children:(0,e.jsx)(fe.Z,{label:"\u5176\u4ED6\u804C\u4F4D",name:"other_positions",placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u804C\u4F4D"})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"job_type",label:"\u6C42\u804C\u7C7B\u578B",fieldProps:{fieldNames:ke,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)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"talent_type",label:"\u4EBA\u624D\u7C7B\u578B",fieldProps:{fieldNames:ke,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)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"work_experience",label:"\u5DE5\u4F5C\u7ECF\u9A8C",fieldProps:{fieldNames:ke,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)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"salary_range",label:"\u6708\u85AA\u8981\u6C42\u8303\u56F4",fieldProps:{fieldNames:ke,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)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"available_date",label:"\u53EF\u5230\u804C\u65E5\u671F",fieldProps:{fieldNames:ke,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)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"title_requirement",label:"\u804C\u79F0\u8981\u6C42",fieldProps:{fieldNames:ke,placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0\u8981\u6C42"},options:M.titleList})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"skill_certification",label:"\u6280\u80FD\u8BA4\u8BC1",fieldProps:{fieldNames:ke,placeholder:"\u8BF7\u9009\u62E9\u6280\u80FD\u8BA4\u8BC1"},options:M.skillCertificationeList})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"accommodation_requirement",label:"\u98DF\u5BBF\u8981\u6C42",fieldProps:{fieldNames:ke,placeholder:"\u8BF7\u9009\u62E9\u98DF\u5BBF\u8981\u6C42"},options:M.accommodationRequirementList})}),(0,e.jsx)(Y.Z,{span:8,children:(0,e.jsx)(he.Z,{name:"holiday_rest",label:"\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5",fieldProps:{fieldNames:ke,placeholder:"\u8BF7\u9009\u62E9\u8282\u5047\u65E5\u4F11\u606F\u60C5\u51B5"},options:M.holidayRestList})})]})})})})},Mt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Ft),rn={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,c=n.id,F=(0,a.useRef)(),A=(0,a.useRef)(),$=(0,a.useState)([]),B=j()($,2),H=B[0],I=B[1],i=(0,a.useState)([]),f=j()(i,2),l=f[0],N=f[1],z=(0,a.useState)([]),r=j()(z,2),S=r[0],U=r[1],le=(0,a.useState)(0),ue=j()(le,2),me=ue[0],ne=ue[1];(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]);var L=(0,a.useState)([]),v=j()(L,2),w=v[0],d=v[1],t=(0,a.useState)([]),Z=j()(t,2),P=Z[0],O=Z[1],k=(0,a.useState)([]),C=j()(k,2),E=C[0],ee=C[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ee.Z,{editableFormRef:A,actionRef:F,rowKey:"id",loading:!1,request:D()(u()().mark(function V(){var J;return u()().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return te.next=2,(0,h.Ihr)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return J=te.sent,N(J.data.jobapplicantareas),U(J.data.jobapplicantareas),ne(J.data.total),te.abrupt("return",{data:J.data.jobapplicantareas,total:J.data.total,success:!0});case 7:case"end":return te.stop()}},V)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u7701\u7EA7",dataIndex:"level1",render:function(J,K){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:K.level1_txt})})},valueType:"select",fieldProps:function(J,K){return{placeholder:"\u8BF7\u9009\u62E9\u7701\u7EA7",options:M.areaList,fieldNames:Je,onChange:function(){var te=D()(u()().mark(function X(re,xe){var T,b,p,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=A.current)===null||T===void 0||(b=T.setRowData)===null||b===void 0||b.call(T,K.entity.id,{level2:0}),(p=A.current)===null||p===void 0||(x=p.setRowData)===null||x===void 0||x.call(p,K.entity.id,{level3:0}),(R=A.current)===null||R===void 0||(g=R.setRowData)===null||g===void 0||g.call(R,K.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(J,K){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:K.level2_txt})})},valueType:"select",fieldProps:function(J,K){return{placeholder:"\u8BF7\u9009\u62E9\u5E02\u7EA7",options:w,fieldNames:Je,onChange:function(){var te=D()(u()().mark(function X(re,xe){var T,b,p,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,O(R.data.dicts),(T=A.current)===null||T===void 0||(b=T.setRowData)===null||b===void 0||b.call(T,K.entity.id,{level3:0}),(p=A.current)===null||p===void 0||(x=p.setRowData)===null||x===void 0||x.call(p,K.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(J,K){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:K.level3_txt})})},valueType:"select",fieldProps:function(J,K){return{placeholder:"\u8BF7\u9009\u62E9\u4E61\u9547",options:P,fieldNames:Je,onChange:function(){var te=D()(u()().mark(function X(re,xe){var T,b,p;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:p=R.sent,ee(p.data.dicts),(T=A.current)===null||T===void 0||(b=T.setRowData)===null||b===void 0||b.call(T,K.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(J,K){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:K.level4_txt})})},valueType:"select",fieldProps:{placeholder:"\u8BF7\u9009\u62E9\u793E\u533A",options:E,fieldNames:Je}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(J,K,te,G){return[(0,e.jsx)("a",{onClick:D()(u()().mark(function X(){var re,xe,T,b;return u()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(!K.level1){x.next=5;break}return x.next=3,(0,h.dBj)({id:K.level1});case 3:xe=x.sent,d(xe.data.childs);case 5:if(!K.level2){x.next=10;break}return x.next=8,(0,h.dBj)({id:K.level2});case 8:T=x.sent,O(T.data.childs);case 10:if(!K.level3){x.next=15;break}return x.next=13,(0,h.dBj)({id:K.level3});case 13:b=x.sent,ee(b.data.childs);case 15:G==null||(re=G.startEditable)===null||re===void 0||re.call(G,K.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:H,onSave:function(){var V=D()(u()().mark(function K(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=c.customer_id,delete G.index,!(te&&S.findIndex(function(p){return p.id===te})!==-1)){b.next=12;break}return G.id=te,b.next=7,(0,h.oUC)(G);case 7:re=b.sent,q.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,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 18:case"end":return b.stop()}},K)}));function J(K,te,G){return V.apply(this,arguments)}return J}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:l.length>0?(l[l.length-1].id+1).toFixed(0):0}}}})})})},Et=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(wt),Ct={label:"name",value:"id",children:"childss"},St=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useRef)(),$=(0,a.useState)([]),B=j()($,2),H=B[0],I=B[1],i=(0,a.useState)([]),f=j()(i,2),l=f[0],N=f[1],z=(0,a.useState)([]),r=j()(z,2),S=r[0],U=r[1],le=(0,a.useState)(0),ue=j()(le,2),me=ue[0],ne=ue[1];return(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ee.Z,{editableFormRef:A,actionRef:F,rowKey:"id",loading:!1,request:D()(u()().mark(function L(){var v;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,h.Tw7)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return v=d.sent,N(v.data.jobapplicantindustrys),U(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()}},L)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u884C\u4E1A",dataIndex:"industry",render:function(v,w){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:w.industry_txt})})},valueType:"select",fieldProps:function(v,w){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A",options:M.industryPostList,fieldNames:Ct}}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(v,w,d,t){return[(0,e.jsx)("a",{onClick:D()(u()().mark(function Z(){var P;return u()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(!(me>3)){k.next=3;break}return q.ZP.error("\u6700\u591A\u6DFB\u52A03\u6761\u610F\u5411\u884C\u4E1A"),k.abrupt("return",!1);case 3:t==null||(P=t.startEditable)===null||P===void 0||P.call(t,w.post_id);case 4:case"end":return k.stop()}},Z)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:H,onSave:function(){var L=D()(u()().mark(function w(d,t,Z){var P,O;return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(console.log(d,t,Z),t.customer_id=c.customer_id,!(d&&S.findIndex(function(E){return E.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,q.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:O=C.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 16:case"end":return C.stop()}},w)}));function v(w,d,t){return L.apply(this,arguments)}return v}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:l.length>0?(l[l.length-1].id+1).toFixed(0):0}}}})})})},Pt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(St),kt=_(97857),oe=_.n(kt),He={label:"name",value:"id",children:"childss"},Bt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useRef)(),$=(0,a.useState)([]),B=j()($,2),H=B[0],I=B[1],i=(0,a.useState)([]),f=j()(i,2),l=f[0],N=f[1],z=(0,a.useState)([]),r=j()(z,2),S=r[0],U=r[1],le=(0,a.useState)(0),ue=j()(le,2),me=ue[0],ne=ue[1];(0,a.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]);var L=(0,a.useState)([]),v=j()(L,2),w=v[0],d=v[1],t=(0,a.useState)([]),Z=j()(t,2),P=Z[0],O=Z[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ee.Z,{editableFormRef:A,actionRef:F,rowKey:"id",loading:!1,request:D()(u()().mark(function k(){var C,E;return u()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,(0,h.cvX)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return C=V.sent,V.next=5,Promise.all(C.data.jobapplicantpositions.filter(function(J){return J.level1!==0}).map(function(){var J=D()(u()().mark(function K(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",oe()(oe()({},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()}},K)}));return function(K,te){return J.apply(this,arguments)}}()));case 5:return E=V.sent,N(E),U(E),ne(C.data.total),V.abrupt("return",{data:E,total:C.data.total,success:!0});case 10:case"end":return V.stop()}},k)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u884C\u4E1A\u5927\u7C7B",dataIndex:"industry",render:function(C,E){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:E.industry_txt})})},valueType:"select",fieldProps:function(C,E){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A\u5927\u7C7B",options:M.industryPostList,fieldNames:He,onChange:function(){var ee=D()(u()().mark(function J(K,te){var G,X,re,xe,T;return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,(0,h.UW$)({code:te.code});case 2:T=p.sent,d(T.data.dicts),(G=A.current)===null||G===void 0||(X=G.setRowData)===null||X===void 0||X.call(G,E.entity.id,{level1:0}),(re=A.current)===null||re===void 0||(xe=re.setRowData)===null||xe===void 0||xe.call(re,E.entity.id,{level2:0});case 6:case"end":return p.stop()}},J)}));function V(J,K){return ee.apply(this,arguments)}return V}()}}},{title:"\u884C\u4E1A\u4E8C\u7C7B",dataIndex:"level1",render:function(C,E){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:E.level1_txt})})},valueType:"select",fieldProps:function(C,E){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A\u4E8C\u7C7B",options:w,fieldNames:He,onChange:function(){var ee=D()(u()().mark(function J(K,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,O(re.data.dicts),(G=A.current)===null||G===void 0||(X=G.setRowData)===null||X===void 0||X.call(G,E.entity.id,{level2:0});case 5:case"end":return T.stop()}},J)}));function V(J,K){return ee.apply(this,arguments)}return V}()}}},{title:"\u804C\u4F4D",dataIndex:"level2",render:function(C,E){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:E.level2_txt})})},valueType:"select",fieldProps:function(C,E){return{placeholder:"\u8BF7\u9009\u62E9\u804C\u4F4D",options:P,fieldNames:He}}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(C,E,ee,V){return[(0,e.jsx)("a",{onClick:D()(u()().mark(function J(){var K,te,G,X,re;return u()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(console.log(E),!E.level1){T.next=9;break}return T.next=4,(0,h.dBj)({id:E.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(!E.level2){T.next=17;break}return T.next=12,(0,h.dBj)({id:E.level2});case 12:return X=T.sent,T.next=15,(0,h.dBj)({id:X.data.parent_id});case 15:re=T.sent,O(re.data.childs);case 17:V==null||(K=V.startEditable)===null||K===void 0||K.call(V,E.id);case 18:case"end":return T.stop()}},J)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:H,onSave:function(){var k=D()(u()().mark(function E(ee,V,J){var K,te;return u()().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(console.log(ee,V,J),V.customer_id=c.customer_id,!(ee&&S.findIndex(function(re){return re.id===ee})!==-1)){X.next=11;break}return V.id=ee,X.next=6,(0,h.VrM)({id:V.id,customer_id:V.customer_id,level1:V.level1,level2:V.level2});case 6:K=X.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload(),X.next=16;break;case 11:return X.next=13,(0,h.Efk)({customer_id:V.customer_id,level1:V.level1,level2:V.level2});case 13:te=X.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 16:case"end":return X.stop()}},E)}));function C(E,ee,V){return k.apply(this,arguments)}return C}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:l.length>0?(l[l.length-1].id+1).toFixed(0):0}}}})})})},At=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Bt),Lt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useState)(!1),A=j()(F,2),$=A[0],B=A[1];return(0,a.useEffect)(function(){B(Q.openModal)},[Q.openModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Me.Z,{open:$,title:c?"\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)(Te.Z,{destroyInactiveTabPane:!0,type:"card",items:[{label:"\u57FA\u672C\u4FE1\u606F",key:"1",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(lt,{id:c})})},{label:"\u8054\u7CFB\u4FE1\u606F",key:"2",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(dt,{id:c})})},{label:"\u4E2A\u4EBA\u7B80\u4ECB",key:"3",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(gt,{id:c})})},{label:"\u4E13\u4E1A\u6280\u80FD\u638C\u63E1\u7A0B\u5EA6",key:"4",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(jt,{id:c})})},{label:"\u57F9\u8BAD\u7ECF\u5386",key:"5",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(bt,{id:c})})},{label:"\u5DE5\u4F5C\u7ECF\u5386",key:"6",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ht,{id:c})})},{label:"\u8BC1\u4E66",key:"7",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ct,{id:c})})},{label:"\u57FA\u672C\u610F\u5411",key:"8",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Mt,{id:c})})},{label:"\u610F\u5411\u5730\u533A",key:"9",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Et,{id:c})})},{label:"\u610F\u5411\u884C\u4E1A",key:"10",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Pt,{id:c})})},{label:"\u610F\u5411\u804C\u4F4D",key:"11",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(At,{id:c})})}]})})})})},Dt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Lt),Zt=_(64082),Rt=_(36441),It=_(84567),Tt=_(2058),$t=_(27484),Xe=_.n($t),Ke={label:"name",value:"id"},Ge={label:"name",value:"id",children:"children"},Ot=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useState)([]),$=j()(A,2),B=$[0],H=$[1],I=(0,a.useState)(!1),i=j()(I,2),f=i[0],l=i[1],N=(0,a.useState)(null),z=j()(N,2),r=z[0],S=z[1],U=(0,a.useState)(!1),le=j()(U,2),ue=le[0],me=le[1];(0,a.useEffect)(function(){l(Q.openRegisterModal)},[Q.openRegisterModal]);var ne=(0,a.useState)(""),L=j()(ne,2),v=L[0],w=L[1],d=function(p){w(p)},t=(0,a.useState)(!1),Z=j()(t,2),P=Z[0],O=Z[1],k=(0,a.useState)(""),C=j()(k,2),E=C[0],ee=C[1],V=function(p){ee(p)},J=(0,a.useState)(""),K=j()(J,2),te=K[0],G=K[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=j()(X,2),xe=re[0],T=re[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{},children:(0,e.jsx)(Me.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=D()(u()().mark(function p(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:c.customer_id,application_id:c.id});case 3:R=m.sent,S(R.data);case 5:case"end":return m.stop()}},p)}));return function(p){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)(Rt.vY,{labelStyle:{width:"120px"},bordered:!0,actionRef:F,column:24,request:D()(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=D()(u()().mark(function x(R,g){var m,W,se;return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:T(R),console.log(R),console.log(g,Xe()(g.dob).format("YYYY-MM-DD")),m=null,W=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:c.customer_id,application_id:c.id});case 13:return W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{seekername:W.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:c.customer_id,application_id:c.id});case 21:return W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{gender:W.data.gender})}),o.abrupt("break",108);case 24:return o.next=26,(0,h.d5h)({id:r.id,customer_id:r.customer_id,dob:Xe()(g.dob).format("YYYY-MM-DD")});case 26:return m=o.sent,o.next=29,(0,h.tsR)({customer_id:c.customer_id,application_id:c.id});case 29:return W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{dob:W.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:c.customer_id,application_id:c.id});case 37:return W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{marital_status_txt:W.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:c.customer_id,application_id:c.id});case 45:return W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{education_txt:W.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:c.customer_id,application_id:c.id});case 53:return W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{ethnicity_txt:W.data.ethnicity_txt})}),o.abrupt("break",108);case 56:if(!st(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:c.customer_id,application_id:c.id});case 65:W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{mobile:W.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:c.customer_id,application_id:c.id});case 77:W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{id_number:W.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:c.customer_id,application_id:c.id});case 88:return W=o.sent,console.log(W.data),S(function(ie){return oe()(oe()({},ie),{},{now_level1_txt:"111",now_level2_txt:W.data.now_level2_txt,now_level3_txt:W.data.now_level3_txt,now_level4_txt:W.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:c.customer_id,application_id:c.id});case 97:return W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{reg_level1_txt:W.data.reg_level1_txt,reg_level2_txt:W.data.reg_level2_txt,reg_level3_txt:W.data.reg_level3_txt,reg_level4_txt:W.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:c.customer_id,application_id:c.id});case 105:return W=o.sent,S(function(ie){return oe()(oe()({},ie),{},{talent_type_txt:W.data.talent_type_txt})}),o.abrupt("break",108);case 108:case"end":return o.stop()}},x)}));function p(x,R){return b.apply(this,arguments)}return p}()},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(p,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(p,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:Ge},request:function(){return M.areaList},render:function(p,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:Ge},request:function(){return M.areaList},render:function(p,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(p,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)(de.ZP,{value:m.id,checked:x.talent_type==m.id,onChange:function(){var W=D()(u()().mark(function se(ae){var o,ie,_e;return u()().wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(!ae.target.checked){be.next=14;break}return be.next=3,(0,h.yr9)({id:r.id,customer_id:r.customer_id});case 3:if(o=be.sent,o.code!=404){be.next=14;break}return be.next=7,(0,h.B9V)({id:o.data.id,customer_id:r.customer_id,talent_type:ae.target.value});case 7:return ie=be.sent,be.next=10,(0,h.tsR)({customer_id:c.customer_id,application_id:c.id});case 10:_e=be.sent,S(function(nn){return oe()(oe()({},nn),{},{talent_type_txt:_e.data.talent_type_txt})}),be.next=14;break;case 14:case"end":return be.stop()}},se)}));return function(se){return W.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(p,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)(de.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(p,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)(de.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(p,x){return M.degreeList}},{span:10,title:"\u4EA4\u901A\u5DE5\u5177",key:"talent_type",dataIndex:"talent_type_txt",editable:!1,render:function(p,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)(de.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(p,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)(de.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(p,x){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Ee.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,W,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:B,onSave:function(){var R=D()(u()().mark(function m(W,se,ae){return u()().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:console.log(W,se,ae);case 1:case"end":return ie.stop()}},m)}));function g(m,W,se){return R.apply(this,arguments)}return g}(),onChange:H},recordCreatorProps:{position:"bottom",record:function(){return{id:(Math.random()*1e6).toFixed(0)}}}})})}},{span:24,title:"\u6C42\u804C\u610F\u5411",editable:!1,render:function(p,x,R,g){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(Y.Z,{span:4,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:"\u60F3\u4ECE\u4E8B\u804C\u4F4D"}),(0,e.jsxs)(Y.Z,{span:20,children:[(0,e.jsxs)(we.Z,{gutter:[16,16],style:{padding:"8px"},children:[(0,e.jsxs)(Y.Z,{span:8,style:{display:"flex",alignItems:"center",justifyContent:"flex-start"},children:[(0,e.jsx)("div",{children:"1\u3001"})," ",(0,e.jsx)(Ce.Z,{style:{width:"80%"}})]}),(0,e.jsxs)(Y.Z,{span:8,style:{display:"flex",alignItems:"center",justifyContent:"flex-start"},children:[(0,e.jsx)("div",{children:"2\u3001"}),(0,e.jsx)(Ce.Z,{style:{width:"80%"}})]}),(0,e.jsxs)(Y.Z,{span:8,style:{display:"flex",alignItems:"center",justifyContent:"flex-start"},children:[(0,e.jsx)("div",{children:"3\u3001"}),(0,e.jsx)(Ce.Z,{style:{width:"80%"}})]})]}),(0,e.jsxs)(we.Z,{gutter:[16,16],style:{padding:"8px"},children:[(0,e.jsxs)(Y.Z,{span:14,children:["4\u3001\u662F\u5426\u63A5\u6536\u5176\u4ED6\u804C\u4F4D\u7684\u63A8\u8350\uFF08",(0,e.jsx)(It.Z,{}),"\uFF09 "]}),(0,e.jsxs)(Y.Z,{span:10,style:{display:"flex",alignItems:"center",justifyContent:"flex-start"},children:["\u85AA\u916C\u8981\u6C42\uFF1A",(0,e.jsx)(Ce.Z,{style:{width:"40%"}})," \u5143/\u6708"]})]})]})]})})}},{span:24,title:"\u4ECB\u7ECD\u5DE5\u4F5C\u60C5\u51B5",editable:!1,render:function(p,x,R,g){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(we.Z,{gutter:[16,16],children:[(0,e.jsx)(Y.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)(Ee.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(W,se,ae,o){return[(0,e.jsx)("a",{onClick:function(){var _e;o==null||(_e=o.startEditable)===null||_e===void 0||_e.call(o,se.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"multiple",editableKeys:B,onSave:function(){var m=D()(u()().mark(function se(ae,o,ie){return u()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:console.log(ae,o,ie);case 1:case"end":return Ae.stop()}},se)}));function W(se,ae,o){return m.apply(this,arguments)}return W}(),onChange:H},recordCreatorProps:{position:"bottom",record:function(){return{id:(Math.random()*1e6).toFixed(0)}}}})})}),(0,e.jsx)(Y.Z,{span:10,children:(0,e.jsx)(we.Z,{gutter:[16,16],style:{padding:"8px"},children:(0,e.jsxs)(Tt.Z.Dragger,{name:"file",customRequest:function(W){var se=new FormData;se.append("image",W.file),console.log(se),(0,ce.request)(ge.FH+"/common/image/upload?imgtype=3",{method:"post",data:se,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(ae){}).catch(function(ae){console.log(ae),q.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)(Zt.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(p,x,R,g){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Ee.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(W,se,ae,o){return[(0,e.jsx)("a",{onClick:function(){var _e;o==null||(_e=o.startEditable)===null||_e===void 0||_e.call(o,se.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"multiple",editableKeys:B,onSave:function(){var m=D()(u()().mark(function se(ae,o,ie){return u()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:console.log(ae,o,ie);case 1:case"end":return Ae.stop()}},se)}));function W(se,ae,o){return m.apply(this,arguments)}return W}(),onChange:H},recordCreatorProps:{position:"bottom",record:function(){return{id:(Math.random()*1e6).toFixed(0)}}}})})}}]})]})})})})})},Nt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Ot),et=_(97088),tt=_(93162),sn={label:"name",value:"id"},Ut=function(n){var s,M,Q,c,F,A,$,B,H,I,i,f,l,N,z,r,S=n.dispatch,U=n.dictModel,le=n.openModel,ue=n.id,me=(0,a.useState)(!1),ne=j()(me,2),L=ne[0],v=ne[1],w=(0,a.useState)(null),d=j()(w,2),t=d[0],Z=d[1];return(0,a.useEffect)(function(){v(le.openExportModal)},[le.openExportModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{},children:(0,e.jsx)(Me.Z,{open:L,centered:!0,maskClosable:!1,destroyOnClose:!0,width:1e3,onCancel:function(){S({type:"openModel/getOpenExportModal",payload:!1})},afterOpenChange:function(){var P=D()(u()().mark(function O(k){var C;return u()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(!k){ee.next=5;break}return ee.next=3,(0,h.tsR)({customer_id:ue.customer_id,application_id:ue.id});case 3:C=ee.sent,Z(C.data);case 5:case"end":return ee.stop()}},O)}));return function(O){return P.apply(this,arguments)}}(),onOk:D()(u()().mark(function P(){var O,k,C;return u()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return O=document.getElementById("export-container"),k=et.m(O==null?void 0:O.outerHTML),ee.next=4,k;case 4:C=ee.sent,(0,tt.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:(c=t==null?void 0:t.marital_status_txt)!==null&&c!==void 0?c:""})]}),(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:(A=t==null?void 0:t.ethnicity_txt)!==null&&A!==void 0?A:""})]}),(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:($=t==null?void 0:t.mobile)!==null&&$!==void 0?$:""}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u8EAB\u4EFD\u8BC1\u53F7"}),(0,e.jsx)("td",{colSpan:4,children:(B=t==null?void 0:t.id_number)!==null&&B!==void 0?B:""})]}),(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:[(H=t==null?void 0:t.now_level1_txt)!==null&&H!==void 0?H:"",(I=t==null?void 0:t.now_level2_txt)!==null&&I!==void 0?I:"",(i=t==null?void 0:t.now_level3_txt)!==null&&i!==void 0?i:"",(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:[(l=t==null?void 0:t.reg_level1_txt)!==null&&l!==void 0?l:"",(N=t==null?void 0:t.reg_level2_txt)!==null&&N!==void 0?N:"",(z=t==null?void 0:t.reg_level3_txt)!==null&&z!==void 0?z:"",(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,O){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,O){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,O){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,O){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,O){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,O){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})})]})]})})]})})})})})},Jt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Ut),Kt=_(86492),Wt=_.n(Kt),ln={label:"name",value:"id"},Yt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useState)(!1),A=j()(F,2),$=A[0],B=A[1],H=(0,a.useState)(null),I=j()(H,2),i=I[0],f=I[1];return(0,a.useEffect)(function(){B(Q.openResumeDetailModal)},[Q.openResumeDetailModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{},children:(0,e.jsx)(Me.Z,{open:$,centered:!0,okText:"\u4E0B\u8F7D\u7B80\u5386",maskClosable:!1,destroyOnClose:!0,width:1e3,onCancel:function(){s({type:"openModel/getOpenResumeDetailModal",payload:!1})},afterOpenChange:function(){var l=D()(u()().mark(function N(z){var r;return u()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(!z){U.next=5;break}return U.next=3,(0,h.tsR)({customer_id:c.customer_id,application_id:c.id});case 3:r=U.sent,f(r.data);case 5:case"end":return U.stop()}},N)}));return function(N){return l.apply(this,arguments)}}(),onOk:D()(u()().mark(function l(){var N,z,r;return u()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return N=document.getElementById("export-container"),z=et.m(N==null?void 0:N.outerHTML),U.next=4,z;case 4:r=U.sent,(0,tt.saveAs)(r,i.seekername+"\u4E2A\u4EBA\u7B80\u5386.docx");case 6:case"end":return U.stop()}},l)})),children:i&&(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:i.seekername}),(0,e.jsx)("td",{children:"\u6027\xA0\u522B"}),(0,e.jsx)("td",{children:i.gender}),(0,e.jsx)("td",{rowspan:6,style:{textAlign:"center",verticalAlign:"middle"},children:(0,e.jsx)("img",{src:ge.VO+i.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:i.dob}),(0,e.jsx)("td",{children:"\u804C\xA0\u79F0"}),(0,e.jsx)("td",{children:i.title_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u73B0\u5C45\u4F4F\u5730"}),(0,e.jsxs)("td",{children:[i.now_level1_txt?i.now_level1_txt:"",i.now_level2_txt?i.now_level2_txt:"",i.now_level3_txt?i.now_level3_txt:"",i.now_level4_txt?i.now_level4_txt:""]}),(0,e.jsx)("td",{children:"\u6237\u53E3\u6240\u5728\u5730"}),(0,e.jsxs)("td",{children:[i.now_level1_txt?i.now_level1_txt:"",i.now_level2_txt?i.now_level2_txt:"",i.now_level3_txt?i.now_level3_txt:"",i.now_level4_txt?i.now_level4_txt:""]})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u5B66\xA0\u5386"}),(0,e.jsx)("td",{children:i.education_txt}),(0,e.jsx)("td",{children:"\u5A5A\u59FB\u72B6\u51B5"}),(0,e.jsx)("td",{children:i.marital_status_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u6C11\xA0\u65CF"}),(0,e.jsx)("td",{children:i.ethnicity_txt}),(0,e.jsx)("td",{children:"\u653F\u6CBB\u9762\u8C8C"}),(0,e.jsx)("td",{children:i.political_status_txt})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{children:"\u4F53\xA0\u91CD"}),(0,e.jsxs)("td",{children:[i.weight,"kg"]}),(0,e.jsx)("td",{children:"\u8EAB\xA0\u9AD8"}),(0,e.jsxs)("td",{children:[i.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:Wt().decode(i.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:i.job_type_txt}),(0,e.jsx)("td",{style:{width:"20%"},children:"\u53EF\u5230\u804C\u65E5\u671F"}),(0,e.jsx)("td",{style:{width:"30%"},children:i.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:i.talent_type_txt}),(0,e.jsx)("td",{style:{width:"20%"},children:"\u5DE5\u4F5C\u7ECF\u9A8C"}),(0,e.jsx)("td",{style:{width:"30%"},children:i.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:i.salary_range_txt})]}),i.desire_areas&&i.desire_areas.map(function(l,N){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:["\u671F\u671B\u5DE5\u4F5C\u5730\u533A",N+1]}),(0,e.jsxs)("td",{colspan:3,style:{width:"80%"},children:[l.level1_txt?l.level1_txt:"",l.level2_txt?l.level2_txt:"",l.level3_txt?l.level3_txt:"",l.level4_txt?l.level4_txt:""]})]})}),i.desire_industrys&&i.desire_industrys.map(function(l,N){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:["\u671F\u671B\u4ECE\u4E8B\u884C\u4E1A",N+1]}),(0,e.jsx)("td",{colspan:3,style:{width:"80%"},children:l.industry_txt?l.industry_txt:""})]})}),i.desire_positions&&i.desire_positions.map(function(l,N){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:["\u671F\u671B\u4ECE\u4E8B\u804C\u4F4D",N+1]}),(0,e.jsxs)("td",{colspan:3,style:{width:"80%"},children:[l.level1_txt?l.level1_txt:"",l.level2_txt?l.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:i.trainings&&i.trainings.map(function(l,N){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:[l.start_year,".",l.start_month,"\u81F3",l.end_year,".",l.end_month]}),(0,e.jsx)("td",{style:{width:"20%"},children:l.school_or_institution}),(0,e.jsx)("td",{style:{width:"20%"},children:l.major}),(0,e.jsx)("td",{style:{width:"20%"},children:l.positions_held}),(0,e.jsxs)("td",{style:{width:"20%"},children:[(0,e.jsx)("div",{children:l.certificate}),(0,e.jsx)("div",{children:l.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:i.experiences&&i.experiences.map(function(l,N){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"25%"},children:[l.start_year,".",l.start_month,"\u81F3",l.end_year,".",l.end_month]}),(0,e.jsx)("td",{style:{width:"25%"},children:l.company_name}),(0,e.jsx)("td",{style:{width:"25%"},children:l.position}),(0,e.jsx)("td",{style:{width:"25%"},children:l.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:i.english_txt}),(0,e.jsx)("td",{style:{width:"25%"},children:"\u7CA4\xA0\u8BED"}),(0,e.jsx)("td",{style:{width:"25%"},children:i.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:i.cantonese_txt}),(0,e.jsx)("td",{style:{width:"25%"},children:"\u7B2C\u4E8C\u5916\u8BED"}),(0,e.jsx)("td",{style:{width:"25%"},children:i.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:i.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:i.mobile}),(0,e.jsx)("td",{style:{width:"15%"},children:"\u56FA\u5B9A\u7535\u8BDD"}),(0,e.jsx)("td",{style:{width:"35%"},children:i.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:i.email}),(0,e.jsx)("td",{style:{width:"15%"},children:"Q\xA0Q"}),(0,e.jsx)("td",{style:{width:"35%"},children:i.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:i.mailing_address}),(0,e.jsx)("td",{style:{width:"15%"},children:"\u90AE\xA0\u7F16"}),(0,e.jsx)("td",{style:{width:"35%"},children:i.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:i.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:i.certificates&&i.certificates.map(function(l,N){return(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{style:{width:"25%"},children:l.name}),(0,e.jsx)("td",{style:{width:"80%"},children:(0,e.jsx)("img",{src:ge.VO+l.certificate_photo,alt:"",width:"90",height:"150"})})]})})})]})})]})]})]})]})})})})})},Ht=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Yt),nt=_(86738),an={label:"name",value:"id",children:"childss"},Vt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useRef)(),$=(0,a.useState)([]),B=j()($,2),H=B[0],I=B[1],i=(0,a.useState)([]),f=j()(i,2),l=f[0],N=f[1],z=(0,a.useState)([]),r=j()(z,2),S=r[0],U=r[1],le=(0,a.useState)(0),ue=j()(le,2),me=ue[0],ne=ue[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ee.Z,{editableFormRef:A,actionRef:F,rowKey:"id",loading:!1,request:D()(u()().mark(function L(){var v;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,h.B9J)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return v=d.sent,N(v.data.jobapplicantintros),U(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()}},L)})),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,w,d,t){return[(0,e.jsx)("a",{onClick:D()(u()().mark(function Z(){var P;return u()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:t==null||(P=t.startEditable)===null||P===void 0||P.call(t,w.id);case 1:case"end":return k.stop()}},Z)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)(nt.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(P){(0,h.eL)({id:w.id}).then(function(O){q.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:H,onSave:function(){var L=D()(u()().mark(function w(d,t,Z){var P,O;return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(console.log(d,t,Z),t.customer_id=c.customer_id,!(d&&S.findIndex(function(E){return E.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,q.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:O=C.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 15:case"end":return C.stop()}},w)}));function v(w,d,t){return L.apply(this,arguments)}return v}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:l.length>0?(l[l.length-1].id+1).toFixed(0):0}}}})})})},zt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Vt),qt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useRef)(),A=(0,a.useRef)(),$=(0,a.useState)([]),B=j()($,2),H=B[0],I=B[1],i=(0,a.useState)([]),f=j()(i,2),l=f[0],N=f[1],z=(0,a.useState)([]),r=j()(z,2),S=r[0],U=r[1],le=(0,a.useState)(0),ue=j()(le,2),me=ue[0],ne=ue[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Ee.Z,{editableFormRef:A,actionRef:F,rowKey:"id",loading:!1,request:D()(u()().mark(function L(){var v;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,h.PQA)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return v=d.sent,N(v.data.jobapplicantassists),U(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()}},L)})),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,w,d,t){return[(0,e.jsx)("a",{onClick:D()(u()().mark(function Z(){var P;return u()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:t==null||(P=t.startEditable)===null||P===void 0||P.call(t,w.id);case 1:case"end":return k.stop()}},Z)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)(nt.Z,{title:"\u662F\u5426\u5220\u9664",onConfirm:function(P){(0,h.U8O)({id:w.id}).then(function(O){q.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:H,onSave:function(){var L=D()(u()().mark(function w(d,t,Z){var P,O;return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(console.log(d,t,Z),t.customer_id=c.customer_id,!(d&&S.findIndex(function(E){return E.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,q.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:O=C.sent,q.ZP.success("\u63D0\u4EA4\u6210\u529F"),F.current.reload();case 15:case"end":return C.stop()}},w)}));function v(w,d,t){return L.apply(this,arguments)}return v}(),onChange:I},recordCreatorProps:{position:"bottom",record:function(){return{id:l.length>0?(l[l.length-1].id+1).toFixed(0):0}}}})})})},Qt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(qt),Xt=function(n){var s=n.dispatch,M=n.dictModel,Q=n.openModel,c=n.id,F=(0,a.useState)(!1),A=j()(F,2),$=A[0],B=A[1];return(0,a.useEffect)(function(){B(Q.openResumeHelpModal)},[Q.openResumeHelpModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(Me.Z,{open:$,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)(Te.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)(zt,{id:c})})},{label:"\u5E2E\u6276\u60C5\u51B5",key:"2",children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Qt,{id:c})})}]})})})})},Gt=(0,ce.connect)(function(y){var n=y.dictModel,s=y.openModel;return{dictModel:n,openModel:s}})(Xt),en=function(n){var s=n.dispatch,M=n.openModel,Q=(0,a.useState)(null),c=j()(Q,2),F=c[0],A=c[1],$=function(H){A(H)};return(0,a.useEffect)(function(){M.openModal||A(0)},[M.openModal]),(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(pe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:[(0,e.jsx)(Ue,{getId:$}),(0,e.jsx)(Dt,{id:F}),(0,e.jsx)(Nt,{id:F}),(0,e.jsx)(Jt,{id:F}),(0,e.jsx)(Ht,{id:F}),(0,e.jsx)(Gt,{id:F})]})})},tn=(0,ce.connect)(function(y){var n=y.openModel;return{openModel:n}})(en)}}]);