From 164138577c0c3837e440be7cc604cd024e0c4595 Mon Sep 17 00:00:00 2001
From: 18796357645 <674126018@qq.com>
Date: Tue, 15 Jul 2025 16:37:09 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E5=A4=87=E8=AF=A6?=
=?UTF-8?q?=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config.js | 4 +-
pages/deviceManage/index.vue | 1442 ++++++++++++++++++----------------
pages/mine/update.vue | 29 +-
3 files changed, 770 insertions(+), 705 deletions(-)
diff --git a/config.js b/config.js
index b51b3ba..e98891c 100644
--- a/config.js
+++ b/config.js
@@ -3,4 +3,6 @@
export const BASE_API_URL = "https://online.totustec.com/api";
// 静态数据
-export const BASE_IMG_URL = "https://online.totustec.com/upload";
\ No newline at end of file
+export const BASE_IMG_URL = "https://online.totustec.com/upload";
+
+export const BASE_STOKECT_URL = "ws://online.totustec.com/webSocket/vue"
\ No newline at end of file
diff --git a/pages/deviceManage/index.vue b/pages/deviceManage/index.vue
index 8b5de82..bad8c5c 100644
--- a/pages/deviceManage/index.vue
+++ b/pages/deviceManage/index.vue
@@ -1,193 +1,140 @@
-
-
-
-
- 设备管理
-
-
-
-
-
+
+
+
+
+ 设备管理
+
+
+
+
+
-
-
-
-
-
-
- 获取视频
-
-
- 获取图片
-
-
+
+
+
+
+
+
+ 获取视频
+
+
+ 获取图片
+
+
-
-
-
-
+
+
+
+
-
-
-
- 设备状态
- 设备日志
- 设备控制
-
-
+
+
+
+ 设备状态
+ 设备日志
+ 设备控制
+
+
-
-
-
-
-
-
- 设备名称
- {{
- deviceDetail.brand
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 状态
-
-
-
- 空闲
-
-
-
- 准备中
-
-
-
- 打印中
-
-
-
- 铲件中
-
-
-
- 断开
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 子状态
-
-
-
-
-
-
- {{ getStatusText(deviceDetail.errorStatus) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 当前时间
- {{ getCurrentTime() }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 错误码
-
-
- {{ deviceDetail.errorStatus === -1 ? '断开' : deviceDetail.errorStatus }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 请输入设备名称:
-
-
-
-
-
-
-
- 文件位置:桌面File文件夹内
-
-
+
+
+
+ {{ field.label }}
+
+
+
+
+
+ 空闲
+
+
+
+ 准备中
+
+
+
+ 打印中
+
+
+
+ 铲件中
+
+
+
+ 断开
+
+
+
+
+
+
+
+
+ {{ getStatusText(deviceDetail.errorStatus) }}
+
+
+
+
+
+ {{ deviceDetail.errorStatus === -1 ? '断开' : deviceDetail.errorStatus }}
+
+
+
+ {{ getCurrentTime() }}
+
+
+
+ {{ deviceDetail[field.key] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 请输入设备名称:
+
+
+
+
+
+
+
+
+ 文件位置:桌面File文件夹内
+
+
-
-
- 开始打印
-
+
+
+ 开始打印
+
-
-
- 继续打印
-
-
+
+ 继续打印
+
+
-
-
+
-
-
- 暂停打印
-
+
+
+ 暂停打印
+
-
-
- 退出打印
-
-
+
+ 退出打印
+
+
-
-
-
-
- 报警继续
-
-
-
-
- 报警退出
-
-
-
-
-
-
+
+
+
+
+ 报警继续
+
+
+
+
+ 报警退出
+
+
+
+
+
+
+ .top_nav_warp {
+ width: 100%;
+ height: 88rpx;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ font-family: PingFang SC, PingFang SC;
+ font-weight: 500;
+ font-size: 32rpx;
+ color: #000000;
+ position: relative;
+ z-index: 5;
+ position: relative;
+ }
+
\ No newline at end of file
diff --git a/pages/mine/update.vue b/pages/mine/update.vue
index 425b36e..11be03d 100644
--- a/pages/mine/update.vue
+++ b/pages/mine/update.vue
@@ -17,9 +17,7 @@
头像
-
+
@@ -30,23 +28,26 @@
-
+