You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

p__Jobseeker__List__index.60267beb.async.js 105KB

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