1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[955],{67562:function(He,Pe,F){var Ae=F(5574),j=F.n(Ae),d=F(71167),ue=F.n(d),oe=F(40190),Be=F(62435),u=F(86074),be=function(Se){var we=Se.defaultValue,Fe=Se.placeholder,Me=Se.onChange,Q=(0,Be.useState)(we),p=j()(Q,2),me=p[0],e=p[1],fe=function(Ne){e(Ne),Me(Ne)};return(0,Be.useEffect)(function(){if(we){var Ce=we.replace(/<[^>]*>/g,"");fe(Ce?we:"")}},[we]),(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:Fe})})};Pe.Z=be},67119:function(He,Pe,F){var Ae=F(59530),j=F(55375),d=F(68872),ue=F(32443),oe=F(86074),Be=function(be){var R=be.onUploadComplete,Se=be.uploadTxt,we=be.image_type,Fe=be.form_name,Me=be.image_length,Q=be.multiple,p=function(e){R&&R(e)};return(0,oe.jsx)(oe.Fragment,{children:(0,oe.jsx)(ue.Z,{label:Se,name:Fe,icon:null,title:Se,fieldProps:{maxCount:Me,multiple:Q,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="+we,{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,F){F.r(Pe),F.d(Pe,{default:function(){return en}});var Ae=F(5574),j=F.n(Ae),d=F(62435),ue=F(59530),oe=F(28459),Be=F(15009),u=F.n(Be),be=F(99289),R=F.n(be),Se=F(67211),we=F(34041),Fe=F(25278),Me=F(14726),Q=F(68872),p=F(39680),me=F(55375),e=F(86074),fe={label:"name",value:"id"},Ce=function(n){var s=n.dispatch,_=n.getId,q=n.dictModel,c=n.openModel,b=(0,d.useState)({status:1,customer_id:0,id:0,audit_memo:""}),k=j()(b,2),I=k[0],S=k[1],V=(0,d.useRef)(),A=(0,d.useState)([]),i=j()(A,2),h=i[0],a=i[1],T=(0,d.useState)(0),J=j()(T,2),r=J[0],C=J[1],U=(0,d.useState)(1),se=j()(U,2),le=se[0],pe=se[1],ee=(0,d.useState)(10),L=j()(ee,2),x=L[0],M=L[1],l=function(f){_(f)};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(f,v){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(we.Z,{style:{width:100},size:"small",defaultValue:v.status_txt,options:[{label:"\u5F85\u5BA1",value:1},{label:"\u901A\u8FC7",value:2},{label:"\u4E0D\u901A\u8FC7",value:3}],onChange:function(){var Z=R()(u()().mark(function y(P){var w;return u()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,(0,p.d5h)({customer_id:v.customer_id,id:v.id,status:P});case 2:w=D.sent,V.current.reload();case 4:case"end":return D.stop()}},y)}));return function(y){return Z.apply(this,arguments)}}()})})}},{title:"\u5BA1\u6838\u539F\u56E0",dataIndex:"audit_memo",width:200,search:!1,render:function(f,v){return(0,e.jsx)(e.Fragment,{children:v.status==3?(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Fe.Z,{size:"small",placeholder:"\u8F93\u5165\u539F\u56E0,\u6309\u56DE\u8F66\u952E\u4FDD\u5B58",onPressEnter:function(){var Z=R()(u()().mark(function y(P){var w;return u()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,(0,p.d5h)({customer_id:v.customer_id,id:v.id,status:3,audit_memo:P.target.value});case 2:w=D.sent,V.current.reload();case 4:case"end":return D.stop()}},y)}));return function(y){return Z.apply(this,arguments)}}()})}):v.status_txt})}},{title:"\u7B80\u5386\u662F\u5426\u53EF\u89C1",dataIndex:"hide_resume",width:120,search:!1,render:function(f,v){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:v.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(f,v){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:v.house_keeping_status==1?"\u53EF\u89C1":"\u4E0D\u53EF\u89C1"})})}},{title:"\u64CD\u4F5C",width:400,key:"option",valueType:"option",fixed:"right",render:function(f,v,Z){return[(0,e.jsx)(Me.ZP,{type:"link",onClick:function(){l(v),s({type:"openModel/getOpenModal",payload:!0})},children:"\u7F16\u8F91"},"1"),(0,e.jsx)(Me.ZP,{type:"link",onClick:function(){l(v),s({type:"openModel/getOpenResumeHelpModal",payload:!0})},children:"\u5DE5\u4F5C\u5E2E\u6276\u60C5\u51B5"},"2"),(0,e.jsx)(Me.ZP,{type:"link",onClick:function(){l(v),s({type:"openModel/getOpenResumeDetailModal",payload:!0})},children:"\u9884\u89C8\u7B80\u5386"},"3"),(0,e.jsx)(Me.ZP,{type:"link",onClick:function(){l(v),s({type:"openModel/getOpenExportModal",payload:!0})},children:"\u5BFC\u51FA\u767B\u8BB0\u8868"},"4")]}}],rowKey:"id",pagination:{current:le,pageSize:x,showSizeChanger:!0,total:r,pageSizeOptions:[9,18,27,99],onChange:function(f,v){pe(f),M(v)},onShowSizeChange:function(f,v){pe(f),M(v)}},request:R()(u()().mark(function t(){var f,v=arguments;return u()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return f=v.length>0&&v[0]!==void 0?v[0]:{},y.abrupt("return",(0,p.k1T)({page:le,pagesize:x,sort:"id",sortby:"desc",keyword:f.seekername,gender:f.gender,education:f.education,english:f.english,mandarin:f.mandarin,cantonese:f.cantonese,title:f.title,political_status:f.political_status,salary_range_desire:f.salary_range_desire,status:f.status?Number(f.status):0}).then(function(P){a(P.data.seekers),C(P.data.total)}));case 2:case"end":return y.stop()}},t)})),toolBarRender:function(){return[(0,e.jsx)(Me.ZP,{type:"primary",onClick:function(){Q.ZP.info("\u6570\u636E\u5BFC\u51FA\u9700\u8981\u65F6\u95F4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),(0,p.C6i)().then(function(v){var Z=me.VO+v.data.excel_url;window.open(Z),Q.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=F(17788),qe=F(92398),De=F(97269),je=F(5966),ce=F(64317),Ve=F(8214),ze=F(31199),Re=F(86250),Ie=F(42075),ve=F(71230),O=F(15746),Le=F(98163),Ue=F(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,b=0;b<17;b++)c+=n.substring(b,b+1)*_[b];var k=c%11,I=n.substring(17);return k==2?I=="X"||I=="x"?!0:(Q.ZP.error("\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"),!1):I==q[k]?!0:(Q.ZP.error("\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"),!1)}else return!0;else return Q.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"),!1},st=function(n){var s=/^(\+)?(0|86|17951)?1(3\d|4[579]|5\d|6\d|7\d|8\d|9\d)\d{8}$/;return s.test(n)?!0:(Q.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"),!1)},Te={label:"name",value:"id"},We={label:"name",value:"id",children:"children"},it=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useState)(null),I=j()(k,2),S=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],a=i[1],T=function(r){a(r)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(oe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(De.A,{formRef:b,request:R()(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],a(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,C){return(0,e.jsxs)(Re.Z,{justify:"flex-end",children:[" ",(0,e.jsx)(Ie.Z,{children:C})]})},onReset:function(){s({type:"openModel/getOpenModal",payload:!1})}},onFinish:function(){var J=R()(u()().mark(function r(C){var U,se,le,pe,ee,L,x;return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:for(C.photo=h||"",U=0;U<4;U++)C["reg_level".concat(U+1)]=C.reg_arr[U]||0;for(se=0;se<4;se++)C["now_level".concat(se+1)]=C.now_arr[se]||0;if(C.native_arr&&C.native_arr.length==1?Q.ZP.warning("\u8BF7\u9009\u62E9\u5E02"):C.native_place=S&&S.native_place!=0?S.native_place:C.native_arr[1],le=C.id_number.substring(6,10),pe=C.id_number.substring(10,12),ee=C.id_number.substring(12,14),C.dob=le+"-"+pe+"-"+ee,C.gender=rt(C.id_number),delete C.reg_arr,delete C.now_arr,delete C.native_arr,!S){l.next=21;break}return C.id=S.id,C.customer_id=S.customer_id,l.next=17,(0,p.d5h)(C);case 17:L=l.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),l.next=26;break;case 21:return l.next=23,(0,p.dwg)(C);case 23:x=l.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),s({type:"openModel/getOpenModal",payload:!1});case 26:case"end":return l.stop()}},r)}));return function(r){return J.apply(this,arguments)}}(),children:(0,e.jsxs)(ve.Z,{gutter:[16,16],children:[S?(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(S==null?void 0:S.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,C){var U=Qe(C);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:We,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:We,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:We,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})})]})})})})},at=(0,ue.connect)(function(m){var n=m.dictModel,s=m.openModel;return{dictModel:n,openModel:s}})(it),lt=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useState)(null),I=j()(k,2),S=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:b,request:R()(u()().mark(function A(){var i;return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!c){a.next=6;break}return a.next=3,(0,p.dQ0)({customer_id:c.customer_id});case 3:return i=a.sent,V(i.data),a.abrupt("return",i.data);case 6:case"end":return a.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=R()(u()().mark(function i(h){var a,T;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(console.log(h),!S){r.next=10;break}return h.id=S.id,h.customer_id=S.customer_id,r.next=6,(0,p.vnr)(h);case 6:a=r.sent,Q.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,Q.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}})(lt),_e=F(50727),ut=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useState)([]),I=j()(k,2),S=I[0],V=I[1],A=(0,d.useState)([]),i=j()(A,2),h=i[0],a=i[1],T=(0,d.useState)([]),J=j()(T,2),r=J[0],C=J[1],U=(0,d.useState)(0),se=j()(U,2),le=se[0],pe=se[1],ee=(0,d.useState)(""),L=j()(ee,2),x=L[0],M=L[1],l=function(f){M(f)};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:b,rowKey:"id",loading:!1,request:R()(u()().mark(function t(){var f;return u()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.next=2,(0,p.OcR)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return f=Z.sent,a(f.data.jobapplicantcertificates),C(f.data.jobapplicantcertificates),pe(f.data.total),Z.abrupt("return",{data:f.data.jobapplicantcertificates,total:f.data.total,success:!0});case 7:case"end":return Z.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(f,v){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Le.Z,{src:"".concat(me.VO+v.certificate_photo),width:40,height:40,preview:!1})})},renderFormItem:function(f,v,Z){var y=Z.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:l}),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(v==null?void 0:v.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:l}),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(f,v,Z,y){return[(0,e.jsx)("a",{onClick:function(){var w;y==null||(w=y.startEditable)===null||w===void 0||w.call(y,v.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:S,onSave:function(){var t=R()(u()().mark(function v(Z,y,P){var w,X;return u()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(console.log(Z,y,P),y.customer_id=c.customer_id,y.certificate_photo=x||"",delete y.index,!(Z&&r.findIndex(function(K){return K.id===Z})!==-1)){H.next=13;break}return y.id=Z,H.next=8,(0,p.QSI)(y);case 8:w=H.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload(),H.next=19;break;case 13:return delete y.id,H.next=16,(0,p.jnc)(y);case 16:X=H.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload();case 19:case"end":return H.stop()}},v)}));function f(v,Z,y){return t.apply(this,arguments)}return f}(),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,b=(0,d.useRef)(),k=(0,d.useState)([]),I=j()(k,2),S=I[0],V=I[1],A=(0,d.useState)([]),i=j()(A,2),h=i[0],a=i[1],T=(0,d.useState)([]),J=j()(T,2),r=J[0],C=J[1],U=(0,d.useState)(0),se=j()(U,2),le=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:b,rowKey:"id",loading:!1,request:R()(u()().mark(function ee(){var L;return u()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,(0,p.pgG)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return L=M.sent,a(L.data.jobapplicantexperiences),C(L.data.jobapplicantexperiences),pe(L.data.total),M.abrupt("return",{data:L.data.jobapplicantexperiences,total:L.data.total,success:!0});case 7:case"end":return M.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(L,x,M,l){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(L,x,M,l){return[(0,e.jsx)("a",{onClick:function(){var f;x.date=["".concat(x.start_year,"-").concat(x.start_month),"".concat(x.end_year,"-").concat(x.end_month)],l==null||(f=l.startEditable)===null||f===void 0||f.call(l,x.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:S,onSave:function(){var ee=R()(u()().mark(function x(M,l,t){var f,v,Z,y;return u()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(console.log(M,l,t),l.customer_id=c.customer_id,f=l.date[0].split("-"),v=l.date[1].split("-"),l.start_year=parseInt(f[0],10),l.start_month=parseInt(f[1],10),l.end_year=parseInt(v[0],10),l.end_month=parseInt(v[1],10),delete l.date,delete l.index,!(M&&r.findIndex(function(X){return X.id===M})!==-1)){w.next=19;break}return l.id=M,w.next=14,(0,p.lbw)(l);case 14:Z=w.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload(),w.next=25;break;case 19:return delete l.id,w.next=22,(0,p.ah5)(l);case 22:y=w.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload();case 25:case"end":return w.stop()}},x)}));function L(x,M,l){return ee.apply(this,arguments)}return L}(),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=F(19109),Xe=F(97462),xt=F(23323),mt=F(67562),ft=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useState)(null),I=j()(k,2),S=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:b,request:R()(u()().mark(function A(){var i;return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!c){a.next=6;break}return a.next=3,(0,p.E2U)({customer_id:c.customer_id});case 3:return i=a.sent,V(i.data),a.abrupt("return",i.data);case 6:case"end":return a.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=R()(u()().mark(function i(h){var a,T;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!S){r.next=9;break}return h.id=S.id,h.customer_id=S.customer_id,r.next=5,(0,p.adD)(h);case 5:a=r.sent,Q.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,Q.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,a){var T=h.description;return(0,e.jsx)(mt.Z,{placeholder:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7B80\u4ECB",defaultValue:T,onChange:function(r){a.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,b=(0,d.useRef)(),k=(0,d.useState)(null),I=j()(k,2),S=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:b,request:R()(u()().mark(function A(){var i;return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!c){a.next=6;break}return a.next=3,(0,p.$8h)({customer_id:c.customer_id});case 3:return i=a.sent,V(i.data),a.abrupt("return",i.data);case 6:case"end":return a.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=R()(u()().mark(function i(h){var a,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,!S){r.next=10;break}return h.id=S.id,h.customer_id=S.customer_id,r.next=6,(0,p._dG)(h);case 6:a=r.sent,Q.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,Q.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,b=(0,d.useRef)(),k=(0,d.useState)([]),I=j()(k,2),S=I[0],V=I[1],A=(0,d.useState)([]),i=j()(A,2),h=i[0],a=i[1],T=(0,d.useState)([]),J=j()(T,2),r=J[0],C=J[1],U=(0,d.useState)(0),se=j()(U,2),le=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:b,rowKey:"id",loading:!1,request:R()(u()().mark(function ee(){var L;return u()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,(0,p.TYf)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return L=M.sent,a(L.data.jobapplicanttrainings),C(L.data.jobapplicanttrainings),pe(L.data.total),M.abrupt("return",{data:L.data.jobapplicanttrainings,total:L.data.total,success:!0});case 7:case"end":return M.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(L,x,M,l){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(L,x,M,l){return[(0,e.jsx)("a",{onClick:function(){var f;x.date=["".concat(x.start_year,"-").concat(x.start_month),"".concat(x.end_year,"-").concat(x.end_month)],l==null||(f=l.startEditable)===null||f===void 0||f.call(l,x.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:S,onSave:function(){var ee=R()(u()().mark(function x(M,l,t){var f,v,Z,y;return u()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(console.log(M,l,t),l.customer_id=c.customer_id,f=l.date[0].split("-"),v=l.date[1].split("-"),l.start_year=parseInt(f[0],10),l.start_month=parseInt(f[1],10),l.end_year=parseInt(v[0],10),l.end_month=parseInt(v[1],10),delete l.date,delete l.index,!(M&&r.findIndex(function(X){return X.id===M})!==-1)){w.next=19;break}return l.id=M,w.next=14,(0,p.C4Y)(l);case 14:Z=w.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload(),w.next=25;break;case 19:return delete l.id,w.next=22,(0,p.mgk)(l);case 22:y=w.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload();case 25:case"end":return w.stop()}},x)}));function L(x,M,l){return ee.apply(this,arguments)}return L}(),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,b=(0,d.useRef)(),k=(0,d.useState)(null),I=j()(k,2),S=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:b,request:R()(u()().mark(function A(){var i;return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!c){a.next=6;break}return a.next=3,(0,p.yr9)({customer_id:c.customer_id});case 3:return i=a.sent,V(i.data),a.abrupt("return",i.data);case 6:case"end":return a.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=R()(u()().mark(function i(h){var a,T;return u()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(console.log(h),!S){r.next=10;break}return h.id=S.id,h.customer_id=S.customer_id,r.next=6,(0,p.B9V)(h);case 6:a=r.sent,Q.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,Q.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})})]})})})})},wt=(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"},Ft=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useRef)(),I=(0,d.useState)([]),S=j()(I,2),V=S[0],A=S[1],i=(0,d.useState)([]),h=j()(i,2),a=h[0],T=h[1],J=(0,d.useState)([]),r=j()(J,2),C=r[0],U=r[1],se=(0,d.useState)(0),le=j()(se,2),pe=le[0],ee=le[1];(0,d.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]);var L=(0,d.useState)([]),x=j()(L,2),M=x[0],l=x[1],t=(0,d.useState)([]),f=j()(t,2),v=f[0],Z=f[1],y=(0,d.useState)([]),P=j()(y,2),w=P[0],X=P[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(oe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(_e.Z,{editableFormRef:k,actionRef:b,rowKey:"id",loading:!1,request:R()(u()().mark(function D(){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()}},D)})),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=R()(u()().mark(function z(ie,he){var N,$,W,E,G,B,g;return u()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,(0,p.UW$)({code:he.code});case 2:g=ae.sent,l(g.data.dicts),(N=k.current)===null||N===void 0||($=N.setRowData)===null||$===void 0||$.call(N,K.entity.id,{level2:0}),(W=k.current)===null||W===void 0||(E=W.setRowData)===null||E===void 0||E.call(W,K.entity.id,{level3:0}),(G=k.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 ae.stop()}},z)}));function te(z,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:M,fieldNames:Je,onChange:function(){var re=R()(u()().mark(function z(ie,he){var N,$,W,E,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,Z(G.data.dicts),(N=k.current)===null||N===void 0||($=N.setRowData)===null||$===void 0||$.call(N,K.entity.id,{level3:0}),(W=k.current)===null||W===void 0||(E=W.setRowData)===null||E===void 0||E.call(W,K.entity.id,{level4:0});case 6:case"end":return g.stop()}},z)}));function te(z,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:v,fieldNames:Je,onChange:function(){var re=R()(u()().mark(function z(ie,he){var N,$,W;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:W=G.sent,X(W.data.dicts),(N=k.current)===null||N===void 0||($=N.setRowData)===null||$===void 0||$.call(N,K.entity.id,{level4:0});case 5:case"end":return G.stop()}},z)}));function te(z,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:R()(u()().mark(function z(){var ie,he,N,$;return u()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(!K.level1){E.next=5;break}return E.next=3,(0,p.dBj)({id:K.level1});case 3:he=E.sent,l(he.data.childs);case 5:if(!K.level2){E.next=10;break}return E.next=8,(0,p.dBj)({id:K.level2});case 8:N=E.sent,Z(N.data.childs);case 10:if(!K.level3){E.next=15;break}return E.next=13,(0,p.dBj)({id:K.level3});case 13:$=E.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 E.stop()}},z)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:V,onSave:function(){var D=R()(u()().mark(function K(re,te,z){var ie,he;return u()().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(console.log(re,te,z),te.customer_id=c.customer_id,delete te.index,!(re&&C.findIndex(function(W){return W.id===re})!==-1)){$.next=12;break}return te.id=re,$.next=7,(0,p.oUC)(te);case 7:ie=$.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload(),$.next=18;break;case 12:return delete te.id,$.next=15,(0,p.zPM)(te);case 15:he=$.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload();case 18:case"end":return $.stop()}},K)}));function H(K,re,te){return D.apply(this,arguments)}return H}(),onChange:A},recordCreatorProps:{position:"bottom",record:function(){return{id:a.length>0?(a[a.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}})(Ft),Et={label:"name",value:"id",children:"childss"},St=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useRef)(),I=(0,d.useState)([]),S=j()(I,2),V=S[0],A=S[1],i=(0,d.useState)([]),h=j()(i,2),a=h[0],T=h[1],J=(0,d.useState)([]),r=j()(J,2),C=r[0],U=r[1],se=(0,d.useState)(0),le=j()(se,2),pe=le[0],ee=le[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:k,actionRef:b,rowKey:"id",loading:!1,request:R()(u()().mark(function L(){var x;return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,p.Tw7)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return x=l.sent,T(x.data.jobapplicantindustrys),U(x.data.jobapplicantindustrys),ee(x.data.total),l.abrupt("return",{data:x.data.jobapplicantindustrys,total:x.data.total,success:!0});case 7:case"end":return l.stop()}},L)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u884C\u4E1A",dataIndex:"industry",render:function(x,M){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:M.industry_txt})})},valueType:"select",fieldProps:function(x,M){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A",options:_.industryPostList,fieldNames:Et}}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(x,M,l,t){return[(0,e.jsx)("a",{onClick:R()(u()().mark(function f(){var v;return u()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(!(pe>3)){y.next=3;break}return Q.ZP.error("\u6700\u591A\u6DFB\u52A03\u6761\u610F\u5411\u884C\u4E1A"),y.abrupt("return",!1);case 3:t==null||(v=t.startEditable)===null||v===void 0||v.call(t,M.post_id);case 4:case"end":return y.stop()}},f)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:V,onSave:function(){var L=R()(u()().mark(function M(l,t,f){var v,Z;return u()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(console.log(l,t,f),t.customer_id=c.customer_id,!(l&&C.findIndex(function(w){return w.id===l})!==-1)){P.next=11;break}return t.id=l,P.next=6,(0,p.g2b)({id:t.id,customer_id:t.customer_id,industry:t.industry});case 6:v=P.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload(),P.next=16;break;case 11:return P.next=13,(0,p.IBU)({customer_id:t.customer_id,industry:t.industry});case 13:Z=P.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload();case 16:case"end":return P.stop()}},M)}));function x(M,l,t){return L.apply(this,arguments)}return x}(),onChange:A},recordCreatorProps:{position:"bottom",record:function(){return{id:a.length>0?(a[a.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=F(97857),de=F.n(kt),Ye={label:"name",value:"id",children:"childss"},Lt=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useRef)(),I=(0,d.useState)([]),S=j()(I,2),V=S[0],A=S[1],i=(0,d.useState)([]),h=j()(i,2),a=h[0],T=h[1],J=(0,d.useState)([]),r=j()(J,2),C=r[0],U=r[1],se=(0,d.useState)(0),le=j()(se,2),pe=le[0],ee=le[1];(0,d.useEffect)(function(){s({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}})},[]);var L=(0,d.useState)([]),x=j()(L,2),M=x[0],l=x[1],t=(0,d.useState)([]),f=j()(t,2),v=f[0],Z=f[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(oe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(_e.Z,{editableFormRef:k,actionRef:b,rowKey:"id",loading:!1,request:R()(u()().mark(function y(){var P,w;return u()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,(0,p.cvX)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return P=D.sent,D.next=5,Promise.all(P.data.jobapplicantpositions.filter(function(H){return H.level1!==0}).map(function(){var H=R()(u()().mark(function K(re,te){var z,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 z=N.sent,N.next=5,(0,p.dBj)({id:z.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=D.sent,T(w),U(w),ee(P.data.total),D.abrupt("return",{data:w,total:P.data.total,success:!0});case 10:case"end":return D.stop()}},y)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u884C\u4E1A\u5927\u7C7B",dataIndex:"industry",render:function(P,w){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:w.industry_txt})})},valueType:"select",fieldProps:function(P,w){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A\u5927\u7C7B",options:_.industryPostList,fieldNames:Ye,onChange:function(){var X=R()(u()().mark(function H(K,re){var te,z,ie,he,N;return u()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,(0,p.UW$)({code:re.code});case 2:N=W.sent,l(N.data.dicts),(te=k.current)===null||te===void 0||(z=te.setRowData)===null||z===void 0||z.call(te,w.entity.id,{level1:0}),(ie=k.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 W.stop()}},H)}));function D(H,K){return X.apply(this,arguments)}return D}()}}},{title:"\u884C\u4E1A\u4E8C\u7C7B",dataIndex:"level1",render:function(P,w){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:w.level1_txt})})},valueType:"select",fieldProps:function(P,w){return{placeholder:"\u8BF7\u9009\u62E9\u884C\u4E1A\u4E8C\u7C7B",options:M,fieldNames:Ye,onChange:function(){var X=R()(u()().mark(function H(K,re){var te,z,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,Z(ie.data.dicts),(te=k.current)===null||te===void 0||(z=te.setRowData)===null||z===void 0||z.call(te,w.entity.id,{level2:0});case 5:case"end":return N.stop()}},H)}));function D(H,K){return X.apply(this,arguments)}return D}()}}},{title:"\u804C\u4F4D",dataIndex:"level2",render:function(P,w){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("span",{children:w.level2_txt})})},valueType:"select",fieldProps:function(P,w){return{placeholder:"\u8BF7\u9009\u62E9\u804C\u4F4D",options:v,fieldNames:Ye}}},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(P,w,X,D){return[(0,e.jsx)("a",{onClick:R()(u()().mark(function H(){var K,re,te,z,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,l(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 z=N.sent,N.next=15,(0,p.dBj)({id:z.data.parent_id});case 15:ie=N.sent,Z(ie.data.childs);case 17:D==null||(K=D.startEditable)===null||K===void 0||K.call(D,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=R()(u()().mark(function w(X,D,H){var K,re;return u()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(console.log(X,D,H),D.customer_id=c.customer_id,!(X&&C.findIndex(function(ie){return ie.id===X})!==-1)){z.next=11;break}return D.id=X,z.next=6,(0,p.VrM)({id:D.id,customer_id:D.customer_id,level1:D.level1,level2:D.level2});case 6:K=z.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload(),z.next=16;break;case 11:return z.next=13,(0,p.Efk)({customer_id:D.customer_id,level1:D.level1,level2:D.level2});case 13:re=z.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload();case 16:case"end":return z.stop()}},w)}));function P(w,X,D){return y.apply(this,arguments)}return P}(),onChange:A},recordCreatorProps:{position:"bottom",record:function(){return{id:a.length>0?(a[a.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,b=(0,d.useState)(!1),k=j()(b,2),I=k[0],S=k[1];return(0,d.useEffect)(function(){S(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)(at,{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)(wt,{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=F(64082),Dt=F(35351),Oe=F(78045),Rt=F(84567),It=F(2058),Tt=F(27484),Ge=F.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,b=(0,d.useRef)(),k=(0,d.useState)([]),I=j()(k,2),S=I[0],V=I[1],A=(0,d.useState)(!1),i=j()(A,2),h=i[0],a=i[1],T=(0,d.useState)(null),J=j()(T,2),r=J[0],C=J[1],U=(0,d.useState)(!1),se=j()(U,2),le=se[0],pe=se[1];(0,d.useEffect)(function(){a(q.openRegisterModal)},[q.openRegisterModal]);var ee=(0,d.useState)(""),L=j()(ee,2),x=L[0],M=L[1],l=function(W){M(W)},t=(0,d.useState)(!1),f=j()(t,2),v=f[0],Z=f[1],y=(0,d.useState)(""),P=j()(y,2),w=P[0],X=P[1],D=function(W){X(W)},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 z=(0,d.useState)(""),ie=j()(z,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 $=R()(u()().mark(function W(E){var G;return u()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(!E){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,C(G.data);case 5:case"end":return g.stop()}},W)}));return function(W){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:b,column:24,request:R()(u()().mark(function $(){return u()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return console.log(r),E.abrupt("return",Promise.resolve({success:!0,data:r}));case 2:case"end":return E.stop()}},$)})),editable:{onSave:function(){var $=R()(u()().mark(function E(G,B){var g,Y,ae;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,Y=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 Y=o.sent,C(function(ne){return de()(de()({},ne),{},{seekername:Y.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 Y=o.sent,C(function(ne){return de()(de()({},ne),{},{gender:Y.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 Y=o.sent,C(function(ne){return de()(de()({},ne),{},{dob:Y.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 Y=o.sent,C(function(ne){return de()(de()({},ne),{},{marital_status_txt:Y.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 Y=o.sent,C(function(ne){return de()(de()({},ne),{},{education_txt:Y.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 Y=o.sent,C(function(ne){return de()(de()({},ne),{},{ethnicity_txt:Y.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 ae=o.sent,o.next=62,(0,p.vnr)({id:ae.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:Y=o.sent,C(function(ne){return de()(de()({},ne),{},{mobile:Y.data.mobile})}),o.next=70;break;case 69:return o.abrupt("return",!1);case 70:return o.abrupt("break",108);case 71:if(!Qe(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:Y=o.sent,C(function(ne){return de()(de()({},ne),{},{id_number:Y.data.id_number})}),o.next=82;break;case 81:return o.abrupt("return",!1);case 82:return o.abrupt("break",108);case 83:return o.next=85,(0,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 Y=o.sent,console.log(Y.data),C(function(ne){return de()(de()({},ne),{},{now_level1_txt:"111",now_level2_txt:Y.data.now_level2_txt,now_level3_txt:Y.data.now_level3_txt,now_level4_txt:Y.data.now_level4_txt})}),o.abrupt("break",108);case 92:return o.next=94,(0,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 Y=o.sent,C(function(ne){return de()(de()({},ne),{},{reg_level1_txt:Y.data.reg_level1_txt,reg_level2_txt:Y.data.reg_level2_txt,reg_level3_txt:Y.data.reg_level3_txt,reg_level4_txt:Y.data.reg_level4_txt})}),o.abrupt("break",108);case 100:return o.next=102,(0,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 Y=o.sent,C(function(ne){return de()(de()({},ne),{},{talent_type_txt:Y.data.talent_type_txt})}),o.abrupt("break",108);case 108:case"end":return o.stop()}},E)}));function W(E,G){return $.apply(this,arguments)}return W}()},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(W,E,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(W,E,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(W,E,G,B){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("span",{children:[E.now_level1_txt?E.now_level1_txt:"",E.now_level2_txt?E.now_level2_txt:"",E.now_level3_txt?E.now_level3_txt:"",E.now_level4_txt?E.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(W,E,G,B){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("span",{children:[E.reg_level1_txt?E.reg_level1_txt:"",E.reg_level2_txt?E.reg_level2_txt:"",E.reg_level3_txt?E.reg_level3_txt:"",E.reg_level4_txt?E.reg_level4_txt:""]})})}},{span:24,title:"\u4EBA\u5458\u7C7B\u522B",key:"talent_type",dataIndex:"talent_type_txt",editable:!1,render:function(W,E,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:E.talent_type==g.id,onChange:function(){var Y=R()(u()().mark(function ae(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,C(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()}},ae)}));return function(ae){return Y.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(W,E,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:E.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(W,E,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:E.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(W,E){return _.degreeList}},{span:10,title:"\u4EA4\u901A\u5DE5\u5177",key:"talent_type",dataIndex:"talent_type_txt",editable:!1,render:function(W,E,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(W,E,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(W,E){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,Y,ae){return[(0,e.jsx)("a",{onClick:function(){var o;ae==null||(o=ae.startEditable)===null||o===void 0||o.call(ae,g.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"multiple",editableKeys:S,onSave:function(){var G=R()(u()().mark(function g(Y,ae,xe){return u()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:console.log(Y,ae,xe);case 1:case"end":return ne.stop()}},g)}));function B(g,Y,ae){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(W,E,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)(Fe.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)(Fe.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)(Fe.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)(Fe.Z,{style:{width:"40%"}})," \u5143/\u6708"]})]})]})]})})}},{span:24,title:"\u4ECB\u7ECD\u5DE5\u4F5C\u60C5\u51B5",editable:!1,render:function(W,E,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(Y,ae,xe,o){return[(0,e.jsx)("a",{onClick:function(){var ge;o==null||(ge=o.startEditable)===null||ge===void 0||ge.call(o,ae.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"multiple",editableKeys:S,onSave:function(){var g=R()(u()().mark(function ae(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()}},ae)}));function Y(ae,xe,o){return g.apply(this,arguments)}return Y}(),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(Y){var ae=new FormData;ae.append("image",Y.file),console.log(ae),(0,ue.request)(me.FH+"/common/image/upload?imgtype=3",{method:"post",data:ae,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(xe){}).catch(function(xe){console.log(xe),Q.ZP.error("\u4E0A\u4F20\u5931\u8D25")})},style:{width:"100%",padding:"0 100px"},children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)(Zt.Z,{})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u76F8\u7247\u6216\u8EAB\u4EFD\u8BC1\u590D\u5370\u5904"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:"\u53EF\u62D6\u62FD\u4E0A\u4F20\u6216\u8005\u70B9\u51FB\u9009\u62E9\u4E0A\u4F20"})]})})})]})})}},{span:24,title:"\u5E2E\u6276\u60C5\u51B5",editable:!1,render:function(W,E,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(Y,ae,xe,o){return[(0,e.jsx)("a",{onClick:function(){var ge;o==null||(ge=o.startEditable)===null||ge===void 0||ge.call(o,ae.id)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"multiple",editableKeys:S,onSave:function(){var g=R()(u()().mark(function ae(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()}},ae)}));function Y(ae,xe,o){return g.apply(this,arguments)}return Y}(),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=F(97088),nt=F(93162),rn={label:"name",value:"id"},Nt=function(n){var s,_,q,c,b,k,I,S,V,A,i,h,a,T,J,r,C=n.dispatch,U=n.dictModel,se=n.openModel,le=n.id,pe=(0,d.useState)(!1),ee=j()(pe,2),L=ee[0],x=ee[1],M=(0,d.useState)(null),l=j()(M,2),t=l[0],f=l[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:L,centered:!0,maskClosable:!1,destroyOnClose:!0,width:1e3,onCancel:function(){C({type:"openModel/getOpenExportModal",payload:!1})},afterOpenChange:function(){var v=R()(u()().mark(function Z(y){var P;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:le.customer_id,application_id:le.id});case 3:P=X.sent,f(P.data);case 5:case"end":return X.stop()}},Z)}));return function(Z){return v.apply(this,arguments)}}(),onOk:R()(u()().mark(function v(){var Z,y,P;return u()().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return Z=document.getElementById("export-container"),y=tt.m(Z==null?void 0:Z.outerHTML),X.next=4,y;case 4:P=X.sent,(0,nt.saveAs)(P,t.seekername+"\u5C31\u4E1A\u670D\u52A1\u767B\u8BB0\u8868.docx");case 6:case"end":return X.stop()}},v)})),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:(b=t==null?void 0:t.education_txt)!==null&&b!==void 0?b:""}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u6BD5\u4E1A\u5B66\u6821"}),(0,e.jsx)("td",{colSpan:2,children:"\u6BD5\u4E1A\u5B66\u6821\u6BD5\u4E1A\u5B66\u6821"}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u4E13\u4E1A"}),(0,e.jsx)("td",{colSpan:2,children:"\u6BD5\u4E1A\u5B66\u6821\u6BD5\u4E1A\u5B66\u6821"}),(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u6C11\u65CF"}),(0,e.jsx)("td",{style:{width:"10%"},children:(k=t==null?void 0:t.ethnicity_txt)!==null&&k!==void 0?k:""})]}),(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsx)("td",{style:{width:"10%",textAlign:"center"},children:"\u8054\u7CFB\u65B9\u5F0F"}),(0,e.jsx)("td",{colSpan:4,children:(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:(S=t==null?void 0:t.id_number)!==null&&S!==void 0?S:""})]}),(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:[(a=t==null?void 0:t.reg_level1_txt)!==null&&a!==void 0?a:"",(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(v,Z){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:5,children:v.content})})})}),t.intros&&t.intros.length>5&&t.intros.slice(5).map(function(v,Z){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9,children:v.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(v,Z){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("tr",{style:{height:"30px"},children:(0,e.jsx)("td",{colSpan:9,children:v.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=F(86492),Kt=F.n(Jt),sn={label:"name",value:"id"},Vt=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useState)(!1),k=j()(b,2),I=k[0],S=k[1],V=(0,d.useState)(null),A=j()(V,2),i=A[0],h=A[1];return(0,d.useEffect)(function(){S(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 a=R()(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 a.apply(this,arguments)}}(),onOk:R()(u()().mark(function a(){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()}},a)})),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(a,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:[a.level1_txt?a.level1_txt:"",a.level2_txt?a.level2_txt:"",a.level3_txt?a.level3_txt:"",a.level4_txt?a.level4_txt:""]})]})}),i.desire_industrys&&i.desire_industrys.map(function(a,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:a.industry_txt?a.industry_txt:""})]})}),i.desire_positions&&i.desire_positions.map(function(a,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:[a.level1_txt?a.level1_txt:"",a.level2_txt?a.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(a,T){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"20%"},children:[a.start_year,".",a.start_month,"\u81F3",a.end_year,".",a.end_month]}),(0,e.jsx)("td",{style:{width:"20%"},children:a.school_or_institution}),(0,e.jsx)("td",{style:{width:"20%"},children:a.major}),(0,e.jsx)("td",{style:{width:"20%"},children:a.positions_held}),(0,e.jsxs)("td",{style:{width:"20%"},children:[(0,e.jsx)("div",{children:a.certificate}),(0,e.jsx)("div",{children:a.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(a,T){return(0,e.jsxs)("tr",{style:{height:"30px"},children:[(0,e.jsxs)("td",{style:{width:"25%"},children:[a.start_year,".",a.start_month,"\u81F3",a.end_year,".",a.end_month]}),(0,e.jsx)("td",{style:{width:"25%"},children:a.company_name}),(0,e.jsx)("td",{style:{width:"25%"},children:a.position}),(0,e.jsx)("td",{style:{width:"25%"},children:a.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(a,T){return(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{style:{width:"25%"},children:a.name}),(0,e.jsx)("td",{style:{width:"80%"},children:(0,e.jsx)("img",{src:me.VO+a.certificate_photo,alt:"",width:"90",height:"150"})})]})})})]})})]})]})]})]})})})})})},Wt=(0,ue.connect)(function(m){var n=m.dictModel,s=m.openModel;return{dictModel:n,openModel:s}})(Vt),an={label:"name",value:"id",children:"childss"},Yt=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useRef)(),I=(0,d.useState)([]),S=j()(I,2),V=S[0],A=S[1],i=(0,d.useState)([]),h=j()(i,2),a=h[0],T=h[1],J=(0,d.useState)([]),r=j()(J,2),C=r[0],U=r[1],se=(0,d.useState)(0),le=j()(se,2),pe=le[0],ee=le[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(oe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(_e.Z,{editableFormRef:k,actionRef:b,rowKey:"id",loading:!1,request:R()(u()().mark(function L(){var x;return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,p.B9J)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return x=l.sent,T(x.data.jobapplicantintros),U(x.data.jobapplicantintros),ee(x.data.total),l.abrupt("return",{data:x.data.jobapplicantintros,total:x.data.total,success:!0});case 7:case"end":return l.stop()}},L)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u4ECB\u7ECD\u60C5\u51B5",dataIndex:"content"},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(x,M,l,t){return[(0,e.jsx)("a",{onClick:R()(u()().mark(function f(){var v;return u()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:t==null||(v=t.startEditable)===null||v===void 0||v.call(t,M.id);case 1:case"end":return y.stop()}},f)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:V,onSave:function(){var L=R()(u()().mark(function M(l,t,f){return u()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:console.log(l,t,f);case 1:case"end":return Z.stop()}},M)}));function x(M,l,t){return L.apply(this,arguments)}return x}(),onChange:A},recordCreatorProps:{position:"bottom",record:function(){return{id:a.length>0?(a[a.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}})(Yt),qt=function(n){var s=n.dispatch,_=n.dictModel,q=n.openModel,c=n.id,b=(0,d.useRef)(),k=(0,d.useRef)(),I=(0,d.useState)([]),S=j()(I,2),V=S[0],A=S[1],i=(0,d.useState)([]),h=j()(i,2),a=h[0],T=h[1],J=(0,d.useState)([]),r=j()(J,2),C=r[0],U=r[1],se=(0,d.useState)(0),le=j()(se,2),pe=le[0],ee=le[1];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(oe.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,e.jsx)(_e.Z,{editableFormRef:k,actionRef:b,rowKey:"id",loading:!1,request:R()(u()().mark(function L(){var x;return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,p.PQA)({customer_id:c.customer_id,sortby:"asc",sort:"id"});case 2:return x=l.sent,T(x.data.jobapplicantassists),U(x.data.jobapplicantassists),ee(x.data.total),l.abrupt("return",{data:x.data.jobapplicantassists,total:x.data.total,success:!0});case 7:case"end":return l.stop()}},L)})),columns:[{title:"ID",dataIndex:"id",editable:!1,width:100},{title:"\u5E2E\u6276\u60C5\u51B5",dataIndex:"content"},{title:"\u64CD\u4F5C",valueType:"option",width:200,render:function(x,M,l,t){return[(0,e.jsx)("a",{onClick:R()(u()().mark(function f(){var v;return u()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:t==null||(v=t.startEditable)===null||v===void 0||v.call(t,M.id);case 1:case"end":return y.stop()}},f)})),children:"\u7F16\u8F91"},"editable"),(0,e.jsx)("a",{onClick:function(){},children:"\u5220\u9664"},"delete")]}}],editable:{type:"single",editableKeys:V,onSave:function(){var L=R()(u()().mark(function M(l,t,f){var v,Z;return u()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(console.log(l,t,f),t.customer_id=c.customer_id,!(l&&C.findIndex(function(w){return w.id===l})!==-1)){P.next=10;break}return P.next=5,(0,p.g6D)({id:l,customer_id:t.customer_id,content:t.content});case 5:v=P.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload(),P.next=15;break;case 10:return P.next=12,(0,p.UY5)({customer_id:t.customer_id,assist_content:[t.content]});case 12:Z=P.sent,Q.ZP.success("\u63D0\u4EA4\u6210\u529F"),b.current.reload();case 15:case"end":return P.stop()}},M)}));function x(M,l,t){return L.apply(this,arguments)}return x}(),onChange:A},recordCreatorProps:{position:"bottom",record:function(){return{id:a.length>0?(a[a.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,b=(0,d.useState)(!1),k=j()(b,2),I=k[0],S=k[1];return(0,d.useEffect)(function(){S(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),b=c[0],k=c[1],I=function(V){k(V)};return(0,d.useEffect)(function(){_.openModal||k(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:b}),(0,e.jsx)(Ot,{id:b}),(0,e.jsx)(Ut,{id:b}),(0,e.jsx)(Wt,{id:b}),(0,e.jsx)(Xt,{id:b})]})})},en=(0,ue.connect)(function(m){var n=m.openModel;return{openModel:n}})(Gt)}}]);
|