From cdb1fa01619623ed56e6a946bff35b9f48b2e1f8 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期六, 25 一月 2025 09:43:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 h5/utils/config.js                               |    4 ++--
 screen/src/views/LogisticsCenter.vue             |   20 +++++++++++---------
 h5/pages/driver/reservedRecord.vue               |    7 ++++---
 h5/pages/applicationRecord/applicationRecord.vue |   18 +++++++++++++-----
 screen/src/views/FireFighting.vue                |    2 +-
 5 files changed, 31 insertions(+), 20 deletions(-)

diff --git a/h5/pages/applicationRecord/applicationRecord.vue b/h5/pages/applicationRecord/applicationRecord.vue
index 6a17869..c7b2b4e 100644
--- a/h5/pages/applicationRecord/applicationRecord.vue
+++ b/h5/pages/applicationRecord/applicationRecord.vue
@@ -103,13 +103,21 @@
       }
     }
   },
-  onLoad() {
-    this.getList()
+  onShow() {
+  	this.pagination.page = 0
+  	this.list = []
+  	this.getList()
   },
   onReachBottom() {
-    if (this.total > 10) {
-      this.getList()
-    }
+		const {
+			total,
+			list
+		} = this
+		if (list.length < total) {
+			this.getList()
+		} else {
+			this.showToast('鏆傛棤鏇村鏁版嵁')
+		}
   },
   methods: {
     handleDetail(id) {
diff --git a/h5/pages/driver/reservedRecord.vue b/h5/pages/driver/reservedRecord.vue
index d0258c6..cf93368 100644
--- a/h5/pages/driver/reservedRecord.vue
+++ b/h5/pages/driver/reservedRecord.vue
@@ -14,7 +14,7 @@
 					</view>
 					<view class="box_list_item_nr_item">
 						<text>鍒板満鏃堕棿锛�</text>
-						<text>{{item.arriveDate.slice(5,16)}}</text>
+						<text v-if="item.arriveDate">{{item.arriveDate.slice(5,16)}}</text>
 					</view>
 					<view class="box_list_item_nr_item">
 						<text>鍙告満濮撳悕锛�</text>
@@ -25,7 +25,7 @@
 						<text>{{item.carCodeFront}}</text>
 					</view>
 					<view class="box_list_item_nr_item">
-						<text class="placeholder9">{{item.createDate.slice(0,16)}}鎻愪氦</text>
+						<text class="placeholder9" v-if="item.createDate">{{item.createDate.slice(0,16)}}鎻愪氦</text>
 					</view>
 				</view>
 			</view>
@@ -65,7 +65,8 @@
 			}
 		},
 		onShow() {
-			this.page = 1
+			this.page = 1
+			this.datalist = []
 			this.getList()
 		},
 		onReachBottom() {
diff --git a/h5/utils/config.js b/h5/utils/config.js
index 08884a3..05ff784 100644
--- a/h5/utils/config.js
+++ b/h5/utils/config.js
@@ -1,8 +1,8 @@
 
-export const baseUrl = 'zhyq_interface/'
+// export const baseUrl = 'zhyq_interface/'
 // export const baseUrl = 'http://192.168.0.173/gateway_interface/'
 // export const baseUrl = 'http://10.50.250.253:8088/gateway_interface/'
-// export const baseUrl = 'https://atwl.ahzyssl.com/zhyq_interface/' 
+export const baseUrl = 'https://atwl.ahzyssl.com/zhyq_interface/' 
 
 export const app_url = 'https://atwl.ahzyssl.com/zhyq_h5/#/'
 
diff --git a/screen/src/views/FireFighting.vue b/screen/src/views/FireFighting.vue
index b6fa2a4..d76046e 100644
--- a/screen/src/views/FireFighting.vue
+++ b/screen/src/views/FireFighting.vue
@@ -161,7 +161,7 @@
                         v-if="dataList8[dataIndex8].humidityData && dataList8[dataIndex8].humidityData.latestValue">{{
                           Number(dataList8[dataIndex8].humidityData.latestValue).toFixed(1) }}<span>%</span></div>
                       <div class="la">闃堝�� {{ dataList8[dataIndex8].humidityData?.alarmLow }}锝瀧{
-                        dataList8[dataIndex8].humidityData?.alarmHigh }}掳C</div>
+                        dataList8[dataIndex8].humidityData?.alarmHigh }}%</div>
                     </div>
                   </div>
                 </div>
diff --git a/screen/src/views/LogisticsCenter.vue b/screen/src/views/LogisticsCenter.vue
index caf08ca..917161d 100644
--- a/screen/src/views/LogisticsCenter.vue
+++ b/screen/src/views/LogisticsCenter.vue
@@ -63,21 +63,22 @@
                   </div>
 
                 </div>
-                <div class="content">
+                <div class="content" v-if="false">
                   <div class="unit_wrap">
                     <span class="la">鍚屾瘮</span>
-                    <template v-if="StockOutData.currentNum && StockOutData.lastNum">
-                      <img v-if="StockOutData.currentNum >= StockOutData.lastNum" src="@/assets/images/ic_up.png"
+                    <template v-if="StockOutData.sameOutNum">
+                      <img v-if="StockOutData.currentOutNum >= StockOutData.sameOutNum" src="@/assets/images/ic_up.png"
                         class="icon" alt="">
                       <img v-else src="@/assets/images/ic_down.webp" class="icon" alt="">
                     </template>
-                    <span v-if="StockOutData.lastNum && StockOutData.currentNum">{{ Math.abs((((StockOutData.currentNum
+                    <span v-if="StockOutData.sameOutNum">{{ Math.abs((((StockOutData.currentOutNum
                       -
-                      StockOutData.lastNum) /
-                      StockOutData.lastNum)
+                      StockOutData.sameOutNum) /
+                      StockOutData.sameOutNum)
                       * 100).toFixed(2)) }}%</span>
                     <span v-else style="margin-left: 6px;">-</span>
-                    <span class="la" style="margin-left: 30px;margin-right: 10px;">绱鍑哄簱杞︽</span>
+                    <span v-if="StockOutData.totalCarNum" class="la"
+                      style="margin-left: 30px;margin-right: 10px;">绱鍑哄簱杞︽</span>
                     <span>{{ StockOutData.totalCarNum || '' }}</span>
                   </div>
 
@@ -1017,7 +1018,7 @@
         const location = adsInfo.lon1 + ',' + adsInfo.lat1
         axios.get(`https://restapi.amap.com/v3/geocode/regeo?key=${apiKey}&location=${location}`).then(res => {
           console.log('res', res.data)
-          if(res.data.status == 1){
+          if (res.data.status == 1) {
             modalInfo.value.position = res.data.regeocode.formatted_address
           }
         })
@@ -2907,7 +2908,8 @@
         color: #01D9FE;
         width: 70px;
       }
-      .val{
+
+      .val {
         flex: 1;
       }
     }

--
Gitblit v1.9.3