component: './Manage/Company/Setting', | component: './Manage/Company/Setting', | ||||
access: 'managecompanysetting' | access: 'managecompanysetting' | ||||
}, | }, | ||||
{ | |||||
name: '平台规则', | |||||
path: '/manage/company/rule', | |||||
component: './Manage/Company/Rule', | |||||
access: 'managecompanyrule' | |||||
}, | |||||
] | ] | ||||
}, | }, | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div id="root"></div> | <div id="root"></div> | ||||
<script src="/umi.35beae43.js"></script> | |||||
<script src="/umi.ff291227.js"></script> | |||||
</body> | </body> | ||||
</html> | </html> |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1349],{16598:function(f,s,e){e.r(s);var u=e(5574),a=e.n(u),t=e(67294),d=e(74453),l=e(21532),E=e(82900),r=e(86492),m=e.n(r),_=e(85893),i=function(){var P=(0,t.useState)("1"),n=a()(P,2),h=n[0],A=n[1],M=(0,t.useState)(""),o=a()(M,2),c=o[0],D=o[1];return(0,t.useEffect)(function(){(0,E.BV)({name:"rule"}).then(function(O){D(O.data.value)})},[]),(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(l.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,_.jsx)(d._z,{header:{title:""},style:{minHeight:800},children:(0,_.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:m().decode(c)}})})})})};s.default=i}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[91],{51651:function(ie,M,e){e.r(M);var W=e(15009),r=e.n(W),x=e(99289),m=e.n(x),y=e(5574),s=e.n(y),_=e(67294),F=e(74453),Z=e(21532),J=e(71230),z=e(15746),H=e(4393),$=e(29104),G=e(86250),v=e(83622),N=e(17788),P=e(42075),Q=e(51663),V=e(97088),O=e(93162),de=e.n(O),X=e(52087),Y=e(48273),g=e(24458),t=e(85893),w=function(){var k=(0,_.useState)(null),h=s()(k,2),u=h[0],j=h[1],q=(0,_.useState)([{},{}]),C=s()(q,2),ce=C[0],Ee=C[1],ee=(0,_.useState)(0),f=s()(ee,2),De=f[0],Me=f[1],te=(0,_.useState)(1),T=s()(te,2),ve=T[0],Pe=T[1],ae=(0,_.useState)(7),S=s()(ae,2),Oe=S[0],ge=S[1],_e=(0,_.useState)(!1),p=s()(_e,2),se=p[0],c=p[1],ne=(0,_.useState)("commonModel"),B=s()(ne,2),R=B[0],A=B[1],oe=(0,_.useState)("#19be6e"),b=s()(oe,2),E=b[0],I=b[1],le=(0,_.useState)("#000000"),L=s()(le,2),K=L[0],he=L[1],re=(0,_.useState)([{image:"/images/jianli1.png",title:"\u666E\u901A\u6A21\u677F",code:"commonModel",id:1},{image:"/images/jianli2.jpg",title:"\u7B80\u5386\u6A21\u677F\u4E00",code:"oneModel",id:2}]),U=s()(re,2),ue=U[0],je=U[1];return(0,_.useEffect)(function(){(0,g.ts)({customer_id:Number(localStorage.getItem("customerid"))}).then(function(a){j(a.data)})},[u]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Z.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,t.jsx)(F._z,{header:{title:"\u9884\u89C8\u7B80\u5386"},style:{minHeight:800},children:(0,t.jsx)(J.Z,{gutter:[20,20],id:"basic",children:ue.map(function(a){return(0,t.jsx)(z.Z,{span:6,children:(0,t.jsx)(H.Z,{hoverable:!0,cover:(0,t.jsx)($.Z,{src:a.image}),children:(0,t.jsxs)(G.Z,{vertical:!0,justify:"center",align:"center",children:[(0,t.jsxs)("span",{children:[a.title," "]}),(u==null?void 0:u.resume_template)==a.id?(0,t.jsx)(v.ZP,{color:"cyan",variant:"solid",onClick:function(){var n=m()(r()().mark(function l(d){return r()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:c(!0),A(a.code);case 2:case"end":return o.stop()}},l)}));return function(l){return n.apply(this,arguments)}}(),children:"\u5DF2\u4F7F\u7528\u6B64\u6A21\u677F"}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(v.ZP,{type:"primary",onClick:function(){var n=m()(r()().mark(function l(d){var D;return r()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,g.d5)({id:u.id,customer_id:Number(localStorage.getItem("customerid")),resume_template:a.id});case 2:D=i.sent,j(null),c(!0),A(a.code);case 6:case"end":return i.stop()}},l)}));return function(l){return n.apply(this,arguments)}}(),children:"\u4F7F\u7528\u6B64\u6A21\u677F"})})]})})})})})})}),(0,t.jsx)(N.Z,{title:"\u9884\u89C8\u7B80\u5386",centered:!0,closable:!1,open:se,onCancel:function(){c(!1),I("#19be6e")},okText:"\u4E0B\u8F7D\u7B80\u5386",cancelText:"\u5173\u95ED",width:1e3,onOk:m()(r()().mark(function a(){var n,l,d;return r()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=document.getElementById("resume-box"),l=V.m(n==null?void 0:n.outerHTML),o.next=4,l;case 4:d=o.sent,(0,O.saveAs)(d,"\u4E2A\u4EBA\u7B80\u5386.docx");case 6:case"end":return o.stop()}},a)})),children:(0,t.jsxs)(P.Z,{direction:"vertical",style:{width:"100%"},children:[(0,t.jsxs)(P.Z,{children:["\u8272\u8C03\uFF1A",(0,t.jsx)(Q.Z,{value:E,showText:!0,allowClear:!0,onChange:function(n){I(n.toHexString())}})]}),R=="commonModel"&&(0,t.jsx)(X.Z,{bgcolor:E,fontcolor:K}),R=="oneModel"&&(0,t.jsx)(Y.Z,{bgcolor:E,fontcolor:K})]})})]})};M.default=w}}]); | |||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[91],{51651:function(ie,v,e){e.r(v);var W=e(15009),r=e.n(W),x=e(99289),m=e.n(x),y=e(5574),s=e.n(y),_=e(67294),F=e(74453),Z=e(21532),J=e(71230),z=e(15746),H=e(4393),$=e(29104),G=e(86250),D=e(83622),N=e(17788),P=e(42075),Q=e(51663),V=e(97088),O=e(93162),de=e.n(O),X=e(52087),Y=e(48273),g=e(24458),t=e(85893),w=function(){var k=(0,_.useState)(null),h=s()(k,2),u=h[0],j=h[1],q=(0,_.useState)([{},{}]),C=s()(q,2),Ee=C[0],ce=C[1],ee=(0,_.useState)(0),f=s()(ee,2),Me=f[0],ve=f[1],te=(0,_.useState)(1),T=s()(te,2),De=T[0],Pe=T[1],ae=(0,_.useState)(7),S=s()(ae,2),Oe=S[0],ge=S[1],_e=(0,_.useState)(!1),p=s()(_e,2),se=p[0],E=p[1],ne=(0,_.useState)("commonModel"),B=s()(ne,2),R=B[0],A=B[1],oe=(0,_.useState)("#19be6e"),b=s()(oe,2),c=b[0],I=b[1],le=(0,_.useState)("#000000"),L=s()(le,2),K=L[0],he=L[1],re=(0,_.useState)([{image:"/images/jianli1.png",title:"\u666E\u901A\u6A21\u677F",code:"commonModel",id:1},{image:"/images/jianli2.jpg",title:"\u7B80\u5386\u6A21\u677F\u4E00",code:"oneModel",id:2}]),U=s()(re,2),ue=U[0],je=U[1];return(0,_.useEffect)(function(){(0,g.ts)({customer_id:Number(localStorage.getItem("customerid"))}).then(function(a){j(a.data)})},[u]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Z.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,t.jsx)(F._z,{header:{title:"\u9884\u89C8\u7B80\u5386"},style:{minHeight:800},children:(0,t.jsx)(J.Z,{gutter:[20,20],id:"basic",children:ue.map(function(a){return(0,t.jsx)(z.Z,{span:6,children:(0,t.jsx)(H.Z,{hoverable:!0,cover:(0,t.jsx)($.Z,{src:a.image}),children:(0,t.jsxs)(G.Z,{vertical:!0,justify:"center",align:"center",children:[(0,t.jsxs)("span",{children:[a.title," "]}),(u==null?void 0:u.resume_template)==a.id?(0,t.jsx)(D.ZP,{color:"cyan",variant:"solid",onClick:function(){var n=m()(r()().mark(function l(d){return r()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:E(!0),A(a.code);case 2:case"end":return o.stop()}},l)}));return function(l){return n.apply(this,arguments)}}(),children:"\u5DF2\u4F7F\u7528\u6B64\u6A21\u677F"}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(D.ZP,{type:"primary",onClick:function(){var n=m()(r()().mark(function l(d){var M;return r()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,g.d5)({id:u.id,customer_id:Number(localStorage.getItem("customerid")),resume_template:a.id});case 2:M=i.sent,j(null),E(!0),A(a.code);case 6:case"end":return i.stop()}},l)}));return function(l){return n.apply(this,arguments)}}(),children:"\u4F7F\u7528\u6B64\u6A21\u677F"})})]})})})})})})}),(0,t.jsx)(N.Z,{title:"\u9884\u89C8\u7B80\u5386",centered:!0,closable:!1,open:se,onCancel:function(){E(!1),I("#19be6e")},okText:"\u4E0B\u8F7D\u7B80\u5386",cancelText:"\u5173\u95ED",width:1e3,onOk:m()(r()().mark(function a(){var n,l,d;return r()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=document.getElementById("resume-box"),l=V.m(n==null?void 0:n.outerHTML),o.next=4,l;case 4:d=o.sent,(0,O.saveAs)(d,"\u4E2A\u4EBA\u7B80\u5386.docx");case 6:case"end":return o.stop()}},a)})),children:(0,t.jsxs)(P.Z,{direction:"vertical",style:{width:"100%"},children:[(0,t.jsxs)(P.Z,{children:["\u8272\u8C03\uFF1A",(0,t.jsx)(Q.Z,{value:c,showText:!0,allowClear:!0,onChange:function(n){I(n.toHexString())}})]}),R=="commonModel"&&(0,t.jsx)(X.Z,{bgcolor:c,fontcolor:K}),R=="oneModel"&&(0,t.jsx)(Y.Z,{bgcolor:c,fontcolor:K})]})})]})};v.default=w}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[719],{57158:function(W,o,t){t.r(o);var m=t(5574),d=t.n(m),n=t(67294),j=t(74453),p=t(21532),D=t(42075),_=t(86250),h=t(71230),i=t(15746),P=t(91978),c=t(75891),a=t(55375),O=t(86492),u=t.n(O),M=t(82900),g=t(3889),e=t(85893),y=function(){var C=(0,n.useState)(null),E=d()(C,2),v=E[0],L=E[1],R=(0,n.useState)([]),f=d()(R,2),l=f[0],T=f[1],A=(0,n.useState)([]),x=d()(A,2),r=x[0],B=x[1];return(0,n.useEffect)(function(){(0,M.BV)({name:"kechuangyuan"}).then(function(s){u().decode(s.data.value),L(s.data)}),(0,g.E)({page:1,pagesize:99,code:"kcysylbt"}).then(function(s){T(s.data.advertschedules)}),(0,g.E)({page:1,pagesize:99,code:"kcyjsxct"}).then(function(s){B(s.data.advertschedules)})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(p.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsx)(j._z,{header:{title:""},style:{minHeight:1e3},children:(0,e.jsxs)(D.Z,{direction:"vertical",size:40,style:{width:"100%"},children:[(0,e.jsx)(_.Z,{justify:"space-between",align:"center",style:{width:"100%",borderBottom:"1px solid #ffc100"},children:(0,e.jsxs)(_.Z,{align:"center",children:[(0,e.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}}),(0,e.jsx)("div",{style:{height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:8,padding:"0 20px"},children:(0,e.jsx)("div",{style:{color:"#ffffff",fontSize:16,fontWeight:"bold",transform:"skewX(20deg)"},children:"\u79D1\u521B\u56ED"})}),(0,e.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}})]})}),(0,e.jsxs)(h.Z,{gutter:[16,16],children:[(0,e.jsx)(i.Z,{span:12,children:v&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{minHeight:300,background:"#f2f2f2",borderRadius:8,padding:20,lineHeight:2},children:(0,e.jsx)("div",{dangerouslySetInnerHTML:{__html:u().decode(v.value)}})})})}),(0,e.jsx)(i.Z,{span:12,children:(0,e.jsxs)(P.Z,{arrows:!0,style:{width:"100%"},children:[(0,e.jsx)("div",{style:{borderRadius:8},children:(0,e.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,e.jsx)("video",{src:"".concat(a.VO,"park/661_1740982607.mp4"),controls:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})}),l&&l.length&&l.map(function(s,I){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{borderRadius:8},children:(0,e.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,e.jsx)(c.Link,{to:{pathname:s.target_url},target:"_blank",children:(0,e.jsx)("img",{src:a.VO+s.image_url,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})})})})})]})})]}),(0,e.jsx)(h.Z,{gutter:[16,16],children:r&&r.length&&r.map(function(s,I){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(i.Z,{span:12,children:(0,e.jsx)("div",{style:{borderRadius:8},children:(0,e.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,e.jsx)(c.Link,{to:{pathname:s.target_url},target:"_blank",children:(0,e.jsx)("img",{src:a.VO+s.image_url,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})})})})})})})]})})})})};o.default=y}}]); | |||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[719],{57158:function(W,o,t){t.r(o);var m=t(5574),d=t.n(m),n=t(67294),j=t(74453),p=t(21532),P=t(42075),_=t(86250),h=t(71230),i=t(15746),D=t(91978),c=t(75891),a=t(55375),O=t(86492),u=t.n(O),M=t(82900),g=t(3889),e=t(85893),y=function(){var C=(0,n.useState)(null),E=d()(C,2),v=E[0],L=E[1],R=(0,n.useState)([]),f=d()(R,2),l=f[0],T=f[1],A=(0,n.useState)([]),x=d()(A,2),r=x[0],B=x[1];return(0,n.useEffect)(function(){(0,M.BV)({name:"kechuangyuan"}).then(function(s){u().decode(s.data.value),L(s.data)}),(0,g.E)({page:1,pagesize:99,code:"kcysylbt"}).then(function(s){T(s.data.advertschedules)}),(0,g.E)({page:1,pagesize:99,code:"kcyjsxct"}).then(function(s){B(s.data.advertschedules)})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(p.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsx)(j._z,{header:{title:""},style:{minHeight:1e3},children:(0,e.jsxs)(P.Z,{direction:"vertical",size:40,style:{width:"100%"},children:[(0,e.jsx)(_.Z,{justify:"space-between",align:"center",style:{width:"100%",borderBottom:"1px solid #ffc100"},children:(0,e.jsxs)(_.Z,{align:"center",children:[(0,e.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}}),(0,e.jsx)("div",{style:{height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:8,padding:"0 20px"},children:(0,e.jsx)("div",{style:{color:"#ffffff",fontSize:16,fontWeight:"bold",transform:"skewX(20deg)"},children:"\u79D1\u521B\u56ED"})}),(0,e.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}})]})}),(0,e.jsxs)(h.Z,{gutter:[16,16],children:[(0,e.jsx)(i.Z,{span:12,children:v&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{minHeight:300,background:"#f2f2f2",borderRadius:8,padding:20,lineHeight:2},children:(0,e.jsx)("div",{dangerouslySetInnerHTML:{__html:u().decode(v.value)}})})})}),(0,e.jsx)(i.Z,{span:12,children:(0,e.jsxs)(D.Z,{arrows:!0,style:{width:"100%"},children:[(0,e.jsx)("div",{style:{borderRadius:8},children:(0,e.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,e.jsx)("video",{src:"".concat(a.VO,"park/661_1740982607.mp4"),controls:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})}),l&&l.length&&l.map(function(s,I){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("div",{style:{borderRadius:8},children:(0,e.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,e.jsx)(c.Link,{to:{pathname:s.target_url},target:"_blank",children:(0,e.jsx)("img",{src:a.VO+s.image_url,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})})})})})]})})]}),(0,e.jsx)(h.Z,{gutter:[16,16],children:r&&r.length&&r.map(function(s,I){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(i.Z,{span:12,children:(0,e.jsx)("div",{style:{borderRadius:8},children:(0,e.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,e.jsx)(c.Link,{to:{pathname:s.target_url},target:"_blank",children:(0,e.jsx)("img",{src:a.VO+s.image_url,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})})})})})})})]})})})})};o.default=y}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3807],{45073:function(P,c,t){var a=t(75891),n=t(21532),i=t(32983),s=t(85893),l=function(_){var u=_.description;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,s.jsx)(i.Z,{description:u})})})};c.Z=(0,a.connect)(function(o){var _=o.dictModel;return{dictModel:_}})(l)},76092:function(P,c,t){t.r(c);var a=t(5574),n=t.n(a),i=t(67294),s=t(21532),l=t(42075),o=t(86250),_=t(29104),u=t(84611),j=t(90814),C=t(55375),D=t(76094),S=t(45073),e=t(85893),A=function(){var y=(0,i.useState)([]),O=n()(y,2),E=O[0],h=O[1],L=(0,i.useState)(0),m=n()(L,2),B=m[0],v=m[1],R=(0,i.useState)(1),M=n()(R,2),T=M[0],p=M[1],U=(0,i.useState)(7),f=n()(U,2),K=f[0],I=f[1];return(0,D.d3)({code:"KCYPPHD"}).then(function(d){(0,D.UO)({page:1,pagesize:6,section_id:d.data.id}).then(function(r){h(r.data.articles),v(r.data.total)})}),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)("div",{style:{minHeight:1e3},children:[(0,e.jsxs)(l.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[E&&E.length>0&&E.map(function(d,r){return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(o.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",background:"#ffffff",borderRadius:8,cursor:"pointer"},children:[(0,e.jsxs)(l.Z,{size:20,children:[(0,e.jsx)(_.Z,{src:"".concat(C.VO).concat(d.image_url),width:100,height:100}),(0,e.jsx)("h3",{children:d.title})]}),(0,e.jsxs)(l.Z,{size:20,children:[(0,e.jsx)("div",{children:d.updated_at}),(0,e.jsx)(j.Z,{})]})]})})}),!E||E.length==0&&(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(S.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(u.Z,{hideOnSinglePage:!0,total:B,showTotal:function(r){return"\u603B\u5171".concat(r,"\u6761")},current:T,pageSize:K,pageSizeOptions:["12","24","36"],onChange:function(r,g){p(r),I(g),(0,D.d3)({code:"KCYCGZH"}).then(function(W){(0,D.UO)({page:r,pagesize:g,section_id:W.data.id}).then(function(x){h(x.data.articles),v(x.data.total)})})}})})]})})})};c.default=A},76094:function(P,c,t){t.d(c,{US:function(){return u},UO:function(){return _},d3:function(){return o},cp:function(){return s}});var a=t(75334),n=t(55375),i={SectionList:n.xw+"/section/list",SectionDetail:n.xw+"/section/detail",SectionDetailByCode:n.xw+"/section/detailByCode",ArticleList:n.xw+"/article/list",ArticleDetail:n.xw+"/article/detail"},s=(0,a.y)(i.SectionList),l=(0,a.y)(i.SectionDetail),o=(0,a.y)(i.SectionDetailByCode),_=(0,a.y)(i.ArticleList),u=(0,a.y)(i.ArticleDetail)}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3807],{45073:function(D,d,t){var a=t(75891),i=t(21532),n=t(32983),s=t(85893),_=function(l){var u=l.description;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,s.jsx)(n.Z,{description:u})})})};d.Z=(0,a.connect)(function(o){var l=o.dictModel;return{dictModel:l}})(_)},76092:function(D,d,t){t.r(d);var a=t(5574),i=t.n(a),n=t(67294),s=t(21532),_=t(42075),o=t(86250),l=t(84611),u=t(90814),x=t(75891),P=t(76094),C=t(45073),e=t(85893),y=function(){var S=(0,n.useState)([]),m=i()(S,2),E=m[0],h=m[1],p=(0,n.useState)(0),O=i()(p,2),A=O[0],f=O[1],L=(0,n.useState)(1),v=i()(L,2),B=v[0],T=v[1],R=(0,n.useState)(7),M=i()(R,2),U=M[0],K=M[1];return(0,n.useEffect)(function(){(0,P.d3)({code:"KCYPPHD"}).then(function(c){(0,P.UO)({page:1,pagesize:6,section_id:c.data.id}).then(function(r){h(r.data.articles),f(r.data.total)})})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)("div",{style:{minHeight:1e3},children:[(0,e.jsxs)(_.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[E&&E.length>0&&E.map(function(c,r){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(x.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(c.id)},target:"_blank",children:(0,e.jsxs)(o.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",color:"#000000",background:"#ffffff",cursor:"pointer"},children:[(0,e.jsx)(_.Z,{size:20,children:(0,e.jsx)("h3",{children:c.title})}),(0,e.jsxs)(_.Z,{size:20,children:[(0,e.jsx)("div",{style:{color:"#999"},children:c.updated_at}),(0,e.jsx)(u.Z,{style:{color:"#999"}})]})]})})})}),!E||E.length==0&&(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(C.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(l.Z,{hideOnSinglePage:!0,total:A,showTotal:function(r){return"\u603B\u5171".concat(r,"\u6761")},current:B,pageSize:U,pageSizeOptions:["12","24","36"],onChange:function(r,g){T(r),K(g),(0,P.d3)({code:"KCYCGZH"}).then(function(I){(0,P.UO)({page:r,pagesize:g,section_id:I.data.id}).then(function(j){h(j.data.articles),f(j.data.total)})})}})})]})})})};d.default=y},76094:function(D,d,t){t.d(d,{US:function(){return u},UO:function(){return l},d3:function(){return o},cp:function(){return s}});var a=t(75334),i=t(55375),n={SectionList:i.xw+"/section/list",SectionDetail:i.xw+"/section/detail",SectionDetailByCode:i.xw+"/section/detailByCode",ArticleList:i.xw+"/article/list",ArticleDetail:i.xw+"/article/detail"},s=(0,a.y)(n.SectionList),_=(0,a.y)(n.SectionDetail),o=(0,a.y)(n.SectionDetailByCode),l=(0,a.y)(n.ArticleList),u=(0,a.y)(n.ArticleDetail)}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8811],{45073:function(x,_,e){var c=e(75891),a=e(21532),s=e(32983),d=e(85893),n=function(r){var o=r.description;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(a.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,d.jsx)(s.Z,{description:o})})})};_.Z=(0,c.connect)(function(u){var r=u.dictModel;return{dictModel:r}})(n)},80552:function(x,_,e){var c=e(75891),a=e(21532),s=e(86250),d=e(83622),n=e(85893),u=function(o){var E=o.title,g=o.link,m=o.hasMore;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,n.jsxs)(s.Z,{justify:"space-between",align:"center",style:{width:"100%",borderBottom:"1px solid #ffc100"},children:[(0,n.jsxs)(s.Z,{align:"center",children:[(0,n.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}}),(0,n.jsx)("div",{style:{height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:8,padding:"0 20px"},children:(0,n.jsx)("div",{style:{color:"#ffffff",fontSize:16,fontWeight:"bold",transform:"skewX(20deg)"},children:E})}),(0,n.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}})]}),m&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.Z,{justify:"flex-end",style:{},children:(0,n.jsx)(d.ZP,{size:"small",shape:"round",children:(0,n.jsx)(c.Link,{to:{pathname:g},style:{fontWeight:"bold",color:"#000000"},children:"\u66F4\u591A"})})})})]})})})};_.Z=(0,c.connect)(function(r){var o=r.dictModel;return{dictModel:o}})(u)},35933:function(x,_,e){e.r(_);var c=e(5574),a=e.n(c),s=e(67294),d=e(74453),n=e(21532),u=e(91978),r=e(71230),o=e(15746),E=e(4393),g=e(25593),m=e(86250),y=e(84611),T=e(75891),P=e(55375),M=e(3889),C=e(80552),I=e(45073),t=e(85893),R=function(){var A=(0,s.useState)([]),j=a()(A,2),l=j[0],v=j[1],L=(0,s.useState)(0),O=a()(L,2),B=O[0],k=O[1],W=(0,s.useState)(1),D=a()(W,2),K=D[0],U=D[1],Z=(0,s.useState)(7),f=a()(Z,2),S=f[0],F=f[1];return(0,s.useEffect)(function(){(0,M.E)({page:1,pagesize:4,code:"kcyyqqy"}).then(function(i){v(i.data.advertschedules)})},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(n.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,t.jsx)(u.Z,{arrows:!0,style:{width:"100%"},children:l&&l.length&&l.map(function(i,h){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{borderRadius:8},children:(0,t.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"18%",overflow:"hidden"},children:(0,t.jsx)("img",{src:P.VO+i.image_url,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})})})})}),(0,t.jsx)(d._z,{header:{title:""},children:(0,t.jsxs)("div",{style:{minHeight:1e3},children:[(0,t.jsx)("div",{style:{padding:"20px 0"},children:(0,t.jsx)(C.Z,{title:"\u56ED\u533A\u4F01\u4E1A",link:"/sciencetechnologypark/construct"})}),(0,t.jsxs)(r.Z,{gutter:[16,16],children:[l&&l.length>0&&l.map(function(i,h){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(o.Z,{span:8,children:(0,t.jsx)(T.Link,{to:{pathname:"/talent/company/detail?id=".concat(i.company_id)},target:"_blank",style:{color:"#000000"},children:(0,t.jsx)(E.Z,{cover:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,t.jsx)("img",{src:"".concat(P.VO).concat(i.image_url),style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})}),children:(0,t.jsx)(E.Z.Meta,{title:i.company_name,description:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(g.Z.Paragraph,{ellipsis:{rows:2},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:i.introduction}})})})})})})})})}),!l||l.length==0&&(0,t.jsx)(m.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,t.jsx)(I.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,t.jsx)(m.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,t.jsx)(y.Z,{hideOnSinglePage:!0,total:B,showTotal:function(h){return"\u603B\u5171".concat(h,"\u6761")},current:K,pageSize:S,pageSizeOptions:["12","24","36"],onChange:function(h,p){U(h),F(p),(0,M.E)({page:h,pagesize:p,code:"kcyyqqy"}).then(function(z){v(z.data.advertschedules)})}})})]})})]})})};_.default=R}}]); | |||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8811],{45073:function(x,_,e){var c=e(75891),a=e(21532),s=e(32983),d=e(85893),n=function(r){var o=r.description;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(a.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,d.jsx)(s.Z,{description:o})})})};_.Z=(0,c.connect)(function(u){var r=u.dictModel;return{dictModel:r}})(n)},80552:function(x,_,e){var c=e(75891),a=e(21532),s=e(86250),d=e(83622),n=e(85893),u=function(o){var h=o.title,g=o.link,m=o.hasMore;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,n.jsxs)(s.Z,{justify:"space-between",align:"center",style:{width:"100%",borderBottom:"1px solid #ffc100"},children:[(0,n.jsxs)(s.Z,{align:"center",children:[(0,n.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}}),(0,n.jsx)("div",{style:{height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:8,padding:"0 20px"},children:(0,n.jsx)("div",{style:{color:"#ffffff",fontSize:16,fontWeight:"bold",transform:"skewX(20deg)"},children:h})}),(0,n.jsx)("div",{style:{width:"4px",height:"30px",backgroundColor:"#ffc100",transform:"skewX(-20deg)",display:"flex",justifyContent:"center",alignItems:"center",marginRight:"8px"}})]}),m&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.Z,{justify:"flex-end",style:{},children:(0,n.jsx)(d.ZP,{size:"small",shape:"round",children:(0,n.jsx)(c.Link,{to:{pathname:g},style:{fontWeight:"bold",color:"#000000"},children:"\u66F4\u591A"})})})})]})})})};_.Z=(0,c.connect)(function(r){var o=r.dictModel;return{dictModel:o}})(u)},35933:function(x,_,e){e.r(_);var c=e(5574),a=e.n(c),s=e(67294),d=e(74453),n=e(21532),u=e(91978),r=e(71230),o=e(15746),h=e(4393),g=e(25593),m=e(86250),y=e(84611),T=e(75891),P=e(55375),M=e(3889),C=e(80552),I=e(45073),t=e(85893),R=function(){var A=(0,s.useState)([]),j=a()(A,2),l=j[0],v=j[1],L=(0,s.useState)(0),O=a()(L,2),B=O[0],k=O[1],W=(0,s.useState)(1),f=a()(W,2),K=f[0],U=f[1],Z=(0,s.useState)(7),D=a()(Z,2),S=D[0],F=D[1];return(0,s.useEffect)(function(){(0,M.E)({page:1,pagesize:4,code:"kcyyqqy"}).then(function(i){v(i.data.advertschedules)})},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(n.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:[(0,t.jsx)(u.Z,{arrows:!0,style:{width:"100%"},children:l&&l.length&&l.map(function(i,E){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{borderRadius:8},children:(0,t.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"18%",overflow:"hidden"},children:(0,t.jsx)("img",{src:P.VO+i.image_url,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})})})})}),(0,t.jsx)(d._z,{header:{title:""},children:(0,t.jsxs)("div",{style:{minHeight:1e3},children:[(0,t.jsx)("div",{style:{padding:"20px 0"},children:(0,t.jsx)(C.Z,{title:"\u56ED\u533A\u4F01\u4E1A",link:"/sciencetechnologypark/construct"})}),(0,t.jsxs)(r.Z,{gutter:[16,16],children:[l&&l.length>0&&l.map(function(i,E){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(o.Z,{span:8,children:(0,t.jsx)(T.Link,{to:{pathname:"/talent/company/detail?id=".concat(i.company_id)},target:"_blank",style:{color:"#000000"},children:(0,t.jsx)(h.Z,{cover:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,t.jsx)("img",{src:"".concat(P.VO).concat(i.image_url),style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})}),children:(0,t.jsx)(h.Z.Meta,{title:i.company_name,description:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(g.Z.Paragraph,{ellipsis:{rows:2},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:i.introduction}})})})})})})})})}),!l||l.length==0&&(0,t.jsx)(m.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,t.jsx)(I.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,t.jsx)(m.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,t.jsx)(y.Z,{hideOnSinglePage:!0,total:B,showTotal:function(E){return"\u603B\u5171".concat(E,"\u6761")},current:K,pageSize:S,pageSizeOptions:["12","24","36"],onChange:function(E,p){U(E),F(p),(0,M.E)({page:E,pagesize:p,code:"kcyyqqy"}).then(function(z){v(z.data.advertschedules)})}})})]})})]})})};_.default=R}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9614],{45073:function(P,d,t){var a=t(75891),i=t(21532),n=t(32983),s=t(85893),_=function(l){var u=l.description;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,s.jsx)(n.Z,{description:u})})})};d.Z=(0,a.connect)(function(o){var l=o.dictModel;return{dictModel:l}})(_)},15626:function(P,d,t){t.r(d);var a=t(5574),i=t.n(a),n=t(67294),s=t(21532),_=t(42075),o=t(86250),l=t(84611),u=t(90814),x=t(75891),D=t(76094),C=t(45073),e=t(85893),y=function(){var S=(0,n.useState)([]),m=i()(S,2),E=m[0],h=m[1],p=(0,n.useState)(0),O=i()(p,2),A=O[0],f=O[1],L=(0,n.useState)(1),v=i()(L,2),B=v[0],T=v[1],R=(0,n.useState)(7),M=i()(R,2),U=M[0],K=M[1];return(0,n.useEffect)(function(){(0,D.d3)({code:"KCYCGZH"}).then(function(c){(0,D.UO)({page:1,pagesize:6,section_id:c.data.id}).then(function(r){h(r.data.articles),f(r.data.total)})})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)("div",{style:{minHeight:1e3},children:[(0,e.jsxs)(_.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[E&&E.length>0&&E.map(function(c,r){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(x.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(c.id)},target:"_blank",children:(0,e.jsxs)(o.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",color:"#000000",background:"#ffffff",cursor:"pointer"},children:[(0,e.jsx)(_.Z,{size:20,children:(0,e.jsx)("h3",{children:c.title})}),(0,e.jsxs)(_.Z,{size:20,children:[(0,e.jsx)("div",{style:{color:"#999"},children:c.updated_at}),(0,e.jsx)(u.Z,{style:{color:"#999"}})]})]})})})}),!E||E.length==0&&(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(C.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(l.Z,{hideOnSinglePage:!0,total:A,showTotal:function(r){return"\u603B\u5171".concat(r,"\u6761")},current:B,pageSize:U,pageSizeOptions:["12","24","36"],onChange:function(r,g){T(r),K(g),(0,D.d3)({code:"KCYCGZH"}).then(function(I){(0,D.UO)({page:r,pagesize:g,section_id:I.data.id}).then(function(j){h(j.data.articles),f(j.data.total)})})}})})]})})})};d.default=y},76094:function(P,d,t){t.d(d,{US:function(){return u},UO:function(){return l},d3:function(){return o},cp:function(){return s}});var a=t(75334),i=t(55375),n={SectionList:i.xw+"/section/list",SectionDetail:i.xw+"/section/detail",SectionDetailByCode:i.xw+"/section/detailByCode",ArticleList:i.xw+"/article/list",ArticleDetail:i.xw+"/article/detail"},s=(0,a.y)(n.SectionList),_=(0,a.y)(n.SectionDetail),o=(0,a.y)(n.SectionDetailByCode),l=(0,a.y)(n.ArticleList),u=(0,a.y)(n.ArticleDetail)}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9614],{45073:function(P,c,t){var a=t(75891),n=t(21532),i=t(32983),s=t(85893),l=function(d){var u=d.description;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,s.jsx)(i.Z,{description:u})})})};c.Z=(0,a.connect)(function(o){var d=o.dictModel;return{dictModel:d}})(l)},15626:function(P,c,t){t.r(c);var a=t(5574),n=t.n(a),i=t(67294),s=t(21532),l=t(42075),o=t(86250),d=t(29104),u=t(84611),j=t(90814),C=t(75891),A=t(55375),D=t(76094),L=t(45073),e=t(85893),S=function(){var y=(0,i.useState)([]),h=n()(y,2),E=h[0],O=h[1],B=(0,i.useState)(0),m=n()(B,2),R=m[0],v=m[1],T=(0,i.useState)(1),M=n()(T,2),p=M[0],U=M[1],K=(0,i.useState)(7),g=n()(K,2),I=g[0],W=g[1];return(0,D.d3)({code:"KCYCGZH"}).then(function(r){(0,D.UO)({page:1,pagesize:6,section_id:r.data.id}).then(function(_){O(_.data.articles),v(_.data.total)})}),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)("div",{style:{minHeight:1e3},children:[(0,e.jsxs)(l.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[E&&E.length>0&&E.map(function(r,_){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(r.id)},target:"_blank",children:(0,e.jsxs)(o.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",background:"#ffffff",borderRadius:8,cursor:"pointer"},children:[(0,e.jsxs)(l.Z,{size:20,children:[(0,e.jsx)(d.Z,{src:"".concat(A.VO).concat(r.cover_img),width:100,height:100}),(0,e.jsx)("h3",{children:r.title})]}),(0,e.jsxs)(l.Z,{size:20,children:[(0,e.jsx)("div",{children:r.updated_at}),(0,e.jsx)(j.Z,{})]})]})})})}),!E||E.length==0&&(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(L.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(u.Z,{hideOnSinglePage:!0,total:R,showTotal:function(_){return"\u603B\u5171".concat(_,"\u6761")},current:p,pageSize:I,pageSizeOptions:["12","24","36"],onChange:function(_,f){U(_),W(f),(0,D.d3)({code:"KCYCGZH"}).then(function(Z){(0,D.UO)({page:_,pagesize:f,section_id:Z.data.id}).then(function(x){O(x.data.articles),v(x.data.total)})})}})})]})})})};c.default=S},76094:function(P,c,t){t.d(c,{US:function(){return u},UO:function(){return d},d3:function(){return o},cp:function(){return s}});var a=t(75334),n=t(55375),i={SectionList:n.xw+"/section/list",SectionDetail:n.xw+"/section/detail",SectionDetailByCode:n.xw+"/section/detailByCode",ArticleList:n.xw+"/article/list",ArticleDetail:n.xw+"/article/detail"},s=(0,a.y)(i.SectionList),l=(0,a.y)(i.SectionDetail),o=(0,a.y)(i.SectionDetailByCode),d=(0,a.y)(i.ArticleList),u=(0,a.y)(i.ArticleDetail)}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6688],{45073:function(P,d,t){var a=t(75891),n=t(21532),i=t(32983),s=t(85893),l=function(c){var u=c.description;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,s.jsx)(i.Z,{description:u})})})};d.Z=(0,a.connect)(function(o){var c=o.dictModel;return{dictModel:c}})(l)},90467:function(P,d,t){t.r(d);var a=t(5574),n=t.n(a),i=t(67294),s=t(21532),l=t(42075),o=t(86250),c=t(29104),u=t(84611),j=t(90814),C=t(75891),A=t(55375),D=t(76094),L=t(45073),e=t(85893),S=function(){var T=(0,i.useState)([]),h=n()(T,2),E=h[0],O=h[1],y=(0,i.useState)(0),m=n()(y,2),B=m[0],v=m[1],R=(0,i.useState)(1),M=n()(R,2),p=M[0],U=M[1],K=(0,i.useState)(7),g=n()(K,2),I=g[0],W=g[1];return(0,D.d3)({code:"KCYZXDT"}).then(function(r){(0,D.UO)({page:1,pagesize:6,section_id:r.data.id}).then(function(_){O(_.data.articles),v(_.data.total)})}),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)("div",{style:{minHeight:1e3},children:[(0,e.jsxs)(l.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[E&&E.length>0&&E.map(function(r,_){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(r.id)},target:"_blank",children:(0,e.jsxs)(o.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",color:"#000000",background:"#ffffff",borderRadius:8,cursor:"pointer"},children:[(0,e.jsxs)(l.Z,{size:20,children:[(0,e.jsx)(c.Z,{src:"".concat(A.VO).concat(r.cover_img),width:100,height:100}),(0,e.jsx)("h3",{children:r.title})]}),(0,e.jsxs)(l.Z,{size:20,children:[(0,e.jsx)("div",{children:r.updated_at}),(0,e.jsx)(j.Z,{})]})]})})})}),!E||E.length==0&&(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(L.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(u.Z,{hideOnSinglePage:!0,total:B,showTotal:function(_){return"\u603B\u5171".concat(_,"\u6761")},current:p,pageSize:I,pageSizeOptions:["12","24","36"],onChange:function(_,f){U(_),W(f),(0,D.d3)({code:"KCYZXDT"}).then(function(Z){(0,D.UO)({page:_,pagesize:f,section_id:Z.data.id}).then(function(x){O(x.data.articles),v(x.data.total)})})}})})]})})})};d.default=S},76094:function(P,d,t){t.d(d,{US:function(){return u},UO:function(){return c},d3:function(){return o},cp:function(){return s}});var a=t(75334),n=t(55375),i={SectionList:n.xw+"/section/list",SectionDetail:n.xw+"/section/detail",SectionDetailByCode:n.xw+"/section/detailByCode",ArticleList:n.xw+"/article/list",ArticleDetail:n.xw+"/article/detail"},s=(0,a.y)(i.SectionList),l=(0,a.y)(i.SectionDetail),o=(0,a.y)(i.SectionDetailByCode),c=(0,a.y)(i.ArticleList),u=(0,a.y)(i.ArticleDetail)}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6688],{45073:function(P,d,t){var a=t(75891),i=t(21532),n=t(32983),s=t(85893),_=function(l){var u=l.description;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,s.jsx)(n.Z,{description:u})})})};d.Z=(0,a.connect)(function(o){var l=o.dictModel;return{dictModel:l}})(_)},90467:function(P,d,t){t.r(d);var a=t(5574),i=t.n(a),n=t(67294),s=t(21532),_=t(42075),o=t(86250),l=t(84611),u=t(90814),x=t(75891),D=t(76094),y=t(45073),e=t(85893),C=function(){var S=(0,n.useState)([]),m=i()(S,2),E=m[0],h=m[1],p=(0,n.useState)(0),O=i()(p,2),A=O[0],f=O[1],L=(0,n.useState)(1),v=i()(L,2),T=v[0],B=v[1],R=(0,n.useState)(7),M=i()(R,2),U=M[0],K=M[1];return(0,n.useEffect)(function(){(0,D.d3)({code:"KCYZXDT"}).then(function(c){(0,D.UO)({page:1,pagesize:6,section_id:c.data.id}).then(function(r){h(r.data.articles),f(r.data.total)})})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)("div",{style:{minHeight:1e3},children:[(0,e.jsxs)(_.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[E&&E.length>0&&E.map(function(c,r){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(x.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(c.id)},target:"_blank",children:(0,e.jsxs)(o.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",color:"#000000",background:"#ffffff",cursor:"pointer"},children:[(0,e.jsx)(_.Z,{size:20,children:(0,e.jsx)("h3",{children:c.title})}),(0,e.jsxs)(_.Z,{size:20,children:[(0,e.jsx)("div",{style:{color:"#999"},children:c.updated_at}),(0,e.jsx)(u.Z,{style:{color:"#999"}})]})]})})})}),!E||E.length==0&&(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(y.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(l.Z,{hideOnSinglePage:!0,total:A,showTotal:function(r){return"\u603B\u5171".concat(r,"\u6761")},current:T,pageSize:U,pageSizeOptions:["12","24","36"],onChange:function(r,g){B(r),K(g),(0,D.d3)({code:"KCYZXDT"}).then(function(I){(0,D.UO)({page:r,pagesize:g,section_id:I.data.id}).then(function(j){h(j.data.articles),f(j.data.total)})})}})})]})})})};d.default=C},76094:function(P,d,t){t.d(d,{US:function(){return u},UO:function(){return l},d3:function(){return o},cp:function(){return s}});var a=t(75334),i=t(55375),n={SectionList:i.xw+"/section/list",SectionDetail:i.xw+"/section/detail",SectionDetailByCode:i.xw+"/section/detailByCode",ArticleList:i.xw+"/article/list",ArticleDetail:i.xw+"/article/detail"},s=(0,a.y)(n.SectionList),_=(0,a.y)(n.SectionDetail),o=(0,a.y)(n.SectionDetailByCode),l=(0,a.y)(n.ArticleList),u=(0,a.y)(n.ArticleDetail)}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1279],{45073:function(P,d,t){var a=t(75891),n=t(21532),i=t(32983),s=t(85893),l=function(c){var u=c.description;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,s.jsx)(i.Z,{description:u})})})};d.Z=(0,a.connect)(function(o){var c=o.dictModel;return{dictModel:c}})(l)},86905:function(P,d,t){t.r(d);var a=t(5574),n=t.n(a),i=t(67294),s=t(21532),l=t(42075),o=t(86250),c=t(29104),u=t(84611),j=t(90814),C=t(75891),A=t(55375),D=t(76094),L=t(45073),e=t(85893),S=function(){var T=(0,i.useState)([]),h=n()(T,2),E=h[0],O=h[1],y=(0,i.useState)(0),m=n()(y,2),B=m[0],v=m[1],R=(0,i.useState)(1),M=n()(R,2),p=M[0],U=M[1],K=(0,i.useState)(7),g=n()(K,2),I=g[0],W=g[1];return(0,D.d3)({code:"KCYTZGG"}).then(function(r){(0,D.UO)({page:1,pagesize:6,section_id:r.data.id}).then(function(_){O(_.data.articles),v(_.data.total)})}),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)("div",{style:{minHeight:1e3},children:[(0,e.jsxs)(l.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[E&&E.length>0&&E.map(function(r,_){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(C.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(r.id)},target:"_blank",children:(0,e.jsxs)(o.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",color:"#000000",background:"#ffffff",borderRadius:8,cursor:"pointer"},children:[(0,e.jsxs)(l.Z,{size:20,children:[(0,e.jsx)(c.Z,{src:"".concat(A.VO).concat(r.cover_img),width:100,height:100}),(0,e.jsx)("h3",{children:r.title})]}),(0,e.jsxs)(l.Z,{size:20,children:[(0,e.jsx)("div",{children:r.updated_at}),(0,e.jsx)(j.Z,{})]})]})})})}),!E||E.length==0&&(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(L.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(u.Z,{hideOnSinglePage:!0,total:B,showTotal:function(_){return"\u603B\u5171".concat(_,"\u6761")},current:p,pageSize:I,pageSizeOptions:["12","24","36"],onChange:function(_,f){U(_),W(f),(0,D.d3)({code:"KCYTZGG"}).then(function(Z){(0,D.UO)({page:_,pagesize:f,section_id:Z.data.id}).then(function(x){O(x.data.articles),v(x.data.total)})})}})})]})})})};d.default=S},76094:function(P,d,t){t.d(d,{US:function(){return u},UO:function(){return c},d3:function(){return o},cp:function(){return s}});var a=t(75334),n=t(55375),i={SectionList:n.xw+"/section/list",SectionDetail:n.xw+"/section/detail",SectionDetailByCode:n.xw+"/section/detailByCode",ArticleList:n.xw+"/article/list",ArticleDetail:n.xw+"/article/detail"},s=(0,a.y)(i.SectionList),l=(0,a.y)(i.SectionDetail),o=(0,a.y)(i.SectionDetailByCode),c=(0,a.y)(i.ArticleList),u=(0,a.y)(i.ArticleDetail)}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1279],{45073:function(P,d,t){var a=t(75891),i=t(21532),n=t(32983),s=t(85893),_=function(l){var u=l.description;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,s.jsx)(n.Z,{description:u})})})};d.Z=(0,a.connect)(function(o){var l=o.dictModel;return{dictModel:l}})(_)},86905:function(P,d,t){t.r(d);var a=t(5574),i=t.n(a),n=t(67294),s=t(21532),_=t(42075),o=t(86250),l=t(84611),u=t(90814),x=t(75891),D=t(76094),y=t(45073),e=t(85893),C=function(){var S=(0,n.useState)([]),m=i()(S,2),E=m[0],h=m[1],p=(0,n.useState)(0),O=i()(p,2),A=O[0],f=O[1],L=(0,n.useState)(1),v=i()(L,2),T=v[0],B=v[1],R=(0,n.useState)(7),M=i()(R,2),U=M[0],K=M[1];return(0,n.useEffect)(function(){(0,D.d3)({code:"KCYTZGG"}).then(function(c){(0,D.UO)({page:1,pagesize:6,section_id:c.data.id}).then(function(r){h(r.data.articles),f(r.data.total)})})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(s.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)("div",{style:{minHeight:1e3},children:[(0,e.jsxs)(_.Z,{direction:"vertical",size:10,style:{width:"100%"},children:[E&&E.length>0&&E.map(function(c,r){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(x.Link,{to:{pathname:"/sciencetechnologypark/information/detail?id=".concat(c.id)},target:"_blank",children:(0,e.jsxs)(o.Z,{justify:"space-between",align:"center",style:{width:"100%",padding:"16px",color:"#000000",background:"#ffffff",cursor:"pointer"},children:[(0,e.jsx)(_.Z,{size:20,children:(0,e.jsx)("h3",{children:c.title})}),(0,e.jsxs)(_.Z,{size:20,children:[(0,e.jsx)("div",{style:{color:"#999"},children:c.updated_at}),(0,e.jsx)(u.Z,{style:{color:"#999"}})]})]})})})}),!E||E.length==0&&(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{padding:"16px",borderRadius:8,cursor:"pointer"},children:(0,e.jsx)(y.Z,{description:"\u6682\u65E0\u6570\u636E"})})]}),(0,e.jsx)(o.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(l.Z,{hideOnSinglePage:!0,total:A,showTotal:function(r){return"\u603B\u5171".concat(r,"\u6761")},current:T,pageSize:U,pageSizeOptions:["12","24","36"],onChange:function(r,g){B(r),K(g),(0,D.d3)({code:"KCYTZGG"}).then(function(I){(0,D.UO)({page:r,pagesize:g,section_id:I.data.id}).then(function(j){h(j.data.articles),f(j.data.total)})})}})})]})})})};d.default=C},76094:function(P,d,t){t.d(d,{US:function(){return u},UO:function(){return l},d3:function(){return o},cp:function(){return s}});var a=t(75334),i=t(55375),n={SectionList:i.xw+"/section/list",SectionDetail:i.xw+"/section/detail",SectionDetailByCode:i.xw+"/section/detailByCode",ArticleList:i.xw+"/article/list",ArticleDetail:i.xw+"/article/detail"},s=(0,a.y)(n.SectionList),_=(0,a.y)(n.SectionDetail),o=(0,a.y)(n.SectionDetailByCode),l=(0,a.y)(n.ArticleList),u=(0,a.y)(n.ArticleDetail)}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5089],{15942:function(H,r,t){t.r(r);var h=t(5574),s=t.n(h),n=t(67294),E=t(74453),g=t(21532),v=t(92398),P=t(75891),_=t(82900),M=t(86492),u=t.n(M),e=t(85893),D=function(){var S=(0,n.useState)("1"),o=s()(S,2),O=o[0],l=o[1],b=(0,n.useState)(""),i=s()(b,2),y=i[0],C=i[1],B=(0,n.useState)(""),c=s()(B,2),j=c[0],T=c[1],R=(0,n.useState)(""),m=s()(R,2),A=m[0],I=m[1],L=(0,n.useState)(""),f=s()(L,2),K=f[0],x=f[1],U=(0,P.useSearchParams)(),W=s()(U,1),d=W[0];return(0,n.useEffect)(function(){d&&l(d.get("key")?d.get("key"):"1")},[d]),(0,n.useEffect)(function(){(0,_.BV)({name:"about_us"}).then(function(a){C(a.data.value)}),(0,_.BV)({name:"about_us_contact"}).then(function(a){T(a.data.value)}),(0,_.BV)({name:"charging_standard"}).then(function(a){I(a.data.value)}),(0,_.BV)({name:"remittance_method"}).then(function(a){x(a.data.value)})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(g.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsx)(E._z,{header:{title:""},style:{minHeight:800},children:(0,e.jsx)(v.Z,{activeKey:O,items:[{label:"\u5173\u4E8E\u6211\u4EEC",key:"1",children:(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:u().decode(y)}})]})},{label:"\u8054\u7CFB\u65B9\u5F0F",key:"2",children:(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:u().decode(j)}})]})},{label:"\u6536\u8D39\u6807\u51C6",key:"3",children:(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:u().decode(A)}})]})},{label:"\u6C47\u6B3E\u65B9\u5F0F",key:"4",children:(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:u().decode(K)}})]})}],onChange:function(F){l(F)}})})})})};r.default=D}}]); | |||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5089],{15942:function(H,r,t){t.r(r);var E=t(5574),s=t.n(E),n=t(67294),h=t(74453),g=t(21532),v=t(92398),P=t(75891),_=t(82900),M=t(86492),u=t.n(M),e=t(85893),S=function(){var D=(0,n.useState)("1"),o=s()(D,2),O=o[0],l=o[1],b=(0,n.useState)(""),i=s()(b,2),y=i[0],C=i[1],B=(0,n.useState)(""),c=s()(B,2),j=c[0],T=c[1],R=(0,n.useState)(""),m=s()(R,2),A=m[0],I=m[1],L=(0,n.useState)(""),f=s()(L,2),K=f[0],x=f[1],U=(0,P.useSearchParams)(),W=s()(U,1),d=W[0];return(0,n.useEffect)(function(){d&&l(d.get("key")?d.get("key"):"1")},[d]),(0,n.useEffect)(function(){(0,_.BV)({name:"about_us"}).then(function(a){C(a.data.value)}),(0,_.BV)({name:"about_us_contact"}).then(function(a){T(a.data.value)}),(0,_.BV)({name:"charging_standard"}).then(function(a){I(a.data.value)}),(0,_.BV)({name:"remittance_method"}).then(function(a){x(a.data.value)})},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(g.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsx)(h._z,{header:{title:""},style:{minHeight:800},children:(0,e.jsx)(v.Z,{activeKey:O,items:[{label:"\u5173\u4E8E\u6211\u4EEC",key:"1",children:(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:u().decode(y)}})]})},{label:"\u8054\u7CFB\u65B9\u5F0F",key:"2",children:(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:u().decode(j)}})]})},{label:"\u6536\u8D39\u6807\u51C6",key:"3",children:(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:u().decode(A)}})]})},{label:"\u6C47\u6B3E\u65B9\u5F0F",key:"4",children:(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("div",{style:{background:"#ffffff",padding:20,borderRadius:8},dangerouslySetInnerHTML:{__html:u().decode(K)}})]})}],onChange:function(F){l(F)}})})})})};r.default=S}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4194],{27178:function(B,p,e){e.r(p);var O=e(15009),i=e.n(O),M=e(99289),c=e.n(M),n=e(5574),t=e.n(n),_=e(67294),f=e(86250),P=e(42075),d=e(68872),h=e(71230),m=e(15746),U=e(29104),g=e(97269),j=e(5966),y=e(97462),x=e(16434),K=e(89627),D=e(82900),W=e(70489),L=e(75891),r=e(85893),Z=function(){var b=(0,_.useRef)(),S=(0,_.useState)(""),A=t()(S,2),$=A[0],I=A[1],F=(0,_.useState)(""),R=t()(F,2),w=R[0],T=R[1];return(0,_.useEffect)(function(){(0,D.cC)().then(function(a){I(a.data.img),T(a.data.capt_id)})},[]),(0,r.jsx)("div",{style:{background:"#ffffff"},children:(0,r.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"60px 0"},children:(0,r.jsxs)(g.A,{submitter:{searchConfig:{submitText:"\u786E\u8BA4\u4FEE\u6539"},render:function(u,l){return(0,r.jsxs)(f.Z,{justify:"flex-end",children:[" ",(0,r.jsx)(P.Z,{children:l})]})}},onFinish:function(){var a=c()(i()().mark(function u(l){var s;return i()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return l.sms_code=Number(l.sms_code),o.next=3,(0,W.un)(l);case 3:s=o.sent,d.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),(0,D.U)().then(function(C){localStorage.clear(),L.history.push("/login")});case 6:case"end":return o.stop()}},u)}));return function(u){return a.apply(this,arguments)}}(),children:[(0,r.jsx)(j.Z,{name:"mobile",label:"\u624B\u673A\u53F7",placeholder:"\u624B\u673A\u53F7",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"},function(){return{validator:function(u,l){var s=(0,K.Zj)(l);return typeof s=="boolean"?Promise.resolve():Promise.reject(new Error(s))}}}]}),(0,r.jsx)(g.A,{formRef:b,submitter:{render:function(){return null}},children:(0,r.jsxs)(h.Z,{gutter:10,children:[(0,r.jsx)(m.Z,{span:14,children:(0,r.jsx)(j.Z,{label:"\u56FE\u5F62\u9A8C\u8BC1\u7801",name:"captcha",placeholder:"\u8BF7\u8F93\u5165\u56FE\u5F62\u9A8C\u8BC1\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u5F62\u9A8C\u8BC1\u7801"}]})}),(0,r.jsx)(m.Z,{span:10,children:(0,r.jsx)(U.Z,{src:$,width:"100%",height:32,preview:!1,style:{borderRadius:"8px",marginTop:"30px"},onClick:c()(i()().mark(function a(){var u;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,D.cC)();case 2:u=s.sent,I(u.data.img),T(u.data.capt_id);case 5:case"end":return s.stop()}},a)}))})})]})}),(0,r.jsx)(y.Z,{name:["mobile"],children:function(u){var l=u.mobile;return(0,r.jsx)(x.Z,{label:"\u77ED\u4FE1\u9A8C\u8BC1\u7801",placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",captchaTextRender:function(E,o){return E?"".concat(o," ","s"):"\u83B7\u53D6\u9A8C\u8BC1\u7801"},name:"sms_code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\uFF01"}],onGetCaptcha:c()(i()().mark(function s(){var E,o,C;return i()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return o=(E=b.current)===null||E===void 0?void 0:E.getFieldsValue().captcha,v.next=3,(0,D.UK)({mobile:l,captcha:o,capt_id:w});case 3:C=v.sent,d.ZP.success("\u53D1\u9001\u9A8C\u8BC1\u7801\u6210\u529F\uFF0C\u9A8C\u8BC1\u7801\u6709\u6548\u671F\u4E3A\u4E00\u5206\u949F");case 5:case"end":return v.stop()}},s)}))})}}),(0,r.jsx)(j.Z.Password,{name:"new_pwd",label:"\u91CD\u7F6E\u5BC6\u7801",placeholder:"\u8BF7\u8F93\u5165\u91CD\u7F6E\u5BC6\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91CD\u7F6E\u5BC6\u7801"}]})]})})})};p.default=Z},89627:function(B,p,e){e.d(p,{P4:function(){return i},Zj:function(){return M},z1:function(){return O}});var O=function(n){if(n.length===18){var t=n.charAt(17),_;return t==="X"||t=="x"?_=10:_=parseInt(t,10),_%2===0?"\u5973":"\u7537"}else if(n.length===15){var f=parseInt(n.substring(13,15),10);return f%2===0?"\u5973":"\u7537"}else return"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"},i=function(n){var t=/^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;if(t.test(n))if(n.length==18){for(var _=new Array(7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2),f=new Array(1,0,10,9,8,7,6,5,4,3,2),P=0,d=0;d<17;d++)P+=n.substring(d,d+1)*_[d];var h=P%11,m=n.substring(17);return h==2?m=="X"||m=="x"?!0:"\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF":m==f[h]?!0:"\u8EAB\u4EFD\u8BC1\u53F7\u7801\u9519\u8BEF"}else return!0;else return"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801"},M=function(n){var t=/^(\+)?(0|86|17951)?1(3\d|4[579]|5\d|6\d|7\d|8\d|9\d)\d{8}$/;return t.test(n)?!0:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"}}}]); |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9364],{76046:function(L,u,e){e.r(u);var s=e(15009),_=e.n(s),o=e(99289),m=e.n(o),D=e(5574),i=e.n(D),n=e(67294),E=e(7529),T=e(74453),x=e(29104),y=e(21532),B=e(92398),R=e(75891),U=e(55375),g=e(76094),t=e(85893),I=function(){var K=(0,n.useState)([]),P=i()(K,2),W=P[0],z=P[1],G=(0,n.useState)(0),h=i()(G,2),Y=h[0],k=h[1],F=(0,n.useState)(1),v=i()(F,2),f=v[0],S=v[1],H=(0,n.useState)(7),p=i()(H,2),O=p[0],b=p[1],Z=(0,n.useState)([]),M=i()(Z,2),w=M[0],V=M[1],$=(0,n.useState)(0),j=i()($,2),J=j[0],N=j[1];(0,n.useEffect)(function(){(0,g.cp)({page:1,pageSize:99}).then(function(l){z(l.data.sections)})},[]);var Q=function(C){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{padding:"0 20px 20px",backgroundColor:"#ffffff",borderRadius:"10px"},children:(0,t.jsx)(E.Rs,{rowKey:"id",dataSource:w,request:m()(_()().mark(function d(){var r,a=arguments;return _()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return r=a.length>0&&a[0]!==void 0?a[0]:{},c.abrupt("return",(0,g.UO)({page:f,pagesize:O,sort:"id",sortby:"desc",section_id:C}).then(function(A){V(A.data.articles),N(A.data.total)}));case 2:case"end":return c.stop()}},d)})),pagination:{current:f,pageSize:O,total:J,onChange:function(r,a){S(r),b(a)},onShowSizeChange:function(r,a){S(r),b(a)}},metas:{title:{render:function(r,a){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(R.Link,{to:{pathname:"/talent/information/detail?id=".concat(a.id)},target:"_blank",style:{fontWeight:"bold",color:"#000000"},children:a.title})})}},description:{dataIndex:"updated_at"},extra:{render:function(r,a){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(x.Z,{src:a.cover_img?"".concat(U.VO).concat(a.cover_img):"/images/onlylogo.jpg",width:68,height:68})})}}}})})})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(y.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,t.jsx)(T._z,{header:{title:""},style:{minHeight:800},children:(0,t.jsx)(B.Z,{tabPosition:"left",destroyInactiveTabPane:!0,type:"card",items:W.map(function(l,C){return{label:l.name,key:l.id,children:Q(l.id)}})})})})})};u.default=I},76094:function(L,u,e){e.d(u,{US:function(){return E},UO:function(){return n},d3:function(){return i},cp:function(){return m}});var s=e(75334),_=e(55375),o={SectionList:_.xw+"/section/list",SectionDetail:_.xw+"/section/detail",SectionDetailByCode:_.xw+"/section/detailByCode",ArticleList:_.xw+"/article/list",ArticleDetail:_.xw+"/article/detail"},m=(0,s.y)(o.SectionList),D=(0,s.y)(o.SectionDetail),i=(0,s.y)(o.SectionDetailByCode),n=(0,s.y)(o.ArticleList),E=(0,s.y)(o.ArticleDetail)}}]); | |||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9364],{76046:function(L,u,e){e.r(u);var s=e(15009),_=e.n(s),o=e(99289),m=e.n(o),g=e(5574),i=e.n(g),n=e(67294),E=e(7529),T=e(74453),x=e(29104),y=e(21532),B=e(92398),R=e(75891),U=e(55375),D=e(76094),t=e(85893),I=function(){var K=(0,n.useState)([]),P=i()(K,2),W=P[0],z=P[1],G=(0,n.useState)(0),h=i()(G,2),Y=h[0],k=h[1],F=(0,n.useState)(1),v=i()(F,2),f=v[0],S=v[1],H=(0,n.useState)(7),p=i()(H,2),O=p[0],b=p[1],Z=(0,n.useState)([]),M=i()(Z,2),w=M[0],V=M[1],$=(0,n.useState)(0),j=i()($,2),J=j[0],N=j[1];(0,n.useEffect)(function(){(0,D.cp)({page:1,pageSize:99}).then(function(l){z(l.data.sections)})},[]);var Q=function(C){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{padding:"0 20px 20px",backgroundColor:"#ffffff",borderRadius:"10px"},children:(0,t.jsx)(E.Rs,{rowKey:"id",dataSource:w,request:m()(_()().mark(function d(){var r,a=arguments;return _()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return r=a.length>0&&a[0]!==void 0?a[0]:{},c.abrupt("return",(0,D.UO)({page:f,pagesize:O,sort:"id",sortby:"desc",section_id:C}).then(function(A){V(A.data.articles),N(A.data.total)}));case 2:case"end":return c.stop()}},d)})),pagination:{current:f,pageSize:O,total:J,onChange:function(r,a){S(r),b(a)},onShowSizeChange:function(r,a){S(r),b(a)}},metas:{title:{render:function(r,a){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(R.Link,{to:{pathname:"/talent/information/detail?id=".concat(a.id)},target:"_blank",style:{fontWeight:"bold",color:"#000000"},children:a.title})})}},description:{dataIndex:"updated_at"},extra:{render:function(r,a){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(x.Z,{src:a.cover_img?"".concat(U.VO).concat(a.cover_img):"/images/onlylogo.jpg",width:68,height:68})})}}}})})})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(y.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,t.jsx)(T._z,{header:{title:""},style:{minHeight:800},children:(0,t.jsx)(B.Z,{tabPosition:"left",destroyInactiveTabPane:!0,type:"card",items:W.map(function(l,C){return{label:l.name,key:l.id,children:Q(l.id)}})})})})})};u.default=I},76094:function(L,u,e){e.d(u,{US:function(){return E},UO:function(){return n},d3:function(){return i},cp:function(){return m}});var s=e(75334),_=e(55375),o={SectionList:_.xw+"/section/list",SectionDetail:_.xw+"/section/detail",SectionDetailByCode:_.xw+"/section/detailByCode",ArticleList:_.xw+"/article/list",ArticleDetail:_.xw+"/article/detail"},m=(0,s.y)(o.SectionList),g=(0,s.y)(o.SectionDetail),i=(0,s.y)(o.SectionDetailByCode),n=(0,s.y)(o.ArticleList),E=(0,s.y)(o.ArticleDetail)}}]); |
managecompanyfair: true, | managecompanyfair: true, | ||||
managecompanysetting: true, | managecompanysetting: true, | ||||
talentjobdetail: true, | talentjobdetail: true, | ||||
talentCompanydetail: true, talentResumedetail: true, talentfairdetail: true, talentinformationdetail: true | |||||
talentCompanydetail: true, talentResumedetail: true, talentfairdetail: true, talentinformationdetail: true ,managecompanyrule: true | |||||
} | } | ||||
break; | break; | ||||
default: | default: |
import LoginIndex from '@/components/Login/Index/index' | import LoginIndex from '@/components/Login/Index/index' | ||||
import FooterIndex from '@/components/Common/Footer/index' | import FooterIndex from '@/components/Common/Footer/index' | ||||
import { GetCompanyDetailInfo, GetCompanyProfile, GetCompanyResumeList, GetCompanyInterviewList, GetCompanyTalentPoolList, GetCompanyFee } from '@/services/apis/company' | |||||
companyfair: true, | companyfair: true, | ||||
companysetting: true, | companysetting: true, | ||||
talentjobdetail: true, | talentjobdetail: true, | ||||
talentCompanydetail: true, talentResumedetail: true, talentfairdetail: true, talentinformationdetail: true | |||||
talentCompanydetail: true, talentResumedetail: true, talentfairdetail: true, talentinformationdetail: true, managecompanyrule: true | |||||
} | } | ||||
break; | break; | ||||
default: | default: | ||||
managecompanyfair: true, | managecompanyfair: true, | ||||
managecompanysetting: true, | managecompanysetting: true, | ||||
talentjobdetail: true, | talentjobdetail: true, | ||||
talentCompanydetail: true, talentResumedetail: true, talentfairdetail: true, talentinformationdetail: true | |||||
talentCompanydetail: true, talentResumedetail: true, talentfairdetail: true, talentinformationdetail: true, managecompanyrule: true | |||||
}, | }, | ||||
})); | })); | ||||
break; | break; | ||||
localStorage.getItem('path') == '/manage/company/recommend' || | localStorage.getItem('path') == '/manage/company/recommend' || | ||||
localStorage.getItem('path') == '/manage/company/department' || | localStorage.getItem('path') == '/manage/company/department' || | ||||
localStorage.getItem('path') == '/manage/company/fair' || | localStorage.getItem('path') == '/manage/company/fair' || | ||||
localStorage.getItem('path') == '/manage/company/setting' | |||||
localStorage.getItem('path') == '/manage/company/setting' || | |||||
localStorage.getItem('path') == '/manage/company/rule' | |||||
) { | ) { | ||||
localStorage.setItem('role', 'company') | localStorage.setItem('role', 'company') | ||||
} | } | ||||
managecompanydepartment: true, | managecompanydepartment: true, | ||||
managecompanysetting: true, | managecompanysetting: true, | ||||
talentjobdetail: true, | talentjobdetail: true, | ||||
talentCompanydetail: true, talentResumedetail: true, talentfairdetail: true, talentinformationdetail: true | |||||
talentCompanydetail: true, talentResumedetail: true, talentfairdetail: true, talentinformationdetail: true, managecompanyrule: true | |||||
}, | }, | ||||
})); | })); | ||||
return [routes[5]] | return [routes[5]] | ||||
avatarProps: { | avatarProps: { | ||||
src: 'https://gw.alipayobjects.com/zos/antfincdn/efFD%24IOql2/weixintupian_20170331104822.jpg', | src: 'https://gw.alipayobjects.com/zos/antfincdn/efFD%24IOql2/weixintupian_20170331104822.jpg', | ||||
size: 'small', | size: 'small', | ||||
title: '王二狗', | |||||
title: localStorage.getItem('usertype') == '1' ? '求职者' : localStorage.getItem('usertype') == '2' ? '招聘者' : '', | |||||
render: (props, dom) => { | render: (props, dom) => { | ||||
let roleItem: any = [] | let roleItem: any = [] | ||||
if (localStorage.getItem('companyid')) { | if (localStorage.getItem('companyid')) { | ||||
if (routes_idx) { | if (routes_idx) { | ||||
localStorage.setItem('idx', routes_idx.parentIndex.toString()) | localStorage.setItem('idx', routes_idx.parentIndex.toString()) | ||||
} | } | ||||
if (localStorage.getItem('role') == 'company') { | |||||
GetCompanyProfile().then((res: any) => { | |||||
if (res.data.status == 2) { | |||||
Modal.warning({ | |||||
title: '禁用提示', | |||||
content: '您的账号已被禁用,请联系平台', | |||||
centered: true, | |||||
okText: '退出', | |||||
onOk() { | |||||
localStorage.clear(); | |||||
localStorage.setItem('role', 'common'); | |||||
history.push('/talent/home'); | |||||
window.location.reload(); | |||||
} | |||||
}); | |||||
setTimeout(() => { | |||||
localStorage.clear(); | |||||
localStorage.setItem('role', 'common'); | |||||
history.push('/talent/home'); | |||||
window.location.reload(); | |||||
}, 3000); | |||||
} | |||||
}) | |||||
} | |||||
} | } | ||||
localStorage.setItem('customerid', res.data.customerid); | localStorage.setItem('customerid', res.data.customerid); | ||||
localStorage.setItem('role', 'personal') | localStorage.setItem('role', 'personal') | ||||
loginChangeStatus(false) | loginChangeStatus(false) | ||||
localStorage.setItem('usertype', '1') | |||||
history.push('/manage/jobseeker/home'); | history.push('/manage/jobseeker/home'); | ||||
window.location.reload() | window.location.reload() | ||||
localStorage.setItem('companyid', res.data.company_id); | localStorage.setItem('companyid', res.data.company_id); | ||||
localStorage.setItem('role', 'company') | localStorage.setItem('role', 'company') | ||||
loginChangeStatus(false) | loginChangeStatus(false) | ||||
localStorage.setItem('usertype', '2') | |||||
history.push('/manage/company/home'); | history.push('/manage/company/home'); | ||||
window.location.reload() | window.location.reload() | ||||
} | } | ||||
localStorage.setItem('token', res.data.jwttoken.accesstoken); | localStorage.setItem('token', res.data.jwttoken.accesstoken); | ||||
localStorage.setItem('customerid', res.data.customerid); | localStorage.setItem('customerid', res.data.customerid); | ||||
localStorage.setItem('role', 'personal') | localStorage.setItem('role', 'personal') | ||||
localStorage.setItem('usertype', '1') | |||||
loginChangeStatus(false) | loginChangeStatus(false) | ||||
history.push('/manage/jobseeker/home'); | history.push('/manage/jobseeker/home'); | ||||
window.location.reload() | window.location.reload() | ||||
localStorage.setItem('customerid', res.data.customerid); | localStorage.setItem('customerid', res.data.customerid); | ||||
localStorage.setItem('companyid', res.data.company_id); | localStorage.setItem('companyid', res.data.company_id); | ||||
localStorage.setItem('role', 'company') | localStorage.setItem('role', 'company') | ||||
localStorage.setItem('usertype', '2') | |||||
history.push('/manage/company/home'); | history.push('/manage/company/home'); | ||||
window.location.reload() | window.location.reload() | ||||
} | } |
useEffect(() => { | useEffect(() => { | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2003, type: 'setScaleList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2003, type: 'setScaleList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }) |
dispatch({ type: 'dictModel/getList', payload: { code: 2015, type: 'setSkillCertificationeList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2015, type: 'setSkillCertificationeList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2007, type: 'setOtherLanguageList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2007, type: 'setOtherLanguageList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2008, type: 'setDegreeList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2008, type: 'setDegreeList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
}, []) | }, []) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2005, type: 'setPayList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2005, type: 'setPayList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2022, type: 'setUpdateList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2022, type: 'setUpdateList' } }) |
const formRef = useRef<FormInstance | null>(); | const formRef = useRef<FormInstance | null>(); | ||||
useEffect(() => { | useEffect(() => { | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
}, []) | }, []) | ||||
return ( | return ( |
const formRef = useRef<FormInstance | null>(); | const formRef = useRef<FormInstance | null>(); | ||||
useEffect(() => { | useEffect(() => { | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
}, []) | }, []) | ||||
return ( | return ( |
<td style={{ background: bgColor }}>联系方式</td> | <td style={{ background: bgColor }}>联系方式</td> | ||||
<td> | <td> | ||||
{detail.mobile} | {detail.mobile} | ||||
{ | |||||
{/* { | |||||
localStorage.getItem('role') == 'company' && | localStorage.getItem('role') == 'company' && | ||||
<Button type='link' onClick={() => { | <Button type='link' onClick={() => { | ||||
Modal.confirm({ | Modal.confirm({ | ||||
}, | }, | ||||
}); | }); | ||||
}}>获取详细</Button> | }}>获取详细</Button> | ||||
} | |||||
} */} | |||||
</td> | </td> | ||||
<td style={{ background: bgColor }}>邮箱</td> | <td style={{ background: bgColor }}>邮箱</td> |
<td style={{ border: '1px solid #ffffff' }}>年龄:{detail.age}岁</td> | <td style={{ border: '1px solid #ffffff' }}>年龄:{detail.age}岁</td> | ||||
<td style={{ border: '1px solid #ffffff' }}>民族: {detail.ethnicity_txt}</td> | <td style={{ border: '1px solid #ffffff' }}>民族: {detail.ethnicity_txt}</td> | ||||
<td style={{ border: '1px solid #ffffff' }}>联系方式: {detail.mobile} | <td style={{ border: '1px solid #ffffff' }}>联系方式: {detail.mobile} | ||||
{ | |||||
{/* { | |||||
localStorage.getItem('role') == 'company' && | localStorage.getItem('role') == 'company' && | ||||
<Button type='link' onClick={() => { | <Button type='link' onClick={() => { | ||||
Modal.confirm({ | Modal.confirm({ | ||||
}, | }, | ||||
}); | }); | ||||
}}>获取详细</Button> | }}>获取详细</Button> | ||||
} | |||||
} */} | |||||
</td> | </td> | ||||
<td rowSpan={5} style={{ textAlign: 'center', verticalAlign: 'middle', border: '1px solid #ffffff' }}> | <td rowSpan={5} style={{ textAlign: 'center', verticalAlign: 'middle', border: '1px solid #ffffff' }}> |
baseDetail && <> | baseDetail && <> | ||||
<Space direction='vertical' style={{ width: '100%' }}> | <Space direction='vertical' style={{ width: '100%' }}> | ||||
<Flex align='center'> | <Flex align='center'> | ||||
<h3>基本期望</h3><Button size='small' type='primary' onClick={async () => { | |||||
<div style={{ fontWeight: 'bold', marginRight: 10, fontSize: 16 }}>基本期望</div><Button size='small' type='primary' onClick={async () => { | |||||
let res = await GetJobapplicantDesirebaseDetail() | let res = await GetJobapplicantDesirebaseDetail() | ||||
setDetail(res.data) | setDetail(res.data) | ||||
setCurrent('basic') | setCurrent('basic') |
dataIndex: 'created_at', | dataIndex: 'created_at', | ||||
search: false, | search: false, | ||||
}, | }, | ||||
{ | |||||
title: '回复内容', | |||||
dataIndex: 'feed_back', | |||||
search: false, | |||||
}, | |||||
{ | { | ||||
title: '操作', | title: '操作', | ||||
valueType: 'option', | valueType: 'option', | ||||
footer={null} | footer={null} | ||||
destroyOnClose | destroyOnClose | ||||
> | > | ||||
<ProForm<CompanyType.Department> | |||||
<ProForm | |||||
submitter={{ | submitter={{ | ||||
searchConfig: { | searchConfig: { | ||||
resetText: '取消', | resetText: '取消', | ||||
<ProFormText | <ProFormText | ||||
name="name" | name="name" | ||||
label="昵称" | label="昵称" | ||||
placeholder="请输入昵称" | |||||
rules={[{ required: true, message: '请输入昵称' } | |||||
placeholder="请输入姓名" | |||||
rules={[{ required: true, message: '请输入姓名' } | |||||
]} | ]} | ||||
/> | /> | ||||
<ProFormText | <ProFormText | ||||
name="address" | name="address" | ||||
label="地址" | label="地址" | ||||
placeholder="请输入地址" | placeholder="请输入地址" | ||||
rules={[{ required: true, message: '请输入地址' } | |||||
]} | |||||
/> | |||||
<ProFormText | |||||
name="fax" | |||||
label="传真" | |||||
placeholder="请输入传真" | |||||
rules={[{ required: true, message: '请输入传真' } | |||||
]} | |||||
/> | |||||
<ProFormText | |||||
name="postal" | |||||
label="邮编" | |||||
placeholder="请输入邮编" | |||||
rules={[{ required: true, message: '请输入邮编' } | |||||
]} | |||||
/> | /> | ||||
<ProFormText | <ProFormText | ||||
name="email" | name="email" | ||||
label="电子邮箱" | label="电子邮箱" | ||||
placeholder="请输入电子邮箱" | placeholder="请输入电子邮箱" | ||||
rules={[{ required: true, message: '请输入部门名称' } | |||||
rules={[{ required: true, message: '请输入电子邮箱' } | |||||
]} | ]} | ||||
/> | /> | ||||
<ProFormTextArea | <ProFormTextArea | ||||
name="content" | name="content" | ||||
label="反馈内容" | label="反馈内容" | ||||
placeholder="请输入反馈内容" | placeholder="请输入反馈内容" | ||||
rules={[{ required: true, message: '请输入反馈内容' } | |||||
rules={[{ required: true, message: '请输入反馈内容,如职位问题,请填写职位名称和企业名' } | |||||
]} | ]} | ||||
/> | /> | ||||
</ProForm> | </ProForm> |
}, []); | }, []); | ||||
useEffect(() => { | useEffect(() => { | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2003, type: 'setScaleList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2003, type: 'setScaleList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }) |
{ | { | ||||
list && list.length > 0 && list.map((item, index) => ( | list && list.length > 0 && list.map((item, index) => ( | ||||
<> | <> | ||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', cursor: 'pointer' }}> | |||||
<Space size={20}> | |||||
<h3>{item.title}</h3> | |||||
</Space> | |||||
<Space size={20}> | |||||
<div style={{ color: '#999' }}> | |||||
{item.updated_at} | |||||
</div> | |||||
<RightOutlined style={{ color: '#999' }} /> | |||||
</Space> | |||||
</Flex> | |||||
</Link> | |||||
{/* <Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | <Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | ||||
<Space size={20}> | <Space size={20}> | ||||
<Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | <Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | ||||
</Space> | </Space> | ||||
</Flex> | </Flex> | ||||
</Link> | |||||
</Link> */} | |||||
</> | </> | ||||
)) | )) |
{ | { | ||||
list && list.length > 0 && list.map((item, index) => ( | list && list.length > 0 && list.map((item, index) => ( | ||||
<> | <> | ||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', cursor: 'pointer' }}> | |||||
<Space size={20}> | |||||
<h3>{item.title}</h3> | |||||
</Space> | |||||
<Space size={20}> | |||||
<div style={{ color: '#999' }}> | |||||
{item.updated_at} | |||||
</div> | |||||
<RightOutlined style={{ color: '#999' }} /> | |||||
</Space> | |||||
</Flex> | |||||
</Link> | |||||
{/* <Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | <Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | ||||
<Space size={20}> | <Space size={20}> | ||||
<Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | <Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | ||||
</Space> | </Space> | ||||
</Flex> | </Flex> | ||||
</Link> | |||||
</Link> */} | |||||
</> | </> | ||||
)) | )) |
{ | { | ||||
list && list.length > 0 && list.map((item, index) => ( | list && list.length > 0 && list.map((item, index) => ( | ||||
<> | <> | ||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank' > | |||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', cursor: 'pointer' }}> | |||||
<Space size={20}> | |||||
<h3>{item.title}</h3> | |||||
</Space> | |||||
<Space size={20}> | |||||
<div style={{ color: '#999' }}> | |||||
{item.updated_at} | |||||
</div> | |||||
<RightOutlined style={{ color: '#999' }} /> | |||||
</Space> | |||||
</Flex> | |||||
</Link> | |||||
{/* <Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank' > | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | <Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | ||||
<Space size={20}> | <Space size={20}> | ||||
<Image src={`${Imageprefix}${item.cover_img}`} width={68} height={68}></Image> | <Image src={`${Imageprefix}${item.cover_img}`} width={68} height={68}></Image> | ||||
</Space> | </Space> | ||||
</Flex> | </Flex> | ||||
</Link> | |||||
</Link> */} | |||||
</> | </> | ||||
)) | )) |
{ | { | ||||
list && list.length > 0 && list.map((item, index) => ( | list && list.length > 0 && list.map((item, index) => ( | ||||
<> | <> | ||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank' > | |||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', cursor: 'pointer' }}> | |||||
<Space size={20}> | |||||
<h3>{item.title}</h3> | |||||
</Space> | |||||
<Space size={20}> | |||||
<div style={{ color: '#999' }}> | |||||
{item.updated_at} | |||||
</div> | |||||
<RightOutlined style={{ color: '#999' }} /> | |||||
</Space> | |||||
</Flex> | |||||
</Link> | |||||
{/* <Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank' > | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | <Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | ||||
<Space size={20}> | <Space size={20}> | ||||
<Image src={`${Imageprefix}${item.cover_img}`} width={68} height={68}></Image> | <Image src={`${Imageprefix}${item.cover_img}`} width={68} height={68}></Image> | ||||
</Space> | </Space> | ||||
</Flex> | </Flex> | ||||
</Link> | |||||
</Link> */} | |||||
</> | </> | ||||
)) | )) | ||||
} | } |
dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }) | dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
}, []) | }, []) | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }), | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }), | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2003, type: 'setScaleList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2003, type: 'setScaleList' } }), | ||||
]); | ]); |
dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }), | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }), | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2011, type: 'setMaritalList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2011, type: 'setMaritalList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2012, type: 'setEthnicityList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2012, type: 'setEthnicityList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2010, type: 'setPoliticalList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2010, type: 'setPoliticalList' } }), |
dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2009, type: 'setAreaList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: "2009000100030002", type: 'setXiaolanzhenList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: "200900010003", type: 'setZhongshanList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }), | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }), | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2005, type: 'setPayList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2005, type: 'setPayList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2002, type: 'setNatureList' } }), | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2022, type: 'setUpdateList' } }), | dispatch({ type: 'dictModel/getList', payload: { code: 2022, type: 'setUpdateList' } }), |
import { useState, useEffect, useRef } from 'react'; | import { useState, useEffect, useRef } from 'react'; | ||||
import { ProList, PageContainer } from '@ant-design/pro-components'; | import { ProList, PageContainer } from '@ant-design/pro-components'; | ||||
import type { BadgeProps, CalendarProps } from 'antd'; | import type { BadgeProps, CalendarProps } from 'antd'; | ||||
import { ConfigProvider, Button, Flex, Card, Space, Tabs, Calendar, Row, Col, Descriptions, Statistic, Divider, Modal, Anchor } from 'antd'; | |||||
import { ConfigProvider, Button, Flex, Card, Space, Tabs, Calendar, Row, Col, Descriptions, Statistic, Divider, Modal, Tag } from 'antd'; | |||||
import { SearchOutlined, LikeOutlined, ArrowDownOutlined, CameraOutlined } from '@ant-design/icons'; | import { SearchOutlined, LikeOutlined, ArrowDownOutlined, CameraOutlined } from '@ant-design/icons'; | ||||
import { useModel, connect, history, Link } from 'umi'; | import { useModel, connect, history, Link } from 'umi'; | ||||
import { findItemById } from '@/utils/dataHelper' | import { findItemById } from '@/utils/dataHelper' | ||||
import { GetCompanyDetailInfo, GetCompanyProfile, GetCompanyResumeList, GetCompanyInterviewList, GetCompanyTalentPoolList } from '@/services/apis/company' | |||||
import { GetCompanyDetailInfo, GetCompanyProfile, GetCompanyResumeList, GetCompanyInterviewList, GetCompanyTalentPoolList, GetCompanyFee } from '@/services/apis/company' | |||||
import { GetCompanyJobList } from '@/services/apis/post'; | import { GetCompanyJobList } from '@/services/apis/post'; | ||||
import ManageCompanyResumeRecomment from '@/components/Manage/Company/Resume/Recomment' | import ManageCompanyResumeRecomment from '@/components/Manage/Company/Resume/Recomment' | ||||
const [resumeTotal, setResumeTotal] = useState<number>(0); | const [resumeTotal, setResumeTotal] = useState<number>(0); | ||||
const [interviewTotal, setInterviewTotal] = useState<number>(0); | const [interviewTotal, setInterviewTotal] = useState<number>(0); | ||||
const [talentPoolTotal, setTalentPoolTotal] = useState<number>(0); | const [talentPoolTotal, setTalentPoolTotal] = useState<number>(0); | ||||
const [detailFee, setDetailFee] = useState<object | null>(null) | |||||
const currentDate = new Date(); | |||||
useEffect(() => { | useEffect(() => { | ||||
GetCompanyDetailInfo({ id: localStorage.getItem('companyid') }).then((res: any) => { | GetCompanyDetailInfo({ id: localStorage.getItem('companyid') }).then((res: any) => { | ||||
localStorage.setItem('license_status', res.data.license_status) | |||||
setDetail(res.data) | setDetail(res.data) | ||||
}) | }) | ||||
GetCompanyProfile().then((res: any) => { | GetCompanyProfile().then((res: any) => { | ||||
setDetail1(res.data) | setDetail1(res.data) | ||||
}) | }) | ||||
// GetCompanyFee().then(res => { | |||||
// res.data.formatStartDate = new Date(res.data.start_date) | |||||
// res.data.formatEndDate = new Date(res.data.end_date) | |||||
// localStorage.setItem('fee', res.data.balance_fee) | |||||
// setDetailFee(res.data) | |||||
// }) | |||||
}, []); | }, []); | ||||
useEffect(() => { | useEffect(() => { | ||||
GetCompanyJobList({ page: 1, pagesize: 10 }).then((res: any) => { | GetCompanyJobList({ page: 1, pagesize: 10 }).then((res: any) => { | ||||
setCompanyJobTotal(res.data.total ? res.data.total : 0) | setCompanyJobTotal(res.data.total ? res.data.total : 0) | ||||
}, []) | }, []) | ||||
useEffect(() => { | useEffect(() => { | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
}, [dispatch]) | }, [dispatch]) | ||||
(detail && detail1) && <> | (detail && detail1) && <> | ||||
<Row gutter={[20, 20]}> | <Row gutter={[20, 20]}> | ||||
<Col span={8}> | <Col span={8}> | ||||
<Space direction='vertical' size={30} style={{ width: '100%' }}> | |||||
<Space direction='vertical' size={20} style={{ width: '100%' }}> | |||||
<Card | <Card | ||||
bordered={false} | bordered={false} | ||||
title={<Link to={{ pathname: `/talent/company/detail?id=${localStorage.getItem('companyid')}` }} target="_blank" style={{ color: '#000000', fontSize: 16, marginRight: 10 }}> | |||||
{detail.full_name} | |||||
</Link>} | |||||
title={ | |||||
<> | |||||
<Link to={{ pathname: `/talent/company/detail?id=${localStorage.getItem('companyid')}` }} target="_blank" style={{ color: '#000000', fontSize: 16, marginRight: 10 }}> | |||||
{detail.full_name} | |||||
</Link> | |||||
{/* {detailFee ? <><Tag color='#19be6e'>会员用户</Tag></> : <><Tag color='#f5f5f5'>普通用户</Tag></>} */} | |||||
</> | |||||
} | |||||
extra={<Link to={{ pathname: `/manage/company/info` }} style={{ color: '#19be6e', fontSize: 14, marginRight: 10 }}> | extra={<Link to={{ pathname: `/manage/company/info` }} style={{ color: '#19be6e', fontSize: 14, marginRight: 10 }}> | ||||
<Button >编辑资料</Button> | <Button >编辑资料</Button> | ||||
</Link>} | </Link>} | ||||
style={{ boxShadow: '0 8px 20px #f0f0f0' }}> | style={{ boxShadow: '0 8px 20px #f0f0f0' }}> | ||||
<Space direction='vertical' style={{ borderRadius: 10, width: '100%' }}> | <Space direction='vertical' style={{ borderRadius: 10, width: '100%' }}> | ||||
<Descriptions> | <Descriptions> | ||||
{/* { | |||||
detailFee && (<> | |||||
<Descriptions.Item label="会员有效期" span={24}> | |||||
<Space> | |||||
<div>{detailFee.start_date}-{detailFee.end_date}</div> | |||||
{(currentDate < detailFee.formatStartDate || currentDate > detailFee.formatEndDate) && (<><Tag color='gray'>已过期</Tag></>)} | |||||
<Tag color='#19be6e' onClick={() => { | |||||
Modal.confirm({ | |||||
title: '会员续期', | |||||
content: '请联系与您对接的业务员,联系方式: xxxx', | |||||
onOk() { | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '确定', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
}}>续期</Tag> | |||||
</Space> | |||||
</Descriptions.Item> | |||||
</>) | |||||
} */} | |||||
<Descriptions.Item label="企业编号" span={24}>{detail.id}</Descriptions.Item> | <Descriptions.Item label="企业编号" span={24}>{detail.id}</Descriptions.Item> | ||||
<Descriptions.Item label="登录账号" span={24}>{detail.mobile}</Descriptions.Item> | <Descriptions.Item label="登录账号" span={24}>{detail.mobile}</Descriptions.Item> | ||||
<Descriptions.Item label="访问次数" span={24}>{detail1.click_count}</Descriptions.Item> | <Descriptions.Item label="访问次数" span={24}>{detail1.click_count}</Descriptions.Item> | ||||
<Descriptions.Item label="月浏览简历联系方式次数" span={24}>{detail1.month_look_resume_qty}</Descriptions.Item> | <Descriptions.Item label="月浏览简历联系方式次数" span={24}>{detail1.month_look_resume_qty}</Descriptions.Item> | ||||
<Descriptions.Item label="剩余可查看简历联系方式" span={24}>{detail1.limit_resume_qty}</Descriptions.Item> | |||||
{/* <Descriptions.Item label="剩余可查看简历联系方式" span={24}>{detail1.limit_resume_qty}</Descriptions.Item> */} | |||||
<Descriptions.Item span={24}><Divider></Divider></Descriptions.Item> | <Descriptions.Item span={24}><Divider></Divider></Descriptions.Item> | ||||
<Descriptions.Item label="注册日期" span={24}>{detail.establishment_date}</Descriptions.Item> | <Descriptions.Item label="注册日期" span={24}>{detail.establishment_date}</Descriptions.Item> | ||||
<Descriptions.Item label="所属行业" span={24}>{detail.industry_text}{detail.industry2_text}</Descriptions.Item> | <Descriptions.Item label="所属行业" span={24}>{detail.industry_text}{detail.industry2_text}</Descriptions.Item> |
</Space> | </Space> | ||||
<Row gutter={[16, 16]}> | <Row gutter={[16, 16]}> | ||||
<Col span={12}> | <Col span={12}> | ||||
<Card title="企业Logo" extra={<Button type='text' onClick={() => { setOpenPhotoPreview(true) }}>更换图片</Button>}> | |||||
<Card title="企业Logo" extra={ | |||||
<> | |||||
{ | |||||
detail && detail.license_status == 1 && <Button type='text' disabled>待审核</Button> | |||||
} | |||||
{ | |||||
detail && detail.license_status == 2 && <Button type='text' onClick={() => { setOpenPhotoPreview(true) }}>审核通过,更换图片</Button> | |||||
} | |||||
{ | |||||
detail && detail.license_status == 3 && <Button type='text' onClick={() => { setOpenPhotoPreview(true) }}>审核不通过,更换图片</Button> | |||||
} | |||||
</> | |||||
}> | |||||
<Image src={Imageprefix + detail.photo} width={200} height={200} /> | <Image src={Imageprefix + detail.photo} width={200} height={200} /> | ||||
</Card> | </Card> | ||||
</Col> | </Col> | ||||
<Col span={12}> | <Col span={12}> | ||||
<Card title="营业执照" extra={<Button type='text' onClick={() => { setOpenLicensePreview(true) }}>更换图片</Button>}> | |||||
<Card title="营业执照" extra={<Button type='text' onClick={() => { setOpenLicensePreview(true) }}>更换图片</Button>}> | |||||
<Image src={Imageprefix + detail.license_path} width={200} height={200} /> | <Image src={Imageprefix + detail.license_path} width={200} height={200} /> | ||||
</Card> | </Card> | ||||
</Col> | </Col> |
import { useState, useEffect, useRef } from 'react'; | import { useState, useEffect, useRef } from 'react'; | ||||
import type { ActionType, EditableFormInstance } from '@ant-design/pro-components'; | import type { ActionType, EditableFormInstance } from '@ant-design/pro-components'; | ||||
import { ProList, PageContainer } from '@ant-design/pro-components'; | import { ProList, PageContainer } from '@ant-design/pro-components'; | ||||
import { HomeOutlined, SearchOutlined, FireOutlined } from '@ant-design/icons' | |||||
import { Space, Tabs, Button, Descriptions, Row, Col, Tag, Flex, Card, Input, Modal, ConfigProvider } from 'antd'; | |||||
import { Link } from '@umijs/max'; | |||||
import { QuestionCircleOutlined, SearchOutlined, FireOutlined } from '@ant-design/icons' | |||||
import { Space, Tabs, Button, Descriptions, Row, Col, Tag, Flex, Badge, Input, Modal, ConfigProvider, Tooltip, message } from 'antd'; | |||||
import { Link, history } from '@umijs/max'; | |||||
import { Imageprefix } from '@/constants/index' | import { Imageprefix } from '@/constants/index' | ||||
import { GetCompanyJobList, GetCompanyJobInfo, PostCompanyJobStatusChange, PostCompanyJobDel, PostCompanyJobRecycle, PostCompanyJobrecoverRecycle } from '@/services/apis/post'; | import { GetCompanyJobList, GetCompanyJobInfo, PostCompanyJobStatusChange, PostCompanyJobDel, PostCompanyJobRecycle, PostCompanyJobrecoverRecycle } from '@/services/apis/post'; | ||||
import ManageCompanyPost from '@/components/Manage/Company/Post' | import ManageCompanyPost from '@/components/Manage/Company/Post' | ||||
import { GetCompanyDetailInfo } from '@/services/apis/company' | |||||
import { GetSysconfigDetail } from '@/services/apis/common' | |||||
const ManegeJobseekerHome: React.FC = () => { | const ManegeJobseekerHome: React.FC = () => { | ||||
const [openPreview, setOpenPreview] = useState(false); | const [openPreview, setOpenPreview] = useState(false); | ||||
const [detail, setDetail] = useState<any>({}); | const [detail, setDetail] = useState<any>({}); | ||||
const [keywordName, setKeywordName] = useState<string>(''); | const [keywordName, setKeywordName] = useState<string>(''); | ||||
const [sendPostCount, setSendPostCount] = useState<number>(0) | |||||
const closeModel = (value: boolean) => { | const closeModel = (value: boolean) => { | ||||
GetCompanyJobList({ page: 1, pagesize: 12 }).then(res => { | GetCompanyJobList({ page: 1, pagesize: 12 }).then(res => { | ||||
setList(res.data.list ? res.data.list : []) | setList(res.data.list ? res.data.list : []) | ||||
}) | }) | ||||
GetSysconfigDetail({ name: 'sendpostcount' }).then((res) => { | |||||
setSendPostCount(Number(res.data.value)) | |||||
}) | |||||
GetCompanyDetailInfo({ id: localStorage.getItem('companyid') }).then((res: any) => { | |||||
localStorage.setItem('license_status', res.data.license_status) | |||||
}) | |||||
}, []); | }, []); | ||||
const tabChildren = ((key: any) => { | const tabChildren = ((key: any) => { | ||||
setDetail(res) | setDetail(res) | ||||
setOpenPreview(true); | setOpenPreview(true); | ||||
}}>编辑</Button> | }}>编辑</Button> | ||||
<Button color="cyan" variant="solid" disabled={row.status == 3 || row.status == 4 || row.status == 5 || row.status == 6} onClick={() => { | |||||
<Button color="cyan" variant="solid" disabled={row.status == 3 || row.status == 4 || row.status == 5 || row.status == 6} onClick={() => { | |||||
Modal.confirm({ | Modal.confirm({ | ||||
title: '暂停招聘', | title: '暂停招聘', | ||||
content: '确定暂停招聘吗?', | content: '确定暂停招聘吗?', | ||||
centered: true | centered: true | ||||
}); | }); | ||||
}}>暂停招聘</Button> | }}>暂停招聘</Button> | ||||
<Button color="cyan" variant="solid" disabled={row.status === 1 || row.status == 4 || row.status == 5} onClick={() => { | |||||
<Button color="cyan" variant="solid" disabled={row.status === 1 || row.status == 4 || row.status == 5} onClick={() => { | |||||
Modal.confirm({ | Modal.confirm({ | ||||
title: '重新发布', | title: '重新发布', | ||||
content: '确定重新发布吗?', | content: '确定重新发布吗?', | ||||
centered: true | centered: true | ||||
}); | }); | ||||
}} >重新发布</Button> | }} >重新发布</Button> | ||||
<Button disabled={row.status === 5 || row.status == 4} onClick={() => { | |||||
<Button disabled={row.status === 5 || row.status == 4} onClick={() => { | |||||
Modal.confirm({ | Modal.confirm({ | ||||
title: '放入回收站', | title: '放入回收站', | ||||
content: '确定放入回收站吗?', | content: '确定放入回收站吗?', | ||||
centered: true | centered: true | ||||
}); | }); | ||||
}} >放入回收站</Button> | }} >放入回收站</Button> | ||||
<Button disabled={row.status === 1 || row.status === 3 || row.status === 2 || row.status == 4 || row.status == 6} onClick={() => { | |||||
<Button disabled={row.status === 1 || row.status === 3 || row.status === 2 || row.status == 4 || row.status == 6} onClick={() => { | |||||
Modal.confirm({ | Modal.confirm({ | ||||
title: '移出回收站', | title: '移出回收站', | ||||
content: '确定移出回收站吗?', | content: '确定移出回收站吗?', | ||||
setKeywordName(e.target.value) | setKeywordName(e.target.value) | ||||
}} | }} | ||||
/> | /> | ||||
<Button size='large' type='primary' style={{ width: 100 }} onClick={() => {actionRef.current?.reload() }}>搜索</Button> | |||||
<Button size='large' type='primary' style={{ width: 100 }} onClick={() => { actionRef.current?.reload() }}>搜索</Button> | |||||
</Space.Compact> | </Space.Compact> | ||||
<Button size='large' type='primary' onClick={() => { | <Button size='large' type='primary' onClick={() => { | ||||
if (localStorage.getItem('license_status') != 2) { | |||||
Modal.confirm({ | |||||
title: '营业执照状态', | |||||
content: '营业执照未上传,或者营业执照未通过审核,无法发布职位,前往查看', | |||||
onOk() { | |||||
history.push('/manage/company/info'); | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '前往查看', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
return false; | |||||
} | |||||
setOpenPreview(true) | setOpenPreview(true) | ||||
}}>发布一个职位</Button> | }}>发布一个职位</Button> | ||||
{/* <Tooltip title={`发布职位扣除${sendPostCount}点数`} placement="right" > | |||||
<Button size='large' type='primary' iconPosition='end' icon={<QuestionCircleOutlined style={{ color: '#fff' }} />} onClick={() => { | |||||
if ((localStorage.getItem('fee') && localStorage.getItem('fee')) > sendPostCount) { | |||||
message.error('点数不足,请联系业务员充值点数'); | |||||
return false; | |||||
} | |||||
setOpenPreview(true) | |||||
}}>发布一个职位</Button> | |||||
</Tooltip> */} | |||||
</Space> | </Space> | ||||
</Flex> | </Flex> | ||||
<Space direction='vertical' size={30}> | <Space direction='vertical' size={30}> | ||||
> | > | ||||
<ManageCompanyPost detail={detail} closeModel={closeModel}></ManageCompanyPost> | <ManageCompanyPost detail={detail} closeModel={closeModel}></ManageCompanyPost> | ||||
</Modal> | </Modal> | ||||
</ConfigProvider> | |||||
</ConfigProvider > | |||||
</> | </> | ||||
); | ); |
import { useState, useEffect, useRef } from 'react'; | |||||
import { ProList, PageContainer } from '@ant-design/pro-components'; | |||||
import { ConfigProvider, Button, Flex, Input, Space, Tabs, Tooltip, Row, Col, Pagination, Tag, Card, Affix, Typography, Anchor } from 'antd'; | |||||
import { SearchOutlined, LikeOutlined, ArrowRightOutlined, StarOutlined } from '@ant-design/icons'; | |||||
import { useModel, connect, history, Link, useSearchParams } from 'umi'; | |||||
import { GetSysconfigDetail } from '@/services/apis/common' | |||||
import he from 'he'; | |||||
const HomePage: React.FC = () => { | |||||
const [activeKey, setActiveKey] = useState<string>('1') | |||||
const [aboutUs, setAboutUs] = useState<string>('') | |||||
useEffect(() => { | |||||
GetSysconfigDetail({ name: 'rule' }).then((res) => { | |||||
setAboutUs(res.data.value) | |||||
}) | |||||
}, []); | |||||
return ( | |||||
<> | |||||
<ConfigProvider | |||||
theme={{ | |||||
token: { | |||||
colorPrimary: '#19be6e', | |||||
}, | |||||
components: { | |||||
Button: { | |||||
colorText: '#19be6e' | |||||
} | |||||
} | |||||
}} | |||||
> | |||||
<PageContainer | |||||
header={{ title: '', }} | |||||
style={{ minHeight: 800 }} | |||||
> | |||||
<div style={{ background: '#ffffff', padding: 20, borderRadius: 8 }} dangerouslySetInnerHTML={{ __html: he.decode(aboutUs) }} /> | |||||
</PageContainer > | |||||
</ConfigProvider > | |||||
</> | |||||
); | |||||
}; | |||||
export default HomePage; | |||||
}, []) | }, []) | ||||
useEffect(() => { | useEffect(() => { | ||||
dispatch({ type: 'dictModel/getList', payload: { code: 2027, type: 'setIndustryPostList' } }) | |||||
dispatch({ type: 'dictModel/getList', payload: { code: 2028, type: 'setIndustryPostList' } }) | |||||
}, [dispatch]) | }, [dispatch]) | ||||
const [pageSize, setPageSize] = useState<number>(7) | const [pageSize, setPageSize] = useState<number>(7) | ||||
GetSectionDetailByCode({ code: 'KCYPPHD' }).then(res => { | |||||
GetArticleList({ page: 1, pagesize: 6, section_id: res.data.id }).then(res1 => { | |||||
setList(res1.data.articles) | |||||
setTotal(res1.data.total) | |||||
useEffect(() => { | |||||
GetSectionDetailByCode({ code: 'KCYPPHD' }).then(res => { | |||||
GetArticleList({ page: 1, pagesize: 6, section_id: res.data.id }).then(res1 => { | |||||
setList(res1.data.articles) | |||||
setTotal(res1.data.total) | |||||
}) | |||||
}) | }) | ||||
}) | |||||
}, []) | |||||
> | > | ||||
<div style={{ minHeight: 1000 }}> | <div style={{ minHeight: 1000 }}> | ||||
<Space direction='vertical' size={10} style={{ width: '100%'}}> | |||||
<Space direction='vertical' size={10} style={{ width: '100%' }}> | |||||
{ | { | ||||
list && list.length > 0 && list.map((item, index) => ( | list && list.length > 0 && list.map((item, index) => ( | ||||
<> | <> | ||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | |||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', cursor: 'pointer' }}> | |||||
<Space size={20}> | |||||
<h3>{item.title}</h3> | |||||
</Space> | |||||
<Space size={20}> | |||||
<div style={{ color: '#999' }}> | |||||
{item.updated_at} | |||||
</div> | |||||
<RightOutlined style={{ color: '#999' }} /> | |||||
</Space> | |||||
</Flex> | |||||
</Link> | |||||
{/* <Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | |||||
<Space size={20}> | <Space size={20}> | ||||
<Image src={`${Imageprefix}${item.image_url}`} width={100} height={100}></Image> | <Image src={`${Imageprefix}${item.image_url}`} width={100} height={100}></Image> | ||||
<h3>{item.title}</h3> | <h3>{item.title}</h3> | ||||
<RightOutlined /> | <RightOutlined /> | ||||
</Space> | </Space> | ||||
</Flex> | |||||
</Flex> */} | |||||
</> | </> | ||||
)) | )) | ||||
} | } |
<> | <> | ||||
<Col span={8}> | <Col span={8}> | ||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target="_blank" style={{ color: '#000000' }}> | <Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target="_blank" style={{ color: '#000000' }}> | ||||
<Card | |||||
<Card | |||||
cover={ | cover={ | ||||
<> | <> | ||||
<div style={{ | <div style={{ |
const [pageSize, setPageSize] = useState<number>(7) | const [pageSize, setPageSize] = useState<number>(7) | ||||
GetSectionDetailByCode({ code: 'KCYCGZH' }).then(res => { | |||||
GetArticleList({ page: 1, pagesize: 6, section_id: res.data.id }).then(res1 => { | |||||
setList(res1.data.articles) | |||||
setTotal(res1.data.total) | |||||
useEffect(() => { | |||||
GetSectionDetailByCode({ code: 'KCYCGZH' }).then(res => { | |||||
GetArticleList({ page: 1, pagesize: 6, section_id: res.data.id }).then(res1 => { | |||||
setList(res1.data.articles) | |||||
setTotal(res1.data.total) | |||||
}) | |||||
}) | }) | ||||
}) | |||||
}, []) | |||||
{ | { | ||||
list && list.length > 0 && list.map((item, index) => ( | list && list.length > 0 && list.map((item, index) => ( | ||||
<> | <> | ||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', cursor: 'pointer' }}> | |||||
<Space size={20}> | |||||
<h3>{item.title}</h3> | |||||
</Space> | |||||
<Space size={20}> | |||||
<div style={{ color: '#999' }}> | |||||
{item.updated_at} | |||||
</div> | |||||
<RightOutlined style={{ color: '#999' }} /> | |||||
</Space> | |||||
</Flex> | |||||
</Link> | |||||
{/* <Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | <Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | ||||
<Space size={20}> | <Space size={20}> | ||||
<Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | <Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | ||||
</Space> | </Space> | ||||
</Flex> | </Flex> | ||||
</Link> | |||||
</Link> */} | |||||
</> | </> | ||||
)) | )) | ||||
} | } |
const [page, setPage] = useState<number>(1) | const [page, setPage] = useState<number>(1) | ||||
const [pageSize, setPageSize] = useState<number>(7) | const [pageSize, setPageSize] = useState<number>(7) | ||||
GetSectionDetailByCode({ code: 'KCYZXDT' }).then(res => { | |||||
GetArticleList({ page: 1, pagesize: 6, section_id: res.data.id }).then(res1 => { | |||||
setList(res1.data.articles) | |||||
setTotal(res1.data.total) | |||||
useEffect(() => { | |||||
GetSectionDetailByCode({ code: 'KCYZXDT' }).then(res => { | |||||
GetArticleList({ page: 1, pagesize: 6, section_id: res.data.id }).then(res1 => { | |||||
setList(res1.data.articles) | |||||
setTotal(res1.data.total) | |||||
}) | |||||
}) | }) | ||||
}) | |||||
}, []) | |||||
{ | { | ||||
list && list.length > 0 && list.map((item, index) => ( | list && list.length > 0 && list.map((item, index) => ( | ||||
<> | <> | ||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | |||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', cursor: 'pointer' }}> | |||||
<Space size={20}> | <Space size={20}> | ||||
<Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | |||||
<h3>{item.title}</h3> | <h3>{item.title}</h3> | ||||
</Space> | </Space> | ||||
<Space size={20}> | <Space size={20}> | ||||
<div> | |||||
<div style={{ color: '#999' }}> | |||||
{item.updated_at} | {item.updated_at} | ||||
</div> | </div> | ||||
<RightOutlined /> | |||||
<RightOutlined style={{ color: '#999' }}/> | |||||
</Space> | </Space> | ||||
</Flex> | </Flex> | ||||
</Link> | </Link> | ||||
</> | </> |
const [pageSize, setPageSize] = useState<number>(7) | const [pageSize, setPageSize] = useState<number>(7) | ||||
GetSectionDetailByCode({ code: 'KCYTZGG' }).then(res => { | |||||
GetArticleList({ page: 1, pagesize: 6, section_id: res.data.id }).then(res1 => { | |||||
setList(res1.data.articles) | |||||
setTotal(res1.data.total) | |||||
}) | |||||
}) | |||||
useEffect(() => { | |||||
GetSectionDetailByCode({ code: 'KCYTZGG' }).then(res => { | |||||
GetArticleList({ page: 1, pagesize: 6, section_id: res.data.id }).then(res1 => { | |||||
setList(res1.data.articles) | |||||
setTotal(res1.data.total) | |||||
}) | |||||
}) | |||||
}, []) | |||||
return ( | return ( | ||||
> | > | ||||
<div style={{ minHeight: 1000 }}> | <div style={{ minHeight: 1000 }}> | ||||
<Space direction='vertical' size={10} style={{ width: '100%'}}> | |||||
<Space direction='vertical' size={10} style={{ width: '100%' }}> | |||||
{ | { | ||||
list && list.length > 0 && list.map((item, index) => ( | list && list.length > 0 && list.map((item, index) => ( | ||||
<> | <> | ||||
<Link to={{pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Link to={{ pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', cursor: 'pointer' }}> | |||||
<Space size={20}> | |||||
<h3>{item.title}</h3> | |||||
</Space> | |||||
<Space size={20}> | |||||
<div style={{ color: '#999' }}> | |||||
{item.updated_at} | |||||
</div> | |||||
<RightOutlined style={{ color: '#999' }} /> | |||||
</Space> | |||||
</Flex> | |||||
</Link> | |||||
{/* <Link to={{pathname: `/sciencetechnologypark/information/detail?id=${item.id}` }} target='_blank'> | |||||
<Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | <Flex justify='space-between' align='center' style={{ width: '100%', padding: '16px', color: '#000000', background: '#ffffff', borderRadius: 8, cursor: 'pointer' }}> | ||||
<Space size={20}> | <Space size={20}> | ||||
<Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | <Image src={`${Imageprefix}${item.cover_img}`} width={100} height={100}></Image> | ||||
</Space> | </Space> | ||||
</Flex> | </Flex> | ||||
</Link> | |||||
</Link> */} | |||||
</> | </> | ||||
)) | )) | ||||
} | } |
import { useState, useEffect, useRef } from 'react'; | import { useState, useEffect, useRef } from 'react'; | ||||
import { ProList, PageContainer } from '@ant-design/pro-components'; | |||||
import { ConfigProvider, Button, Flex, Input, Space, Image, Row, Col, Modal, Tag, message, Avatar, Typography, Descriptions, List, Result, Divider, Statistic } from 'antd'; | |||||
import { PhoneOutlined, StarFilled, EnvironmentOutlined, ArrowRightOutlined, FireOutlined, StarOutlined, PayCircleOutlined } from '@ant-design/icons'; | |||||
import { ProList, PageContainer, ProForm, ProFormText, ProFormTextArea } from '@ant-design/pro-components'; | |||||
import { ConfigProvider, Button, Flex, Input, Space, Image, Row, Col, Modal, Tag, message, Avatar, Typography, Descriptions, List, Carousel, Divider, Statistic } from 'antd'; | |||||
import { InfoCircleOutlined, StarFilled, EnvironmentOutlined, ArrowRightOutlined, FireOutlined, StarOutlined, PayCircleOutlined } from '@ant-design/icons'; | |||||
import { useSearchParams, connect, history, Link } from 'umi'; | import { useSearchParams, connect, history, Link } from 'umi'; | ||||
import he from 'he' | import he from 'he' | ||||
import LoginIndex from '@/components/Login/Index/index' | import LoginIndex from '@/components/Login/Index/index' | ||||
import EmptyResult from '@/components/Common/EmptyResult' | import EmptyResult from '@/components/Common/EmptyResult' | ||||
import CommonJob from '@/components/Common/Job2' | import CommonJob from '@/components/Common/Job2' | ||||
import { PostFeedbackAdd, PostFeedbackDel, GetFeedbackList } from '@/services/apis/common'; | |||||
const HomePage: React.FC = () => { | const HomePage: React.FC = () => { | ||||
const [searchParams] = useSearchParams(); | const [searchParams] = useSearchParams(); | ||||
const [positionList, setPositionList] = useState<any[]>([]); | const [positionList, setPositionList] = useState<any[]>([]); | ||||
const [loginHeight, setLoginHeight] = useState<number>(3) // 获取登录的高度 | const [loginHeight, setLoginHeight] = useState<number>(3) // 获取登录的高度 | ||||
const [openPreview, setOpenPreview] = useState(false); | const [openPreview, setOpenPreview] = useState(false); | ||||
const [openPreviewFeekBack, setOpenPreviewFeekBack] = useState(false); | |||||
useEffect(() => { | useEffect(() => { | ||||
<PageContainer | <PageContainer | ||||
header={{ title: '' }} | header={{ title: '' }} | ||||
> | > | ||||
<Space direction='vertical' size={20} style={{ width: '100%' }}> | |||||
<Carousel dots={false} autoplay vertical style={{ width: '100%', background: '#fff', padding: 10, borderRadius: 8, color: 'red' }}> | |||||
<div> | |||||
求职平台虽便捷,信息核实需谨慎。虚假招聘藏陷阱,擦亮双眼莫轻信。 | |||||
</div> | |||||
<div> | |||||
网络求职陷阱多,虚假信息要甄别。正规渠道找工作,安全求职保平安。 | |||||
</div> | |||||
<div> | |||||
入职收费要警惕,正规公司不收费。求职路上要小心,莫让骗子把钱骗。 | |||||
</div> | |||||
<div> | |||||
求职入职无收费,收费招聘是骗局。钱财安全要守护,谨慎求职莫上当。 | |||||
</div> | |||||
<div> | |||||
高薪诱惑需警惕,天上不会掉馅饼。求职要靠真本事,脚踏实地最安心。 | |||||
</div> | |||||
<div> | |||||
高薪职位莫贪心,虚假招聘藏陷阱。求职谨慎是关键,安全就业保平安。 | |||||
</div> | |||||
<div> | |||||
个人信息要保密,求职简历莫乱投。谨慎分享防诈骗,安全求职有保障。 | |||||
</div> | |||||
<div> | |||||
求职简历要慎投,个人信息要保护。防止泄露被诈骗,安全就业是目标。 | |||||
</div> | |||||
<div> | |||||
求职路上陷阱多,反诈意识要增强。信息核实要仔细,安全求职保平安。 | |||||
</div> | |||||
</Carousel> | |||||
{ | |||||
detail && | |||||
<> | |||||
<Space direction='vertical' size={30} style={{ minHeight: 800 }}> | |||||
<Flex justify='flex-end'> | |||||
<Button color="danger" variant="filled" icon={<InfoCircleOutlined />} onClick={() => { | |||||
if (!localStorage.getItem('token')) { | |||||
Modal.confirm({ | |||||
title: '请先登录', | |||||
content: '您还未登录,请先登录', | |||||
onOk() { | |||||
setOpenPreview(true) | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '登录', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} else { | |||||
setOpenPreviewFeekBack(true) | |||||
} | |||||
}}>反馈/投诉</Button> | |||||
</Flex> | |||||
{ | |||||
detail && | |||||
<> | |||||
<Space direction='vertical' size={30} style={{ minHeight: 800 }}> | |||||
<Space direction='vertical' size={30}> | |||||
<Flex justify='space-between' align='center' style={{ padding: 20, borderRadius: 8, background: '#ffffff' }}> | |||||
<Space direction='vertical' size={30}> | |||||
<Space size={20}> | |||||
<Image src={detail.company.photo ? detail.company.photo : '/images/onlylogo.jpg'} width={48} height={48}></Image> | |||||
<Space direction='vertical'> | |||||
<Space> | |||||
<Typography.Title level={4}>{detail.base.name}</Typography.Title> | |||||
{detail.base.locations && detail.base.locations.length > 0 ? <><EnvironmentOutlined style={{ color: 'gray' }} /><div style={{ color: 'gray' }}>{detail.base.locations[0].name}</div> </> : ''} | |||||
{detail.base.urgent === 1 && <Tag icon={<FireOutlined />} bordered={false} color="#f50">急招</Tag>} | |||||
<Space direction='vertical' size={30}> | |||||
<Flex justify='space-between' align='center' style={{ padding: 20, borderRadius: 8, background: '#ffffff' }}> | |||||
<Space direction='vertical' size={30} style={{ width: '100%' }}> | |||||
<Space size={20}> | |||||
<Image src={detail.company.photo ? detail.company.photo : '/images/onlylogo.jpg'} width={48} height={48}></Image> | |||||
<Space direction='vertical'> | |||||
<Space> | |||||
<Typography.Title level={4}>{detail.base.name}</Typography.Title> | |||||
{detail.base.locations && detail.base.locations.length > 0 ? <><EnvironmentOutlined style={{ color: 'gray' }} /><div style={{ color: 'gray' }}>{detail.base.locations[0].name}</div> </> : ''} | |||||
{detail.base.urgent === 1 && <Tag icon={<FireOutlined />} bordered={false} color="#f50">急招</Tag>} | |||||
</Space> | |||||
<div style={{ color: '#19be6e', fontSize: 14 }}>{detail.base.pay_range_text}</div> | |||||
</Space> | </Space> | ||||
<div style={{ color: '#19be6e', fontSize: 14 }}>{detail.base.pay_range_text}</div> | |||||
</Space> | </Space> | ||||
<Descriptions> | |||||
<Descriptions.Item label='职位类型'> | |||||
{detail.base.fulltime == 1 && <><div>全职</div></>} | |||||
{detail.base.parttime == 1 && <><div>兼职</div></>} | |||||
{detail.base.campus == 1 && <><div>校园</div></>} | |||||
{detail.base.practical == 1 && <><div>实习</div></>} | |||||
{detail.base.casual == 1 && <><div>临时</div></>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label='学历要求'> | |||||
{detail.require.school_degree_text ? detail.require.school_degree_text : '不限'} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="工作经验"> | |||||
{detail.require.experience_text ? detail.require.experience_text : '不限'} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="语言要求"> | |||||
{detail.require.language_text ? detail.require.language_text : '不限'} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="食宿情况"> | |||||
{detail.base.shisu_text ? detail.base.shisu_text : '不限'} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="上班时间"> | |||||
{detail.base.holidays_text ? detail.base.holidays_text : '不限'} | |||||
</Descriptions.Item> | |||||
</Descriptions> | |||||
</Space> | </Space> | ||||
<Descriptions> | |||||
<Descriptions.Item label='职位类型'> | |||||
{detail.base.fulltime == 1 && <><div>全职</div></>} | |||||
{detail.base.parttime == 1 && <><div>兼职</div></>} | |||||
{detail.base.campus == 1 && <><div>校园</div></>} | |||||
{detail.base.practical == 1 && <><div>实习</div></>} | |||||
{detail.base.casual == 1 && <><div>临时</div></>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label='学历要求'> | |||||
{detail.require.school_degree_text ? detail.require.school_degree_text : '不限'} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="工作经验"> | |||||
{detail.require.experience_text ? detail.require.experience_text : '不限'} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="语言要求"> | |||||
{detail.require.language_text ? detail.require.language_text : '不限'} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="食宿情况"> | |||||
{detail.base.shisu_text ? detail.base.shisu_text : '不限'} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="上班时间"> | |||||
{detail.base.holidays_text ? detail.base.holidays_text : '不限'} | |||||
</Descriptions.Item> | |||||
</Descriptions> | |||||
</Space> | |||||
<Space> | |||||
<Button disabled={detail.applyed ? true : false} type='primary' onClick={() => { | |||||
if (localStorage.getItem('role') && localStorage.getItem('role') == 'company') { | |||||
message.warning('您当前状态不是求职者,无法投递') | |||||
} | |||||
if (!localStorage.getItem('token')) { | |||||
Modal.confirm({ | |||||
title: '请先登录', | |||||
content: '您还未登录,请先登录', | |||||
onOk() { | |||||
setOpenPreview(true) | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '登录', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} else { | |||||
Modal.confirm({ | |||||
title: '投递职位', | |||||
content: '是否要投递该职位', | |||||
onOk() { | |||||
PostJobseekAddapplication({ job_id: detail.id }).then(res => { | |||||
GetJobAuthdetail({ id: searchParams.get('id') }).then(res => { | |||||
// 处理岗位描述和岗位职责 | |||||
if (res.data.base.describe_text.indexOf('<div>岗位职责</div>') != -1 && res.data.base.describe_text.indexOf('<div>任职要求</div>') != -1) { | |||||
const gangweizhizeStartIndex = res.data.base.describe_text.indexOf('<div>岗位职责</div>') + '<div>岗位职责</div>'.length; | |||||
const gangweizhizeEndIndex = res.data.base.describe_text.indexOf('<div>任职要求</div>'); | |||||
const gangweizhizeContent = res.data.base.describe_text.substring(gangweizhizeStartIndex, gangweizhizeEndIndex); | |||||
const renzhiyaoqiuStartIndex = res.data.base.describe_text.indexOf('<div>任职要求</div>') + '<div>任职要求</div>'.length; | |||||
const renzhiyaoqiuContent = res.data.base.describe_text.substring(renzhiyaoqiuStartIndex); | |||||
res.data.base.gangweizhize = gangweizhizeContent.trim(); | |||||
res.data.base.renzhiyaoqiu = renzhiyaoqiuContent.trim(); | |||||
} else { | |||||
res.data.base.gangweizhize = res.data.base.describe_text; | |||||
} | |||||
setDetail(res.data) | |||||
if (res.data.base.name) { | |||||
PostJobSearch({ page: 1, pagesize: 12, keyword: res.data.base.name }).then(res => { | |||||
setList(res.data.jobs) | |||||
}) | |||||
} | |||||
<Space> | |||||
<Button disabled={detail.applyed ? true : false} type='primary' onClick={() => { | |||||
if (localStorage.getItem('role') && localStorage.getItem('role') == 'company') { | |||||
message.warning('您当前状态不是求职者,无法投递') | |||||
} | |||||
if (!localStorage.getItem('token')) { | |||||
Modal.confirm({ | |||||
title: '请先登录', | |||||
content: '您还未登录,请先登录', | |||||
onOk() { | |||||
setOpenPreview(true) | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '登录', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} else { | |||||
Modal.confirm({ | |||||
title: '投递职位', | |||||
content: '是否要投递该职位', | |||||
onOk() { | |||||
PostJobseekAddapplication({ job_id: detail.id }).then(res => { | |||||
GetJobAuthdetail({ id: searchParams.get('id') }).then(res => { | |||||
// 处理岗位描述和岗位职责 | |||||
if (res.data.base.describe_text.indexOf('<div>岗位职责</div>') != -1 && res.data.base.describe_text.indexOf('<div>任职要求</div>') != -1) { | |||||
const gangweizhizeStartIndex = res.data.base.describe_text.indexOf('<div>岗位职责</div>') + '<div>岗位职责</div>'.length; | |||||
const gangweizhizeEndIndex = res.data.base.describe_text.indexOf('<div>任职要求</div>'); | |||||
const gangweizhizeContent = res.data.base.describe_text.substring(gangweizhizeStartIndex, gangweizhizeEndIndex); | |||||
const renzhiyaoqiuStartIndex = res.data.base.describe_text.indexOf('<div>任职要求</div>') + '<div>任职要求</div>'.length; | |||||
const renzhiyaoqiuContent = res.data.base.describe_text.substring(renzhiyaoqiuStartIndex); | |||||
res.data.base.gangweizhize = gangweizhizeContent.trim(); | |||||
res.data.base.renzhiyaoqiu = renzhiyaoqiuContent.trim(); | |||||
} else { | |||||
res.data.base.gangweizhize = res.data.base.describe_text; | |||||
} | |||||
setDetail(res.data) | |||||
if (res.data.base.name) { | |||||
PostJobSearch({ page: 1, pagesize: 12, keyword: res.data.base.name }).then(res => { | |||||
setList(res.data.jobs) | |||||
}) | |||||
} | |||||
}) | |||||
}) | }) | ||||
}) | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '投递', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} | |||||
}}>{detail.applyed ? '已投递该职位' : '投递职位'} </Button> | |||||
<Button disabled={detail.favorited ? true : false} icon={detail.favorited ? <StarFilled /> : <StarOutlined />} onClick={() => { | |||||
if (localStorage.getItem('role') && localStorage.getItem('role') == 'company') { | |||||
message.warning('您当前状态不是求职者,无法收藏') | |||||
} | |||||
if (!localStorage.getItem('token')) { | |||||
Modal.confirm({ | |||||
title: '请先登录', | |||||
content: '您还未登录,请先登录', | |||||
onOk() { | |||||
setOpenPreview(true) | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '登录', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} else { | |||||
Modal.confirm({ | |||||
title: '收藏职位', | |||||
content: '是否要收藏该职位', | |||||
onOk() { | |||||
PostJobseekAddfavorite({ job_id: detail.id }).then(res => { | |||||
GetJobAuthdetail({ id: searchParams.get('id') }).then(res => { | |||||
// 处理岗位描述和岗位职责 | |||||
if (res.data.base.describe_text.indexOf('<div>岗位职责</div>') != -1 && res.data.base.describe_text.indexOf('<div>任职要求</div>') != -1) { | |||||
const gangweizhizeStartIndex = res.data.base.describe_text.indexOf('<div>岗位职责</div>') + '<div>岗位职责</div>'.length; | |||||
const gangweizhizeEndIndex = res.data.base.describe_text.indexOf('<div>任职要求</div>'); | |||||
const gangweizhizeContent = res.data.base.describe_text.substring(gangweizhizeStartIndex, gangweizhizeEndIndex); | |||||
const renzhiyaoqiuStartIndex = res.data.base.describe_text.indexOf('<div>任职要求</div>') + '<div>任职要求</div>'.length; | |||||
const renzhiyaoqiuContent = res.data.base.describe_text.substring(renzhiyaoqiuStartIndex); | |||||
res.data.base.gangweizhize = gangweizhizeContent.trim(); | |||||
res.data.base.renzhiyaoqiu = renzhiyaoqiuContent.trim(); | |||||
} else { | |||||
res.data.base.gangweizhize = res.data.base.describe_text; | |||||
} | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '投递', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} | |||||
}}>{detail.applyed ? '已投递该职位' : '投递职位'} </Button> | |||||
<Button disabled={detail.favorited ? true : false} icon={detail.favorited ? <StarFilled /> : <StarOutlined />} onClick={() => { | |||||
if (localStorage.getItem('role') && localStorage.getItem('role') == 'company') { | |||||
message.warning('您当前状态不是求职者,无法收藏') | |||||
} | |||||
if (!localStorage.getItem('token')) { | |||||
Modal.confirm({ | |||||
title: '请先登录', | |||||
content: '您还未登录,请先登录', | |||||
onOk() { | |||||
setOpenPreview(true) | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '登录', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} else { | |||||
Modal.confirm({ | |||||
title: '收藏职位', | |||||
content: '是否要收藏该职位', | |||||
onOk() { | |||||
PostJobseekAddfavorite({ job_id: detail.id }).then(res => { | |||||
GetJobAuthdetail({ id: searchParams.get('id') }).then(res => { | |||||
// 处理岗位描述和岗位职责 | |||||
if (res.data.base.describe_text.indexOf('<div>岗位职责</div>') != -1 && res.data.base.describe_text.indexOf('<div>任职要求</div>') != -1) { | |||||
const gangweizhizeStartIndex = res.data.base.describe_text.indexOf('<div>岗位职责</div>') + '<div>岗位职责</div>'.length; | |||||
const gangweizhizeEndIndex = res.data.base.describe_text.indexOf('<div>任职要求</div>'); | |||||
const gangweizhizeContent = res.data.base.describe_text.substring(gangweizhizeStartIndex, gangweizhizeEndIndex); | |||||
const renzhiyaoqiuStartIndex = res.data.base.describe_text.indexOf('<div>任职要求</div>') + '<div>任职要求</div>'.length; | |||||
const renzhiyaoqiuContent = res.data.base.describe_text.substring(renzhiyaoqiuStartIndex); | |||||
res.data.base.gangweizhize = gangweizhizeContent.trim(); | |||||
res.data.base.renzhiyaoqiu = renzhiyaoqiuContent.trim(); | |||||
} else { | |||||
res.data.base.gangweizhize = res.data.base.describe_text; | |||||
} | |||||
setDetail(res.data) | |||||
if (res.data.base.name) { | |||||
PostJobSearch({ page: 1, pagesize: 12, keyword: res.data.base.name }).then(res => { | |||||
setList(res.data.jobs) | |||||
}) | |||||
} | |||||
setDetail(res.data) | |||||
if (res.data.base.name) { | |||||
PostJobSearch({ page: 1, pagesize: 12, keyword: res.data.base.name }).then(res => { | |||||
setList(res.data.jobs) | |||||
}) | |||||
} | |||||
}) | |||||
}) | }) | ||||
}) | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '收藏', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} | |||||
}}>{detail.favorited ? '已收藏该职位' : '收藏职位'}</Button> | |||||
</Space> | |||||
</Flex> | |||||
<Row style={{ background: '#ffffff', borderRadius: 8, padding: 20 }}> | |||||
<Col span={16}> | |||||
<Space direction='vertical'> | |||||
<Space direction='vertical' style={{ width: '90%' }}> | |||||
<Typography.Title level={5}>职位描述</Typography.Title> | |||||
<Typography.Paragraph style={{ minHeight: '100px' }}> | |||||
{detail.base.gangweizhize ? <div dangerouslySetInnerHTML={{ __html: detail.base.gangweizhize }} /> : '无描述'} | |||||
</Typography.Paragraph> | |||||
</Space> | |||||
{detail.base.renzhiyaoqiu && <Space direction='vertical' style={{ width: '90%' }}> | |||||
<Typography.Title level={5}>任职要求</Typography.Title> | |||||
<Typography.Paragraph style={{ minHeight: '100px' }}> | |||||
{detail.base.renzhiyaoqiu ? <div dangerouslySetInnerHTML={{ __html: detail.base.renzhiyaoqiu }} /> : '无描述'} | |||||
</Typography.Paragraph> | |||||
</Space>} | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '收藏', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
} | |||||
}}>{detail.favorited ? '已收藏该职位' : '收藏职位'}</Button> | |||||
</Space> | |||||
</Flex> | |||||
<Row style={{ background: '#ffffff', borderRadius: 8, padding: 20 }}> | |||||
<Col span={16}> | |||||
<Space direction='vertical'> | <Space direction='vertical'> | ||||
<Typography.Title level={5}>工作地址</Typography.Title> | |||||
<Typography.Paragraph> | |||||
<Space direction='vertical'> | |||||
<Space>{detail.contact.interview_address} </Space> | |||||
{/* <Image src='/images/bg1.jpg'></Image> */} | |||||
</Space> | |||||
</Typography.Paragraph> | |||||
<Space direction='vertical' style={{ width: '90%' }}> | |||||
<Typography.Title level={5}>职位描述</Typography.Title> | |||||
<Typography.Paragraph style={{ minHeight: '100px' }}> | |||||
{detail.base.gangweizhize ? <div dangerouslySetInnerHTML={{ __html: detail.base.gangweizhize }} /> : '无描述'} | |||||
</Typography.Paragraph> | |||||
</Space> | |||||
{detail.base.renzhiyaoqiu && <Space direction='vertical' style={{ width: '90%' }}> | |||||
<Typography.Title level={5}>任职要求</Typography.Title> | |||||
<Typography.Paragraph style={{ minHeight: '100px' }}> | |||||
{detail.base.renzhiyaoqiu ? <div dangerouslySetInnerHTML={{ __html: detail.base.renzhiyaoqiu }} /> : '无描述'} | |||||
</Typography.Paragraph> | |||||
</Space>} | |||||
<Space direction='vertical'> | |||||
<Typography.Title level={5}>工作地址</Typography.Title> | |||||
<Typography.Paragraph> | |||||
<Space direction='vertical'> | |||||
<Space>{detail.contact.interview_address} </Space> | |||||
{/* <Image src='/images/bg1.jpg'></Image> */} | |||||
</Space> | |||||
</Typography.Paragraph> | |||||
</Space> | |||||
</Space> | </Space> | ||||
</Space> | |||||
</Col> | |||||
<Col span={8}> | |||||
<Space direction='vertical' size={40} style={{ width: '100%' }}> | |||||
<Space direction='vertical' style={{ width: '100%' }}> | |||||
<Typography.Title level={5}>联系方式</Typography.Title> | |||||
<Flex justify='space-between' align='center'> | |||||
<Space> | |||||
<Avatar src="/images/onlylogo.jpg" style={{ width: 48, height: 48 }} /> | |||||
<div> | |||||
{detail.contact.contact} | |||||
</div> | |||||
</Space> | |||||
</Col> | |||||
<Col span={8}> | |||||
<Space direction='vertical' size={40} style={{ width: '100%' }}> | |||||
<Space direction='vertical' style={{ width: '100%' }}> | |||||
<Typography.Title level={5}>联系方式</Typography.Title> | |||||
<Flex justify='space-between' align='center'> | |||||
<Space> | |||||
<Avatar src="/images/onlylogo.jpg" style={{ width: 48, height: 48 }} /> | |||||
<div> | |||||
{detail.contact.contact} | |||||
</div> | |||||
</Space> | |||||
<Button onClick={() => { | |||||
Modal.confirm({ | |||||
title: '联系方式', | |||||
content: <>{ | |||||
<Descriptions> | |||||
<Descriptions.Item label='手机号' span={24}> | |||||
{detail.contact.mobile_public == 1 ? <>{detail.contact.mobile}</> : <>未公开</>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="固话" span={24}> | |||||
{detail.contact.phone_public == 1 ? <>{detail.contact.phone}</> : <>未公开</>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="邮箱" span={24}> | |||||
{detail.contact.email_public == 1 ? <>{detail.contact.email}</> : <>未公开</>} | |||||
</Descriptions.Item> | |||||
</Descriptions> | |||||
}</>, | |||||
onOk() { | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '关闭', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
}}>联系TA</Button> | |||||
</Flex> | |||||
</Space> | |||||
<Button onClick={() => { | |||||
Modal.confirm({ | |||||
title: '联系方式', | |||||
content: <>{ | |||||
<Descriptions> | |||||
<Descriptions.Item label='手机号' span={24}> | |||||
{detail.contact.mobile_public == 1 ? <>{detail.contact.mobile}</> : <>未公开</>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="固话" span={24}> | |||||
{detail.contact.phone_public == 1 ? <>{detail.contact.phone}</> : <>未公开</>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="邮箱" span={24}> | |||||
{detail.contact.email_public == 1 ? <>{detail.contact.email}</> : <>未公开</>} | |||||
</Descriptions.Item> | |||||
</Descriptions> | |||||
}</>, | |||||
onOk() { | |||||
}, | |||||
onCancel() { | |||||
console.log('Cancel'); | |||||
}, | |||||
okText: '关闭', | |||||
cancelText: '取消', | |||||
centered: true | |||||
}); | |||||
}}>联系TA</Button> | |||||
</Flex> | |||||
</Space> | |||||
<Space direction='vertical' style={{ width: '100%' }}> | |||||
<Typography.Title level={5}>企业信息</Typography.Title> | |||||
<Space direction='vertical' size={20}> | |||||
<Link to={{ pathname: `/talent/company/detail?id=${detail.company.id}` }} target="_blank" style={{ color: '#000000', fontSize: 14 }}> | |||||
{detail.company.full_name} | |||||
</Link> | |||||
<Descriptions> | |||||
<Descriptions.Item label='学历要求' span={24}> | |||||
{detail.company.nature_text ? <>{detail.company.nature_text}</> : <>性质不限</>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="工作经验" span={24}> | |||||
{detail.company.industry_text ? <><Divider type='vertical' /> {detail.company.industry_text} </> : <><Divider type='vertical' />行业不限</>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="语言要求" span={24}> | |||||
{detail.company.scale_text ? <><Divider type='vertical' /> {detail.company.scale_text} </> : <><Divider type='vertical' />规模不限</>} | |||||
</Descriptions.Item> | |||||
</Descriptions> | |||||
<Space direction='vertical' style={{ width: '100%' }}> | |||||
<Typography.Title level={5}>企业信息</Typography.Title> | |||||
<Space direction='vertical' size={20}> | |||||
<Link to={{ pathname: `/talent/company/detail?id=${detail.company.id}` }} target="_blank" style={{ color: '#000000', fontSize: 14 }}> | |||||
{detail.company.full_name} | |||||
</Link> | |||||
<Descriptions> | |||||
<Descriptions.Item label='学历要求' span={24}> | |||||
{detail.company.nature_text ? <>{detail.company.nature_text}</> : <>性质不限</>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="工作经验" span={24}> | |||||
{detail.company.industry_text ? <><Divider type='vertical' /> {detail.company.industry_text} </> : <><Divider type='vertical' />行业不限</>} | |||||
</Descriptions.Item> | |||||
<Descriptions.Item label="语言要求" span={24}> | |||||
{detail.company.scale_text ? <><Divider type='vertical' /> {detail.company.scale_text} </> : <><Divider type='vertical' />规模不限</>} | |||||
</Descriptions.Item> | |||||
</Descriptions> | |||||
</Space> | |||||
</Space> | </Space> | ||||
</Space> | </Space> | ||||
</Space> | |||||
</Col> | |||||
</Row> | |||||
</Space> | |||||
</Col> | |||||
</Row> | |||||
</Space> | |||||
{/* 相似岗位 */} | |||||
{ | |||||
list.length > 0 && <> | |||||
<Divider orientation="left" orientationMargin="0" style={{ marginTop: 40 }}><Typography.Title level={5}>相似岗位</Typography.Title></Divider> | |||||
<Row gutter={[20, 20]} style={{ marginBottom: 40 }}> | |||||
{/* 相似岗位 */} | |||||
{ | |||||
list.length > 0 && <> | |||||
<Divider orientation="left" orientationMargin="0" style={{ marginTop: 40 }}><Typography.Title level={5}>相似岗位</Typography.Title></Divider> | |||||
<Row gutter={[20, 20]} style={{ marginBottom: 40 }}> | |||||
{ | |||||
list.length > 0 && list.map((item: any, index: number) => ( | |||||
<> | |||||
<Col span={12}> | |||||
<CommonJob item={item}></CommonJob> | |||||
</Col> | |||||
</> | |||||
)) | |||||
} | |||||
</Row> | |||||
{ | { | ||||
list.length > 0 && list.map((item: any, index: number) => ( | |||||
<> | |||||
<Col span={12}> | |||||
<CommonJob item={item}></CommonJob> | |||||
</Col> | |||||
</> | |||||
)) | |||||
!list || list.length == 0 && <EmptyResult description="没有找到符合条件的职位" /> | |||||
} | } | ||||
</Row> | |||||
{ | |||||
!list || list.length == 0 && <EmptyResult description="没有找到符合条件的职位" /> | |||||
} | |||||
</> | |||||
} | |||||
</Space> | |||||
</> | |||||
} | |||||
</> | |||||
} | |||||
</Space> | |||||
</> | |||||
} | |||||
{/* 登录 */} | |||||
<Modal | |||||
open={openPreview} | |||||
centered | |||||
footer={null} | |||||
onCancel={() => setOpenPreview(false)} | |||||
destroyOnClose | |||||
maskClosable={false} | |||||
style={{ minWidth: 540 }} | |||||
> | |||||
<LoginIndex loginChangeStatus={(isLogin: boolean) => { | |||||
console.log(isLogin) | |||||
setOpenPreview(isLogin) | |||||
}}></LoginIndex> | |||||
</Modal> | |||||
{/* 登录 */} | |||||
<Modal | |||||
open={openPreviewFeekBack} | |||||
centered | |||||
footer={null} | |||||
onCancel={() => setOpenPreviewFeekBack(false)} | |||||
destroyOnClose | |||||
maskClosable={false} | |||||
style={{ minWidth: 540 }} | |||||
> | |||||
<ProForm | |||||
submitter={{ | |||||
searchConfig: { | |||||
resetText: '取消', | |||||
submitText: '保存', | |||||
}, | |||||
render: (_, dom) => { return <Flex justify='flex-end'> <Space>{dom}</Space></Flex> }, | |||||
onReset: () => { | |||||
setOpenPreviewFeekBack(false) | |||||
} | |||||
}} | |||||
onFinish={async (values) => { | |||||
let res = await PostFeedbackAdd(values) | |||||
setOpenPreviewFeekBack(false) | |||||
}} | |||||
> | |||||
<ProFormText | |||||
name="name" | |||||
label="昵称" | |||||
placeholder="请输入昵称" | |||||
rules={[{ required: true, message: '请输入昵称' } | |||||
]} | |||||
/> | |||||
<ProFormText | |||||
name="telephone" | |||||
label="电话" | |||||
placeholder="请输入电话" | |||||
rules={[{ required: true, message: '请输入电话' } | |||||
]} | |||||
/> | |||||
<ProFormText | |||||
name="email" | |||||
label="电子邮箱" | |||||
placeholder="请输入电子邮箱" | |||||
rules={[{ required: true, message: '请输入电子邮箱' } | |||||
]} | |||||
/> | |||||
<ProFormTextArea | |||||
name="content" | |||||
label="反馈内容" | |||||
placeholder="请输入反馈内容" | |||||
rules={[{ required: true, message: '请输入反馈内容' } | |||||
]} | |||||
/> | |||||
</ProForm> | |||||
</Modal> | |||||
{/* 登录 */} | |||||
<Modal | |||||
open={openPreview} | |||||
centered | |||||
footer={null} | |||||
onCancel={() => setOpenPreview(false)} | |||||
destroyOnClose | |||||
maskClosable={false} | |||||
style={{ minWidth: 540 }} | |||||
> | |||||
<LoginIndex loginChangeStatus={(isLogin: boolean) => { | |||||
console.log(isLogin) | |||||
setOpenPreview(isLogin) | |||||
}}></LoginIndex> | |||||
</Modal> | |||||
</Space> | |||||
</PageContainer > | </PageContainer > |
<tbody> | <tbody> | ||||
<tr style={{ height: '30px' }}> | <tr style={{ height: '30px' }}> | ||||
<td style={{ width: '15%' }}>移动电话</td> | <td style={{ width: '15%' }}>移动电话</td> | ||||
<td style={{ width: '35%' }}>{detail.mobile} <Button type='link' onClick={() => { | |||||
{/* <td style={{ width: '35%' }}>{detail.mobile} <Button type='link' onClick={() => { | |||||
Modal.confirm({ | Modal.confirm({ | ||||
title: '获取联系方式', | title: '获取联系方式', | ||||
content: '获取联系方式需要扣除一个点数,是否要获取联系方式', | content: '获取联系方式需要扣除一个点数,是否要获取联系方式', | ||||
}, | }, | ||||
}); | }); | ||||
}}>获取详细</Button> </td> | |||||
}}>获取详细</Button> </td> */} | |||||
<td style={{ width: '15%' }}>固定电话</td> | <td style={{ width: '15%' }}>固定电话</td> | ||||
<td style={{ width: '35%' }}>{detail.landline}</td> | <td style={{ width: '35%' }}>{detail.landline}</td> | ||||
</tr> | </tr> |