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