"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[608],{77538:function(e,t,a){var n=a(64783),r=a(85893);t.Z=function(e){var t=e.height,a=void 0===t?"100vh":t;return(0,r.jsx)("div",{className:"srm-app-loading",style:{height:a},children:(0,r.jsx)(n.Z,{})})}},95450:function(e,t,a){a.r(t),a.d(t,{default:function(){return f}});var n=a(97857),r=a.n(n),c=a(48574),i=a(61534),s=a(64593),o=a(35287),l=a(77538),u=a.p+"static/error.e7baefc5.png",d=a(85893),h=function(){return(0,d.jsx)("div",{className:"srm-app-error",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("img",{src:u,alt:""}),(0,d.jsx)("div",{className:"error-text",children:"请到【供应商管理-基础设置-门户方案配置】中启用门户方案"})]})})},f=function(){var e=(0,i.useModel)("baseData"),t=e.basic,a=e.error;if(e.loading)return(0,d.jsx)(l.Z,{});if(a)return(0,d.jsx)(h,{});var n=t.themeconfig,u=n.icon,f=n.topname,g=t.constant,p=(g.year,g.month,g.total),x=g.sec,j=g.page,v=g.strip,m={"Pagination.perPage":"{size}".concat(v,"/").concat(j),"Pagination.order":"".concat(x,"{order}").concat(j),"Pagination.total":"".concat(p,"{total}").concat(j)};return(0,d.jsxs)(c.ZP,{value:{localeConfig:{localeData:r()(r()({},o.Z),m)}},children:[(0,d.jsxs)(s.q,{children:[(0,d.jsx)("meta",{charSet:"utf-8"}),(0,d.jsx)("title",{children:f}),(0,d.jsx)("link",{rel:"icon",href:u,type:" image/png"})]}),(0,d.jsx)(i.Outlet,{})]})}}}]);