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)