From 7195780847f34630364b22796dae7ed40cfff90e Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 12 十月 2022 19:50:49 +0800
Subject: [PATCH] #
---
pages/basics/stockQuery.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/pages/basics/stockQuery.vue b/pages/basics/stockQuery.vue
index 8a5353d..cb34322 100644
--- a/pages/basics/stockQuery.vue
+++ b/pages/basics/stockQuery.vue
@@ -73,6 +73,7 @@
export default {
data () {
return {
+ commonUrl:null,
matList: [],
locNo: null,
matnr: null
@@ -84,8 +85,15 @@
this.baseIP = UIP;
const UPORT = uni.getStorageSync('UPORT');
this.basePORT = UPORT
+ const PROJ = uni.getStorageSync('UPROJ');
+ this.baseUrl = PROJ
+ this.getUrl()
},
methods: {
+ // 鑾峰彇url
+ getUrl() {
+ this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl
+ },
checkbox: function () {
},
@@ -100,7 +108,7 @@
request() {
let that = this
uni.request({
- url:that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/locDetl/list/auth',
+ url:that.commonUrl + '/locDetl/list/auth',
header:{'token':uni.getStorageSync('token')},
data: {
curr: 1,
--
Gitblit v1.9.1