master-emergent
Phoenix 3 months ago
parent 81d0df2a90
commit 520b80da65

@ -2,15 +2,15 @@ const env = 'dev';
const configs = { const configs = {
dev: { dev: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend', apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
h5Url:'http://192.168.88.35:8080/' h5Url:'http://192.168.88.37:8080/#/'
}, },
test: { test: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend', apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
h5Url:'http://172.16.100.93:8041/#/' h5Url:'http://172.16.100.93:8041/#/'
}, },
prod: { prod: {
apiBaseUrl: 'https://oa.szjixun.cn/api', apiBaseUrl: 'https://oa-a.szjixun.cn/api',
h5Url:'https://oa.szjixun.cn/#/' h5Url:'https://oa-a.szjixun.cn/#/'
}, },
}; };

@ -10,7 +10,7 @@ import {sendWebWiew,receiveWebView} from "@/utils/communicate";
const webViewRef=ref(null) const webViewRef=ref(null)
const systemInfo = uni.getSystemInfoSync(); const systemInfo = uni.getSystemInfoSync();
// #ifdef APP-ANDROID // #ifdef APP-ANDROID
const permissionListener = uni.createRequestPermissionListener(); /*const permissionListener = uni.createRequestPermissionListener();
permissionListener.onRequest((e)=>{ permissionListener.onRequest((e)=>{
}) })
permissionListener.onConfirm((e) => { permissionListener.onConfirm((e) => {
@ -18,7 +18,7 @@ permissionListener.onConfirm((e) => {
}); });
permissionListener.onComplete((e) => { permissionListener.onComplete((e) => {
sendWebWiew(webViewRef.value,{auth:e,open:false}) sendWebWiew(webViewRef.value,{auth:e,open:false})
}); });*/
// #endif // #endif
const webLoad=(e)=>{ const webLoad=(e)=>{
const m=receiveWebView(e) const m=receiveWebView(e)

@ -10,15 +10,15 @@ const env = "dev";
const configs = { const configs = {
dev: { dev: {
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend", apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
h5Url: "http://192.168.88.35:8080/" h5Url: "http://192.168.88.37:8080/#/"
}, },
test: { test: {
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend", apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
h5Url: "http://172.16.100.93:8041/#/" h5Url: "http://172.16.100.93:8041/#/"
}, },
prod: { prod: {
apiBaseUrl: "https://oa.szjixun.cn/api", apiBaseUrl: "https://oa-a.szjixun.cn/api",
h5Url: "https://oa.szjixun.cn/#/" h5Url: "https://oa-a.szjixun.cn/#/"
} }
}; };
const config = configs[env]; const config = configs[env];

File diff suppressed because one or more lines are too long

@ -1,7 +1,7 @@
;(function(){ ;(function(){
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[]; let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"oa考勤系统","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.08","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}}; const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"oa考勤系统","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.15","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"uni-app","style":"custom","type":"default"},"isNVue":true}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"uni-app","style":"custom","type":"default"},"isNVue":true}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
__uniConfig.styles=[{}];//styles __uniConfig.styles=[{}];//styles
__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.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()})}});

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -161,7 +161,7 @@
"uni-app": { "uni-app": {
"control": "uni-v3", "control": "uni-v3",
"vueVersion": "3", "vueVersion": "3",
"compilerVersion": "4.08", "compilerVersion": "4.15",
"nvueCompiler": "uni-app", "nvueCompiler": "uni-app",
"renderer": "auto", "renderer": "auto",
"nvue": { "nvue": {

@ -113,15 +113,15 @@ if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
var configs = { var configs = {
dev: { dev: {
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend", apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
h5Url: "http://192.168.88.35:8080/" h5Url: "http://192.168.88.37:8080/#/"
}, },
test: { test: {
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend", apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
h5Url: "http://172.16.100.93:8041/#/" h5Url: "http://172.16.100.93:8041/#/"
}, },
prod: { prod: {
apiBaseUrl: "https://oa.szjixun.cn/api", apiBaseUrl: "https://oa-a.szjixun.cn/api",
h5Url: "https://oa.szjixun.cn/#/" h5Url: "https://oa-a.szjixun.cn/#/"
} }
}; };
var config = configs[env]; var config = configs[env];

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save