@ -1,25 +0,0 @@
|
||||
/* 非空验证 */
|
||||
const vefEmpty = (key,msg) => {
|
||||
if (key === '' || key === undefined || key === null) {
|
||||
uni.showToast({
|
||||
title: msg,
|
||||
duration: 2000,
|
||||
icon: 'none'
|
||||
});
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
const addZero = (num) => {
|
||||
if (num < 10) {
|
||||
num = `0${num}`;
|
||||
}
|
||||
return num;
|
||||
};
|
||||
|
||||
export default {
|
||||
vefEmpty,
|
||||
addZero
|
||||
}
|
@ -0,0 +1 @@
|
||||
|
@ -1,10 +0,0 @@
|
||||
uni.addInterceptor({
|
||||
returnValue (res) {
|
||||
if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) {
|
||||
return res;
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
res.then((res) => res[0] ? reject(res[0]) : resolve(res[1]));
|
||||
});
|
||||
},
|
||||
});
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"name": "uni-cloud-push",
|
||||
"dependencies": {},
|
||||
"extensions": {
|
||||
"uni-cloud-jql": {},
|
||||
"uni-cloud-push": {}
|
||||
}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
iosProfile=D:/WebstormProjects/oa-app/common/updown/oa_dis_20231130.mobileprovision
|
||||
ioscertFile=D:/WebstormProjects/oa-app/common/updown/20230714_dis.p12
|
||||
iosProfile=D:/WebstormProjects/oa-base/files/ios/oa_dev_20240104.mobileprovision
|
||||
ioscertFile=D:/WebstormProjects/oa-base/files/ios/20230714_dev.p12
|
||||
ioscertPassword=uecGPNMV8s+KLcdEgW/MRg==
|
||||
|
@ -1,32 +0,0 @@
|
||||
{
|
||||
"version": "1",
|
||||
"env": {
|
||||
"compilerVersion": "4.15.2024050802"
|
||||
},
|
||||
"files": {
|
||||
"utssdk/app-android/index.uts": {
|
||||
"md5": "e8f2ac1b4ac0e64a05b903015cf803be"
|
||||
},
|
||||
"utssdk/interface.uts": {
|
||||
"md5": "9ea37d02881a45c98410e9e913811526"
|
||||
},
|
||||
"package.json": {
|
||||
"md5": "46557c5b31ca9d13fda95139225a60c8"
|
||||
},
|
||||
"utssdk/app-android/AndroidManifest.xml": {
|
||||
"md5": "cf857a1b6e0cbb80c543ae9a8faf2d40"
|
||||
},
|
||||
"utssdk/app-android/config.json": {
|
||||
"md5": "643b2980a54aaca20ecd07d593fb4099"
|
||||
},
|
||||
"utssdk/app-android/res/anim/popupwindow_enter.xml": {
|
||||
"md5": "f198c859de0d759ada725448d27ad2d5"
|
||||
},
|
||||
"utssdk/app-android/res/anim/popupwindow_exit.xml": {
|
||||
"md5": "d10997057313c1750142f37f2016301b"
|
||||
},
|
||||
"utssdk/app-android/res/drawable/dcloud_permission_background.xml": {
|
||||
"md5": "2c0da97c93a16d13d99686918165f390"
|
||||
}
|
||||
}
|
||||
}
|
@ -1 +1 @@
|
||||
{"dir":"/Users/seaman/srv/bdserver.dcloud.net.cn/service/storage/app/package/IOS/queue/5e3149e0-2222-11ef-99a5-7f806ab2dc79/wgtRoot/__UNI__4796942/"}
|
||||
{"dir":"/Users/seaman/srv/bdserver.dcloud.net.cn/service/storage/app/package/IOS/queue/b87978d0-38da-11ef-862d-698846b5d25e/wgtRoot/__UNI__4796942/"}
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 5.1 KiB |
@ -1,175 +0,0 @@
|
||||
! function (e, n) {
|
||||
"object" == typeof exports && "undefined" != typeof module ? module.exports = n() : "function" == typeof define && define.amd ? define(n) : (e = e || self).webUni = n()
|
||||
}(this, (function () {
|
||||
"use strict";
|
||||
try {
|
||||
var e = {};
|
||||
Object.defineProperty(e, "passive", {
|
||||
get: function () {
|
||||
!0
|
||||
}
|
||||
}), window.addEventListener("test-passive", null, e)
|
||||
} catch (e) { }
|
||||
var n = Object.prototype.hasOwnProperty;
|
||||
|
||||
function t (e, t) {
|
||||
return n.call(e, t)
|
||||
}
|
||||
var i = [],
|
||||
a = function (e, n) {
|
||||
var t = {
|
||||
options: {
|
||||
timestamp: +new Date
|
||||
},
|
||||
name: e,
|
||||
arg: n
|
||||
};
|
||||
if (window.__dcloud_weex_postMessage || window.__dcloud_weex_) {
|
||||
if ("postMessage" === e) {
|
||||
var a = {
|
||||
data: [n]
|
||||
};
|
||||
return window.__dcloud_weex_postMessage ? window.__dcloud_weex_postMessage(a) : window.__dcloud_weex_.postMessage(JSON.stringify(a))
|
||||
}
|
||||
var o = {
|
||||
type: "WEB_INVOKE_APPSERVICE",
|
||||
args: {
|
||||
data: t,
|
||||
webviewIds: i
|
||||
}
|
||||
};
|
||||
window.__dcloud_weex_postMessage ? window.__dcloud_weex_postMessageToService(o) : window.__dcloud_weex_.postMessageToService(JSON.stringify(o))
|
||||
}
|
||||
if (!window.plus) return window.parent.postMessage({
|
||||
type: "WEB_INVOKE_APPSERVICE",
|
||||
data: t,
|
||||
pageId: ""
|
||||
}, "*");
|
||||
if (0 === i.length) {
|
||||
var r = plus.webview.currentWebview();
|
||||
if (!r) throw new Error("plus.webview.currentWebview() is undefined");
|
||||
var d = r.parent(),
|
||||
s = "";
|
||||
s = d ? d.id : r.id, i.push(s)
|
||||
}
|
||||
if (plus.webview.getWebviewById("__uniapp__service")) plus.webview.postMessageToUniNView({
|
||||
type: "WEB_INVOKE_APPSERVICE",
|
||||
args: {
|
||||
data: t,
|
||||
webviewIds: i
|
||||
}
|
||||
}, "__uniapp__service");
|
||||
else {
|
||||
var w = JSON.stringify(t);
|
||||
plus.webview.getLaunchWebview().evalJS('UniPlusBridge.subscribeHandler("'.concat("WEB_INVOKE_APPSERVICE", '",').concat(w, ",").concat(JSON.stringify(i), ");"))
|
||||
}
|
||||
},
|
||||
o = {
|
||||
navigateTo: function () {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.url;
|
||||
a("navigateTo", {
|
||||
url: encodeURI(n)
|
||||
})
|
||||
},
|
||||
navigateBack: function () {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.delta;
|
||||
a("navigateBack", {
|
||||
delta: parseInt(n) || 1
|
||||
})
|
||||
},
|
||||
switchTab: function () {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.url;
|
||||
a("switchTab", {
|
||||
url: encodeURI(n)
|
||||
})
|
||||
},
|
||||
reLaunch: function () {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.url;
|
||||
a("reLaunch", {
|
||||
url: encodeURI(n)
|
||||
})
|
||||
},
|
||||
redirectTo: function () {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.url;
|
||||
a("redirectTo", {
|
||||
url: encodeURI(n)
|
||||
})
|
||||
},
|
||||
getEnv: function (e) {
|
||||
window.plus ? e({
|
||||
plus: !0
|
||||
}) : e({
|
||||
h5: !0
|
||||
})
|
||||
},
|
||||
postMessage: function () {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
||||
a("postMessage", e.data || {})
|
||||
}
|
||||
},
|
||||
r = /uni-app/i.test(navigator.userAgent),
|
||||
d = /Html5Plus/i.test(navigator.userAgent),
|
||||
s = /complete|loaded|interactive/;
|
||||
var w = window.my && navigator.userAgent.indexOf("AlipayClient") > -1;
|
||||
var u = window.swan && window.swan.webView && /swan/i.test(navigator.userAgent);
|
||||
var c = window.qq && window.qq.miniProgram && /QQ/i.test(navigator.userAgent) && /miniProgram/i.test(navigator.userAgent);
|
||||
var g = window.tt && window.tt.miniProgram && /toutiaomicroapp/i.test(navigator.userAgent);
|
||||
var v = window.wx && window.wx.miniProgram && /micromessenger/i.test(navigator.userAgent) && /miniProgram/i.test(navigator.userAgent);
|
||||
var p = window.qa && /quickapp/i.test(navigator.userAgent);
|
||||
for (var l, _ = function () {
|
||||
window.UniAppJSBridge = !0, document.dispatchEvent(new CustomEvent("UniAppJSBridgeReady", {
|
||||
bubbles: !0,
|
||||
cancelable: !0
|
||||
}))
|
||||
}, f = [function (e) {
|
||||
if (r || d) return window.__dcloud_weex_postMessage || window.__dcloud_weex_ ? document.addEventListener("DOMContentLoaded", e) : window.plus && s.test(document.readyState) ? setTimeout(e, 0) : document.addEventListener("plusready", e), o
|
||||
}, function (e) {
|
||||
if (v) return window.WeixinJSBridge && window.WeixinJSBridge.invoke ? setTimeout(e, 0) : document.addEventListener("WeixinJSBridgeReady", e), window.wx.miniProgram
|
||||
}, function (e) {
|
||||
if (c) return window.QQJSBridge && window.QQJSBridge.invoke ? setTimeout(e, 0) : document.addEventListener("QQJSBridgeReady", e), window.qq.miniProgram
|
||||
}, function (e) {
|
||||
if (w) {
|
||||
document.addEventListener("DOMContentLoaded", e);
|
||||
var n = window.my;
|
||||
return {
|
||||
navigateTo: n.navigateTo,
|
||||
navigateBack: n.navigateBack,
|
||||
switchTab: n.switchTab,
|
||||
reLaunch: n.reLaunch,
|
||||
redirectTo: n.redirectTo,
|
||||
postMessage: n.postMessage,
|
||||
getEnv: n.getEnv
|
||||
}
|
||||
}
|
||||
}, function (e) {
|
||||
if (u) return document.addEventListener("DOMContentLoaded", e), window.swan.webView
|
||||
}, function (e) {
|
||||
if (g) return document.addEventListener("DOMContentLoaded", e), window.tt.miniProgram
|
||||
}, function (e) {
|
||||
if (p) {
|
||||
window.QaJSBridge && window.QaJSBridge.invoke ? setTimeout(e, 0) : document.addEventListener("QaJSBridgeReady", e);
|
||||
var n = window.qa;
|
||||
return {
|
||||
navigateTo: n.navigateTo,
|
||||
navigateBack: n.navigateBack,
|
||||
switchTab: n.switchTab,
|
||||
reLaunch: n.reLaunch,
|
||||
redirectTo: n.redirectTo,
|
||||
postMessage: n.postMessage,
|
||||
getEnv: n.getEnv
|
||||
}
|
||||
}
|
||||
}, function (e) {
|
||||
return document.addEventListener("DOMContentLoaded", e), o
|
||||
}], m = 0; m < f.length && !(l = f[m](_)); m++);
|
||||
l || (l = {});
|
||||
var E = "undefined" != typeof webUni ? webUni : {};
|
||||
if (!E.navigateTo)
|
||||
for (var b in l) t(l, b) && (E[b] = l[b]);
|
||||
return E.webView = l, E
|
||||
}));
|