1
This commit is contained in:
parent
9a9e8327f6
commit
767c647d4a
@ -1,3 +1,3 @@
|
|||||||
# 开发环境
|
# 开发环境
|
||||||
# 请求接口地址
|
# 请求接口地址
|
||||||
VITE_REQUEST_BASE_URL = https://36.112.48.190
|
VITE_REQUEST_BASE_URL = http://10.75.166.174:8080
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"name" : "数智产销",
|
"name" : "数智产销",
|
||||||
"appid" : "__UNI__F0AFD30",
|
"appid" : "__UNI__F0AFD30",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.1",
|
"versionName" : "1.0.2",
|
||||||
"versionCode" : 20240929,
|
"versionCode" : 20241010,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -88,17 +88,17 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
/*生产环境 begin */
|
/*生产环境 begin */
|
||||||
loginApi({
|
// loginApi({
|
||||||
username: un,
|
// username: un,
|
||||||
password: pw,
|
// password: pw,
|
||||||
ip: getDeviceIp()
|
// ip: getDeviceIp()
|
||||||
/*生产环境 end */
|
/*生产环境 end */
|
||||||
|
|
||||||
/*开发环境 begin */
|
/*开发环境 begin */
|
||||||
// localLoginApi({
|
localLoginApi({
|
||||||
// username: username.value,
|
username: username.value,
|
||||||
// password: password.value,
|
password: password.value,
|
||||||
// captcha: 'app'
|
captcha: 'app'
|
||||||
/*开发环境 end */
|
/*开发环境 end */
|
||||||
}).then((loginres) => {
|
}).then((loginres) => {
|
||||||
if (loginres.success) {
|
if (loginres.success) {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F0AFD30","name":"数智产销","version":{"name":"1.0.7","code":20240929},"description":"","developer":{"name":"","email":"","url":""},"permissions":{"Geolocation":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNIF0AFD30","aliasname":"__uni__f0afd30","password":"4Z2SSz2hk5AO56cxUDfY3A==","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"dSYMs":false,"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"geolocation":{"system":{"__platform__":["android"]}}},"orientation":"portrait-primary"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#000000"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"4.15","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal","webView":{"minUserAgentVersion":"49.0"}},"tabBar":{"position":"bottom","color":"#333333","selectedColor":"#01508B","borderStyle":"rgba(0,0,0,0.4)","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","backgroundColor":"#FFFFFF","list":[{"text":"首页","pagePath":"pages/tab/index","iconPath":"/static/tab/index1.png","selectedIconPath":"/static/tab/index2.png"},{"text":"办公","pagePath":"pages/tab/office","iconPath":"/static/tab/office1.png","selectedIconPath":"/static/tab/office2.png"},{"text":"生产","pagePath":"pages/tab/product","iconPath":"/static/tab/product1.png","selectedIconPath":"/static/tab/product2.png"},{"text":"我的","pagePath":"pages/tab/my","iconPath":"/static/tab/user1.png","selectedIconPath":"/static/tab/user2.png"}],"midButton":{"width":"65px","height":"75px","text":"","iconPath":"static/tab/todo.png","iconWidth":"50px"},"selectedIndex":0,"shown":true},"adid":"120390270110"},"launch_path":"__uniappview.html"}
|
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F0AFD30","name":"数智产销","version":{"name":"1.0.2","code":20241010},"description":"","developer":{"name":"","email":"","url":""},"permissions":{"Geolocation":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNIF0AFD30","aliasname":"__uni__f0afd30","password":"4Z2SSz2hk5AO56cxUDfY3A==","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"dSYMs":false,"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"geolocation":{"system":{"__platform__":["android"]}}},"orientation":"portrait-primary"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#000000"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"4.15","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal","webView":{"minUserAgentVersion":"49.0"}},"tabBar":{"position":"bottom","color":"#333333","selectedColor":"#01508B","borderStyle":"rgba(0,0,0,0.4)","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","backgroundColor":"#FFFFFF","list":[{"text":"首页","pagePath":"pages/tab/index","iconPath":"/static/tab/index1.png","selectedIconPath":"/static/tab/index2.png"},{"text":"办公","pagePath":"pages/tab/office","iconPath":"/static/tab/office1.png","selectedIconPath":"/static/tab/office2.png"},{"text":"生产","pagePath":"pages/tab/product","iconPath":"/static/tab/product1.png","selectedIconPath":"/static/tab/product2.png"},{"text":"我的","pagePath":"pages/tab/my","iconPath":"/static/tab/user1.png","selectedIconPath":"/static/tab/user2.png"}],"midButton":{"width":"65px","height":"75px","text":"","iconPath":"static/tab/todo.png","iconWidth":"50px"},"selectedIndex":0,"shown":true},"adid":"120390270110"},"launch_path":"__uniappview.html"}
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
[data-v-3dca468b] .uni-select{border:none;padding-left:0;height:2.75rem}[data-v-3dca468b] .uni-select__input-placeholder{font-size:.875rem;color:#999}[data-v-3dca468b] .uni-icons{display:none}.logo[data-v-3dca468b]{padding-top:5.75rem}.logo uni-image[data-v-3dca468b]{width:14.84375rem;height:6.21875rem}.form[data-v-3dca468b]{margin-top:1.875rem}.form .box[data-v-3dca468b]{width:17.8125rem;height:2.75rem;background:#f8f8f8;border-radius:1.375rem;padding:0 .9375rem;margin-top:1.25rem;position:relative}.form .box .account_box[data-v-3dca468b]{position:absolute;top:3.125rem;left:2.8125rem;width:15.625rem;background-color:#fff;box-shadow:0 0 3px 1px #dfdfdf;z-index:99;border-radius:.3125rem}.form .box .account_box .account[data-v-3dca468b]{max-height:6.25rem;overflow-y:auto}.form .box .account_box .account uni-view[data-v-3dca468b]{padding:.3125rem}.form .box uni-image[data-v-3dca468b]{width:1.25rem;height:1.25rem;margin-right:.625rem}.form .box uni-input[data-v-3dca468b]{height:100%;flex:1}.pwd[data-v-3dca468b]{justify-content:flex-end;margin-top:.625rem;margin-right:1.875rem;font-size:.75rem;color:#01508b}.pwd uni-image[data-v-3dca468b]{width:1.0625rem;height:1.0625rem;margin-right:.125rem}.login[data-v-3dca468b]{margin-top:1.96875rem}.login uni-view[data-v-3dca468b]{width:19.6875rem;height:2.75rem;background:#4e74fb;border-radius:1.375rem;font-size:1rem;color:#fff;text-align:center;line-height:2.75rem}
|
[data-v-c41e1a8c] .uni-select{border:none;padding-left:0;height:2.75rem}[data-v-c41e1a8c] .uni-select__input-placeholder{font-size:.875rem;color:#999}[data-v-c41e1a8c] .uni-icons{display:none}.logo[data-v-c41e1a8c]{padding-top:5.75rem}.logo uni-image[data-v-c41e1a8c]{width:14.84375rem;height:6.21875rem}.form[data-v-c41e1a8c]{margin-top:1.875rem}.form .box[data-v-c41e1a8c]{width:17.8125rem;height:2.75rem;background:#f8f8f8;border-radius:1.375rem;padding:0 .9375rem;margin-top:1.25rem;position:relative}.form .box .account_box[data-v-c41e1a8c]{position:absolute;top:3.125rem;left:2.8125rem;width:15.625rem;background-color:#fff;box-shadow:0 0 3px 1px #dfdfdf;z-index:99;border-radius:.3125rem}.form .box .account_box .account[data-v-c41e1a8c]{max-height:6.25rem;overflow-y:auto}.form .box .account_box .account uni-view[data-v-c41e1a8c]{padding:.3125rem}.form .box uni-image[data-v-c41e1a8c]{width:1.25rem;height:1.25rem;margin-right:.625rem}.form .box uni-input[data-v-c41e1a8c]{height:100%;flex:1}.pwd[data-v-c41e1a8c]{justify-content:flex-end;margin-top:.625rem;margin-right:1.875rem;font-size:.75rem;color:#01508b}.pwd uni-image[data-v-c41e1a8c]{width:1.0625rem;height:1.0625rem;margin-right:.125rem}.login[data-v-c41e1a8c]{margin-top:1.96875rem}.login uni-view[data-v-c41e1a8c]{width:19.6875rem;height:2.75rem;background:#4e74fb;border-radius:1.375rem;font-size:1rem;color:#fff;text-align:center;line-height:2.75rem}
|
||||||
|
File diff suppressed because one or more lines are too long
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
4
unpackage/dist/build/app-plus/manifest.json
vendored
4
unpackage/dist/build/app-plus/manifest.json
vendored
@ -7,8 +7,8 @@
|
|||||||
"id": "__UNI__F0AFD30",
|
"id": "__UNI__F0AFD30",
|
||||||
"name": "数智产销",
|
"name": "数智产销",
|
||||||
"version": {
|
"version": {
|
||||||
"name": "1.0.1",
|
"name": "1.0.2",
|
||||||
"code": 20240929
|
"code": 20241010
|
||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"developer": {
|
"developer": {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
[data-v-d8711c35] .uni-select{border:none;padding-left:0;height:2.75rem}[data-v-d8711c35] .uni-select__input-placeholder{font-size:.875rem;color:#999}[data-v-d8711c35] .uni-icons{display:none}.logo[data-v-d8711c35]{padding-top:5.75rem}.logo uni-image[data-v-d8711c35]{width:14.84375rem;height:6.21875rem}.form[data-v-d8711c35]{margin-top:1.875rem}.form .box[data-v-d8711c35]{width:17.8125rem;height:2.75rem;background:#f8f8f8;border-radius:1.375rem;padding:0 .9375rem;margin-top:1.25rem;position:relative}.form .box .account_box[data-v-d8711c35]{position:absolute;top:3.125rem;left:2.8125rem;width:15.625rem;background-color:#fff;box-shadow:0 0 3px 1px #dfdfdf;z-index:99;border-radius:.3125rem}.form .box .account_box .account[data-v-d8711c35]{max-height:6.25rem;overflow-y:auto}.form .box .account_box .account uni-view[data-v-d8711c35]{padding:.3125rem}.form .box uni-image[data-v-d8711c35]{width:1.25rem;height:1.25rem;margin-right:.625rem}.form .box uni-input[data-v-d8711c35]{height:100%;flex:1}.pwd[data-v-d8711c35]{justify-content:flex-end;margin-top:.625rem;margin-right:1.875rem;font-size:.75rem;color:#01508b}.pwd uni-image[data-v-d8711c35]{width:1.0625rem;height:1.0625rem;margin-right:.125rem}.login[data-v-d8711c35]{margin-top:1.96875rem}.login uni-view[data-v-d8711c35]{width:19.6875rem;height:2.75rem;background:#4e74fb;border-radius:1.375rem;font-size:1rem;color:#fff;text-align:center;line-height:2.75rem}
|
[data-v-c41e1a8c] .uni-select{border:none;padding-left:0;height:2.75rem}[data-v-c41e1a8c] .uni-select__input-placeholder{font-size:.875rem;color:#999}[data-v-c41e1a8c] .uni-icons{display:none}.logo[data-v-c41e1a8c]{padding-top:5.75rem}.logo uni-image[data-v-c41e1a8c]{width:14.84375rem;height:6.21875rem}.form[data-v-c41e1a8c]{margin-top:1.875rem}.form .box[data-v-c41e1a8c]{width:17.8125rem;height:2.75rem;background:#f8f8f8;border-radius:1.375rem;padding:0 .9375rem;margin-top:1.25rem;position:relative}.form .box .account_box[data-v-c41e1a8c]{position:absolute;top:3.125rem;left:2.8125rem;width:15.625rem;background-color:#fff;box-shadow:0 0 3px 1px #dfdfdf;z-index:99;border-radius:.3125rem}.form .box .account_box .account[data-v-c41e1a8c]{max-height:6.25rem;overflow-y:auto}.form .box .account_box .account uni-view[data-v-c41e1a8c]{padding:.3125rem}.form .box uni-image[data-v-c41e1a8c]{width:1.25rem;height:1.25rem;margin-right:.625rem}.form .box uni-input[data-v-c41e1a8c]{height:100%;flex:1}.pwd[data-v-c41e1a8c]{justify-content:flex-end;margin-top:.625rem;margin-right:1.875rem;font-size:.75rem;color:#01508b}.pwd uni-image[data-v-c41e1a8c]{width:1.0625rem;height:1.0625rem;margin-right:.125rem}.login[data-v-c41e1a8c]{margin-top:1.96875rem}.login uni-view[data-v-c41e1a8c]{width:19.6875rem;height:2.75rem;background:#4e74fb;border-radius:1.375rem;font-size:1rem;color:#fff;text-align:center;line-height:2.75rem}
|
||||||
|
67
unpackage/dist/dev/app-plus/app-service.js
vendored
67
unpackage/dist/dev/app-plus/app-service.js
vendored
@ -61,7 +61,7 @@ if (uni.restoreGlobal) {
|
|||||||
const _imports_4 = "/static/login/eye-off.png";
|
const _imports_4 = "/static/login/eye-off.png";
|
||||||
const _imports_5 = "/static/login/nocheck.png";
|
const _imports_5 = "/static/login/nocheck.png";
|
||||||
const _imports_6 = "/static/login/checked.png";
|
const _imports_6 = "/static/login/checked.png";
|
||||||
let baseUrl$1 = "https://36.112.48.190/jeecg-boot";
|
let baseUrl$1 = "http://10.75.166.174:8080/jeecg-boot";
|
||||||
let loading = false;
|
let loading = false;
|
||||||
function https(config) {
|
function https(config) {
|
||||||
if (loading)
|
if (loading)
|
||||||
@ -130,9 +130,9 @@ if (uni.restoreGlobal) {
|
|||||||
});
|
});
|
||||||
return promise;
|
return promise;
|
||||||
}
|
}
|
||||||
function loginApi(config) {
|
function localLoginApi(config) {
|
||||||
return https({
|
return https({
|
||||||
url: "/sys/sinopecLogin",
|
url: "/sys/login",
|
||||||
method: "post",
|
method: "post",
|
||||||
data: config
|
data: config
|
||||||
});
|
});
|
||||||
@ -1779,21 +1779,15 @@ This will fail in production.`);
|
|||||||
return proxy.$toast("请输入账号");
|
return proxy.$toast("请输入账号");
|
||||||
if (!password.value.trim())
|
if (!password.value.trim())
|
||||||
return proxy.$toast("请输入密码");
|
return proxy.$toast("请输入密码");
|
||||||
let un = Base64.encode(encodeURIComponent(username.value));
|
Base64.encode(encodeURIComponent(username.value));
|
||||||
let pw = Base64.encode(encodeURIComponent(password.value));
|
Base64.encode(encodeURIComponent(password.value));
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: "登录中..."
|
title: "登录中..."
|
||||||
});
|
});
|
||||||
loginApi({
|
localLoginApi({
|
||||||
username: un,
|
username: username.value,
|
||||||
password: pw,
|
password: password.value,
|
||||||
ip: getDeviceIp()
|
captcha: "app"
|
||||||
/*生产环境 end */
|
|
||||||
/*开发环境 begin */
|
|
||||||
// localLoginApi({
|
|
||||||
// username: username.value,
|
|
||||||
// password: password.value,
|
|
||||||
// captcha: 'app'
|
|
||||||
/*开发环境 end */
|
/*开发环境 end */
|
||||||
}).then((loginres) => {
|
}).then((loginres) => {
|
||||||
if (loginres.success) {
|
if (loginres.success) {
|
||||||
@ -1825,31 +1819,6 @@ This will fail in production.`);
|
|||||||
password.value = obj.pw ? obj.pw : "";
|
password.value = obj.pw ? obj.pw : "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
function getDeviceIp() {
|
|
||||||
let deviceIp;
|
|
||||||
if (plus.os.name == "Android") {
|
|
||||||
let Context = plus.android.importClass("android.content.Context");
|
|
||||||
let main = plus.android.runtimeMainActivity();
|
|
||||||
let cm = main.getSystemService(Context.CONNECTIVITY_SERVICE);
|
|
||||||
plus.android.importClass(cm);
|
|
||||||
let linkProperties = cm.getLinkProperties(cm.getActiveNetwork());
|
|
||||||
let linkAddrs = plus.android.invoke(linkProperties, "getLinkAddresses");
|
|
||||||
plus.android.importClass(linkAddrs);
|
|
||||||
for (var i2 = 0; i2 < linkAddrs.size(); i2++) {
|
|
||||||
let inetAddr = plus.android.invoke(linkAddrs.get(i2), "getAddress");
|
|
||||||
deviceIp = plus.android.invoke(inetAddr, "getHostAddress");
|
|
||||||
}
|
|
||||||
if (deviceIp == "") {
|
|
||||||
var wifiManager = plus.android.runtimeMainActivity().getSystemService(Context.WIFI_SERVICE);
|
|
||||||
var wifiInfo = plus.android.invoke(wifiManager, "getConnectionInfo");
|
|
||||||
var ipAddress = plus.android.invoke(wifiInfo, "getIpAddress");
|
|
||||||
if (ipAddress != 0) {
|
|
||||||
deviceIp = (ipAddress & 255) + "." + (ipAddress >> 8 & 255) + "." + (ipAddress >> 16 & 255) + "." + (ipAddress >> 24 & 255);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return deviceIp;
|
|
||||||
}
|
|
||||||
return (_ctx, _cache) => {
|
return (_ctx, _cache) => {
|
||||||
return vue.openBlock(), vue.createElementBlock(
|
return vue.openBlock(), vue.createElementBlock(
|
||||||
"view",
|
"view",
|
||||||
@ -6465,7 +6434,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const customNav = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-420daeb5"], ["__file", "D:/projects/cxc-szcx-uniapp/bpm/customNav.vue"]]);
|
const customNav = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-420daeb5"], ["__file", "D:/projects/cxc-szcx-uniapp/bpm/customNav.vue"]]);
|
||||||
const baseurl = "https://36.112.48.190/jeecg-boot/sys/common/static/";
|
const baseurl = "http://10.75.166.174:8080/jeecg-boot/sys/common/static/";
|
||||||
const toast = (title, icon, duration) => {
|
const toast = (title, icon, duration) => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title,
|
title,
|
||||||
@ -6662,20 +6631,20 @@ This will fail in production.`);
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const opendocument = (url) => {
|
const opendocument = (url) => {
|
||||||
formatAppLog("log", "at utils/index.js:276", "--1", baseurl + url);
|
|
||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url: baseurl + url,
|
url: baseurl + url,
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
formatAppLog("log", "at utils/index.js:280", "---2", res);
|
|
||||||
var filePath = res.tempFilePath;
|
var filePath = res.tempFilePath;
|
||||||
formatAppLog("log", "at utils/index.js:282", "---2", filePath);
|
|
||||||
uni.openDocument({
|
uni.openDocument({
|
||||||
filePath,
|
filePath,
|
||||||
showMenu: true,
|
showMenu: true,
|
||||||
success: function(res2) {
|
fail: function(err) {
|
||||||
formatAppLog("log", "at utils/index.js:287", "打开文档成功");
|
toast(err.errMsg);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
fail: function(err) {
|
||||||
|
formatAppLog("error", "at utils/index.js:289", "文件下载失败", err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@ -6688,7 +6657,7 @@ This will fail in production.`);
|
|||||||
vue.useCssVars((_ctx) => ({
|
vue.useCssVars((_ctx) => ({
|
||||||
"ae0729d5-cusnavbarheight": cusnavbarheight
|
"ae0729d5-cusnavbarheight": cusnavbarheight
|
||||||
}));
|
}));
|
||||||
const baseurl2 = "https://36.112.48.190/jeecg-boot";
|
const baseurl2 = "http://10.75.166.174:8080/jeecg-boot";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
onShow(() => {
|
onShow(() => {
|
||||||
cxcDaping();
|
cxcDaping();
|
||||||
@ -11765,7 +11734,7 @@ This will fail in production.`);
|
|||||||
const _sfc_main$j = {
|
const _sfc_main$j = {
|
||||||
__name: "useredit",
|
__name: "useredit",
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
const baseUrl2 = "https://36.112.48.190/jeecg-boot";
|
const baseUrl2 = "http://10.75.166.174:8080/jeecg-boot";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const chooseAvatar = () => {
|
const chooseAvatar = () => {
|
||||||
uni.chooseImage({
|
uni.chooseImage({
|
||||||
@ -17594,7 +17563,7 @@ ${i3}
|
|||||||
__definePage("pages/safe/detail", PagesSafeDetail);
|
__definePage("pages/safe/detail", PagesSafeDetail);
|
||||||
__definePage("pages/zhiban/index", PagesZhibanIndex);
|
__definePage("pages/zhiban/index", PagesZhibanIndex);
|
||||||
__definePage("pages/task/self", PagesTaskSelf);
|
__definePage("pages/task/self", PagesTaskSelf);
|
||||||
const baseUrl = "https://36.112.48.190/jeecg-boot/sys/common/static/";
|
const baseUrl = "http://10.75.166.174:8080/jeecg-boot/sys/common/static/";
|
||||||
const useUpdateApp = defineStore("updateApp", () => {
|
const useUpdateApp = defineStore("updateApp", () => {
|
||||||
const updateOptions = vue.reactive({
|
const updateOptions = vue.reactive({
|
||||||
force: false,
|
force: false,
|
||||||
|
4
unpackage/dist/dev/app-plus/manifest.json
vendored
4
unpackage/dist/dev/app-plus/manifest.json
vendored
@ -7,8 +7,8 @@
|
|||||||
"id": "__UNI__F0AFD30",
|
"id": "__UNI__F0AFD30",
|
||||||
"name": "数智产销",
|
"name": "数智产销",
|
||||||
"version": {
|
"version": {
|
||||||
"name": "1.0.1",
|
"name": "1.0.2",
|
||||||
"code": 20240929
|
"code": 20241010
|
||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"developer": {
|
"developer": {
|
||||||
|
@ -273,20 +273,20 @@ const weatherRequest = (params) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const opendocument = (url) => {
|
export const opendocument = (url) => {
|
||||||
console.log('--1',baseurl + url)
|
|
||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url: baseurl + url,
|
url: baseurl + url,
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
console.log('---2',res)
|
|
||||||
var filePath = res.tempFilePath;
|
var filePath = res.tempFilePath;
|
||||||
console.log('---2',filePath)
|
|
||||||
uni.openDocument({
|
uni.openDocument({
|
||||||
filePath: filePath,
|
filePath: filePath,
|
||||||
showMenu: true,
|
showMenu: true,
|
||||||
success: function(res) {
|
fail: function(err) {
|
||||||
console.log('打开文档成功');
|
toast(err.errMsg);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
fail: function(err) {
|
||||||
|
console.error('文件下载失败', err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user