first
This commit is contained in:
parent
1b743d9981
commit
80aee31d28
@ -1,8 +1,8 @@
|
|||||||
const env = 'prod';
|
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.0.191:8080/#/'
|
h5Url: 'http://192.168.88.49:8080/#/'
|
||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
|
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
|
||||||
|
@ -25,8 +25,7 @@
|
|||||||
/* 模块配置 */
|
/* 模块配置 */
|
||||||
"modules" : {
|
"modules" : {
|
||||||
"Camera" : {},
|
"Camera" : {},
|
||||||
"Geolocation" : {},
|
"Geolocation" : {}
|
||||||
"Push" : {}
|
|
||||||
},
|
},
|
||||||
/* 应用发布信息 */
|
/* 应用发布信息 */
|
||||||
"distribute" : {
|
"distribute" : {
|
||||||
@ -129,22 +128,7 @@
|
|||||||
"useOriginalMsgbox" : true
|
"useOriginalMsgbox" : true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nativePlugins" : {
|
"nativePlugins" : {}
|
||||||
"KJ-WebView" : {
|
|
||||||
"__plugin_info__" : {
|
|
||||||
"name" : "官方WebView全能扩展、支持plus、vue、nvue里的WebView - [试用版,仅用于自定义调试基座]",
|
|
||||||
"description" : "WebView与原生双向通信交互、传值、js注入、设置获取UserAgent(桌面网站)、原生侧滑返回 、媒体播放自动播放、请试用合适再购买、请试用合适再购买、请试用合适再购买",
|
|
||||||
"platforms" : "Android,iOS",
|
|
||||||
"url" : "https://ext.dcloud.net.cn/plugin?id=9832",
|
|
||||||
"android_package_name" : "",
|
|
||||||
"ios_bundle_id" : "",
|
|
||||||
"isCloud" : true,
|
|
||||||
"bought" : 0,
|
|
||||||
"pid" : "9832",
|
|
||||||
"parameters" : {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
"quickapp" : {},
|
"quickapp" : {},
|
||||||
|
@ -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":{"navigationBar":{},"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 __uniConfig = {"pages":[],"globalStyle":{"navigationBar":{},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"泰丰考勤","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,"titleNView":false,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}}].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,"titleNView":false,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}}].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()})}});
|
||||||
|
2
unpackage/dist/build/app-plus/app-service.js
vendored
2
unpackage/dist/build/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
24
unpackage/dist/build/app-plus/manifest.json
vendored
24
unpackage/dist/build/app-plus/manifest.json
vendored
@ -5,10 +5,10 @@
|
|||||||
"iPad"
|
"iPad"
|
||||||
],
|
],
|
||||||
"id": "__UNI__4796942",
|
"id": "__UNI__4796942",
|
||||||
"name": "oa考勤系统",
|
"name": "泰丰考勤",
|
||||||
"version": {
|
"version": {
|
||||||
"name": "1.1.7",
|
"name": "1.0.0",
|
||||||
"code": 117
|
"code": 100
|
||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"developer": {
|
"developer": {
|
||||||
@ -19,7 +19,6 @@
|
|||||||
"permissions": {
|
"permissions": {
|
||||||
"Camera": {},
|
"Camera": {},
|
||||||
"Geolocation": {},
|
"Geolocation": {},
|
||||||
"Push": {},
|
|
||||||
"UniNView": {
|
"UniNView": {
|
||||||
"description": "UniNView原生渲染"
|
"description": "UniNView原生渲染"
|
||||||
}
|
}
|
||||||
@ -163,22 +162,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nativePlugins": {
|
"nativePlugins": {},
|
||||||
"KJ-WebView": {
|
|
||||||
"__plugin_info__": {
|
|
||||||
"name": "官方WebView全能扩展、支持plus、vue、nvue里的WebView - [试用版,仅用于自定义调试基座]",
|
|
||||||
"description": "WebView与原生双向通信交互、传值、js注入、设置获取UserAgent(桌面网站)、原生侧滑返回 、媒体播放自动播放、请试用合适再购买、请试用合适再购买、请试用合适再购买",
|
|
||||||
"platforms": "Android,iOS",
|
|
||||||
"url": "https://ext.dcloud.net.cn/plugin?id=9832",
|
|
||||||
"android_package_name": "",
|
|
||||||
"ios_bundle_id": "",
|
|
||||||
"isCloud": true,
|
|
||||||
"bought": 0,
|
|
||||||
"pid": "9832",
|
|
||||||
"parameters": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"uniStatistics": {
|
"uniStatistics": {
|
||||||
"enable": false
|
"enable": false
|
||||||
},
|
},
|
||||||
|
47
unpackage/dist/dev/app-plus/app-service.js
vendored
47
unpackage/dist/dev/app-plus/app-service.js
vendored
@ -49,19 +49,19 @@ if (uni.restoreGlobal) {
|
|||||||
const onHide = /* @__PURE__ */ createHook(ON_HIDE);
|
const onHide = /* @__PURE__ */ createHook(ON_HIDE);
|
||||||
const onLaunch = /* @__PURE__ */ createHook(ON_LAUNCH);
|
const onLaunch = /* @__PURE__ */ createHook(ON_LAUNCH);
|
||||||
const onLoad = /* @__PURE__ */ createHook(ON_LOAD);
|
const onLoad = /* @__PURE__ */ createHook(ON_LOAD);
|
||||||
const env = "prod";
|
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.0.191:8080/#/"
|
h5Url: "http://192.168.88.49:8080/#/"
|
||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
||||||
h5Url: "http://114.218.158.24:9051/#/"
|
h5Url: "http://114.218.158.24:9051/#/"
|
||||||
},
|
},
|
||||||
prod: {
|
prod: {
|
||||||
apiBaseUrl: "https://oa-a.szjixun.cn/#/",
|
apiBaseUrl: "https://oa-b.szjixun.cn/#/",
|
||||||
h5Url: "https://oa-a.szjixun.cn/#/"
|
h5Url: "https://oa-b.szjixun.cn/#/"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const config = configs[env];
|
const config = configs[env];
|
||||||
@ -146,43 +146,6 @@ if (uni.restoreGlobal) {
|
|||||||
};
|
};
|
||||||
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "D:/WebstormProjects/oa-base/pages/index/index.vue"]]);
|
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "D:/WebstormProjects/oa-base/pages/index/index.vue"]]);
|
||||||
__definePage("pages/index/index", PagesIndexIndex);
|
__definePage("pages/index/index", PagesIndexIndex);
|
||||||
function initPushNotification() {
|
|
||||||
if (typeof plus !== "undefined" && plus.push) {
|
|
||||||
plus.globalEvent.addEventListener("newPath", ({ path }) => {
|
|
||||||
if (!path) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const pages2 = getCurrentPages();
|
|
||||||
const currentPage = pages2[pages2.length - 1];
|
|
||||||
if (currentPage && currentPage.$page && currentPage.$page.fullPath === path) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
uni.navigateTo({
|
|
||||||
url: path,
|
|
||||||
fail(res) {
|
|
||||||
if (res.errMsg.indexOf("tabbar") > -1) {
|
|
||||||
uni.switchTab({
|
|
||||||
url: path,
|
|
||||||
fail(res2) {
|
|
||||||
console.error(res2.errMsg);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
console.error(res.errMsg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
uni.invokePushCallback({
|
|
||||||
type: "enabled",
|
|
||||||
offline: true
|
|
||||||
});
|
|
||||||
Promise.resolve().then(() => {
|
|
||||||
initPushNotification();
|
|
||||||
plus.push.setAutoNotification && plus.push.setAutoNotification(false);
|
|
||||||
});
|
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
__name: "App",
|
__name: "App",
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
@ -516,7 +479,7 @@ if (uni.restoreGlobal) {
|
|||||||
function I(e2) {
|
function I(e2) {
|
||||||
return e2 && "string" == typeof e2 ? JSON.parse(e2) : e2;
|
return e2 && "string" == typeof e2 ? JSON.parse(e2) : e2;
|
||||||
}
|
}
|
||||||
const S = true, b = "app", A = I(define_process_env_UNI_SECURE_NETWORK_CONFIG_default), P = b, T = I('{\n "address": [\n "127.0.0.1",\n "192.168.56.1",\n "192.168.0.18"\n ],\n "debugPort": 9000,\n "initialLaunchType": "local",\n "servePort": 7000,\n "skipFiles": [\n "<node_internals>/**",\n "C:/Users/37363/Downloads/HBuilderX.4.08.2024040127/HBuilderX/plugins/unicloud/**/*.js"\n ]\n}\n'), C = I('[{"provider":"aliyun","spaceName":"oabase","spaceId":"mp-edf38b0d-bc9a-4e81-9a15-f55995ccca70","clientSecret":"ty1X79FB2pMuAQUzaQBKXA==","endpoint":"https://api.next.bspapp.com"}]') || [];
|
const S = true, b = "app", A = I(define_process_env_UNI_SECURE_NETWORK_CONFIG_default), P = b, T = I('{\n "address": [\n "127.0.0.1",\n "192.168.56.1",\n "192.168.88.49"\n ],\n "debugPort": 9000,\n "initialLaunchType": "local",\n "servePort": 7000,\n "skipFiles": [\n "<node_internals>/**",\n "C:/Users/37363/Downloads/HBuilderX.4.08.2024040127/HBuilderX/plugins/unicloud/**/*.js"\n ]\n}\n'), C = I('[{"provider":"aliyun","spaceName":"oabase","spaceId":"mp-edf38b0d-bc9a-4e81-9a15-f55995ccca70","clientSecret":"ty1X79FB2pMuAQUzaQBKXA==","endpoint":"https://api.next.bspapp.com"}]') || [];
|
||||||
let O = "";
|
let O = "";
|
||||||
try {
|
try {
|
||||||
O = "__UNI__4796942";
|
O = "__UNI__4796942";
|
||||||
|
18
unpackage/dist/dev/app-plus/manifest.json
vendored
18
unpackage/dist/dev/app-plus/manifest.json
vendored
@ -19,7 +19,6 @@
|
|||||||
"permissions": {
|
"permissions": {
|
||||||
"Camera": {},
|
"Camera": {},
|
||||||
"Geolocation": {},
|
"Geolocation": {},
|
||||||
"Push": {},
|
|
||||||
"UniNView": {
|
"UniNView": {
|
||||||
"description": "UniNView原生渲染"
|
"description": "UniNView原生渲染"
|
||||||
}
|
}
|
||||||
@ -163,22 +162,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nativePlugins": {
|
"nativePlugins": {},
|
||||||
"KJ-WebView": {
|
|
||||||
"__plugin_info__": {
|
|
||||||
"name": "官方WebView全能扩展、支持plus、vue、nvue里的WebView - [试用版,仅用于自定义调试基座]",
|
|
||||||
"description": "WebView与原生双向通信交互、传值、js注入、设置获取UserAgent(桌面网站)、原生侧滑返回 、媒体播放自动播放、请试用合适再购买、请试用合适再购买、请试用合适再购买",
|
|
||||||
"platforms": "Android,iOS",
|
|
||||||
"url": "https://ext.dcloud.net.cn/plugin?id=9832",
|
|
||||||
"android_package_name": "",
|
|
||||||
"ios_bundle_id": "",
|
|
||||||
"isCloud": true,
|
|
||||||
"bought": 0,
|
|
||||||
"pid": "9832",
|
|
||||||
"parameters": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"uniStatistics": {
|
"uniStatistics": {
|
||||||
"enable": false
|
"enable": false
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user