9 lines
12 KiB
JavaScript
9 lines
12 KiB
JavaScript
|
|
var isReady=false;var onReadyCallbacks=[];
|
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
|
var __uniConfig = {"pages":["pages/login/home","pages/index/index","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-overdue/hidden-danger-overdue","pages/application/hidden-danger-management/hidden-danger-overdue/hidden-danger-overdue-detail","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-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/works/hidden-danger/hidden-danger-review","pages/works/hidden-danger/hidden-danger-check","pages/works/hidden-danger/hidden-danger-details","pages/news/news-list-detail","pages/application/other-apps/videos/videos","pages/application/limit-space/limit-space-list","pages/application/limit-space/limit-space-detail","pages/application/limit-space-approve/limit-space-approve-list","pages/application/limit-space-approve/limit-space-approve-detail","pages/application/limit-space-affirm/limit-space-affirm-list","pages/application/limit-space-affirm/limit-space-affirm-detail","pages/application/limit-space-check/limit-space-check-list","pages/application/limit-space-check/limit-space-check-detail","pages/application/gas-detection/gas-detection-record","pages/application/gas-detection/gas-detection-list","pages/application/gas-detection/gas-detection-detail","pages/application/hidden-danger-management/hidden-danger-add/hidden-danger-add","pages/application/check-record/check_listmanager","pages/application/check-record/record_info","pages/application/check-record/record_list","pages/application/hidden-trouble-investigation/hidden-trouble-app/check-items-imgs","pages/application/check-record/imgs_details"],"window":{"navigationBarBackgroundColor":"#0081ff","navigationBarTitleText":"ColorUi for UniApp","navigationStyle":"custom","navigationBarTextStyle":"white"},"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"秦安双控-秦港","compilerVersion":"3.1.22","entryPagePath":"pages/login/home","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
|
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/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-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-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-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-submit/hidden-danger-submit-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-finish/hidden-danger-finish","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-finish/hidden-danger-finish-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-check/hidden-danger-check","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-check/hidden-danger-check-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-unqualified/hidden-danger-unqualified","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-unqualified/hidden-danger-unqualified-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-trouble-investigation/hidden-trouble-app/hidden-trouble-app","meta":{},"window":{}},{"path":"/pages/application/hidden-trouble-investigation/hidden-trouble-app/hidden-trouble-spot","meta":{},"window":{}},{"path":"/pages/application/hidden-trouble-investigation/hidden-trouble-app/check-items-list","meta":{},"window":{}},{"path":"/pages/application/hidden-trouble-investigation/hidden-trouble-app/check-items-next","meta":{},"window":{"bounce":"none","softinputMode":"adjustResize"}},{"path":"/pages/my/about/about","meta":{},"window":{}},{"path":"/pages/my/yhxy/yhxy","meta":{},"window":{}},{"path":"/pages/my/ysxy/ysxy","meta":{},"window":{}},{"path":"/pages/my/set/set","meta":{},"window":{}},{"path":"/pages/my/feedback/feedback","meta":{},"window":{}},{"path":"/pages/application/hidden-trouble-investigation/hidden-trouble-app/exclude-form","meta":{},"window":{}},{"path":"/pages/application/hidden-trouble-investigation/hidden-trouble-app/other-hidden-add","meta":{},"window":{}},{"path":"/pages/works/hidden-danger/hidden-danger-rectify","meta":{},"window":{}},{"path":"/pages/works/hidden-danger/hidden-danger-review","meta":{},"window":{}},{"path":"/pages/works/hidden-danger/hidden-danger-check","meta":{},"window":{}},{"path":"/pages/works/hidden-danger/hidden-danger-details","meta":{},"window":{}},{"path":"/pages/news/news-list-detail","meta":{},"window":{}},{"path":"/pages/application/other-apps/videos/videos","meta":{},"window":{}},{"path":"/pages/application/limit-space/limit-space-list","meta":{},"window":{}},{"path":"/pages/application/limit-space/limit-space-detail","meta":{},"window":{}},{"path":"/pages/application/limit-space-approve/limit-space-approve-list","meta":{},"window":{}},{"path":"/pages/application/limit-space-approve/limit-space-approve-detail","meta":{},"window":{}},{"path":"/pages/application/limit-space-affirm/limit-space-affirm-list","meta":{},"window":{}},{"path":"/pages/application/limit-space-affirm/limit-space-affirm-detail","meta":{},"window":{}},{"path":"/pages/application/limit-space-check/limit-space-check-list","meta":{},"window":{}},{"path":"/pages/application/limit-space-check/limit-space-check-detail","meta":{},"window":{}},{"path":"/pages/application/gas-detection/gas-detection-record","meta":{},"window":{}},{"path":"/pages/application/gas-detection/gas-detection-list","meta":{},"window":{}},{"path":"/pages/application/gas-detection/gas-detection-detail","meta":{},"window":{}},{"path":"/pages/application/hidden-danger-management/hidden-danger-add/hidden-danger-add","meta":{},"window":{}},{"path":"/pages/application/check-record/check_listmanager","meta":{},"window":{}},{"path":"/pages/application/check-record/record_info","meta":{},"window":{}},{"path":"/pages/application/check-record/record_list","meta":{},"window":{}},{"path":"/pages/application/hidden-trouble-investigation/hidden-trouble-app/check-items-imgs","meta":{},"window":{}},{"path":"/pages/application/check-record/imgs_details","meta":{},"window":{}}];
|
|
__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}}}});
|