(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[657],{91305:function(v){v.exports={navHeader:"navHeader___1OkTs",menuDiv:"menuDiv___1DLXF",ntitle:"ntitle___23y0n",selTitle:"selTitle___23rMb"}},50460:function(v,r,e){"use strict";e.d(r,{Z:function(){return d}});var P=e(2824),l=e(67294);function d(){var c=(0,l.useState)(),_=(0,P.Z)(c,2),E=_[0],i=_[1];return(0,l.useEffect)(function(){i([{name:"\u73AF\u5883\u4FE1\u606F",id:"environment"},{name:"\u8BBE\u5907\u7BA1\u7406",id:"equipment"},{name:"\u8FD0\u884C\u65F6\u95F4",id:"runtime"}])},[]),{menuList:E}}},92992:function(v,r,e){"use strict";e.r(r),e.d(r,{default:function(){return o}});var P=e(10322),l=e(3774),d=e(47673),c=e(40305),_=e(67294),E=e(92007),i=e(42285),M=e(94184),L=e.n(M),s=e(85893);function o(){var O=[{title:"\u7533\u8BF7\u65E5\u671F",dataIndex:"applyDate",sorter:{compare:function(n,t){return n.chinese-t.chinese},multiple:3}},{title:"\u7533\u8BF7\u6765\u6E90",dataIndex:"applyFrom"},{title:"\u7533\u8BF7\u4EBA",dataIndex:"applyPerson",sorter:{compare:function(n,t){return n.math-t.math},multiple:2}},{title:"\u52A0\u73ED\u7A7A\u95F4",dataIndex:"overSpace"},{title:"\u52A0\u73ED\u65F6\u95F4",dataIndex:"overtime",sorter:{compare:function(n,t){return n.english-t.english},multiple:1}}],f={current:1,total:200,pageSize:10},D=[{key:"1",applyDate:"2012/03/04",applyFrom:98,applyPerson:"John Brown",overSpace:60,overtime:70},{key:"2",applyDate:"2012/03/04",applyFrom:98,applyPerson:"John Brown",overSpace:60,overtime:70},{key:"3",applyDate:"2012/03/04",applyFrom:98,applyPerson:"John Brown",overSpace:60,overtime:70},{key:"4",applyDate:"2012/03/04",applyFrom:98,applyPerson:"John Brown",overSpace:60,overtime:70}],T=function(n,t,h,p){console.log("params",n,t,h,p)};return(0,s.jsxs)("div",{children:[(0,s.jsx)(E.Z,{title:(0,s.jsx)(i._H,{id:"menu.environment"}),action:(0,s.jsx)(c.Z.Search,{size:"large",allowClear:!0,style:{width:"20%"},placeholder:"\u641C\u7D22\u7A7A\u95F4",callbackSearch:function(n){setSearchText(n||void 0)}})}),(0,s.jsx)("div",{children:(0,s.jsx)(l.Z,{columns:O,dataSource:D,onChange:T,pagination:f})})]})}},92007:function(v,r,e){"use strict";var P=e(32059),l=e(2824),d=e(67294),c=e(91305),_=e.n(c),E=e(5977),i=e(42285),M=e(50460),L=e(94184),s=e.n(L),o=e(85893),O=function(D){var T=D.title,u=D.action,n=(0,M.Z)(),t=n.menuList,h=(0,d.useState)(""),p=(0,l.Z)(h,2),I=p[0],g=p[1],C=(0,E.TH)();(0,d.useEffect)(function(){var m=i.m8.listen(function(A,U){}),a=C.pathname;return a=a.replace(/\//g,""),a=a.toLowerCase(),console.log("location,action",a,C.pathname),g(a),function(){m()}},[C]);var B=function(a){a.id!=I&&i.m8.push("/".concat(a.id))};return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:_().navHeader,children:[(0,o.jsx)("div",{className:_().menuDiv,children:(t||[]).map(function(m,a){return(0,o.jsx)("div",{className:s()(_().ntitle,(0,P.Z)({},_().selTitle,m.id==I)),onClick:function(){B(m)},children:m.name},a+"nav")})}),u]})})};r.Z=O}}]);
