From bcfb05f5e7782ef23e4deb1b38a1ca4b4085181a Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期六, 11 十月 2025 17:09:47 +0800
Subject: [PATCH] test

---
 pages/map/task.vue |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/pages/map/task.vue b/pages/map/task.vue
index a8c0a67..a5bcc03 100644
--- a/pages/map/task.vue
+++ b/pages/map/task.vue
@@ -1,7 +1,7 @@
 <template>
 	<view class="pages-map-task">
 		<view class="no-content" v-if="unlinked">
-			<image class="img" src="/images/image 25.png" alt=" 鍥剧墖" mode="aspectFit" />
+			<image class="img" src="/images/image_25.png" alt=" 鍥剧墖" mode="aspectFit" />
 			<view class="title">杞﹁締杩炴帴澶辫触</view>
 			<view class="space">璇锋鏌ヤ綘鐨勭綉缁滆缃垨閲嶆柊鍔犺浇</view>
 		</view>
@@ -33,7 +33,9 @@
 <script>
 	import {
 		showToast,
-		showModal
+		showModal,
+		showError,
+		showInfo
 	} from "@/comm/utils.js"
 	import {
 		Button
@@ -115,7 +117,7 @@
 					const info = await getAgvState(this.vehicleIp)
 					return info
 				} catch (ex) {
-					this.showError(ex)
+					showError(ex)
 					return {}
 				}
 			},
@@ -124,7 +126,7 @@
 					const info = await stations(this.vehicleIp)
 					return info.station_list || []
 				} catch (ex) {
-					this.showError(ex)
+					showError(ex)
 					return []
 				}
 			},
@@ -137,13 +139,6 @@
 				uni.navigateTo({
 					url: `/pages/task/log-list?ip=${this.vehicleIp}`
 				})
-			},
-			showError(ex) {
-				let exStr = JSON.stringify(ex)
-				if (exStr == "{}")
-					exStr = ex
-				let tip = typeof ex.msg == "string" ? ex.msg : exStr
-				showModal(tip, "閿欒", false)
 			},
 
 
@@ -325,6 +320,8 @@
 			margin-top: 75px;
 			margin-left: 120px;
 			width: 150px;
+			max-height: 50vh;
+			overflow: auto;
 			align-items: center;
 			justify-content: center;
 			flex-direction: column;

--
Gitblit v1.9.1