1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[787],{33862:function(I,C,n){n.d(C,{Z:function(){return E}});var l=n(87462),d=n(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},v=u,m=n(84089),g=function(x,T){return d.createElement(m.Z,(0,l.Z)({},x,{ref:T,icon:v}))},h=d.forwardRef(g),E=h},36223:function(I,C,n){n.d(C,{Z:function(){return E}});var l=n(87462),d=n(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"}},{tag:"path",attrs:{d:"M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z"}}]},name:"field-time",theme:"outlined"},v=u,m=n(84089),g=function(x,T){return d.createElement(m.Z,(0,l.Z)({},x,{ref:T,icon:v}))},h=d.forwardRef(g),E=h},45073:function(I,C,n){var l=n(75891),d=n(21532),u=n(32983),v=n(85893),m=function(h){var E=h.description;return(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(d.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,v.jsx)(u.Z,{description:E})})})};C.Z=(0,l.connect)(function(g){var h=g.dictModel;return{dictModel:h}})(m)},17983:function(I,C,n){n.r(C);var l=n(5574),d=n.n(l),u=n(67294),v=n(21532),m=n(42075),g=n(86250),h=n(66309),E=n(83622),M=n(68872),x=n(17788),T=n(92398),z=n(71230),U=n(15746),S=n(96074),K=n(36223),A=n(33862),j=n(75891),W=n(86492),H=n.n(W),N=n(33011),V=n(96990),X=n(45073),t=n(85893),G=function(){var R=(0,j.useSearchParams)(),k=d()(R,1),Q=k[0],te=(0,u.useState)(null),Z=d()(te,2),f=Z[0],e=Z[1],a=(0,u.useState)(!1),c=d()(a,2),o=c[0],r=c[1];return(0,u.useEffect)(function(){(0,N.RN)({id:Q.get("id")}).then(function(s){e(s.data)})},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(v.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[f&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(m.Z,{direction:"vertical",size:20,style:{width:"100%",minHeight:"1000px",padding:20,borderRadius:8},children:[(0,t.jsxs)(g.Z,{justify:"space-between",align:"center",style:{backgroundColor:"#ffffff",padding:20,borderRadius:8},children:[(0,t.jsxs)(m.Z,{size:20,direction:"vertical",children:[(0,t.jsx)("div",{style:{fontSize:"24px"},children:f.title}),(0,t.jsxs)("div",{children:[(0,t.jsx)(h.Z,{color:"#19be6e",children:"\u8FDB\u884C\u4E2D"})," ",(0,t.jsx)(K.Z,{})," ",f.open_date," ",f.close_date?(0,t.jsxs)(t.Fragment,{children:["\u81F3",f.close_date]}):""]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(A.Z,{})," ",f.address]})]}),(0,t.jsx)(m.Z,{size:10,direction:"vertical",children:(0,t.jsx)(E.ZP,{type:"primary",onClick:function(){localStorage.getItem("role")&&localStorage.getItem("role")=="personal"&&M.ZP.warning("\u60A8\u5F53\u524D\u72B6\u6001\u4E0D\u662F\u4F01\u4E1A\uFF0C\u65E0\u6CD5\u70B9\u51FB"),localStorage.getItem("token")?x.Z.confirm({title:"\u53C2\u52A0\u62DB\u8058\u4F1A",content:"\u662F\u5426\u8981\u53C2\u52A0\u6B64\u62DB\u8058\u4F1A",onOk:function(){(0,N.Bt)({recruitment_id:f.id,company_id:Number(localStorage.getItem("companyid")),status:1}).then(function(y){M.ZP.success("\u53C2\u52A0\u62DB\u8058\u4F1A\u6210\u529F,\u5F85\u5BA1\u6838\u7ED3\u679C")})},onCancel:function(){console.log("Cancel")},okText:"\u53C2\u52A0",cancelText:"\u53D6\u6D88",centered:!0}):x.Z.confirm({title:"\u8BF7\u5148\u767B\u5F55",content:"\u60A8\u8FD8\u672A\u767B\u5F55\uFF0C\u8BF7\u5148\u767B\u5F55",onOk:function(){r(!0)},onCancel:function(){console.log("Cancel")},okText:"\u767B\u5F55",cancelText:"\u53D6\u6D88",centered:!0})},children:"\u4F01\u4E1A\u62A5\u540D\u53C2\u4F1A\uFF0C\u70B9\u51FB\u6B64\u5904"})})]}),(0,t.jsx)("div",{style:{borderRadius:8,minHeight:"500px"},children:(0,t.jsx)(T.Z,{items:[{label:"\u62DB\u8058\u4F1A\u4ECB\u7ECD",key:"1",children:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{borderRadius:8,backgroundColor:"#ffffff",padding:20,minHeight:"500px"},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:H().decode(f.content)}})})})},{label:"\u53C2\u4E0E\u4F01\u4E1A",key:"2",children:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(z.Z,{gutter:[16,16],children:f&&f.companys&&f.companys.length>0&&f.companys.map(function(s,i){return(0,t.jsx)(t.Fragment,{children:s.company_name&&(0,t.jsx)(U.Z,{span:8,children:s.company_name&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(m.Z,{size:0,direction:"vertical",style:{width:"100%",padding:20,borderRadius:8,backgroundColor:"#ffffff"},children:[(0,t.jsx)(m.Z,{size:10,direction:"vertical",children:(0,t.jsx)("div",{style:{fontSize:"18px",fontWeight:"bold"},children:(0,t.jsx)(j.Link,{to:{pathname:"/talent/company/detail/?id=".concat(s.id)},target:"_blank",style:{color:"#000000"},children:s.company_name})})}),(0,t.jsx)(S.Z,{}),(0,t.jsx)(m.Z,{size:10,direction:"vertical",style:{width:"100%",minHeight:198},children:s.jobs&&s.jobs.length>0&&s.jobs.slice(0,4).map(function(y,O){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(j.Link,{to:{pathname:"/talent/job/detail/?id=".concat(y.id)},target:"_blank",style:{color:"#000000"},children:(0,t.jsxs)(g.Z,{justify:"space-between",align:"center",style:{border:"1px #f0f0f0 solid",padding:8,borderRadius:8},children:[(0,t.jsx)("div",{children:y.job_name}),(0,t.jsx)(E.ZP,{size:"small",type:"text",children:"\u6295\u9012\u8BE5\u804C\u4F4D"})]})})})})}),(0,t.jsx)(j.Link,{to:{pathname:"/talent/company/detail/?id=".concat(s.id)},target:"_blank",style:{color:"#000000"},children:(0,t.jsxs)(g.Z,{justify:"space-between",align:"center",style:{color:"#000000",paddingTop:16},children:[(0,t.jsxs)("div",{style:{color:"#000000"},children:["\u5171",s.jobs&&s.jobs.length?s.jobs.length:0,"\u4E2A\u804C\u4F4D"]}),(0,t.jsx)(E.ZP,{size:"small",type:"primary",children:"\u66F4\u591A\u804C\u4F4D"})]})})]})})})})})})})},{label:"\u53C2\u4F1A\u6307\u5357",key:"3",children:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{borderRadius:8,backgroundColor:"#ffffff",padding:20,minHeight:"500px"},children:"\u6682\u65E0\u53C2\u4F1A\u6307\u5357"})})}]})})]})}),!f&&(0,t.jsx)(X.Z,{description:"\u6682\u65E0\u6570\u636E"}),(0,t.jsx)(x.Z,{open:o,centered:!0,footer:null,onCancel:function(){return r(!1)},destroyOnClose:!0,maskClosable:!1,style:{minWidth:540},children:(0,t.jsx)(V.Z,{loginChangeStatus:function(i){console.log(i),r(i)},type:"company"})})]})})};C.default=G},33011:function(I,C,n){n.d(C,{RN:function(){return h},fc:function(){return v},Bt:function(){return g}});var l=n(75334),d=n(55375),u={RecruitmentList:d.xw+"/recruitment/list",RecruitmentBookcompany:d.xw+"/recruitmentBook/company",RecruitmentBookAdd:d.xw+"/recruitmentbook/add",RecruitmentDetail:d.xw+"/recruitment/detail"},v=(0,l.y)(u.RecruitmentList),m=(0,l.y)(u.RecruitmentBookcompany),g=(0,l.L)(u.RecruitmentBookAdd),h=(0,l.y)(u.RecruitmentDetail)},66309:function(I,C,n){n.d(C,{Z:function(){return f}});var l=n(67294),d=n(93967),u=n.n(d),v=n(98423),m=n(98787),g=n(69760),h=n(96159),E=n(45353),M=n(53124),x=n(11568),T=n(15063),z=n(14747),U=n(83262),S=n(83559);const K=e=>{const{paddingXXS:a,lineWidth:c,tagPaddingHorizontal:o,componentCls:r,calc:s}=e,i=s(o).sub(c).equal(),y=s(a).sub(c).equal();return{[r]:Object.assign(Object.assign({},(0,z.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:y,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},A=e=>{const{lineWidth:a,fontSizeIcon:c,calc:o}=e,r=e.fontSizeSM;return(0,U.IX)(e,{tagFontSize:r,tagLineHeight:(0,x.bf)(o(e.lineHeightSM).mul(r).equal()),tagIconSize:o(c).sub(o(a).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},j=e=>({defaultBg:new T.t(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var W=(0,S.I$)("Tag",e=>{const a=A(e);return K(a)},j),H=function(e,a){var c={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&a.indexOf(o)<0&&(c[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)a.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(c[o[r]]=e[o[r]]);return c},V=l.forwardRef((e,a)=>{const{prefixCls:c,style:o,className:r,checked:s,onChange:i,onClick:y}=e,O=H(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:L,tag:b}=l.useContext(M.E_),$=F=>{i==null||i(!s),y==null||y(F)},D=L("tag",c),[J,Y,P]=W(D),w=u()(D,`${D}-checkable`,{[`${D}-checkable-checked`]:s},b==null?void 0:b.className,r,Y,P);return J(l.createElement("span",Object.assign({},O,{ref:a,style:Object.assign(Object.assign({},o),b==null?void 0:b.style),className:w,onClick:$})))}),X=n(98719);const t=e=>(0,X.Z)(e,(a,c)=>{let{textColor:o,lightBorderColor:r,lightColor:s,darkColor:i}=c;return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:o,background:s,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var G=(0,S.bk)(["Tag","preset"],e=>{const a=A(e);return t(a)},j);function ne(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const R=(e,a,c)=>{const o=ne(c);return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:e[`color${c}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,S.bk)(["Tag","status"],e=>{const a=A(e);return[R(a,"success","Success"),R(a,"processing","Info"),R(a,"error","Error"),R(a,"warning","Warning")]},j),Q=function(e,a){var c={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&a.indexOf(o)<0&&(c[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)a.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(c[o[r]]=e[o[r]]);return c};const Z=l.forwardRef((e,a)=>{const{prefixCls:c,className:o,rootClassName:r,style:s,children:i,icon:y,color:O,onClose:L,bordered:b=!0,visible:$}=e,D=Q(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:J,direction:Y,tag:P}=l.useContext(M.E_),[w,F]=l.useState(!0),ie=(0,v.Z)(D,["closeIcon","closable"]);l.useEffect(()=>{$!==void 0&&F($)},[$]);const oe=(0,m.o2)(O),re=(0,m.yT)(O),q=oe||re,de=Object.assign(Object.assign({backgroundColor:O&&!q?O:void 0},P==null?void 0:P.style),s),p=J("tag",c),[ue,me,ge]=W(p),fe=u()(p,P==null?void 0:P.className,{[`${p}-${O}`]:q,[`${p}-has-color`]:O&&!q,[`${p}-hidden`]:!w,[`${p}-rtl`]:Y==="rtl",[`${p}-borderless`]:!b},o,r,me,ge),ae=B=>{B.stopPropagation(),L==null||L(B),!B.defaultPrevented&&F(!1)},[,ve]=(0,g.Z)((0,g.w)(e),(0,g.w)(P),{closable:!1,closeIconRender:B=>{const Ee=l.createElement("span",{className:`${p}-close-icon`,onClick:ae},B);return(0,h.wm)(B,Ee,_=>({onClick:ce=>{var ee;(ee=_==null?void 0:_.onClick)===null||ee===void 0||ee.call(_,ce),ae(ce)},className:u()(_==null?void 0:_.className,`${p}-close-icon`)}))}}),he=typeof D.onClick=="function"||i&&i.type==="a",le=y||null,Ce=le?l.createElement(l.Fragment,null,le,i&&l.createElement("span",null,i)):i,se=l.createElement("span",Object.assign({},ie,{ref:a,className:fe,style:de}),Ce,ve,oe&&l.createElement(G,{key:"preset",prefixCls:p}),re&&l.createElement(k,{key:"status",prefixCls:p}));return ue(he?l.createElement(E.Z,{component:"Tag"},se):se)});Z.CheckableTag=V;var f=Z}}]);
|