app-config-service.js 5.1 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/home/home","pages/login/index","pages/grounding/grounding","pages/query/query","pages/groundetials/groundetials","pages/acceptance/index","pages/accept-storage-details/index","pages/acceptrefusal/index","pages/udiview/index","pages/delivery/index","pages/deliveredDetail/index","pages/pickingview/index","pages/outbound/outbound","pages/picking-details/index","pages/pickingetials/pickingetials","pages/Inventory/index","pages/Inventorydetails/index","pages/inventyresult/index","pages/inventbright/index","pages/consume/consume","pages/consemeview/index","pages/followplat/index","pages/surgical/index","pages/followplatdetail/index","pages/followdetview/index","pages/messgecont/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"pda-app","compilerVersion":"3.99","entryPagePath":"pages/home/home","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/home/home","meta":{"isQuit":true},"window":{"navigationBarTitleText":"首页"}},{"path":"/pages/login/index","meta":{},"window":{"navigationBarTitleText":"登录"}},{"path":"/pages/grounding/grounding","meta":{},"window":{"navigationBarTitleText":"上架确认"}},{"path":"/pages/query/query","meta":{},"window":{"navigationBarTitleText":"耗材检索"}},{"path":"/pages/groundetials/groundetials","meta":{},"window":{"navigationBarTitleText":"上架明细"}},{"path":"/pages/acceptance/index","meta":{},"window":{"navigationBarTitleText":"验收"}},{"path":"/pages/accept-storage-details/index","meta":{},"window":{"navigationBarTitleText":"验收详情"}},{"path":"/pages/acceptrefusal/index","meta":{},"window":{"navigationBarTitleText":"耗材清单详情"}},{"path":"/pages/udiview/index","meta":{},"window":{"navigationBarTitleText":"UDI码详情"}},{"path":"/pages/delivery/index","meta":{},"window":{"navigationBarTitleText":"配送"}},{"path":"/pages/deliveredDetail/index","meta":{},"window":{"navigationBarTitleText":"配送详情"}},{"path":"/pages/pickingview/index","meta":{},"window":{"navigationBarTitleText":"拣货明细"}},{"path":"/pages/outbound/outbound","meta":{},"window":{"navigationBarTitleText":"出库拣货"}},{"path":"/pages/picking-details/index","meta":{},"window":{"navigationBarTitleText":"拣货详情"}},{"path":"/pages/pickingetials/pickingetials","meta":{},"window":{"navigationBarTitleText":"出库详情"}},{"path":"/pages/Inventory/index","meta":{},"window":{"navigationBarTitleText":"库存盘点"}},{"path":"/pages/Inventorydetails/index","meta":{},"window":{"navigationBarTitleText":"盘点详情"}},{"path":"/pages/inventyresult/index","meta":{},"window":{"navigationBarTitleText":"盘点结果"}},{"path":"/pages/inventbright/index","meta":{},"window":{"navigationBarTitleText":"盘点"}},{"path":"/pages/consume/consume","meta":{},"window":{"navigationBarTitleText":"耗材消耗"}},{"path":"/pages/consemeview/index","meta":{},"window":{"navigationBarTitleText":"消耗明细"}},{"path":"/pages/followplat/index","meta":{},"window":{"navigationBarTitleText":"跟台清台"}},{"path":"/pages/surgical/index","meta":{},"window":{"navigationBarTitleText":"手术包清台"}},{"path":"/pages/followplatdetail/index","meta":{},"window":{"navigationBarTitleText":"详情"}},{"path":"/pages/followdetview/index","meta":{},"window":{"navigationBarTitleText":"详情明细"}},{"path":"/pages/messgecont/index","meta":{},"window":{"navigationBarTitleText":"消息中心"}}];
  5. __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
  6. __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
  7. service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});