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__Home__index.0288082d.async.js 12KB

1 月之前
12
  1. (self.webpackChunk=self.webpackChunk||[]).push([[9731],{87076:function(U,W,n){"use strict";n.r(W);var p=n(5574),C=n.n(p),i=n(67294),Z=n(74453),O=n(17788),L=n(21532),F=n(71230),S=n(15746),g=n(42075),v=n(4393),_=n(83622),a=n(26412),x=n(96074),y=n(55054),h=n(75891),j=n(36998),d=n(70489),b=n(72131),M=n(98998),e=n(85893),R=function($){var w=$.dispatch,N=$.dictModel,X=(0,i.useState)(null),k=C()(X,2),c=k[0],r=k[1],s=(0,i.useState)(null),l=C()(s,2),t=l[0],o=l[1],I=(0,i.useState)(0),D=C()(I,2),f=D[0],E=D[1],T=(0,i.useState)(0),A=C()(T,2),B=A[0],m=A[1],K=(0,i.useState)(0),H=C()(K,2),J=H[0],Y=H[1],G=(0,i.useState)(0),V=C()(G,2),Q=V[0],q=V[1];return(0,i.useEffect)(function(){(0,d.L)({id:localStorage.getItem("companyid")}).then(function(u){r(u.data)}),(0,d.Zq)().then(function(u){o(u.data)})},[]),(0,i.useEffect)(function(){(0,b.k)({page:1,pagesize:10}).then(function(u){E(u.data.total?u.data.total:0)}),(0,d.EZ)({page:1,pagesize:10}).then(function(u){m(u.data.total?u.data.total:0)}),(0,d.Cg)({page:1,pagesize:10}).then(function(u){Y(u.data.total?u.data.total:0)}),(0,d.xP)({page:1,pagesize:10}).then(function(u){q(u.data.total?u.data.total:0)})},[]),(0,i.useEffect)(function(){w({type:"dictModel/getList",payload:{code:2027,type:"setIndustryPostList"}})},[w]),(0,i.useEffect)(function(){if(N.industryPostList.length>0&&c&&c){var u=!0,P=!1;c.industry&&(P=(0,j.ME)(N.industryPostList,c.industry)),P&&c.industry2&&(P=(0,j.ME)(N.industryPostList,c.industry2)),P||(u=!1),u||O.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(){h.history.push("/manage/company/info")},onCancel:function(){console.log("Cancel")},okText:"\u524D\u5F80\u8BBE\u7F6E",cancelText:"\u53D6\u6D88",centered:!0})}},[N.industryPostList,c]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(L.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsx)(Z._z,{header:{title:""},style:{minHeight:800},children:c&&t&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(F.Z,{gutter:[20,20],children:[(0,e.jsx)(S.Z,{span:8,children:(0,e.jsxs)(g.Z,{direction:"vertical",size:30,style:{width:"100%"},children:[(0,e.jsx)(v.Z,{bordered:!1,title:(0,e.jsx)(h.Link,{to:{pathname:"/talent/company/detail?id=".concat(localStorage.getItem("companyid"))},target:"_blank",style:{color:"#000000",fontSize:16,marginRight:10},children:c.full_name}),extra:(0,e.jsx)(h.Link,{to:{pathname:"/manage/company/info"},style:{color:"#19be6e",fontSize:14,marginRight:10},children:(0,e.jsx)(_.ZP,{children:"\u7F16\u8F91\u8D44\u6599"})}),style:{boxShadow:"0 8px 20px #f0f0f0"},children:(0,e.jsx)(g.Z,{direction:"vertical",style:{borderRadius:10,width:"100%"},children:(0,e.jsxs)(a.Z,{children:[(0,e.jsx)(a.Z.Item,{label:"\u4F01\u4E1A\u7F16\u53F7",span:24,children:c.id}),(0,e.jsx)(a.Z.Item,{label:"\u767B\u5F55\u8D26\u53F7",span:24,children:c.mobile}),(0,e.jsx)(a.Z.Item,{label:"\u8BBF\u95EE\u6B21\u6570",span:24,children:t.click_count}),(0,e.jsx)(a.Z.Item,{label:"\u6708\u6D4F\u89C8\u7B80\u5386\u8054\u7CFB\u65B9\u5F0F\u6B21\u6570",span:24,children:t.month_look_resume_qty}),(0,e.jsx)(a.Z.Item,{label:"\u5269\u4F59\u53EF\u67E5\u770B\u7B80\u5386\u8054\u7CFB\u65B9\u5F0F",span:24,children:t.limit_resume_qty}),(0,e.jsx)(a.Z.Item,{span:24,children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(a.Z.Item,{label:"\u6CE8\u518C\u65E5\u671F",span:24,children:c.establishment_date}),(0,e.jsxs)(a.Z.Item,{label:"\u6240\u5C5E\u884C\u4E1A",span:24,children:[c.industry_text,c.industry2_text]}),(0,e.jsx)(a.Z.Item,{label:"\u4F01\u4E1A\u6027\u8D28",span:24,children:c.nature_text}),(0,e.jsx)(a.Z.Item,{label:"\u4F01\u4E1A\u89C4\u6A21",span:24,children:c.scale_text})]})})}),(0,e.jsx)(v.Z,{bordered:!1,style:{boxShadow:"0 8px 20px #f0f0f0",backgroundColor:"#fafafa"},children:(0,e.jsx)(g.Z,{direction:"vertical",style:{borderRadius:10,width:"100%"},children:(0,e.jsxs)(a.Z,{children:[(0,e.jsx)(a.Z.Item,{label:"\u793E\u4F1A\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",span:24,children:c.registration_number}),(0,e.jsx)(a.Z.Item,{label:"\u8054\u7CFB\u624B\u673A",span:24,children:c.mobile}),(0,e.jsx)(a.Z.Item,{label:"\u8054\u7CFB\u56FA\u8BDD",span:24,children:c.phone}),(0,e.jsx)(a.Z.Item,{label:"\u4F01\u4E1A\u90AE\u7BB1",span:24,children:c.email}),(0,e.jsx)(a.Z.Item,{label:"\u4F01\u4E1A\u5B98\u7F51",span:24,children:c.website}),(0,e.jsx)(a.Z.Item,{label:"\u4F01\u4E1A\u4F20\u771F",span:24,children:c.fax})]})})})]})}),(0,e.jsx)(S.Z,{span:16,children:(0,e.jsxs)(g.Z,{direction:"vertical",size:20,style:{width:"100%"},children:[(0,e.jsxs)(F.Z,{gutter:16,children:[(0,e.jsx)(S.Z,{span:6,children:(0,e.jsx)(h.Link,{to:{pathname:"/manage/company/post"},children:(0,e.jsx)(v.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,e.jsx)(y.Z,{title:"\u804C\u4F4D\u6570",value:f,valueStyle:{color:"#19be6e"}})})})}),(0,e.jsx)(S.Z,{span:6,children:(0,e.jsx)(h.Link,{to:{pathname:"/manage/company/resume"},children:(0,e.jsx)(v.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,e.jsx)(y.Z,{title:"\u5F85\u770B\u7B80\u5386",value:B})})})}),(0,e.jsx)(S.Z,{span:6,children:(0,e.jsx)(h.Link,{to:{pathname:"/manage/company/resume"},children:(0,e.jsx)(v.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,e.jsx)(y.Z,{title:"\u9762\u8BD5\u9080\u8BF7",value:J,valueStyle:{color:"#19be6e"}})})})}),(0,e.jsx)(S.Z,{span:6,children:(0,e.jsx)(h.Link,{to:{pathname:"/manage/company/resume"},children:(0,e.jsx)(v.Z,{bordered:!1,size:"small",style:{boxShadow:"0 2px 4px #ccc"},children:(0,e.jsx)(y.Z,{title:"\u4EBA\u624D\u5E93",value:Q})})})})]}),(0,e.jsx)(M.Z,{})]})})]})})})})})};W.default=(0,h.connect)(function(z){var $=z.dictModel;return{dictModel:$}})(R)},36998:function(U,W,n){"use strict";n.d(W,{ME:function(){return S},P8:function(){return F},wi:function(){return L}});var p=n(19632),C=n.n(p),i=n(64599),Z=n.n(i);function O(g,v,_){var a=[];function x(d){if(d[v]===_&&a.push(d),d.children){var b=_createForOfIteratorHelper(d.children),M;try{for(b.s();!(M=b.n()).done;){var e=M.value;x(e)}}catch(R){b.e(R)}finally{b.f()}}}var y=_createForOfIteratorHelper(g),h;try{for(y.s();!(h=y.n()).done;){var j=h.value;x(j)}}catch(d){y.e(d)}finally{y.f()}return a}function L(g,v){var _=[];function a(j){if(j.id===v)return!0;if(j.children){var d=Z()(j.children),b;try{for(d.s();!(b=d.n()).done;){var M=b.value;if(a(M))return _.unshift(j.id),!0}}catch(e){d.e(e)}finally{d.f()}}return!1}var x=Z()(g),y;try{for(x.s();!(y=x.n()).done;){var h=y.value;a(h)}}catch(j){x.e(j)}finally{x.f()}return _}function F(g,v){var _=[],a=function y(h,j){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],b=Z()(h),M;try{for(b.s();!(M=b.n()).done;){var e=M.value;if(e.name===j)return[].concat(C()(d),[e]);if(e.children){var R=y(e.children,j,[].concat(C()(d),[e]));if(R.length>0)return R}}}catch(z){b.e(z)}finally{b.f()}return[]},x=a(g,v);return x}function S(g,v){var _=Z()(g),a;try{for(_.s();!(a=_.n()).done;){var x=a.value;if(x.id===v)return!0;if(x.children&&Array.isArray(x.children)){var y=S(x.children,v);if(y)return!0}}}catch(h){_.e(h)}finally{_.f()}return!1}},55054:function(U,W,n){"use strict";n.d(W,{Z:function(){return c}});var p=n(67294),C=n(57838),i=n(96159),Z=n(93967),O=n.n(Z),L=n(64217),F=n(53124),S=n(48054),v=r=>{const{value:s,formatter:l,precision:t,decimalSeparator:o,groupSeparator:I="",prefixCls:D}=r;let f;if(typeof l=="function")f=l(s);else{const E=String(s),T=E.match(/^(-?)(\d*)(\.(\d+))?$/);if(!T||E==="-")f=E;else{const A=T[1];let B=T[2]||"0",m=T[4]||"";B=B.replace(/\B(?=(\d{3})+(?!\d))/g,I),typeof t=="number"&&(m=m.padEnd(t,"0").slice(0,t>0?t:0)),m&&(m=`${o}${m}`),f=[p.createElement("span",{key:"int",className:`${D}-content-value-int`},A,B),m&&p.createElement("span",{key:"decimal",className:`${D}-content-value-decimal`},m)]}}return p.createElement("span",{className:`${D}-content-value`},f)},_=n(14747),a=n(83559),x=n(83262);const y=r=>{const{componentCls:s,marginXXS:l,padding:t,colorTextDescription:o,titleFontSize:I,colorTextHeading:D,contentFontSize:f,fontFamily:E}=r;return{[s]:Object.assign(Object.assign({},(0,_.Wf)(r)),{[`${s}-title`]:{marginBottom:l,color:o,fontSize:I},[`${s}-skeleton`]:{paddingTop:t},[`${s}-content`]:{color:D,fontSize:f,fontFamily:E,[`${s}-content-value`]:{display:"inline-block",direction:"ltr"},[`${s}-content-prefix, ${s}-content-suffix`]:{display:"inline-block"},[`${s}-content-prefix`]:{marginInlineEnd:l},[`${s}-content-suffix`]:{marginInlineStart:l}}})}},h=r=>{const{fontSizeHeading3:s,fontSize:l}=r;return{titleFontSize:l,contentFontSize:s}};var j=(0,a.I$)("Statistic",r=>{const s=(0,x.IX)(r,{});return[y(s)]},h),d=function(r,s){var l={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&s.indexOf(t)<0&&(l[t]=r[t]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,t=Object.getOwnPropertySymbols(r);o<t.length;o++)s.indexOf(t[o])<0&&Object.prototype.propertyIsEnumerable.call(r,t[o])&&(l[t[o]]=r[t[o]]);return l},M=r=>{const{prefixCls:s,className:l,rootClassName:t,style:o,valueStyle:I,value:D=0,title:f,valueRender:E,prefix:T,suffix:A,loading:B=!1,formatter:m,precision:K,decimalSeparator:H=".",groupSeparator:J=",",onMouseEnter:Y,onMouseLeave:G}=r,V=d(r,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:Q,direction:q,statistic:u}=p.useContext(F.E_),P=Q("statistic",s),[ee,ne,ae]=j(P),te=p.createElement(v,{decimalSeparator:H,groupSeparator:J,prefixCls:P,formatter:m,precision:K,value:D}),re=O()(P,{[`${P}-rtl`]:q==="rtl"},u==null?void 0:u.className,l,t,ne,ae),se=(0,L.Z)(V,{aria:!0,data:!0});return ee(p.createElement("div",Object.assign({},se,{className:re,style:Object.assign(Object.assign({},u==null?void 0:u.style),o),onMouseEnter:Y,onMouseLeave:G}),f&&p.createElement("div",{className:`${P}-title`},f),p.createElement(S.Z,{paragraph:!1,loading:B,className:`${P}-skeleton`},p.createElement("div",{style:I,className:`${P}-content`},T&&p.createElement("span",{className:`${P}-content-prefix`},T),E?E(te):te,A&&p.createElement("span",{className:`${P}-content-suffix`},A)))))};const e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function R(r,s){let l=r;const t=/\[[^\]]*]/g,o=(s.match(t)||[]).map(E=>E.slice(1,-1)),I=s.replace(t,"[]"),D=e.reduce((E,T)=>{let[A,B]=T;if(E.includes(A)){const m=Math.floor(l/B);return l-=m*B,E.replace(new RegExp(`${A}+`,"g"),K=>{const H=K.length;return m.toString().padStart(H,"0")})}return E},I);let f=0;return D.replace(t,()=>{const E=o[f];return f+=1,E})}function z(r,s){const{format:l=""}=s,t=new Date(r).getTime(),o=Date.now(),I=Math.max(t-o,0);return R(I,l)}var $=function(r,s){var l={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&s.indexOf(t)<0&&(l[t]=r[t]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,t=Object.getOwnPropertySymbols(r);o<t.length;o++)s.indexOf(t[o])<0&&Object.prototype.propertyIsEnumerable.call(r,t[o])&&(l[t[o]]=r[t[o]]);return l};const w=1e3/30;function N(r){return new Date(r).getTime()}const X=r=>{const{value:s,format:l="HH:mm:ss",onChange:t,onFinish:o}=r,I=$(r,["value","format","onChange","onFinish"]),D=(0,C.Z)(),f=p.useRef(null),E=()=>{o==null||o(),f.current&&(clearInterval(f.current),f.current=null)},T=()=>{const m=N(s);m>=Date.now()&&(f.current=setInterval(()=>{D(),t==null||t(m-Date.now()),m<Date.now()&&E()},w))};p.useEffect(()=>(T(),()=>{f.current&&(clearInterval(f.current),f.current=null)}),[s]);const A=(m,K)=>z(m,Object.assign(Object.assign({},K),{format:l})),B=m=>(0,i.Tm)(m,{title:void 0});return p.createElement(M,Object.assign({},I,{value:s,valueRender:B,formatter:A}))};var k=p.memo(X);M.Countdown=k;var c=M},64599:function(U,W,n){var p=n(96263);function C(i,Z){var O=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(!O){if(Array.isArray(i)||(O=p(i))||Z&&i&&typeof i.length=="number"){O&&(i=O);var L=0,F=function(){};return{s:F,n:function(){return L>=i.length?{done:!0}:{done:!1,value:i[L++]}},e:function(a){throw a},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  2. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,g=!1,v;return{s:function(){O=O.call(i)},n:function(){var a=O.next();return S=a.done,a},e:function(a){g=!0,v=a},f:function(){try{!S&&O.return!=null&&O.return()}finally{if(g)throw v}}}}U.exports=C,U.exports.__esModule=!0,U.exports.default=U.exports}}]);