OA/unpackage/dist/dev/app-plus/app-config-service.js

9 lines
13 KiB
JavaScript
Raw Normal View History

2023-11-05 00:11:08 +08:00
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
2023-11-09 09:44:44 +08:00
var __uniConfig = {"pages":["pages/index/index","pages/oaLogin/oaLogin","pages/oaLogin/editpwd","pages/oaTask/oaTask","pages/employees/index","pages/structure/index","pages/examine/index","pages/appcenter/index","pages/leaveapplication/index","pages/resources/index","pages/adddepartment/index","pages/jobtitle/index","pages/addjobtitle/index","pages/personneltransfer/index","pages/addpersonneltransfer/index","pages/resignationprofile/index","pages/addresignationprofile/index","pages/employees/index","pages/addemployees/index","pages/project/index","pages/addproject/index","pages/generalapproval/index","pages/addquest/index","pages/reimbursementrecord/index","pages/reimbursementrecord/index","pages/quest/index","pages/addworkrecord/index","pages/workrecord/index","pages/leave_request/index","pages/leave_request/detail","pages/leave_request/bianji","pages/reimbursement/index","pages/reimbursementapplication/detail","pages/reimbursementapplication/index","pages/reimbursementapplication/bianji","pages/reimbursementapplication/handle","pages/reimbursement/index","pages/invoice/index","pages/invoice/add","pages/invoice/detail","pages/invoice/handle","pages/invoice/bianji","pages/user/user","pages/financeincome/index","pages/addfinanceincome/index","pages/finance/index","pages/addfinance/index","pages/message/index","pages/message/detail","pages/waitlist/index","pages/users/myInformation/index","pages/users/salarydetails/index","pages/users/user_document/index","pages/users/user_document/detail","pages/users/article/index","pages/users/article/detail"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#666666","selectedColor":"#3274F9","borderStyle":"white","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"static/tabbar_icon/a.png","selectedIconPath":"static/tabbar_icon/a-a.png","text":"首页"},{"pagePath":"pages/examine/index","iconPath":"static/tabbar_icon/b.png","selectedIconPath":"static/tabbar_icon/b-b.png","text":"审批"},{"pagePath":"pages/oaTask/oaTask","iconPath":"static/tabbar_icon/c-c.png","selectedIconPath":"static/tabbar_icon/c.png","text":"任务"},{"pagePath":"pages/user/user","iconPath":"static/tabbar_icon/d-d.png","selectedIconPath":"static/tabbar_icon/d.png","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"OAsystem","compilerVersion":"3.96","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"首页","navigationStyle":"custom"}},{"path":"/pages/oaLogin/oaLogin","meta":{},"window":{"navigationBarTitleText":"登录","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white","titleNView":false,"bounce":"none"}},{"path":"/pages/oaLogin/editpwd","meta":{},"window":{"navigationBarTitleText":"修改密码","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/oaTask/oaTask","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"任务","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/employees/index","meta":{},"window":{"navigationBarTitleText":"企业员工","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/structure/index","meta":{},"window":{"navigationBarTitleText":"部门架构","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/examine/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"审批","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/appcenter/index","meta":{},"window":{"navigationBarTitleText":"应用中心","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/leaveapplication/index","meta":{},"window":{"navigationBarTitleText":"申请","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/resources/index","meta":{},"window":{"navigationBarTitleText":"人力资源","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/adddepartment/index","meta":{},"window":{"navigationBarTitleText":"添加部门","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/jobtitle/index","meta":{},"window":{"navigationBarTitleText":"岗位职称","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/addjobtitle/index","meta":{},"window":{"navigationBarTitleText":"添加岗位","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/personneltransfer/index","meta":{},"window":{"navigationBarTitleText":"人事调动","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/addpersonneltransfer/index","meta":{},"window":{"navigationBarTitleText":"添加人事调动","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/resignationprofile/index","meta":{},"window":{"navigationBarTitleText":"离职档案","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/addresignationprofile/index","meta":{},"window":{"navigationBarTitleText":"添加离职档案","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/addemployees/index","meta":{},"window":{"navigationBarTitleText":"新增企业员工","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/project/index","meta":{},"window":{"navigationBarTitleText":"项目","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/addproject/index","meta":{},"window":{"navigationBarTitleText":"新增项目","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/generalapproval/index","meta":{},"window":{"navigationBarTitleText":"通用审批","navigationStyle":"custom"}},{"path":"/pages/addquest/index","meta":{},"window":{"navigationBarTitleText":"新增任务","navigationBarTextStyle":"white","navigationBarBackgroundColor":"#3274F9"}},{"path":"/pages/reimbursementrecord/index","meta":{},"window":{"navigationBarTitleText":"报销打款","navigationBarTextStyle":"white","navigationBarBackgroundColor":"#3274F9"}},{"path":"/pages/quest/index","meta":{},"window":{"navigationBarTitleText":"任务"}},{"path":"/pages/addworkrecord/ind
2023-11-05 00:11:08 +08:00
__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}}}});