集成,总结MES功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2 lines
8.2 KiB

  1. "use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[301],{27626:function(lt,M,e){e.r(M),e.d(M,{default:function(){return tt}});var $=e(5574),I=e.n($),E=e(19632),W=e.n(E),z=e(97857),v=e.n(z),D=e(64599),b=e.n(D),c=e(56002),H=e(67294),O=e(21090),t=e(85893),P=function(){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,t.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,t.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,t.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,t.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,t.jsx)("g",{transform:"translate(-20 -20)",children:(0,t.jsx)("g",{transform:"translate(20 20)",children:(0,t.jsxs)("g",{children:[(0,t.jsxs)("g",{fillRule:"nonzero",children:[(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,t.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,t.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,t.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},B=P,T=e(45821),k=e(14726),U=function(i){var r,o;return!i.route&&(i.noFound||i.notFound)||((r=i.route)===null||r===void 0?void 0:r.unaccessible)&&(i.unAccessible||i.noAccessible)||(!i.route||((o=i.route)===null||o===void 0?void 0:o.unaccessible))&&(0,t.jsx)(T.ZP,{status:i.route?"403":"404",title:i.route?"403":"404",subTitle:i.route?"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762":"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,t.jsx)(k.ZP,{type:"primary",onClick:function(){return c.history.push("/")},children:"\u8FD4\u56DE\u9996\u9875"})})||i.children},V=U,X=e(7134),K=e(74330),A=e(67159),S=e(50136),J=e(85418),Q=e(92443);function Y(n){var i,r,o,d,h;if(n.runtimeConfig.rightRender)return n.runtimeConfig.rightRender(n.initialState,n.setInitialState,n.runtimeConfig);var f=((i=n.initialState)===null||i===void 0?void 0:i.avatar)||((r=n.initialState)===null||r===void 0?void 0:r.name)||n.runtimeConfig.logout,u=((o=n.initialState)===null||o===void 0?void 0:o.avatar)===!1,m=u?"umi-plugin-layout-name umi-plugin-layout-hide-avatar-img":"umi-plugin-layout-name",x=f?(0,t.jsxs)("span",{className:"umi-plugin-layout-action",children:[u?null:(0,t.jsx)(X.C,{size:"small",className:"umi-plugin-layout-avatar",src:((d=n.initialState)===null||d===void 0?void 0:d.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,t.jsx)("span",{className:m,children:(h=n.initialState)===null||h===void 0?void 0:h.name})]}):null;if(n.loading)return(0,t.jsx)("div",{className:"umi-plugin-layout-right",children:(0,t.jsx)(K.Z,{size:"small",style:{marginLeft:8,marginRight:8}})});if(!x)return null;var g={className:"umi-plugin-layout-menu",selectedKeys:[],items:[{key:"logout",label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q.Z,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:function(){var p,j;n==null||(p=n.runtimeConfig)===null||p===void 0||(j=p.logout)===null||j===void 0||j.call(p,n.initialState)}}]},y;return A.Z.startsWith("5.")||A.Z.startsWith("4.24.")?y={menu:g}:A.Z.startsWith("3.")?y={overlay:(0,t.jsx)(S.Z,{children:g.items.map(function(a){return(0,t.jsx)(S.Z.Item,{onClick:a.onClick,children:a.label},a.key)})})}:y={overlay:(0,t.jsx)(S.Z,v()({},g))},(0,t.jsx)("div",{className:"umi-plugin-layout-right anticon",children:n.runtimeConfig.logout?(0,t.jsx)(J.Z,v()(v()({},y),{},{overlayClassName:"umi-plugin-layout-container",children:x})):x})}var L=e(44886),w=e(83228),q=function n(i,r){if(i.length===0)return[];var o=[],d=b()(i),h;try{for(d.s();!(h=d.n()).done;){var f=h.value,u=v()({},f);r(f)?Array.isArray(u.routes)&&o.push.apply(o,W()(n(u.routes,r))):(Array.isArray(u.children)&&(u.children=n(u.children,r),u.routes=u.children),o.push(u))}}catch(m){d.e(m)}finally{d.f()}return o},_=function n(i){return i.length===0?[]:i.map(function(r){var o=v()({},r);return r.originPath&&(o.path=r.originPath),Array.isArray(r.routes)&&(o.routes=n(r.routes)),Array.isArray(r.children)&&(o.children=n(r.children)),o})},tt=function(n){var i=(0,c.useLocation)(),r=(0,c.useNavigate)(),o=(0,c.useAppData)(),d=o.clientRoutes,h=o.pluginManager,f=L.t&&(0,L.t)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},u=f.initialState,m=f.loading,x=f.setInitialState,g={locale:!1,layout:"side",colorPrimary:"#0960bd",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"\u4E2D\u63A7\u7BA1\u7406\u7CFB\u7EDF",menu:{locale:!1,hideMenuWhenCollapsed:!1},pwa:!1,splitMenus:!1,iconfontUrl:""},y=void 0,a=h.applyPlugins({key:"layout",type:"modify",initialValue:v()({},f)}),p=q(d.filter(function(s){return s.id==="ant-design-pro-layout"}),function(s){return!!s.isLayout&&s.id!=="ant-design-pro-layout"||!!s.isWrapper}),j=(0,w.Mf)(_(p)),nt=I()(j,1),N=nt[0],it=(0,H.useMemo)(function(){var s,l;return(s=(0,c.matchRoutes)(N.children,i.pathname))===null||s===void 0||(l=s.pop)===null||l===void 0||(l=l.call(s))===null||l===void 0?void 0:l.route},[i.pathname]);return(0,t.jsx)(O.f,v()(v()({route:N,location:i,title:g.title||"ant-design-pro",navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(l){l.stopPropagation(),l.preventDefault(),r("/")},formatMessage:g.formatMessage||y,menu:{locale:g.locale},logo:B,menuItemRender:function(l,C){return l.isUrl||l.children?C:l.path&&i.pathname!==l.path?(0,t.jsx)(c.Link,{to:l.path.replace("/*",""),target:l.target,children:C}):C},itemRender:function(l,C,G){var at=l.breadcrumbName,et=l.title,F=l.path,Z=et||at,R=G[G.length-1];return R&&(R.path===F||R.linkPath===F)?(0,t.jsx)("span",{children:Z}):(0,t.jsx)(c.Link,{to:F,children:Z})},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0},a),{},{rightContentRender:a.rightContentRender!==!1&&function(s){var l=Y({runtimeConfig:a,loading:m,initialState:u,setInitialState:x});return a.rightContentRender?a.rightContentRender(s,l,{userConfig:g,runtimeConfig:a,loading:m,initialState:u,setInitialState:x}):l},children:(0,t.jsx)(V,{route:it,noFound:a==null?void 0:a.noFound,notFound:a==null?void 0:a.notFound,unAccessible:a==null?void 0:a.unAccessible,noAccessible:a==null?void 0:a.noAccessible,children:a.childrenRender?a.childrenRender((0,t.jsx)(c.Outlet,{}),n):(0,t.jsx)(c.Outlet,{})})}))}}}]);