From 8a0ca55b4316d94b5017fb63109db11fec90bf69 Mon Sep 17 00:00:00 2001 From: guoyuepeng <770272267@qq.com> Date: Fri, 13 Dec 2024 11:24:48 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=BC=93=E5=AD=98=E4=B8=AD=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E5=9C=B0=E5=9D=80=E4=BF=A1=E6=81=AF=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 1 + manifest.json | 23 +++++++++++------------ pages/login/login.vue | 2 +- store/index.js | 2 +- utils/request.js | 5 ++--- utils/tools.js | 2 +- 6 files changed, 17 insertions(+), 18 deletions(-) diff --git a/App.vue b/App.vue index 1d4b2e1..0d82820 100644 --- a/App.vue +++ b/App.vue @@ -3,6 +3,7 @@ export default { onLaunch: function () { console.log('App Launch') this.isLogin() + this.$store.dispatch('setfilePath', 'https://skqhdg.porthebei.com:9004/file/'); }, onShow: function () { console.log('App Show') diff --git a/manifest.json b/manifest.json index 2e526d6..c76dda1 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,9 @@ { "name" : "秦港双控-监管端", - "appid" : "__UNI__2AFFD9C", + "appid" : "__UNI__DB65C6B", "description" : "秦港双控-监管端", - "versionName" : "01.00.44", - "versionCode" : 42, + "versionName" : "01.00.55", + "versionCode" : 55, "transformPx" : false, /* 5+App特有相关 android:value="uni.UN5E8A412|__UNI__DB65C6B|124611200205|common" */ @@ -33,21 +33,20 @@ /* android打包配置 */ "android" : { "permissions" : [ - "", + "", + "", + "", + "", + "", "", "", - "", "", - "", - "", - "", "", - "", - "", "", - "", - "", + "", "", + "", + "", "" ], "minSdkVersion" : 21, diff --git a/pages/login/login.vue b/pages/login/login.vue index 329fa1a..0fbb5e7 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -96,7 +96,7 @@ export default { const keydataVal = jsencrypt.encrypt('qdkjchina' + this.form.userName + ',qd,' + this.form.userPwd) let resData = await submitLogin({'KEYDATA':keydataVal}); await this.$store.dispatch('setUserInfo', resData); - await this.$store.dispatch('setfilePath', ''); + // await this.$store.dispatch('setfilePath', ''); uni.$u.route({ url: '/pages/index/index', type: 'reLaunch' diff --git a/store/index.js b/store/index.js index 35d8f88..6b893c0 100644 --- a/store/index.js +++ b/store/index.js @@ -32,7 +32,7 @@ const store = new Vuex.Store({ } , setfilePath(state, filePath) { // state.filePath = 'https://skqhdg.porthebei.com:9004/file/' - state.filePath = 'https://wwag.qhdsafety.com/file/' + state.filePath = filePath } }, actions: { diff --git a/utils/request.js b/utils/request.js index cfedc77..415a3dc 100644 --- a/utils/request.js +++ b/utils/request.js @@ -1,7 +1,6 @@ -// export var requestPath = 'https://skqhdg.porthebei.com:9005/qa-regulatory-gwj/'; // 后台请求地址 -export var requestPath = 'http://192.168.0.100:8092/'; - +export var requestPath = 'https://skqhdg.porthebei.com:9005/qa-regulatory-gwj/'; // 后台请求地址 +// export var requestPath = 'http://192.168.0.100:8092/'; let videoApiPath = 'https://arqsp.qhdsafety.com:10010'; // 视频平台后台请求地址 import store from '../store/index' function post(url, data) { diff --git a/utils/tools.js b/utils/tools.js index cbbb82b..c58a95b 100644 --- a/utils/tools.js +++ b/utils/tools.js @@ -22,7 +22,7 @@ export function formatDate(date, fmt) { } } -export const filePath = 'https://wwag.qhdsafety.com/file/' +export const filePath = 'https://skqhdg.porthebei.com:9004/file/' function padLeftZero(str) { return ('00' + str).substr(str.length)