9 lines
5.5 KiB
JavaScript
9 lines
5.5 KiB
JavaScript
|
|
var isReady=false;var onReadyCallbacks=[];
|
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
|
var __uniConfig = {"pages":["pages/pagehome/pagehome","pages/worker/sign/sign","pages/worker/overtime/overtime","pages/worker/my/my","pages/director/sign/sign","pages/director/expenditure/expenditure","pages/director/enter/enter","pages/director/overtime/overtime","pages/login/login","pagesA/information/information","pagesA/signRecord/signRecord","pagesA/wagesRecord/wagesRecord","pagesA/overtimeRecord/overtimeRecord","pagesA/overtimeEdit/overtimeEdit","pagesA/singlePage/singlePage","pagesB/enterDetail/enterDetail","pagesB/worker/worker","pagesB/workerDetail/workerDetail","pagesB/evaluateRecord/evaluateRecord","pagesB/repair/repair","pagesB/quitApply/quitApply","pagesB/notick/notick"],"window":{"navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff","navigationStyle":"custom","backgroundColor":"#ffffff","backgroundTextStyle":"light","titleNView":false,"bounce":"none","scrollIndicator":"none"},"preloadRule":{"pages/worker/my/my":{"network":"all","packages":["pagesA"]}},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":true},"appname":"工地打卡","compilerVersion":"3.6.17","entryPagePath":"pages/pagehome/pagehome","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
|
var __uniRoutes = [{"path":"/pages/pagehome/pagehome","meta":{"isQuit":true},"window":{"navigationBarTitleText":"公共入口","enablePullDownRefresh":false}},{"path":"/pages/worker/sign/sign","meta":{},"window":{"navigationBarTitleText":"打卡","enablePullDownRefresh":false}},{"path":"/pages/worker/overtime/overtime","meta":{},"window":{"navigationBarTitleText":"加班","enablePullDownRefresh":false}},{"path":"/pages/worker/my/my","meta":{},"window":{"navigationBarTitleText":"我的","enablePullDownRefresh":false}},{"path":"/pages/director/sign/sign","meta":{},"window":{"navigationBarTitleText":"打卡","enablePullDownRefresh":true}},{"path":"/pages/director/expenditure/expenditure","meta":{},"window":{"navigationBarTitleText":"支出","enablePullDownRefresh":true}},{"path":"/pages/director/enter/enter","meta":{},"window":{"navigationBarTitleText":"录入","enablePullDownRefresh":true}},{"path":"/pages/director/overtime/overtime","meta":{},"window":{"navigationBarTitleText":"加班","enablePullDownRefresh":true}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"登录","enablePullDownRefresh":false}},{"path":"/pagesA/information/information","meta":{},"window":{"navigationBarTitleText":"基本信息","enablePullDownRefresh":false}},{"path":"/pagesA/signRecord/signRecord","meta":{},"window":{"navigationBarTitleText":"打卡记录","enablePullDownRefresh":true}},{"path":"/pagesA/wagesRecord/wagesRecord","meta":{},"window":{"navigationBarTitleText":"工资记录","enablePullDownRefresh":true}},{"path":"/pagesA/overtimeRecord/overtimeRecord","meta":{},"window":{"navigationBarTitleText":"加班记录","enablePullDownRefresh":true}},{"path":"/pagesA/overtimeEdit/overtimeEdit","meta":{},"window":{"navigationBarTitleText":"编辑加班","enablePullDownRefresh":false}},{"path":"/pagesA/singlePage/singlePage","meta":{},"window":{"navigationBarTitleText":"单页","enablePullDownRefresh":false}},{"path":"/pagesB/enterDetail/enterDetail","meta":{},"window":{"navigationBarTitleText":"录入详情","enablePullDownRefresh":false}},{"path":"/pagesB/worker/worker","meta":{},"window":{"navigationBarTitleText":"工人列表","enablePullDownRefresh":true}},{"path":"/pagesB/workerDetail/workerDetail","meta":{},"window":{"navigationBarTitleText":"工人详情","enablePullDownRefresh":false}},{"path":"/pagesB/evaluateRecord/evaluateRecord","meta":{},"window":{"navigationBarTitleText":"评定记录","enablePullDownRefresh":false}},{"path":"/pagesB/repair/repair","meta":{},"window":{"navigationBarTitleText":"补卡确认","enablePullDownRefresh":true}},{"path":"/pagesB/quitApply/quitApply","meta":{},"window":{"navigationBarTitleText":"离职审核","enablePullDownRefresh":true}},{"path":"/pagesB/notick/notick","meta":{},"window":{"navigationBarTitleText":"公告管理","enablePullDownRefresh":false}}];
|
|
__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}}}});
|