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

p__Manage__Company__Resume__index.90784606.async.js 28KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6115],{99805:function(Ee,ve,r){r.r(ve),r.d(ve,{default:function(){return st}});var n=r(5574),t=r.n(n),e=r(67294),je=r(74453),M=r(21532),K=r(42075),Fe=r(4393),Pe=r(86250),le=r(55054),Le=r(92398),m=r(70489),Te=r(15009),p=r.n(Te),ze=r(99289),E=r.n(ze),fe=r(56886),_e=r(64317),se=r(83622),be=r(75891),Re=r(55375),De=r(72131),a=r(85893),Je=function(I){var _=I.changeData,y=(0,e.useRef)(),F=(0,e.useState)(!1),P=t()(F,2),G=P[0],C=P[1],g=(0,e.useState)(0),c=t()(g,2),A=c[0],L=c[1],j=(0,e.useState)(0),z=t()(j,2),q=z[0],ee=z[1],N=(0,e.useState)(!1),Z=t()(N,2),te=Z[0],ae=Z[1],$=(0,e.useState)(!1),b=t()($,2),S=b[0],w=b[1],ne=(0,e.useState)([]),J=t()(ne,2),me=J[0],oe=J[1],re=(0,e.useState)(0),O=t()(re,2),ce=O[0],W=O[1],R=(0,e.useState)(1),u=t()(R,2),s=u[0],B=u[1],D=(0,e.useState)(9),h=t()(D,2),T=h[0],v=h[1],Se=(0,e.useState)(0),Y=t()(Se,2),ye=Y[0],pe=Y[1],Ce=(0,e.useState)(""),Q=t()(Ce,2),ke=Q[0],ge=Q[1],we=(0,e.useState)(0),V=t()(we,2),xe=V[0],U=V[1];return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(M.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,a.jsx)(fe.Z,{actionRef:y,dataSource:me,columns:[{title:"\u59D3\u540D",dataIndex:"customer_name",width:100},{title:"\u6027\u522B",dataIndex:"gender",search:!1,width:80},{title:"\u5E94\u8058\u804C\u4F4D",dataIndex:"job_name",width:140,valueType:"select",renderFormItem:function(){return(0,a.jsx)(_e.Z,{fieldProps:{fieldNames:Re.RI},request:function(){var i=E()(p()().mark(function o(H){return p()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.abrupt("return",(0,De.k)({page:1,pagesize:100,keyword:H.keyWords}).then(function(k){return k.data.list}));case 1:case"end":return f.stop()}},o)}));return function(o){return i.apply(this,arguments)}}(),placeholder:"\u8BF7\u9009\u62E9\u804C\u4F4D",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u804C\u4F4D"}],onChange:function(o){pe(o)}})}},{title:"\u6295\u9012\u65F6\u95F4",dataIndex:"apply_time_txt",search:!1,width:180},{title:"\u67E5\u770B\u65F6\u95F4",dataIndex:"viewtime_txt",search:!1,width:180},{title:"\u64CD\u4F5C",valueType:"option",width:140,render:function(i,o,H){return[(0,a.jsx)(se.ZP,{type:"link",disabled:o.status==4||o.status==5,onClick:function(){_()},children:(0,a.jsx)(be.Link,{to:{pathname:"/talent/resume/detail?id=".concat(o.customer_id,"&application_id=").concat(o.id)},target:"_black",children:"\u9884\u89C8\u7B80\u5386"})},"1")]}}],rowKey:"id",pagination:{current:s,pageSize:T,showSizeChanger:!0,total:ce,pageSizeOptions:[9,18,27,99],onChange:function(i,o){B(i),v(o)},onShowSizeChange:function(i,o){B(i),v(o)}},request:E()(p()().mark(function d(){var i,o=arguments;return p()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return i=o.length>0&&o[0]!==void 0?o[0]:{},x.abrupt("return",(0,m.EZ)({page:s,pagesize:T,customer_name:i.customer_name,job_id:ye,status:1}).then(function(f){oe(f.data.list?f.data.list:[]),W(f.data.total),ge(i.customer_name),U(i.status?Number(i.status):0)}));case 2:case"end":return x.stop()}},d)})),headerTitle:"\u5F85\u770B\u7B80\u5386"})})})},Oe=Je,Ze=r(93279),ue=r(17788),Ae=r(97269),Me=r(22452),Ge=r(68872),Qe=r(71230),Be=r(15746),Ne=r(5251),$e=function(I){var _=I.dispatch,y=I.dictModel,F=I.detail,P=I.closeModel,G=(0,e.useRef)();return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(M.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,a.jsx)(Ae.A,{formRef:G,request:E()(p()().mark(function C(){return p()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!(F&&F.id)){c.next=4;break}return c.abrupt("return",F);case 4:return c.abrupt("return",{});case 5:case"end":return c.stop()}},C)})),submitter:{searchConfig:{resetText:"\u9000\u51FA\u7F16\u8F91",submitText:"\u53D1\u9001\u9080\u8BF7"},render:function(g,c){return(0,a.jsxs)(Pe.Z,{justify:"flex-end",children:[" ",(0,a.jsx)(K.Z,{children:c})]})},onReset:function(){P(!1)}},onFinish:function(){var C=E()(p()().mark(function g(c){var A;return p()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return c.customer_id=F.customer_id,j.next=3,(0,m.su)(c);case 3:A=j.sent,Ge.ZP.success("\u5DF2\u53D1\u9001\u9762\u8BD5\u9080\u8BF7"),P(!1);case 6:case"end":return j.stop()}},g)}));return function(g){return C.apply(this,arguments)}}(),children:(0,a.jsxs)(Qe.Z,{gutter:[16,16],children:[(0,a.jsx)(Be.Z,{span:24,children:(0,a.jsx)(_e.Z,{label:"\u9762\u8BD5\u804C\u4F4D",name:"job_id",fieldProps:{fieldNames:Re.RI},request:function(){var C=E()(p()().mark(function g(c){return p()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",(0,De.k)({page:1,pagesize:999,keyword:c.keyWords}).then(function(j){return j.data.list}));case 1:case"end":return L.stop()}},g)}));return function(g){return C.apply(this,arguments)}}(),placeholder:"\u8BF7\u9009\u62E9\u9762\u8BD5\u804C\u4F4D",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9762\u8BD5\u804C\u4F4D"}]})}),(0,a.jsx)(Be.Z,{span:24,children:(0,a.jsx)(Me.Z,{width:"lg",name:"interview_date_time",label:"\u9762\u8BD5\u65F6\u95F4",placeholder:"\u8BF7\u9009\u62E9\u9762\u8BD5\u65F6\u95F4",fieldProps:{format:function(g){return g.format("YYYY-MM-DD HH:mm:ss")},disabledDate:Ne._},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9762\u8BD5\u65F6\u95F4"}]})})]})})})})},Ve=(0,be.connect)(function(de){var I=de.dictModel;return{dictModel:I}})($e),Ue=function(I){var _=I.changeData,y=(0,e.useRef)(),F=(0,e.useState)(!1),P=t()(F,2),G=P[0],C=P[1],g=(0,e.useState)({}),c=t()(g,2),A=c[0],L=c[1],j=(0,e.useState)(0),z=t()(j,2),q=z[0],ee=z[1],N=(0,e.useState)(0),Z=t()(N,2),te=Z[0],ae=Z[1],$=(0,e.useState)(!1),b=t()($,2),S=b[0],w=b[1],ne=(0,e.useState)(!1),J=t()(ne,2),me=J[0],oe=J[1],re=(0,e.useState)([]),O=t()(re,2),ce=O[0],W=O[1],R=(0,e.useState)(0),u=t()(R,2),s=u[0],B=u[1],D=(0,e.useState)(1),h=t()(D,2),T=h[0],v=h[1],Se=(0,e.useState)(9),Y=t()(Se,2),ye=Y[0],pe=Y[1],Ce=(0,e.useState)(0),Q=t()(Ce,2),ke=Q[0],ge=Q[1],we=(0,e.useState)(""),V=t()(we,2),xe=V[0],U=V[1],d=(0,e.useState)(0),i=t()(d,2),o=i[0],H=i[1],x=function(k){var l;C(k),(l=y.current)===null||l===void 0||l.reload(),_()};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(M.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,a.jsx)(fe.Z,{actionRef:y,dataSource:ce,columns:[{title:"\u59D3\u540D",dataIndex:"customer_name",width:100},{title:"\u6027\u522B",dataIndex:"gender",search:!1,width:80},{title:"\u5E94\u8058\u804C\u4F4D",dataIndex:"job_name",width:140,valueType:"select",renderFormItem:function(){return(0,a.jsx)(_e.Z,{fieldProps:{fieldNames:Re.RI},request:function(){var k=E()(p()().mark(function l(We){return p()().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.abrupt("return",(0,De.k)({page:1,pagesize:100,keyword:We.keyWords}).then(function(Ye){return Ye.data.list}));case 1:case"end":return X.stop()}},l)}));return function(l){return k.apply(this,arguments)}}(),placeholder:"\u8BF7\u9009\u62E9\u804C\u4F4D",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u804C\u4F4D"}],onChange:function(l){ge(l)}})}},{title:"\u6295\u9012\u65F6\u95F4",dataIndex:"apply_time_txt",search:!1,width:180},{title:"\u67E5\u770B\u65F6\u95F4",dataIndex:"viewtime_txt",search:!1,width:180},{title:"\u64CD\u4F5C",valueType:"option",width:140,render:function(k,l,We){return[(0,a.jsx)(se.ZP,{type:"link",disabled:l.status==4||l.status==5,onClick:function(){},children:(0,a.jsx)(be.Link,{to:{pathname:"/talent/resume/detail?id=".concat(l.customer_id)},children:"\u9884\u89C8\u7B80\u5386"})},"1"),(0,a.jsx)(Ze.Z,{menus:[{name:"\u9080\u8BF7\u9762\u8BD5",key:"1",onClick:function(){L(l),C(!0)}},{name:"\u653E\u5165\u4EBA\u624D\u5E93",key:"2",onClick:function(){ue.Z.confirm({title:"\u653E\u5165\u4EBA\u624D\u5E93",content:"\u786E\u5B9A\u653E\u5165\u4EBA\u624D\u5E93\u5417\uFF1F",onOk:function(){(0,m.FI)({customer_id:l.customer_id}).then(function(Ye){var Ie;(Ie=y.current)===null||Ie===void 0||Ie.reload(),_()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})}},{name:"\u653E\u5165\u56DE\u6536\u7AD9",key:"3",onClick:function(){ue.Z.confirm({title:"\u653E\u5165\u56DE\u6536\u7AD9",content:"\u786E\u5B9A\u653E\u5165\u56DE\u6536\u7AD9\u5417\uFF1F",onOk:function(){(0,m.Px)({selected:[l.id]}).then(function(Ye){var Ie;(Ie=y.current)===null||Ie===void 0||Ie.reload(),_()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})}}]},"actionGroup")]}}],rowKey:"id",pagination:{current:T,pageSize:ye,showSizeChanger:!0,total:s,pageSizeOptions:[9,18,27,99],onChange:function(k,l){v(k),pe(l)},onShowSizeChange:function(k,l){v(k),pe(l)}},request:E()(p()().mark(function f(){var k,l=arguments;return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return k=l.length>0&&l[0]!==void 0?l[0]:{},he.abrupt("return",(0,m.EZ)({page:T,pagesize:ye,customer_name:k.customer_name,job_id:ke,status:2}).then(function(X){W(X.data.list?X.data.list:[]),B(X.data.total),U(k.customer_name),H(k.status?Number(k.status):0)}));case 2:case"end":return he.stop()}},f)})),headerTitle:"\u5DF2\u67E5\u770B\u7B80\u5386"}),(0,a.jsx)(ue.Z,{open:G,title:"\u53D1\u9001\u9762\u8BD5\u9080\u8BF7",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:400,onCancel:function(){C(!1)},children:(0,a.jsx)(Ve,{detail:A,closeModel:x})})]})})},Xe=Ue,ie=r(66309),He=function(I){var _=I.changeData,y=(0,e.useRef)(),F=(0,e.useState)([]),P=t()(F,2),G=P[0],C=P[1],g=(0,e.useState)(0),c=t()(g,2),A=c[0],L=c[1],j=(0,e.useState)(1),z=t()(j,2),q=z[0],ee=z[1],N=(0,e.useState)(9),Z=t()(N,2),te=Z[0],ae=Z[1],$=(0,e.useState)(0),b=t()($,2),S=b[0],w=b[1],ne=(0,e.useState)(""),J=t()(ne,2),me=J[0],oe=J[1],re=(0,e.useState)(0),O=t()(re,2),ce=O[0],W=O[1];return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(fe.Z,{virtual:!0,scroll:{x:"100%"},actionRef:y,dataSource:G,columns:[{title:"\u59D3\u540D",dataIndex:"customer_name"},{title:"\u6027\u522B",dataIndex:"gender",search:!1},{title:"\u5E94\u8058\u804C\u4F4D",dataIndex:"job_name",valueType:"select",renderFormItem:function(){return(0,a.jsx)(_e.Z,{fieldProps:{fieldNames:Re.RI},request:function(){var u=E()(p()().mark(function s(B){return p()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,De.k)({page:1,pagesize:100,keyword:B.keyWords}).then(function(T){return T.data.list}));case 1:case"end":return h.stop()}},s)}));return function(s){return u.apply(this,arguments)}}(),placeholder:"\u8BF7\u9009\u62E9\u804C\u4F4D",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u804C\u4F4D"}],onChange:function(s){w(s)}})}},{title:"\u9762\u8BD5\u65F6\u95F4",dataIndex:"invite_date_txt",search:!1},{title:"\u6C42\u804C\u8005\u67E5\u770B\u72B6\u6001",dataIndex:"read_status",search:!1,valueType:"select",valueEnum:{0:{text:"\u5168\u90E8"},1:{text:"\u672A\u67E5\u770B"},2:{text:"\u5DF2\u67E5\u770B"}},render:function(u,s){return(0,a.jsxs)(a.Fragment,{children:[s.read_status==1&&(0,a.jsx)(ie.Z,{children:"\u5F85\u6C42\u804C\u8005\u67E5\u770B"}),s.read_status==2&&(0,a.jsx)(ie.Z,{color:"#4FBE70",children:"\u5DF2\u67E5\u770B"})]})}},{title:"\u63A5\u6536\u9762\u8BD5\u72B6\u6001",dataIndex:"view_status",search:!1,valueType:"select",valueEnum:{0:{text:"\u5168\u90E8"},1:{text:"\u672A\u67E5\u770B"},2:{text:"\u5DF2\u67E5\u770B"}},render:function(u,s){return(0,a.jsxs)(a.Fragment,{children:[s.view_status==1&&(0,a.jsx)(ie.Z,{children:"\u5F85\u786E\u8BA4"}),s.view_status==2&&(0,a.jsx)(ie.Z,{color:"#4FBE70",children:"\u53C2\u52A0\u9762\u8BD5"}),s.view_status==2&&(0,a.jsx)(ie.Z,{children:"\u62D2\u7EDD\u9762\u8BD5"})]})}},{title:"\u5F55\u7528\u72B6\u6001",dataIndex:"employ_status",search:!1,valueType:"select",valueEnum:{0:{text:"\u5168\u90E8"},1:{text:"\u672A\u67E5\u770B"},2:{text:"\u5DF2\u67E5\u770B"}},render:function(u,s){return(0,a.jsxs)(a.Fragment,{children:[s.employ_status==1&&(0,a.jsx)(ie.Z,{children:"\u5F85\u786E\u8BA4"}),s.employ_status==2&&(0,a.jsx)(ie.Z,{color:"#4FBE70",children:"\u5F55\u7528"}),s.employ_status==3&&(0,a.jsx)(ie.Z,{children:"\u62D2\u5F55\u7528"})]})}},{title:"\u64CD\u4F5C",valueType:"option",render:function(u,s,B){return[(0,a.jsx)(se.ZP,{type:"link",disabled:s.employ_status!=1,onClick:function(){ue.Z.confirm({title:"\u53D6\u6D88\u9762\u8BD5",content:"\u662F\u5426\u8981\u53D6\u6D88\u672C\u6B21\u9762\u8BD5\uFF1F",onOk:function(){(0,m.Dz)({id:s.id}).then(function(T){var v;(v=y.current)===null||v===void 0||v.reload(),_()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u53D6\u6D88\u9762\u8BD5"},"1"),(0,a.jsx)(Ze.Z,{menus:[{disabled:s.view_status!=2,name:"\u5F55\u7528",key:"1",onClick:function(){ue.Z.confirm({title:"\u5F55\u7528",content:"\u662F\u5426\u5F55\u7528\uFF1F",onOk:function(){(0,m.z0)({id:s.id,employ_status:2}).then(function(T){var v;(v=y.current)===null||v===void 0||v.reload(),_()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})}},{disabled:s.view_status!=2,name:"\u62D2\u5F55\u7528",key:"2",onClick:function(){ue.Z.confirm({title:"\u62D2\u5F55\u7528",content:"\u662F\u5426\u4E0D\u5F55\u7528\uFF1F",onOk:function(){(0,m.z0)({id:s.id,employ_status:3}).then(function(T){var v;(v=y.current)===null||v===void 0||v.reload(),_()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})}}]},"actionGroup")]}}],rowKey:"id",pagination:{current:q,pageSize:te,showSizeChanger:!0,total:A,pageSizeOptions:[9,18,27,99],onChange:function(u,s){ee(u),ae(s)},onShowSizeChange:function(u,s){ee(u),ae(s)}},request:E()(p()().mark(function R(){var u,s=arguments;return p()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return u=s.length>0&&s[0]!==void 0?s[0]:{},D.abrupt("return",(0,m.Cg)({page:q,pagesize:te,keyword:u.customer_name,job_id:S||"",status:u.status?Number(u.status):0}).then(function(h){C(h.data.list),L(h.data.total),oe(u.customer_name),W(u.status?Number(u.status):0)}));case 2:case"end":return D.stop()}},R)})),headerTitle:"\u9762\u8BD5\u5217\u8868"})})},Ke=He,qe=function(I){var _=I.changeData,y=(0,e.useRef)(),F=(0,e.useState)(!1),P=t()(F,2),G=P[0],C=P[1],g=(0,e.useState)(0),c=t()(g,2),A=c[0],L=c[1],j=(0,e.useState)(0),z=t()(j,2),q=z[0],ee=z[1],N=(0,e.useState)(!1),Z=t()(N,2),te=Z[0],ae=Z[1],$=(0,e.useState)(!1),b=t()($,2),S=b[0],w=b[1],ne=(0,e.useState)([]),J=t()(ne,2),me=J[0],oe=J[1],re=(0,e.useState)(0),O=t()(re,2),ce=O[0],W=O[1],R=(0,e.useState)(1),u=t()(R,2),s=u[0],B=u[1],D=(0,e.useState)(9),h=t()(D,2),T=h[0],v=h[1],Se=(0,e.useState)(0),Y=t()(Se,2),ye=Y[0],pe=Y[1],Ce=(0,e.useState)(""),Q=t()(Ce,2),ke=Q[0],ge=Q[1],we=(0,e.useState)(0),V=t()(we,2),xe=V[0],U=V[1];return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(M.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,a.jsx)(fe.Z,{actionRef:y,dataSource:me,columns:[{title:"\u59D3\u540D",dataIndex:"customer_name",width:100},{title:"\u6027\u522B",dataIndex:"gender",search:!1,width:80},{title:"\u671F\u671B\u804C\u4F4D",dataIndex:"desired_position_text",width:140,search:!1,ellipsis:!0},{title:"\u5B66\u5386",dataIndex:"education_text",search:!1,width:80},{title:"\u5DE5\u4F5C\u7ECF\u9A8C",dataIndex:"work_experience_text",search:!1,width:80},{title:"\u64CD\u4F5C",valueType:"option",width:140,render:function(i,o,H){return[(0,a.jsx)(se.ZP,{type:"link",disabled:o.status==4||o.status==5,onClick:function(){L(o.customer_id),C(!0)},children:"\u9884\u89C8\u7B80\u5386"},"1"),(0,a.jsx)(se.ZP,{type:"link",onClick:function(){ue.Z.confirm({title:"\u79FB\u51FA\u4EBA\u624D\u5E93",content:"\u786E\u5B9A\u79FB\u51FA\u4EBA\u624D\u5E93\u5417\uFF1F",onOk:function(){(0,m.mj)({selected:[o.id]}).then(function(k){var l;(l=y.current)===null||l===void 0||l.reload(),_()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u79FB\u51FA\u4EBA\u624D\u5E93"},"1")]}}],rowKey:"id",pagination:{current:s,pageSize:T,showSizeChanger:!0,total:ce,pageSizeOptions:[9,18,27,99],onChange:function(i,o){B(i),v(o)},onShowSizeChange:function(i,o){B(i),v(o)}},request:E()(p()().mark(function d(){var i,o=arguments;return p()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return i=o.length>0&&o[0]!==void 0?o[0]:{},x.abrupt("return",(0,m.xP)({page:s,pagesize:T,customer_name:i.customer_name}).then(function(f){oe(f.data.list),W(f.data.total)}));case 2:case"end":return x.stop()}},d)})),headerTitle:"\u5F85\u770B\u7B80\u5386"})})})},et=qe,tt=function(I){var _=I.changeData,y=(0,e.useRef)(),F=(0,e.useState)(!1),P=t()(F,2),G=P[0],C=P[1],g=(0,e.useState)(0),c=t()(g,2),A=c[0],L=c[1],j=(0,e.useState)(0),z=t()(j,2),q=z[0],ee=z[1],N=(0,e.useState)(!1),Z=t()(N,2),te=Z[0],ae=Z[1],$=(0,e.useState)(!1),b=t()($,2),S=b[0],w=b[1],ne=(0,e.useState)([]),J=t()(ne,2),me=J[0],oe=J[1],re=(0,e.useState)(0),O=t()(re,2),ce=O[0],W=O[1],R=(0,e.useState)(1),u=t()(R,2),s=u[0],B=u[1],D=(0,e.useState)(9),h=t()(D,2),T=h[0],v=h[1],Se=(0,e.useState)(0),Y=t()(Se,2),ye=Y[0],pe=Y[1],Ce=(0,e.useState)(""),Q=t()(Ce,2),ke=Q[0],ge=Q[1],we=(0,e.useState)(0),V=t()(we,2),xe=V[0],U=V[1];return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(M.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,a.jsx)(fe.Z,{actionRef:y,dataSource:me,search:!1,columns:[{title:"\u59D3\u540D",dataIndex:"customer_name",search:!1,width:100},{title:"\u6027\u522B",dataIndex:"gender",search:!1,width:80},{title:"\u5B66\u5386",dataIndex:"education_txt",search:!1,width:180},{title:"\u64CD\u4F5C",valueType:"option",width:140,render:function(i,o,H){return[(0,a.jsx)(se.ZP,{type:"link",disabled:o.status==4||o.status==5,onClick:function(){},children:(0,a.jsx)(be.Link,{to:{pathname:"/talent/resume/detail?id=".concat(o.customer_id)},children:"\u9884\u89C8\u7B80\u5386"})},"1"),(0,a.jsx)(se.ZP,{type:"link",onClick:function(){ue.Z.confirm({title:"\u79FB\u51FA\u56DE\u6536\u7AD9",content:"\u786E\u5B9A\u79FB\u51FA\u56DE\u6536\u7AD9\u5417\uFF1F",onOk:function(){(0,m.Og)({selected:[o.id]}).then(function(k){var l;(l=y.current)===null||l===void 0||l.reload(),_()})},onCancel:function(){console.log("Cancel")},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u79FB\u51FA\u56DE\u6536\u7AD9"},"1")]}}],rowKey:"id",pagination:{current:s,pageSize:T,showSizeChanger:!0,total:ce,pageSizeOptions:[9,18,27,99],onChange:function(i,o){B(i),v(o)},onShowSizeChange:function(i,o){B(i),v(o)}},request:E()(p()().mark(function d(){var i,o=arguments;return p()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return i=o.length>0&&o[0]!==void 0?o[0]:{},x.abrupt("return",(0,m.Qt)({page:s,pagesize:T}).then(function(f){oe(f.data.list),W(f.data.total)}));case 2:case"end":return x.stop()}},d)})),headerTitle:"\u5F85\u770B\u7B80\u5386"})})})},at=tt,nt=function(){var I=(0,e.useRef)(),_=(0,e.useState)(!1),y=t()(_,2),F=y[0],P=y[1],G=(0,e.useState)(0),C=t()(G,2),g=C[0],c=C[1],A=(0,e.useState)(0),L=t()(A,2),j=L[0],z=L[1],q=(0,e.useState)(!1),ee=t()(q,2),N=ee[0],Z=ee[1],te=(0,e.useState)(!1),ae=t()(te,2),$=ae[0],b=ae[1],S=(0,e.useState)([]),w=t()(S,2),ne=w[0],J=w[1],me=(0,e.useState)(0),oe=t()(me,2),re=oe[0],O=oe[1],ce=(0,e.useState)(1),W=t()(ce,2),R=W[0],u=W[1],s=(0,e.useState)(9),B=t()(s,2),D=B[0],h=B[1],T=(0,e.useState)(0),v=t()(T,2),Se=v[0],Y=v[1],ye=(0,e.useState)(""),pe=t()(ye,2),Ce=pe[0],Q=pe[1],ke=(0,e.useState)(0),ge=t()(ke,2),we=ge[0],V=ge[1];return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(M.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,a.jsx)(fe.Z,{actionRef:I,dataSource:ne,columns:[{title:"\u59D3\u540D",dataIndex:"customer_name",width:100},{title:"\u6027\u522B",dataIndex:"gender",search:!1,width:80},{title:"\u671F\u671B\u804C\u4F4D",dataIndex:"desired_position_text",width:140,search:!1,ellipsis:!0},{title:"\u5B66\u5386",dataIndex:"education_text",search:!1,width:80},{title:"\u5DE5\u4F5C\u7ECF\u9A8C",dataIndex:"work_experience_text",search:!1,width:80},{title:"\u8054\u7CFB\u65B9\u5F0F",dataIndex:["contact","mobile"],search:!1,width:180},{title:"\u64CD\u4F5C",valueType:"option",width:140,render:function(U,d,i){return[(0,a.jsx)(se.ZP,{type:"link",disabled:d.status==4||d.status==5,onClick:function(){},children:(0,a.jsx)(be.Link,{to:{pathname:"/talent/resume/detail?id=".concat(d.customer_id)},children:"\u9884\u89C8\u7B80\u5386"})},"1")]}}],rowKey:"id",pagination:{current:R,pageSize:D,showSizeChanger:!0,total:re,pageSizeOptions:[9,18,27,99],onChange:function(U,d){u(U),h(d)},onShowSizeChange:function(U,d){u(U),h(d)}},request:E()(p()().mark(function xe(){var U,d=arguments;return p()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return U=d.length>0&&d[0]!==void 0?d[0]:{},o.abrupt("return",(0,m.s4)({page:R,pagesize:D,customer_name:U.customer_name}).then(function(H){J(H.data.list?H.data.list:[]),O(H.data.total)}));case 2:case"end":return o.stop()}},xe)})),headerTitle:"\u5DF2\u67E5\u770B\u7B80\u5386"})})})},ot=nt,rt=function(){var I=(0,e.useState)(0),_=t()(I,2),y=_[0],F=_[1],P=(0,e.useState)(0),G=t()(P,2),C=G[0],g=G[1],c=(0,e.useState)(0),A=t()(c,2),L=A[0],j=A[1],z=(0,e.useState)(0),q=t()(z,2),ee=q[0],N=q[1],Z=(0,e.useState)(0),te=t()(Z,2),ae=te[0],$=te[1];(0,e.useEffect)(function(){(0,m.EZ)({page:1,pagesize:10,status:1}).then(function(S){F(S.data.total?S.data.total:0)}),(0,m.Cg)({page:1,pagesize:10}).then(function(S){g(S.data.total?S.data.total:0)}),(0,m.EZ)({page:1,pagesize:10,status:2}).then(function(S){j(S.data.total?S.data.total:0)}),(0,m.xP)({page:1,pagesize:10}).then(function(S){N(S.data.total?S.data.total:0)}),(0,m.Qt)({page:1,pagesize:10}).then(function(S){$(S.data.total?S.data.total:0)})},[]);var b=function(){(0,m.EZ)({page:1,pagesize:10,status:1}).then(function(w){F(w.data.total?w.data.total:0)}),(0,m.Cg)({page:1,pagesize:10}).then(function(w){g(w.data.total?w.data.total:0)}),(0,m.EZ)({page:1,pagesize:10,status:2}).then(function(w){j(w.data.total?w.data.total:0)}),(0,m.xP)({page:1,pagesize:10}).then(function(w){N(w.data.total?w.data.total:0)}),(0,m.Qt)({page:1,pagesize:10}).then(function(w){$(w.data.total?w.data.total:0)})};return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(M.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,a.jsx)(je._z,{header:{title:""},style:{minHeight:800},children:(0,a.jsxs)(K.Z,{direction:"vertical",size:30,style:{width:"100%"},children:[(0,a.jsx)(Fe.Z,{children:(0,a.jsxs)(Pe.Z,{justify:"space-between",style:{width:"100%"},children:[(0,a.jsx)(le.Z,{title:"\u5F85\u770B\u7B80\u5386",value:y,valueStyle:{color:"#19be6e"}}),(0,a.jsx)(le.Z,{title:"\u9080\u8BF7\u9762\u8BD5",value:C}),(0,a.jsx)(le.Z,{title:"\u5DF2\u67E5\u770B",value:L}),(0,a.jsx)(le.Z,{title:"\u4EBA\u624D\u5E93",value:ee}),(0,a.jsx)(le.Z,{title:"\u56DE\u6536\u7AD9",value:ae})]})}),(0,a.jsx)(Le.Z,{tabPosition:"left",destroyInactiveTabPane:!0,type:"card",items:[{key:"1",label:"\u5F85\u770B\u7B80\u5386",children:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(Oe,{changeData:b})})},{key:"2",label:"\u5DF2\u67E5\u770B",children:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(Xe,{changeData:b})})},{key:"3",label:"\u9762\u8BD5\u9080\u8BF7",children:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(Ke,{changeData:b})})},{key:"4",label:"\u4EBA\u624D\u5E93",children:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(et,{changeData:b})})},{key:"5",label:"\u56DE\u6536\u7AD9",children:(0,a.jsx)(at,{changeData:b})},{key:"6",label:"\u5DF2\u83B7\u53D6\u8054\u7CFB\u65B9\u5F0F",children:(0,a.jsx)(ot,{})}]})]})})})})},st=rt},70489:function(Ee,ve,r){r.d(ve,{lu:function(){return Ue},UE:function(){return ze},L:function(){return Fe},Mm:function(){return je},Gc:function(){return Ge},vN:function(){return K},Cg:function(){return se},DH:function(){return M},Zq:function(){return fe},mX:function(){return E},du:function(){return ie},EZ:function(){return _e},Qt:function(){return a},xP:function(){return be},s4:function(){return Ae},Mt:function(){return Ne},Jm:function(){return $e},Ld:function(){return m},aY:function(){return Te},T7:function(){return p},XE:function(){return Pe},Cl:function(){return Be},su:function(){return Ze},z0:function(){return Me},Dz:function(){return ue},NJ:function(){return Le},cL:function(){return le},Og:function(){return Oe},Px:function(){return Je},h9:function(){return Ke},FI:function(){return Re},mj:function(){return De},un:function(){return He}});var n=r(75334),t=r(55375),e={CompanyFamousList:t.xw+"/company/famous_list",CompanyProbationList:t.xw+"/company/probation_list",CompanyInfo:t.xw+"/company/info",CompanyDetailInfo:t.xw+"/company/detail_info",CompanyEdit:t.xw+"/company/edit",CompanyPhotoUpload:t.xw+"/company/photo_upload",CompanyLicenseUpload:t.xw+"/company/license_upload",CompanyDepartmentAdd:t.xw+"/company/department_add",CompanyDepartmentDel:t.xw+"/company/department_del",CompanyDepartmentEdit:t.xw+"/company/department_edit",CompanyDepartmentList:t.xw+"/company/department_list",CompanyRecommentResume:t.xw+"/company/recomment_resume",CompanyProfile:t.xw+"/company/profile",CompanyResumeList:t.xw+"/company/resume_list",CompanyInterviewList:t.xw+"/company/interview_list",CompanyTalentPoolList:t.xw+"/company/talent_pool_list",CompanyTalentPoolAdd:t.xw+"/company/talent_pool_add",CompanyTalentPoolDel:t.xw+"/company/talent_pool_del",CompanyResumeRecycleList:t.xw+"/company/resume_recycle_list",CompanyResumeRecycle:t.xw+"/company/resume_recycle",CompanyResumeRecover:t.xw+"/company/resume_recover",CompanyInterviewAdd:t.xw+"/company/interview_add",CompanyInterviewDel:t.xw+"/company/interview_del",CompanyViewedContactList:t.xw+"/company/viewed_contact_list",CompanyInterviewAdmission:t.xw+"/company/interview_admission",CompanyFee:t.xw+"/company/fee",CompanyPwdEdit:t.xw+"/company/pwd_edit",CompanyEmailEdit:t.xw+"/company/email_edit",CompanyCustomerCodeAdd:t.xw+"/companycustomercode/add",CompanyCustomerCodeDel:t.xw+"/companycustomercode/del",CompanyCustomerCodeUpdate:t.xw+"/companycustomercode/update",CompanyCustomerCodeList:t.xw+"/companycustomercode/list",CompanyCustomerCodeDetail:t.xw+"/companycustomercode/detail",CompanyRecruiters:t.xw+"/company/recruiters",JobseekerResetPwd:t.xw+"/jobseeker/resetpwd",CompanySearch:t.xw+"/company/search"},je=(0,n.y)(e.CompanyFamousList),M=(0,n.y)(e.CompanyProbationList),K=(0,n.y)(e.CompanyInfo),Fe=(0,n.y)(e.CompanyDetailInfo),Pe=(0,n.L)(e.CompanyEdit),le=(0,n.L)(e.CompanyPhotoUpload),Le=(0,n.L)(e.CompanyLicenseUpload),m=(0,n.L)(e.CompanyDepartmentAdd),Te=(0,n.L)(e.CompanyDepartmentDel),p=(0,n.L)(e.CompanyDepartmentEdit),ze=(0,n.y)(e.CompanyDepartmentList),E=(0,n.y)(e.CompanyRecommentResume),fe=(0,n.y)(e.CompanyProfile),_e=(0,n.y)(e.CompanyResumeList),se=(0,n.y)(e.CompanyInterviewList),be=(0,n.y)(e.CompanyTalentPoolList),Re=(0,n.L)(e.CompanyTalentPoolAdd),De=(0,n.L)(e.CompanyTalentPoolDel),a=(0,n.y)(e.CompanyResumeRecycleList),Je=(0,n.L)(e.CompanyResumeRecycle),Oe=(0,n.L)(e.CompanyResumeRecover),Ze=(0,n.L)(e.CompanyInterviewAdd),ue=(0,n.L)(e.CompanyInterviewDel),Ae=(0,n.y)(e.CompanyViewedContactList),Me=(0,n.L)(e.CompanyInterviewAdmission),Ge=(0,n.y)(e.CompanyFee),Qe=(0,n.L)(e.CompanyPwdEdit),Be=(0,n.L)(e.CompanyEmailEdit),Ne=(0,n.L)(e.CompanyCustomerCodeAdd),$e=(0,n.L)(e.CompanyCustomerCodeDel),Ve=(0,n.L)(e.CompanyCustomerCodeUpdate),Ue=(0,n.y)(e.CompanyCustomerCodeList),Xe=(0,n.y)(e.CompanyCustomerCodeDetail),ie=(0,n.y)(e.CompanyRecruiters),He=(0,n.L)(e.JobseekerResetPwd),Ke=(0,n.L)(e.CompanySearch)},72131:function(Ee,ve,r){r.d(ve,{by:function(){return Te},k:function(){return Pe},ME:function(){return Fe},d8:function(){return M},GR:function(){return K},f5:function(){return le},Dl:function(){return m},Kp:function(){return Le},st:function(){return ze},l8:function(){return p},xc:function(){return E},$Z:function(){return je}});var n=r(75334),t=r(55375),e={JobSearch:t.xw+"/job/search",JobCompanyjobs:t.xw+"/job/companyjobs",JobDetail:t.xw+"/job/detail",JobAuthdetail:t.xw+"/job/authdetail",CompanyJobList:t.xw+"/company/job_list",CompanyJobAdd:t.xw+"/company/job_add",CompanyJobEdit:t.xw+"/company/job_edit",CompanyJobDel:t.xw+"/company/job_del",CompanyJobInfo:t.xw+"/company/job_info",CompanyJobStatusChange:t.xw+"/company/job_status_change",CompanyJobRecycle:t.xw+"/company/job_recycle",CompanyJobrecoverRecycle:t.xw+"/company/job_recover_recycle"},je=(0,n.L)(e.JobSearch),M=(0,n.y)(e.JobCompanyjobs),K=(0,n.y)(e.JobDetail),Fe=(0,n.y)(e.JobAuthdetail),Pe=(0,n.y)(e.CompanyJobList),le=(0,n.L)(e.CompanyJobAdd),Le=(0,n.L)(e.CompanyJobEdit),m=(0,n.L)(e.CompanyJobDel),Te=(0,n.y)(e.CompanyJobInfo),p=(0,n.L)(e.CompanyJobStatusChange),ze=(0,n.L)(e.CompanyJobRecycle),E=(0,n.L)(e.CompanyJobrecoverRecycle)},5251:function(Ee,ve,r){r.d(ve,{Y:function(){return je},_:function(){return e}});var n=r(27484),t=r.n(n),e=function(K){return K&&K<t()().endOf("day")},je=function(K){return K&&K>t()().endOf("day")}}}]);