(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5771],{29318:function(e,t,a){Promise.resolve().then(a.bind(a,98600))},98600:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return page}});var n=a(13936),i=a(21833),l=a(37061),s=a(27968),c=a(40321),o=a(49527),r=a.n(o),u=a(53613),d=a(52828),page=()=>{let e=new Date().getFullYear(),[t,a]=(0,i.useState)({pageIndex:1,pageSize:10}),{data:o}=(0,s.ZP)(["announcements",t],()=>(0,c.dY)({url:"/captial",method:"GET",params:t})),p=(0,i.useMemo)(()=>{var e;return null!==(e=null==o?void 0:o.data)&&void 0!==e?e:[]},[o]);return(0,n.jsx)("div",{className:(0,l.Z)(r().captialPage,"tablePage"),children:(0,n.jsxs)("section",{className:(0,l.Z)(r().captial,"bg-white blockContainer p-t-56"),children:[(0,n.jsx)("h5",{className:"blockTitle m-t-0",children:e}),(0,n.jsx)(u.Z,{columns:[{title:"",key:"Title"},{width:300,title:"",key:"Date",valueType:"date"},{width:300,title:"",key:"",showPDFIcon:!0}],data:p,hideHeader:!0,rowClick:e=>{window.open(e.Url,"_blank")}}),(0,n.jsx)("div",{className:(0,l.Z)(r().pagination,"p-t-68 p-b-68"),children:(0,n.jsx)(d.Z,{total:null==o?void 0:o.total,onChange:(e,t)=>{a({pageIndex:e,pageSize:t})}})})]})})}},52828:function(e,t,a){"use strict";var n=a(13936),i=a(21833),l=a(75992),s=a(59319);t.Z=e=>{let{pageIndex:t=1,pageSize:a=Number("10"),total:c=0,onChange:o}=e,{screenWidth:r}=(0,s.Z)(),[u,d]=(0,i.useState)(t);return(0,n.jsx)("div",{className:"blockContainer flex-center",children:(0,n.jsx)(l.Z,{hideOnSinglePage:!0,showQuickJumper:!0,current:u,pageSize:a,showSizeChanger:!1,simple:r<769,total:c,onChange:(e,t)=>{e!==u&&(null==o||o(e,t)),d(e)}})})}},59319:function(e,t,a){"use strict";var n=a(21833);t.Z=()=>{let[e,t]=(0,n.useState)(0);return(0,n.useEffect)(()=>{t(document.documentElement.offsetWidth||0)},[]),{screenWidth:e}}},49527:function(e){e.exports={captialPage:"page_captialPage__Oy8aW",pagination:"page_pagination__Q5zvp"}}},function(e){e.O(0,[6520,7968,682,2228,5247,6270,2115,3613,9534,1112,1744],function(){return e(e.s=29318)}),_N_E=e.O()}]);