ming преди 3 години
родител
ревизия
28263cea5e
променени са 4 файла, в които са добавени 15 реда и са изтрити 15 реда
  1. 6 6
      pages/index/index.vue
  2. 2 2
      pages/processDetailEle/processDetailEle.vue
  3. 2 2
      pages/processDetailEle1/processDetailEle1.vue
  4. 5 5
      util/api.js

+ 6 - 6
pages/index/index.vue

@@ -193,15 +193,15 @@
 
 		onLoad: function(option) {
 		
-			if (option.op) {
-				this.getData();
+			// if (option.op) {
+			// 	this.getData();
 			
-			} else {
-				this.init()
-			}
+			// } else {
+			// 	this.init()
+			// }
 			
 			
-			// this.getData();
+			this.getData();
 
 			this.hackReset = false;
 			this.$nextTick(() => {

+ 2 - 2
pages/processDetailEle/processDetailEle.vue

@@ -35,10 +35,10 @@
 						<text>线路名称:</text>
 						<text>{{detailMessage.deviceName}}</text>
 					</view>
-					<view>
+					<!-- <view>
 						<text>户号:</text>
 						<text>{{detailMessage.account_number}}</text>
-					</view>
+					</view> -->
 					<view>
 						<text>警告信息:</text>
 						<text>{{detailMessage.measValue}}</text>

+ 2 - 2
pages/processDetailEle1/processDetailEle1.vue

@@ -35,10 +35,10 @@
 						<text>线路名称:</text>
 						<text>{{detailMessage.deviceName}}</text>
 					</view>
-					<view>
+					<!-- <view>
 						<text>户号:</text>
 						<text>{{detailMessage.account_number}}</text>
-					</view>
+					</view> -->
 					<view>
 						<text>警告信息:</text>
 						<text>{{detailMessage.measValue}}</text>

+ 5 - 5
util/api.js

@@ -1,9 +1,9 @@
 // const BASE_URL = 'https://iot.usky.cn/USKYOF/USKYOF.php/Home/' //(测试域名)  
-const BASE_URL = 'https://wx.ewoogi.com/USKYOF/USKYOF.php/Home/' //(正式域名新)  
-const websiteUrl = 'https://wx.ewoogi.com'
+const BASE_URL = 'https://qhome.usky.cn//USKYOF/USKYOF.php/Home/' //(正式域名新)  
+const websiteUrl = 'https://qhome.usky.cn/'
 
-// const websiteUrl = 'https://wx.ewoogi.com'
-// const BASE_URL='http://https://wx.ewoogi.com/USKYOF/USKYOF.php/Home/'
+// const websiteUrl = 'https://qhome.usky.cn/'
+// const BASE_URL='http://https://qhome.usky.cn//USKYOF/USKYOF.php/Home/'
 // 同时发送异步代码的次数,防止一次点击中有多次请求,用于处理
 let ajaxTimes = 0;
 
@@ -62,7 +62,7 @@ function myRequest(options){
 				let notIndexFail = ['Index/getDataStatistics', 'Com/getAuthorizationUrl'];
 				if (notIndexFail.includes(options.url)) {
 					window.location.href =
-						'https://wx.ewoogi.com/wx/index.html#/pages/index/index';
+						'https://qhome.usky.cn//wx/index.html#/pages/index/index';
 				} else {
 					uni.showModal({
 						showCancel: false,