9 lines
8.6 KiB
JavaScript
9 lines
8.6 KiB
JavaScript
|
|
||
|
var isReady=false;var onReadyCallbacks=[];
|
||
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
||
|
var __uniConfig = {"pages":["pages/employees/index","pages/structure/index","pages/index/index","pages/oaLogin/oaLogin","pages/oaLogin/editpwd","pages/oaTask/oaTask","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/quest/index","pages/user/user","pages/views/new_task","pages/views/com_approve","pages/views/task_details","pages/views/leave_request","pages/views/leave_request","pages/users/myInformation/index","pages/users/salarydetails/index","pages/users/user_document/index","pages/users/user_document/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.95","entryPagePath":"pages/employees/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
||
|
var __uniRoutes = [{"path":"/pages/employees/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"企业员工","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/structure/index","meta":{},"window":{"navigationBarTitleText":"部门架构","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"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","titleNView":false,"bounce":"none"}},{"path":"/pages/oaTask/oaTask","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"任务","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/examine/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"审批"}},{"path":"/pages/appcenter/index","meta":{},"window":{"navigationBarTitleText":"应用中心","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/leaveapplication/index","meta":{},"window":{"navigationBarTitleText":"请假申请","navigationStyle":"custom"}},{"path":"/pages/resources/index","meta":{},"window":{"navigationBarTitleText":"人力资源","navigationStyle":"custom"}},{"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":"新增任务","navigationBarBackgroundColor":"#3274F9","navigationBarTextStyle":"white"}},{"path":"/pages/quest/index","meta":{},"window":{"navigationBarTitleText":"任务","navigationStyle":"custom"}},{"path":"/pages/user/user","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","navigationStyle":"custom"}},{"path":"/pages/views/new_task","meta":{},"window":{"navigationBarTitleText":"新建任务","enablePullDownRefresh":false}},{"path":"/pages/views/com_approve","
|
||
|
__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}}}});
|