2.1.0 20250627

This commit is contained in:
yangzhq68909 2025-06-27 08:29:15 +08:00
parent ac08c06a7e
commit c2ba2ba883
4 changed files with 152 additions and 148 deletions

7
env/.env.production vendored
View File

@ -7,7 +7,10 @@ VITE_SHOW_SOURCEMAP = false
# 是否启用读取配置文件 min # 是否启用读取配置文件 min
#VITE_WEBAPP = 'D://opt//AppUpdateTest' #VITE_WEBAPP = 'D://opt//AppUpdateTest'
VITE_WEBAPP = '' VITE_WEBAPP = ''
#VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot' VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot'
#VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/wwapi' #VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/wwapi'
#VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/yjapi' #VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/yjapi'
VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot'

View File

@ -17,8 +17,8 @@ export default defineManifestConfig({
name: VITE_APP_TITLE, name: VITE_APP_TITLE,
appid: VITE_UNI_APPID, appid: VITE_UNI_APPID,
description: '', description: '',
versionName: '2.0.3', versionName: '2.1.0',
versionCode: '20250620', versionCode: '20250627',
transformPx: false, transformPx: false,
locale: VITE_FALLBACK_LOCALE, // 'zh-Hans' locale: VITE_FALLBACK_LOCALE, // 'zh-Hans'
/* 5+App特有相关 */ /* 5+App特有相关 */

View File

@ -1,28 +1,28 @@
{ {
"name" : "数智产销", "name": "数智产销",
"appid" : "__UNI__9F097F0", "appid": "__UNI__9F097F0",
"description" : "", "description": "",
"versionName" : "2.0.3", "versionName": "2.1.0",
"versionCode" : "20250620", "versionCode": "20250627",
"transformPx" : false, "transformPx": false,
"app-plus" : { "app-plus": {
"usingComponents" : true, "usingComponents": true,
"nvueStyleCompiler" : "uni-app", "nvueStyleCompiler": "uni-app",
"compilerVersion" : 3, "compilerVersion": 3,
"splashscreen" : { "splashscreen": {
"alwaysShowBeforeRender" : true, "alwaysShowBeforeRender": true,
"waiting" : true, "waiting": true,
"autoclose" : true, "autoclose": true,
"delay" : 0 "delay": 0
}, },
"modules" : { "modules": {
"Maps" : {}, "Maps": {},
"Messaging" : {}, "Messaging": {},
"Camera" : {} "Camera": {}
}, },
"distribute" : { "distribute": {
"android" : { "android": {
"permissions" : [ "permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
@ -39,110 +39,111 @@
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
], ],
"minSdkVersion" : 26, "minSdkVersion": 26,
"targetSdkVersion" : 30, "targetSdkVersion": 30,
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ] "abiFilters": [
"armeabi-v7a",
"arm64-v8a"
]
}, },
"ios" : { "ios": {},
"dSYMs" : false "sdkConfigs": {
}, "maps": {
"sdkConfigs" : { "amap": {
"maps" : { "name": "amap_15931993294Bqxlq8EgG",
"amap" : { "appkey_ios": "c913e46ffdf548ebc56ac1cf4d883e7e",
"name" : "amap_15931993294Bqxlq8EgG", "appkey_android": "c913e46ffdf548ebc56ac1cf4d883e7e"
"appkey_ios" : "c913e46ffdf548ebc56ac1cf4d883e7e",
"appkey_android" : "c913e46ffdf548ebc56ac1cf4d883e7e"
} }
} }
}, },
"icons" : { "icons": {
"android" : { "android": {
"hdpi" : "src/static/app/icons/72x72.png", "hdpi": "src/static/app/icons/72x72.png",
"xhdpi" : "src/static/app/icons/96x96.png", "xhdpi": "src/static/app/icons/96x96.png",
"xxhdpi" : "src/static/app/icons/144x144.png", "xxhdpi": "src/static/app/icons/144x144.png",
"xxxhdpi" : "src/static/app/icons/192x192.png" "xxxhdpi": "src/static/app/icons/192x192.png"
}, },
"ios" : { "ios": {
"appstore" : "src/static/app/icons/1024x1024.png", "appstore": "src/static/app/icons/1024x1024.png",
"ipad" : { "ipad": {
"app" : "src/static/app/icons/76x76.png", "app": "src/static/app/icons/76x76.png",
"app@2x" : "src/static/app/icons/152x152.png", "app@2x": "src/static/app/icons/152x152.png",
"notification" : "src/static/app/icons/20x20.png", "notification": "src/static/app/icons/20x20.png",
"notification@2x" : "src/static/app/icons/40x40.png", "notification@2x": "src/static/app/icons/40x40.png",
"proapp@2x" : "src/static/app/icons/167x167.png", "proapp@2x": "src/static/app/icons/167x167.png",
"settings" : "src/static/app/icons/29x29.png", "settings": "src/static/app/icons/29x29.png",
"settings@2x" : "src/static/app/icons/58x58.png", "settings@2x": "src/static/app/icons/58x58.png",
"spotlight" : "src/static/app/icons/40x40.png", "spotlight": "src/static/app/icons/40x40.png",
"spotlight@2x" : "src/static/app/icons/80x80.png" "spotlight@2x": "src/static/app/icons/80x80.png"
}, },
"iphone" : { "iphone": {
"app@2x" : "src/static/app/icons/120x120.png", "app@2x": "src/static/app/icons/120x120.png",
"app@3x" : "src/static/app/icons/180x180.png", "app@3x": "src/static/app/icons/180x180.png",
"notification@2x" : "src/static/app/icons/40x40.png", "notification@2x": "src/static/app/icons/40x40.png",
"notification@3x" : "src/static/app/icons/60x60.png", "notification@3x": "src/static/app/icons/60x60.png",
"settings@2x" : "src/static/app/icons/58x58.png", "settings@2x": "src/static/app/icons/58x58.png",
"settings@3x" : "src/static/app/icons/87x87.png", "settings@3x": "src/static/app/icons/87x87.png",
"spotlight@2x" : "src/static/app/icons/80x80.png", "spotlight@2x": "src/static/app/icons/80x80.png",
"spotlight@3x" : "src/static/app/icons/120x120.png" "spotlight@3x": "src/static/app/icons/120x120.png"
} }
} }
} }
}, },
"android" : { "android": {
"webView" : { "webView": {
"domStorageEnabled" : true, "domStorageEnabled": true,
"databaseEnabled" : true, "databaseEnabled": true,
"allowFileAccess" : true "allowFileAccess": true
} }
}, },
"compatible" : { "compatible": {
"ignoreVersion" : true "ignoreVersion": true
}, },
"webview" : { "webview": {
"debug" : true, "debug": true,
"crossDomain" : true "crossDomain": true
} }
}, },
"quickapp" : {}, "quickapp": {},
"mp-weixin" : { "mp-weixin": {
"appid" : "wx8e287639924edb51", "appid": "wx8e287639924edb51",
"setting" : { "setting": {
"urlCheck" : false, "urlCheck": false,
"minified" : true "minified": true
}, },
"usingComponents" : true "usingComponents": true
}, },
"mp-alipay" : { "mp-alipay": {
"usingComponents" : true, "usingComponents": true,
"styleIsolation" : "shared" "styleIsolation": "shared"
}, },
"mp-baidu" : { "mp-baidu": {
"usingComponents" : true "usingComponents": true
}, },
"mp-toutiao" : { "mp-toutiao": {
"usingComponents" : true "usingComponents": true
}, },
"uniStatistics" : { "uniStatistics": {
"enable" : false "enable": false
}, },
"vueVersion" : "3", "vueVersion": "3",
"h5" : { "h5": {
"router" : { "router": {
"base" : "/" "base": "/"
}, },
"sdkConfigs" : { "sdkConfigs": {
"maps" : { "maps": {
"amap" : { "amap": {
"key" : "21f194a0d33197f874f7bbdd198419be", "key": "21f194a0d33197f874f7bbdd198419be",
"securityJsCode" : "a46b425f31a4de445b2966d998fba851", "securityJsCode": "a46b425f31a4de445b2966d998fba851",
"serviceHost" : "" "serviceHost": ""
} }
} }
} }
}, },
"app-harmony" : { "app-harmony": {
"distribute" : { "distribute": {
"bundleName" : "uniapp.demo.test" "bundleName": "uniapp.demo.test"
} }
} }
} }

View File

@ -105,9 +105,9 @@
let pw = Base64.encode(encodeURIComponent(password.value)) let pw = Base64.encode(encodeURIComponent(password.value))
loading.value = true loading.value = true
/*生产环境 begin */ /*生产环境 begin */
// loginApi({ username: un, password: pw }) loginApi({ username: un, password: pw })
/*开发环境 begin */ /*开发环境 begin */
loginApi({ username: userName.value, password: password.value, captcha: 'app' }) // loginApi({ username: userName.value, password: password.value, captcha: 'app' })
.then((res : any) => { .then((res : any) => {
if (res.success) { if (res.success) {
const { result } = res const { result } = res