qa-prevention-gwj-first-app/unpackage/dist/build/app-plus/app-config-service.js

9 lines
45 KiB
JavaScript
Raw Permalink Normal View History

2023-11-07 09:43:46 +08:00
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/login/home","pages/index/index","pages/login/updateTool/forget","pages/login/forget/forget","pages/login/forget/forget-reset","pages/basics/basic-info/basic-info","pages/basics/home","pages/basics/documentation/documentation","pages/basics/risk-distribution/risk-distribution","pages/basics/risk-distribution/risk-distribution-forunit","pages/basics/risk-distribution/risk-distribution-detail","pages/basics/work-plan/work-plan","pages/basics/study-files/study-files","pages/application/hidden-danger-management/hidden-danger-no-change/hidden-danger-no-change","pages/application/hidden-danger-management/hidden-danger-no-change/hidden-danger-no-change-detail","pages/application/hidden-danger-management/hidden-danger-no-change/hidden-danger-no-delayed-detail","pages/application/hidden-danger-management/hidden-danger-overdue/hidden-danger-overdue","pages/application/hidden-danger-management/hidden-danger-overdue/hidden-danger-overdue-detail","pages/application/hidden-danger-management/hidden-danger-confirm/hidden-danger-confirm-change-detail","pages/application/hidden-danger-management/hidden-danger-confirm/hidden-danger-confirm-change","pages/application/hidden-danger-management/hidden-danger-neglect/hidden-danger-neglect-change-detail","pages/application/hidden-danger-management/hidden-danger-neglect/hidden-danger-neglect-change","pages/application/hidden-danger-management/hidden-danger-rectification/hidden-danger-rectification-change-detail","pages/application/hidden-danger-management/hidden-danger-rectification/hidden-danger-rectification-change","pages/application/hidden-danger-management/hidden-danger-disposal/hidden-danger-disposal-change-detail","pages/application/hidden-danger-management/hidden-danger-disposal/hidden-danger-disposal-change","pages/application/hidden-danger-management/hidden-danger-postpone/hidden-danger-postpone-change-detail","pages/application/hidden-danger-management/hidden-danger-postpone/hidden-danger-postpone-change","pages/application/hidden-danger-management/hidden-danger-acceptance/hidden-danger-acceptance-change-detail","pages/application/hidden-danger-management/hidden-danger-acceptance/hidden-danger-acceptance-change","pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record","pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-detail","pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-edit","pages/application/hidden-danger-management/hidden-danger-review/hidden-danger-review","pages/application/hidden-danger-management/hidden-danger-review/hidden-danger-review-detail","pages/application/hidden-danger-management/hidden-danger-submit/hidden-danger-submit","pages/application/hidden-danger-management/hidden-danger-submit/hidden-danger-submit-detail","pages/application/hidden-danger-management/hidden-danger-finish/hidden-danger-finish","pages/application/hidden-danger-management/hidden-danger-finish/hidden-danger-finish-detail","pages/application/hidden-danger-management/hidden-danger-check/hidden-danger-check","pages/application/hidden-danger-management/hidden-danger-check/hidden-danger-check-detail","pages/application/hidden-danger-management/hidden-danger-unqualified/hidden-danger-unqualified","pages/application/hidden-danger-management/hidden-danger-unqualified/hidden-danger-unqualified-detail","pages/application/hidden-trouble-investigation/hidden-trouble-app/hidden-trouble-app","pages/application/hidden-trouble-investigation/hidden-trouble-app/hidden-trouble-spot","pages/application/hidden-trouble-investigation/hidden-trouble-app/check-items-list","pages/application/hidden-trouble-investigation/hidden-trouble-app/check-items-next","pages/my/about/about","pages/my/yhxy/yhxy","pages/my/ysxy/ysxy","pages/my/set/set","pages/my/feedback/feedback","pages/application/hidden-trouble-investigation/hidden-trouble-app/exclude-form","pages/application/hidden-trouble-investigation/hidden-trouble-app/other-hidden-add","pages/works/hidden-danger/hidden-danger-rectify","pages/
var __uniRoutes = [{"path":"/pages/login/home","meta":{"isQuit":true},"window":{"bounce":"none","softinputMode":"adjustResize"}},{"path":"/pages/index/index","meta":{},"window":{"bounce":"none","softinputMode":"adjustResize"}},{"path":"/pages/login/updateTool/forget","meta":{},"window":{}},{"path":"/pages/login/forget/forget","meta":{},"window":{}},{"path":"/pages/login/forget/forget-reset","meta":{},"window":{}},{"path":"/pages/basics/basic-info/basic-info","meta":{},"window":{}},{"path":"/pages/basics/home","meta":{},"window":{"bounce":"none"}},{"path":"/pages/basics/documentation/documentation","meta":{},"window":{}},{"path":"/pages/basics/risk-distribution/risk-distribution","meta":{},"window":{}},{"path":"/pages/basics/risk-distribution/risk-distribution-forunit","meta":{},"window":{}},{"path":"/pages/basics/risk-distribution/risk-distribution-detail","meta":{},"window":{}},{"path":"/pages/basics/work-plan/work-plan","meta":{},"window":{}},{"path":"/pages/basics/study-files/study-files","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-no-change/hidden-danger-no-change","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-no-change/hidden-danger-no-change-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-no-change/hidden-danger-no-delayed-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-overdue/hidden-danger-overdue","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-overdue/hidden-danger-overdue-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-confirm/hidden-danger-confirm-change-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-confirm/hidden-danger-confirm-change","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-neglect/hidden-danger-neglect-change-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-neglect/hidden-danger-neglect-change","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-rectification/hidden-danger-rectification-change-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-rectification/hidden-danger-rectification-change","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-disposal/hidden-danger-disposal-change-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-disposal/hidden-danger-disposal-change","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-postpone/hidden-danger-postpone-change-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-postpone/hidden-danger-postpone-change","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-acceptance/hidden-danger-acceptance-change-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-acceptance/hidden-danger-acceptance-change","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-edit","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-review/hidden-danger-review","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-review/hidden-danger-review-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-submit/hidden-danger-submit","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-subm
__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()})}});
__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()})}});
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}}}});