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__Fair__index.8282d302.async.js 11KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4259],{33862:function(L,C,t){t.d(C,{Z:function(){return E}});var c=t(87462),u=t(67294),d={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"},g=d,p=t(84089),v=function(x,T){return u.createElement(p.Z,(0,c.Z)({},x,{ref:T,icon:g}))},f=u.forwardRef(v),E=f},36223:function(L,C,t){t.d(C,{Z:function(){return E}});var c=t(87462),u=t(67294),d={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"},g=d,p=t(84089),v=function(x,T){return u.createElement(p.Z,(0,c.Z)({},x,{ref:T,icon:g}))},f=u.forwardRef(v),E=f},45073:function(L,C,t){var c=t(75891),u=t(21532),d=t(32983),g=t(85893),p=function(f){var E=f.description;return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(u.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,g.jsx)(d.Z,{description:E})})})};C.Z=(0,c.connect)(function(v){var f=v.dictModel;return{dictModel:f}})(p)},35703:function(L,C,t){t.r(C);var c=t(5574),u=t.n(c),d=t(67294),g=t(74453),p=t(21532),v=t(71230),f=t(15746),E=t(86250),y=t(25593),x=t(66309),T=t(84611),F=t(36223),H=t(33862),B=t(75891),N=t(55375),_=t(70489),A=t(45073),r=t(85893),V=function(){var w=(0,d.useState)([]),W=u()(w,2),D=W[0],Z=W[1],X=(0,d.useState)(0),S=u()(X,2),Q=S[0],U=S[1],te=(0,d.useState)(1),R=u()(te,2),G=R[0],e=R[1],a=(0,d.useState)(12),s=u()(a,2),n=s[0],o=s[1];return(0,d.useEffect)(function(){(0,_.Os)({page:1,pagesize:12,sortby:"desc"}).then(function(l){Z(l.data.list),U(l.data.total)})},[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(p.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,r.jsxs)(g._z,{header:{title:""},style:{minHeight:800},children:[(0,r.jsx)(v.Z,{gutter:[20,20],children:D.length>0&&D.map(function(l,i){return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(f.Z,{span:8,children:(0,r.jsx)(B.Link,{to:{pathname:"/talent/fair/detail?id=".concat(l.id)},target:"_blank",children:(0,r.jsxs)(E.Z,{vertical:!0,align:"center",justify:"center",style:{background:"#fff",borderRadius:"4px"},children:[(0,r.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,r.jsx)("img",{src:l.photo?"".concat(N.VO).concat(l.photo):"/images/logo.jpg",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:"8px 8px 0 0"}})}),(0,r.jsx)(y.Z.Paragraph,{ellipsis:{rows:2},style:{fontSize:16,fontWeight:"bold",padding:"0 16px",marginTop:8,minHeight:50,width:"100%"},children:l.title}),(0,r.jsxs)(y.Z.Paragraph,{ellipsis:{rows:1},style:{fontSize:12,color:"gray",padding:"0 16px",whiteSpace:"nowrap",width:"100%"},children:[(0,r.jsx)(F.Z,{})," ",l.open_date," ",l.close_date?(0,r.jsxs)(r.Fragment,{children:["\u81F3",l.close_date]}):""]}),(0,r.jsxs)(y.Z.Paragraph,{ellipsis:{rows:1},style:{fontSize:12,color:"gray",padding:"0 16px",whiteSpace:"nowrap",width:"100%"},children:[(0,r.jsx)(H.Z,{})," ",l.address]}),(0,r.jsxs)(y.Z.Paragraph,{ellipsis:{rows:1},style:{fontSize:12,color:"gray",padding:"0 16px",whiteSpace:"nowrap",width:"100%"},children:["\u5BA1\u6838\u7ED3\u679C\uFF1A ",(0,r.jsx)(x.Z,{style:{fontSize:12},children:l.status_text})]})]})})})})})}),!D||D.length==0&&(0,r.jsx)(A.Z,{description:"\u6CA1\u6709\u627E\u5230\u7B26\u5408\u6761\u4EF6\u7684\u62DB\u8058\u4F1A"}),(0,r.jsx)(E.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,r.jsx)(T.Z,{hideOnSinglePage:!0,total:Q,showTotal:function(i){return"\u603B\u5171".concat(i,"\u6761")},current:G,pageSize:n,pageSizeOptions:["12","24","36"],onChange:function(i,O){e(i),o(O),(0,_.Os)({page:i,pagesize:O,sortby:"desc"}).then(function(m){Z(m.data.list),U(m.data.total)})}})})]})})})};C.default=V},66309:function(L,C,t){t.d(C,{Z:function(){return G}});var c=t(67294),u=t(93967),d=t.n(u),g=t(98423),p=t(98787),v=t(69760),f=t(96159),E=t(45353),y=t(53124),x=t(11568),T=t(15063),F=t(14747),H=t(83262),B=t(83559);const N=e=>{const{paddingXXS:a,lineWidth:s,tagPaddingHorizontal:n,componentCls:o,calc:l}=e,i=l(n).sub(s).equal(),O=l(a).sub(s).equal();return{[o]:Object.assign(Object.assign({},(0,F.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",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:O,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-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(${o}-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}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},_=e=>{const{lineWidth:a,fontSizeIcon:s,calc:n}=e,o=e.fontSizeSM;return(0,H.IX)(e,{tagFontSize:o,tagLineHeight:(0,x.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(s).sub(n(a).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},A=e=>({defaultBg:new T.t(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var r=(0,B.I$)("Tag",e=>{const a=_(e);return N(a)},A),V=function(e,a){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&a.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)a.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(s[n[o]]=e[n[o]]);return s},w=c.forwardRef((e,a)=>{const{prefixCls:s,style:n,className:o,checked:l,onChange:i,onClick:O}=e,m=V(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:$,tag:b}=c.useContext(y.E_),z=K=>{i==null||i(!l),O==null||O(K)},M=$("tag",s),[J,Y,P]=r(M),k=d()(M,`${M}-checkable`,{[`${M}-checkable-checked`]:l},b==null?void 0:b.className,o,Y,P);return J(c.createElement("span",Object.assign({},m,{ref:a,style:Object.assign(Object.assign({},n),b==null?void 0:b.style),className:k,onClick:z})))}),W=t(98719);const D=e=>(0,W.Z)(e,(a,s)=>{let{textColor:n,lightBorderColor:o,lightColor:l,darkColor:i}=s;return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:n,background:l,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,B.bk)(["Tag","preset"],e=>{const a=_(e);return D(a)},A);function X(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const S=(e,a,s)=>{const n=X(s);return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:e[`color${s}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Q=(0,B.bk)(["Tag","status"],e=>{const a=_(e);return[S(a,"success","Success"),S(a,"processing","Info"),S(a,"error","Error"),S(a,"warning","Warning")]},A),U=function(e,a){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&a.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)a.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(s[n[o]]=e[n[o]]);return s};const R=c.forwardRef((e,a)=>{const{prefixCls:s,className:n,rootClassName:o,style:l,children:i,icon:O,color:m,onClose:$,bordered:b=!0,visible:z}=e,M=U(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:J,direction:Y,tag:P}=c.useContext(y.E_),[k,K]=c.useState(!0),ie=(0,g.Z)(M,["closeIcon","closable"]);c.useEffect(()=>{z!==void 0&&K(z)},[z]);const ne=(0,p.o2)(m),oe=(0,p.yT)(m),q=ne||oe,de=Object.assign(Object.assign({backgroundColor:m&&!q?m:void 0},P==null?void 0:P.style),l),h=J("tag",s),[ue,ge,ve]=r(h),fe=d()(h,P==null?void 0:P.className,{[`${h}-${m}`]:q,[`${h}-has-color`]:m&&!q,[`${h}-hidden`]:!k,[`${h}-rtl`]:Y==="rtl",[`${h}-borderless`]:!b},n,o,ge,ve),ae=I=>{I.stopPropagation(),$==null||$(I),!I.defaultPrevented&&K(!1)},[,me]=(0,v.Z)((0,v.w)(e),(0,v.w)(P),{closable:!1,closeIconRender:I=>{const pe=c.createElement("span",{className:`${h}-close-icon`,onClick:ae},I);return(0,f.wm)(I,pe,j=>({onClick:se=>{var ee;(ee=j==null?void 0:j.onClick)===null||ee===void 0||ee.call(j,se),ae(se)},className:d()(j==null?void 0:j.className,`${h}-close-icon`)}))}}),he=typeof M.onClick=="function"||i&&i.type==="a",re=O||null,Ce=re?c.createElement(c.Fragment,null,re,i&&c.createElement("span",null,i)):i,le=c.createElement("span",Object.assign({},ie,{ref:a,className:fe,style:de}),Ce,me,ne&&c.createElement(Z,{key:"preset",prefixCls:h}),oe&&c.createElement(Q,{key:"status",prefixCls:h}));return ue(he?c.createElement(E.Z,{component:"Tag"},le):le)});R.CheckableTag=w;var G=R}}]);