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.1d77932f.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),b=o.n(e),M=o(5574),x=o.n(M),h=o(67294),E=o(7529),C=o(21532),m=o(7134),r=o(42075),d=o(66309),u=o(75891),i=o(70489),s=o(85893),c=function(){var f=(0,h.useRef)(),t=(0,h.useState)([]),v=x()(t,2),P=v[0],L=v[1],w=(0,h.useState)(1),A=x()(w,2),T=A[0],I=A[1],l=(0,h.useState)(10),B=x()(l,2),S=B[0],Z=B[1],O=(0,h.useState)(0),F=x()(O,2),U=F[0],J=F[1];return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(C.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,s.jsx)("div",{style:{minHeight:"800px"},children:(0,s.jsx)(E.Rs,{actionRef:f,headerTitle:"\u63A8\u8350\u7B80\u5386",rowKey:"id",dataSource:P,request:b()(n()().mark(function R(){var D,_=arguments;return n()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return D=_.length>0&&_[0]!==void 0?_[0]:{},g.abrupt("return",(0,i.mX)({page:T,pagesize:S,sort:"id",sortby:"desc"}).then(function(z){L(z.data.list),J(z.data.total)}));case 2:case"end":return g.stop()}},R)})),pagination:{current:T,pageSize:S,total:U,hideOnSinglePage:!0,onChange:function(D,_){I(D),Z(_)},onShowSizeChange:function(D,_){I(D),Z(_)}},showActions:"hover",metas:{title:{render:function(D,_){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(u.Link,{to:{pathname:"/talent/resume/detail?id=".concat(_.customer_id)},style:{color:"#000000",fontSize:16,fontWeight:"bold"},children:_.seekername})})}},avatar:{render:function(D,_){return(0,s.jsx)(m.C,{size:48,src:_.photo})}},subTitle:{render:function(D,_){return(0,s.jsxs)(r.Z,{size:0,children:[(0,s.jsxs)(d.Z,{color:"#5BD8A6",children:[_.age,"\u5C81"]}),(0,s.jsx)(d.Z,{color:"blue",children:_.gender}),(0,s.jsx)(d.Z,{color:"#5BD8A6",children:_.education_text}),(0,s.jsxs)(d.Z,{color:"#5BD8A6",children:["\u5DE5\u4F5C\u7ECF\u9A8C\uFF1A",_.work_experience,"\u5E74"]})]})}},description:{dataIndex:"introduction"}}})})})})};j.Z=c},87076:function(W,j,o){o.r(j);var a=o(5574),n=o.n(a),e=o(67294),b=o(74453),M=o(17788),x=o(21532),h=o(71230),E=o(15746),C=o(42075),m=o(4393),r=o(26412),d=o(96074),u=o(55054),i=o(75891),s=o(36998),c=o(70489),p=o(72131),f=o(98998),t=o(85893),v=function(L){var w=L.dispatch,A=L.dictModel,T=(0,e.useState)({}),I=n()(T,2),l=I[0],B=I[1],S=(0,e.useState)({}),Z=n()(S,2),O=Z[0],F=Z[1],U=(0,e.useState)(0),J=n()(U,2),R=J[0],D=J[1],_=(0,e.useState)(0),K=n()(_,2),g=K[0],z=K[1],V=(0,e.useState)(0),H=n()(V,2),X=H[0],$=H[1],N=(0,e.useState)(0),k=n()(N,2),Q=k[0],Y=k[1];return(0,e.useEffect)(function(){(0,c.L)({id:localStorage.getItem("companyid")}).then(function(y){B(y.data)}),(0,c.Zq)().then(function(y){F(y.data)})},[]),(0,e.useEffect)(function(){(0,p.k)({page:1,pagesize:10}).then(function(y){D(y.data.total?y.data.total:0)}),(0,c.EZ)({page:1,pagesize:10}).then(function(y){z(y.data.total?y.data.total:0)}),(0,c.Cg)({page:1,pagesize:10}).then(function(y){$(y.data.total?y.data.total:0)}),(0,c.xP)({page:1,pagesize:10}).then(function(y){Y(y.data.total?y.data.total:0)})},[]),(0,e.useEffect)(function(){w({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}})},[w]),(0,e.useEffect)(function(){if(A.industryPostList.length>0&&l&&l){var y=!0,G=(0,s.ME)(A.industryPostList,l.industry);G&&(G=(0,s.ME)(A.industryPostList,11133)),G||(y=!1),console.log(y),y||M.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)(b._z,{header:{title:""},style:{minHeight:800},children:(0,t.jsxs)(h.Z,{gutter:[20,20],children:[(0,t.jsx)(E.Z,{span:8,children:(0,t.jsxs)(C.Z,{direction:"vertical",size:30,style:{width:"100%"},children:[(0,t.jsx)(m.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)(C.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:O.click_count}),(0,t.jsx)(r.Z.Item,{label:"\u6708\u6D4F\u89C8\u7B80\u5386\u8054\u7CFB\u65B9\u5F0F\u6B21\u6570",span:24,children:O.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:O.limit_resume_qty}),(0,t.jsx)(r.Z.Item,{span:24,children:(0,t.jsx)(d.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)(m.Z,{bordered:!1,style:{boxShadow:"0 8px 20px #f0f0f0",backgroundColor:"#fafafa"},children:(0,t.jsx)(C.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)(E.Z,{span:16,children:(0,t.jsxs)(C.Z,{direction:"vertical",size:20,style:{width:"100%"},children:[(0,t.jsxs)(h.Z,{gutter:16,children:[(0,t.jsx)(E.Z,{span:6,children:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/post"},children:(0,t.jsx)(m.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,t.jsx)(u.Z,{title:"\u804C\u4F4D\u6570",value:R,valueStyle:{color:"#19be6e"}})})})}),(0,t.jsx)(E.Z,{span:6,children:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/resume"},children:(0,t.jsx)(m.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)(E.Z,{span:6,children:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/resume"},children:(0,t.jsx)(m.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)(E.Z,{span:6,children:(0,t.jsx)(i.Link,{to:{pathname:"/manage/company/resume"},children:(0,t.jsx)(m.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}})(v)},70489:function(W,j,o){o.d(j,{lu:function(){return R},UE:function(){return i},L:function(){return h},Mm:function(){return b},Gc:function(){return S},vN:function(){return x},Cg:function(){return f},DH:function(){return M},Zq:function(){return c},mX:function(){return s},du:function(){return _},EZ:function(){return p},Qt:function(){return L},xP:function(){return t},s4:function(){return l},Mt:function(){return F},Jm:function(){return U},Ld:function(){return r},aY:function(){return d},T7:function(){return u},XE:function(){return E},Cl:function(){return O},su:function(){return T},z0:function(){return B},Dz:function(){return I},NJ:function(){return m},cL:function(){return C},Og:function(){return A},Px:function(){return w},h9:function(){return g},FI:function(){return v},mj:function(){return P},un:function(){return K}});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"},b=(0,a.y)(e.CompanyFamousList),M=(0,a.y)(e.CompanyProbationList),x=(0,a.y)(e.CompanyInfo),h=(0,a.y)(e.CompanyDetailInfo),E=(0,a.L)(e.CompanyEdit),C=(0,a.L)(e.CompanyPhotoUpload),m=(0,a.L)(e.CompanyLicenseUpload),r=(0,a.L)(e.CompanyDepartmentAdd),d=(0,a.L)(e.CompanyDepartmentDel),u=(0,a.L)(e.CompanyDepartmentEdit),i=(0,a.y)(e.CompanyDepartmentList),s=(0,a.y)(e.CompanyRecommentResume),c=(0,a.y)(e.CompanyProfile),p=(0,a.y)(e.CompanyResumeList),f=(0,a.y)(e.CompanyInterviewList),t=(0,a.y)(e.CompanyTalentPoolList),v=(0,a.L)(e.CompanyTalentPoolAdd),P=(0,a.L)(e.CompanyTalentPoolDel),L=(0,a.y)(e.CompanyResumeRecycleList),w=(0,a.L)(e.CompanyResumeRecycle),A=(0,a.L)(e.CompanyResumeRecover),T=(0,a.L)(e.CompanyInterviewAdd),I=(0,a.L)(e.CompanyInterviewDel),l=(0,a.y)(e.CompanyViewedContactList),B=(0,a.L)(e.CompanyInterviewAdmission),S=(0,a.y)(e.CompanyFee),Z=(0,a.L)(e.CompanyPwdEdit),O=(0,a.L)(e.CompanyEmailEdit),F=(0,a.L)(e.CompanyCustomerCodeAdd),U=(0,a.L)(e.CompanyCustomerCodeDel),J=(0,a.L)(e.CompanyCustomerCodeUpdate),R=(0,a.y)(e.CompanyCustomerCodeList),D=(0,a.y)(e.CompanyCustomerCodeDetail),_=(0,a.y)(e.CompanyRecruiters),K=(0,a.L)(e.JobseekerResetPwd),g=(0,a.L)(e.CompanySearch)},72131:function(W,j,o){o.d(j,{by:function(){return d},k:function(){return E},ME:function(){return h},d8:function(){return M},GR:function(){return x},f5:function(){return C},Dl:function(){return r},Kp:function(){return m},st:function(){return i},l8:function(){return u},xc:function(){return s},$Z:function(){return b}});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"},b=(0,a.L)(e.JobSearch),M=(0,a.y)(e.JobCompanyjobs),x=(0,a.y)(e.JobDetail),h=(0,a.y)(e.JobAuthdetail),E=(0,a.y)(e.CompanyJobList),C=(0,a.L)(e.CompanyJobAdd),m=(0,a.L)(e.CompanyJobEdit),r=(0,a.L)(e.CompanyJobDel),d=(0,a.y)(e.CompanyJobInfo),u=(0,a.L)(e.CompanyJobStatusChange),i=(0,a.L)(e.CompanyJobRecycle),s=(0,a.L)(e.CompanyJobrecoverRecycle)},36998:function(W,j,o){o.d(j,{ME:function(){return E},P8:function(){return h},wi:function(){return x}});var a=o(19632),n=o.n(a),e=o(64599),b=o.n(e);function M(C,m,r){var d=[];function u(p){if(p[m]===r&&d.push(p),p.children){var f=_createForOfIteratorHelper(p.children),t;try{for(f.s();!(t=f.n()).done;){var v=t.value;u(v)}}catch(P){f.e(P)}finally{f.f()}}}var i=_createForOfIteratorHelper(C),s;try{for(i.s();!(s=i.n()).done;){var c=s.value;u(c)}}catch(p){i.e(p)}finally{i.f()}return d}function x(C,m){var r=[];function d(c){if(c.id===m)return!0;if(c.children){var p=b()(c.children),f;try{for(p.s();!(f=p.n()).done;){var t=f.value;if(d(t))return r.unshift(c.id),!0}}catch(v){p.e(v)}finally{p.f()}}return!1}var u=b()(C),i;try{for(u.s();!(i=u.n()).done;){var s=i.value;d(s)}}catch(c){u.e(c)}finally{u.f()}return r}function h(C,m){var r=[],d=function i(s,c){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],f=b()(s),t;try{for(f.s();!(t=f.n()).done;){var v=t.value;if(v.name===c)return[].concat(n()(p),[v]);if(v.children){var P=i(v.children,c,[].concat(n()(p),[v]));if(P.length>0)return P}}}catch(L){f.e(L)}finally{f.f()}return[]},u=d(C,m);return u}function E(C,m){var r=b()(C),d;try{for(r.s();!(d=r.n()).done;){var u=d.value;if(u.id===m)return!0;if(u.children&&Array.isArray(u.children)){var i=E(u.children,m);if(i)return!0}}}catch(s){r.e(s)}finally{r.f()}return!1}}}]);