Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

p__Manage__Company__Home__index.ac1e4d47.async.js 14KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9731],{98998:function(W,j,o){var a=o(15009),n=o.n(a),e=o(99289),D=o.n(e),I=o(5574),x=o.n(I),h=o(67294),v=o(7529),p=o(21532),d=o(7134),r=o(42075),c=o(66309),u=o(75891),i=o(55375),C=o(70489),s=o(85893),_=function(){var t=(0,h.useRef)(),E=(0,h.useState)([]),P=x()(E,2),L=P[0],B=P[1],A=(0,h.useState)(1),T=x()(A,2),O=T[0],l=T[1],F=(0,h.useState)(10),w=x()(F,2),S=w[0],g=w[1],U=(0,h.useState)(0),Z=x()(U,2),J=Z[0],K=Z[1];return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(p.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,s.jsx)("div",{style:{minHeight:"800px"},children:(0,s.jsx)(v.Rs,{actionRef:t,headerTitle:"\u63A8\u8350\u7B80\u5386",rowKey:"id",dataSource:L,request:D()(n()().mark(function R(){var b,m=arguments;return n()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return b=m.length>0&&m[0]!==void 0?m[0]:{},M.abrupt("return",(0,C.mX)({page:O,pagesize:S,sort:"id",sortby:"desc"}).then(function(z){B(z.data.list),K(z.data.total)}));case 2:case"end":return M.stop()}},R)})),pagination:{current:O,pageSize:S,total:J,hideOnSinglePage:!0,align:"center",onChange:function(b,m){l(b),g(m)},onShowSizeChange:function(b,m){l(b),g(m)}},showActions:"hover",metas:{title:{render:function(b,m){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(u.Link,{to:{pathname:"/talent/resume/detail?id=".concat(m.customer_id)},style:{color:"#000000",fontSize:16,fontWeight:"bold"},children:m.seekername})})}},avatar:{render:function(b,m){return(0,s.jsx)(d.C,{size:48,src:m.photo?"".concat(i.VO).concat(m.photo):"/images/onlylogo.jpg"})}},subTitle:{render:function(b,m){return(0,s.jsxs)(r.Z,{size:0,children:[(0,s.jsxs)(c.Z,{color:"#5BD8A6",children:[m.age,"\u5C81"]}),(0,s.jsx)(c.Z,{color:"blue",children:m.gender}),(0,s.jsx)(c.Z,{color:"#5BD8A6",children:m.education_text}),(0,s.jsxs)(c.Z,{color:"#5BD8A6",children:["\u5DE5\u4F5C\u7ECF\u9A8C\uFF1A",m.work_experience,"\u5E74"]})]})}},description:{dataIndex:"introduction"}}})})})})};j.Z=_},87076:function(W,j,o){o.r(j);var a=o(5574),n=o.n(a),e=o(67294),D=o(74453),I=o(17788),x=o(21532),h=o(71230),v=o(15746),p=o(42075),d=o(4393),r=o(26412),c=o(96074),u=o(55054),i=o(75891),C=o(36998),s=o(70489),_=o(72131),f=o(98998),t=o(85893),E=function(L){var B=L.dispatch,A=L.dictModel,T=(0,e.useState)({}),O=n()(T,2),l=O[0],F=O[1],w=(0,e.useState)({}),S=n()(w,2),g=S[0],U=S[1],Z=(0,e.useState)(0),J=n()(Z,2),K=J[0],R=J[1],b=(0,e.useState)(0),m=n()(b,2),G=m[0],M=m[1],z=(0,e.useState)(0),k=n()(z,2),X=k[0],$=k[1],N=(0,e.useState)(0),V=n()(N,2),Q=V[0],Y=V[1];return(0,e.useEffect)(function(){(0,s.L)({id:localStorage.getItem("companyid")}).then(function(y){F(y.data)}),(0,s.Zq)().then(function(y){U(y.data)})},[]),(0,e.useEffect)(function(){(0,_.k)({page:1,pagesize:10}).then(function(y){R(y.data.total?y.data.total:0)}),(0,s.EZ)({page:1,pagesize:10}).then(function(y){M(y.data.total?y.data.total:0)}),(0,s.Cg)({page:1,pagesize:10}).then(function(y){$(y.data.total?y.data.total:0)}),(0,s.xP)({page:1,pagesize:10}).then(function(y){Y(y.data.total?y.data.total:0)})},[]),(0,e.useEffect)(function(){B({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}})},[B]),(0,e.useEffect)(function(){if(A.industryPostList.length>0&&l&&l){var y=!0,H=(0,C.ME)(A.industryPostList,l.industry);H&&(H=(0,C.ME)(A.industryPostList,l.industry2)),H||(y=!1),y||I.Z.confirm({title:"\u66F4\u65B0\u63D0\u793A",content:"\u884C\u4E1A\u804C\u4F4D\u7C7B\u76EE\u5DF2\u66F4\u65B0\uFF0C\u8BF7\u524D\u5F80\u4F7F\u7528\u5230\u884C\u4E1A\u804C\u4F4D\u7C7B\u76EE\u7684\u5730\u65B9\u66F4\u65B0\u8D44\u6599",onOk:function(){},onCancel:function(){console.log("Cancel")},okText:"\u6211\u77E5\u9053\u4E86",cancelText:"\u53D6\u6D88",centered:!0})}},[A.industryPostList,l]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(x.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,t.jsx)(D._z,{header:{title:""},style:{minHeight:800},children:(0,t.jsxs)(h.Z,{gutter:[20,20],children:[(0,t.jsx)(v.Z,{span:8,children:(0,t.jsxs)(p.Z,{direction:"vertical",size:30,style:{width:"100%"},children:[(0,t.jsx)(d.Z,{bordered:!1,title:(0,t.jsx)(i.Link,{to:{pathname:"/talent/company/detail?id=".concat(localStorage.getItem("companyid"))},target:"_blank",style:{color:"#000000",fontSize:16,marginRight:10},children:l.full_name}),extra:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/info"},style:{color:"#19be6e",fontSize:14,marginRight:10},children:"\u7F16\u8F91\u8D44\u6599"}),style:{boxShadow:"0 8px 20px #f0f0f0"},children:(0,t.jsx)(p.Z,{direction:"vertical",style:{borderRadius:10,width:"100%"},children:(0,t.jsxs)(r.Z,{children:[(0,t.jsx)(r.Z.Item,{label:"\u4F01\u4E1A\u7F16\u53F7",span:24,children:l.id}),(0,t.jsx)(r.Z.Item,{label:"\u767B\u5F55\u8D26\u53F7",span:24,children:l.mobile}),(0,t.jsx)(r.Z.Item,{label:"\u8BBF\u95EE\u6B21\u6570",span:24,children:g.click_count}),(0,t.jsx)(r.Z.Item,{label:"\u6708\u6D4F\u89C8\u7B80\u5386\u8054\u7CFB\u65B9\u5F0F\u6B21\u6570",span:24,children:g.month_look_resume_qty}),(0,t.jsx)(r.Z.Item,{label:"\u5269\u4F59\u53EF\u67E5\u770B\u7B80\u5386\u8054\u7CFB\u65B9\u5F0F",span:24,children:g.limit_resume_qty}),(0,t.jsx)(r.Z.Item,{span:24,children:(0,t.jsx)(c.Z,{})}),(0,t.jsx)(r.Z.Item,{label:"\u6CE8\u518C\u65E5\u671F",span:24,children:l.establishment_date}),(0,t.jsxs)(r.Z.Item,{label:"\u6240\u5C5E\u884C\u4E1A",span:24,children:[l.industry_text,l.industry2_text]}),(0,t.jsx)(r.Z.Item,{label:"\u4F01\u4E1A\u6027\u8D28",span:24,children:l.nature_text}),(0,t.jsx)(r.Z.Item,{label:"\u4F01\u4E1A\u89C4\u6A21",span:24,children:l.scale_text})]})})}),(0,t.jsx)(d.Z,{bordered:!1,style:{boxShadow:"0 8px 20px #f0f0f0",backgroundColor:"#fafafa"},children:(0,t.jsx)(p.Z,{direction:"vertical",style:{borderRadius:10,width:"100%"},children:(0,t.jsxs)(r.Z,{children:[(0,t.jsx)(r.Z.Item,{label:"\u793E\u4F1A\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",span:24,children:l.registration_number}),(0,t.jsx)(r.Z.Item,{label:"\u8054\u7CFB\u624B\u673A",span:24,children:l.mobile}),(0,t.jsx)(r.Z.Item,{label:"\u8054\u7CFB\u56FA\u8BDD",span:24,children:l.phone}),(0,t.jsx)(r.Z.Item,{label:"\u4F01\u4E1A\u90AE\u7BB1",span:24,children:l.email}),(0,t.jsx)(r.Z.Item,{label:"\u4F01\u4E1A\u5B98\u7F51",span:24,children:l.website}),(0,t.jsx)(r.Z.Item,{label:"\u4F01\u4E1A\u4F20\u771F",span:24,children:l.fax})]})})})]})}),(0,t.jsx)(v.Z,{span:16,children:(0,t.jsxs)(p.Z,{direction:"vertical",size:20,style:{width:"100%"},children:[(0,t.jsxs)(h.Z,{gutter:16,children:[(0,t.jsx)(v.Z,{span:6,children:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/post"},children:(0,t.jsx)(d.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,t.jsx)(u.Z,{title:"\u804C\u4F4D\u6570",value:K,valueStyle:{color:"#19be6e"}})})})}),(0,t.jsx)(v.Z,{span:6,children:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/resume"},children:(0,t.jsx)(d.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,t.jsx)(u.Z,{title:"\u5F85\u770B\u7B80\u5386",value:G})})})}),(0,t.jsx)(v.Z,{span:6,children:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/resume"},children:(0,t.jsx)(d.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,t.jsx)(u.Z,{title:"\u9762\u8BD5\u9080\u8BF7",value:X,valueStyle:{color:"#19be6e"}})})})}),(0,t.jsx)(v.Z,{span:6,children:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/resume"},children:(0,t.jsx)(d.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,t.jsx)(u.Z,{title:"\u4EBA\u624D\u5E93",value:Q})})})})]}),(0,t.jsx)(f.Z,{})]})})]})})})})};j.default=(0,i.connect)(function(P){var L=P.dictModel;return{dictModel:L}})(E)},70489:function(W,j,o){o.d(j,{lu:function(){return K},UE:function(){return i},L:function(){return h},Gc:function(){return w},vN:function(){return x},Cg:function(){return f},Zq:function(){return s},mX:function(){return C},Os:function(){return M},du:function(){return b},EZ:function(){return _},Qt:function(){return L},xP:function(){return t},s4:function(){return l},Mt:function(){return U},Jm:function(){return Z},Ld:function(){return r},aY:function(){return c},T7:function(){return u},XE:function(){return v},Cl:function(){return g},su:function(){return T},z0:function(){return F},Dz:function(){return O},NJ:function(){return d},cL:function(){return p},Og:function(){return A},Px:function(){return B},h9:function(){return G},FI:function(){return E},mj:function(){return P},un:function(){return m}});var a=o(75334),n=o(55375),e={CompanyFamousList:n.xw+"/company/famous_list",CompanyProbationList:n.xw+"/company/probation_list",CompanyInfo:n.xw+"/company/info",CompanyDetailInfo:n.xw+"/company/detail_info",CompanyEdit:n.xw+"/company/edit",CompanyPhotoUpload:n.xw+"/company/photo_upload",CompanyLicenseUpload:n.xw+"/company/license_upload",CompanyDepartmentAdd:n.xw+"/company/department_add",CompanyDepartmentDel:n.xw+"/company/department_del",CompanyDepartmentEdit:n.xw+"/company/department_edit",CompanyDepartmentList:n.xw+"/company/department_list",CompanyRecommentResume:n.xw+"/company/recomment_resume",CompanyProfile:n.xw+"/company/profile",CompanyResumeList:n.xw+"/company/resume_list",CompanyInterviewList:n.xw+"/company/interview_list",CompanyTalentPoolList:n.xw+"/company/talent_pool_list",CompanyTalentPoolAdd:n.xw+"/company/talent_pool_add",CompanyTalentPoolDel:n.xw+"/company/talent_pool_del",CompanyResumeRecycleList:n.xw+"/company/resume_recycle_list",CompanyResumeRecycle:n.xw+"/company/resume_recycle",CompanyResumeRecover:n.xw+"/company/resume_recover",CompanyInterviewAdd:n.xw+"/company/interview_add",CompanyInterviewDel:n.xw+"/company/interview_del",CompanyViewedContactList:n.xw+"/company/viewed_contact_list",CompanyInterviewAdmission:n.xw+"/company/interview_admission",CompanyFee:n.xw+"/company/fee",CompanyPwdEdit:n.xw+"/company/pwd_edit",CompanyEmailEdit:n.xw+"/company/email_edit",CompanyCustomerCodeAdd:n.xw+"/companycustomercode/add",CompanyCustomerCodeDel:n.xw+"/companycustomercode/del",CompanyCustomerCodeUpdate:n.xw+"/companycustomercode/update",CompanyCustomerCodeList:n.xw+"/companycustomercode/list",CompanyCustomerCodeDetail:n.xw+"/companycustomercode/detail",CompanyRecruiters:n.xw+"/company/recruiters",JobseekerResetPwd:n.xw+"/jobseeker/resetpwd",CompanySearch:n.xw+"/company/search",CompanyRecrBookList:n.xw+"/company/recr_book_list"},D=(0,a.y)(e.CompanyFamousList),I=(0,a.y)(e.CompanyProbationList),x=(0,a.y)(e.CompanyInfo),h=(0,a.y)(e.CompanyDetailInfo),v=(0,a.L)(e.CompanyEdit),p=(0,a.L)(e.CompanyPhotoUpload),d=(0,a.L)(e.CompanyLicenseUpload),r=(0,a.L)(e.CompanyDepartmentAdd),c=(0,a.L)(e.CompanyDepartmentDel),u=(0,a.L)(e.CompanyDepartmentEdit),i=(0,a.y)(e.CompanyDepartmentList),C=(0,a.y)(e.CompanyRecommentResume),s=(0,a.y)(e.CompanyProfile),_=(0,a.y)(e.CompanyResumeList),f=(0,a.y)(e.CompanyInterviewList),t=(0,a.y)(e.CompanyTalentPoolList),E=(0,a.L)(e.CompanyTalentPoolAdd),P=(0,a.L)(e.CompanyTalentPoolDel),L=(0,a.y)(e.CompanyResumeRecycleList),B=(0,a.L)(e.CompanyResumeRecycle),A=(0,a.L)(e.CompanyResumeRecover),T=(0,a.L)(e.CompanyInterviewAdd),O=(0,a.L)(e.CompanyInterviewDel),l=(0,a.y)(e.CompanyViewedContactList),F=(0,a.L)(e.CompanyInterviewAdmission),w=(0,a.y)(e.CompanyFee),S=(0,a.L)(e.CompanyPwdEdit),g=(0,a.L)(e.CompanyEmailEdit),U=(0,a.L)(e.CompanyCustomerCodeAdd),Z=(0,a.L)(e.CompanyCustomerCodeDel),J=(0,a.L)(e.CompanyCustomerCodeUpdate),K=(0,a.y)(e.CompanyCustomerCodeList),R=(0,a.y)(e.CompanyCustomerCodeDetail),b=(0,a.y)(e.CompanyRecruiters),m=(0,a.L)(e.JobseekerResetPwd),G=(0,a.L)(e.CompanySearch),M=(0,a.y)(e.CompanyRecrBookList)},72131:function(W,j,o){o.d(j,{by:function(){return c},k:function(){return v},ME:function(){return h},d8:function(){return I},GR:function(){return x},f5:function(){return p},Dl:function(){return r},Kp:function(){return d},st:function(){return i},l8:function(){return u},xc:function(){return C},$Z:function(){return D}});var a=o(75334),n=o(55375),e={JobSearch:n.xw+"/job/search",JobCompanyjobs:n.xw+"/job/companyjobs",JobDetail:n.xw+"/job/detail",JobAuthdetail:n.xw+"/job/authdetail",CompanyJobList:n.xw+"/company/job_list",CompanyJobAdd:n.xw+"/company/job_add",CompanyJobEdit:n.xw+"/company/job_edit",CompanyJobDel:n.xw+"/company/job_del",CompanyJobInfo:n.xw+"/company/job_info",CompanyJobStatusChange:n.xw+"/company/job_status_change",CompanyJobRecycle:n.xw+"/company/job_recycle",CompanyJobrecoverRecycle:n.xw+"/company/job_recover_recycle"},D=(0,a.L)(e.JobSearch),I=(0,a.y)(e.JobCompanyjobs),x=(0,a.y)(e.JobDetail),h=(0,a.y)(e.JobAuthdetail),v=(0,a.y)(e.CompanyJobList),p=(0,a.L)(e.CompanyJobAdd),d=(0,a.L)(e.CompanyJobEdit),r=(0,a.L)(e.CompanyJobDel),c=(0,a.y)(e.CompanyJobInfo),u=(0,a.L)(e.CompanyJobStatusChange),i=(0,a.L)(e.CompanyJobRecycle),C=(0,a.L)(e.CompanyJobrecoverRecycle)},36998:function(W,j,o){o.d(j,{ME:function(){return v},P8:function(){return h},wi:function(){return x}});var a=o(19632),n=o.n(a),e=o(64599),D=o.n(e);function I(p,d,r){var c=[];function u(_){if(_[d]===r&&c.push(_),_.children){var f=_createForOfIteratorHelper(_.children),t;try{for(f.s();!(t=f.n()).done;){var E=t.value;u(E)}}catch(P){f.e(P)}finally{f.f()}}}var i=_createForOfIteratorHelper(p),C;try{for(i.s();!(C=i.n()).done;){var s=C.value;u(s)}}catch(_){i.e(_)}finally{i.f()}return c}function x(p,d){var r=[];function c(s){if(s.id===d)return!0;if(s.children){var _=D()(s.children),f;try{for(_.s();!(f=_.n()).done;){var t=f.value;if(c(t))return r.unshift(s.id),!0}}catch(E){_.e(E)}finally{_.f()}}return!1}var u=D()(p),i;try{for(u.s();!(i=u.n()).done;){var C=i.value;c(C)}}catch(s){u.e(s)}finally{u.f()}return r}function h(p,d){var r=[],c=function i(C,s){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],f=D()(C),t;try{for(f.s();!(t=f.n()).done;){var E=t.value;if(E.name===s)return[].concat(n()(_),[E]);if(E.children){var P=i(E.children,s,[].concat(n()(_),[E]));if(P.length>0)return P}}}catch(L){f.e(L)}finally{f.f()}return[]},u=c(p,d);return u}function v(p,d){var r=D()(p),c;try{for(r.s();!(c=r.n()).done;){var u=c.value;if(u.id===d)return!0;if(u.children&&Array.isArray(u.children)){var i=v(u.children,d);if(i)return!0}}}catch(C){r.e(C)}finally{r.f()}return!1}}}]);