From 4cea486fe0a0800b184038e5ea238537bfd41b61 Mon Sep 17 00:00:00 2001
From: yaooo <272523191@qq.com>
Date: Wed, 29 Nov 2023 09:55:10 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=90=8E=E5=8F=B0=E8=AF=A6?=
=?UTF-8?q?=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
admin/src/views/device/detail.vue | 294 ++++++++++++++++++++
admin/src/views/device/index.vue | 30 +-
admin/src/views/land/index.vue | 6 +-
admin/src/views/land_plant/index.vue | 8 +-
admin/src/views/land_plant_action/index.vue | 8 +-
admin/src/views/monitor_alarm/index.vue | 4 +-
admin/src/views/product/index.vue | 23 +-
7 files changed, 348 insertions(+), 25 deletions(-)
create mode 100644 admin/src/views/device/detail.vue
diff --git a/admin/src/views/device/detail.vue b/admin/src/views/device/detail.vue
new file mode 100644
index 00000000..fd652136
--- /dev/null
+++ b/admin/src/views/device/detail.vue
@@ -0,0 +1,294 @@
+
+
+
+
+
diff --git a/admin/src/views/device/index.vue b/admin/src/views/device/index.vue
index 02542207..d46cc828 100644
--- a/admin/src/views/device/index.vue
+++ b/admin/src/views/device/index.vue
@@ -96,20 +96,20 @@
- ID: {{ row.user_id }}
- 账户: {{ row.account }}
+ ID: {{ row.user_id }}
+ 账户: {{ row.account }}
- ID: {{ row.land_id }}
- 名称: {{ row.land_title }}
+ ID: {{ row.land_id }}
+ 名称: {{ row.land_title }}
- ID: {{ row.product_id }}
- 名称: {{ row.product_name }}
+ ID: {{ row.product_id }}
+ 名称: {{ row.product_name }}
@@ -139,7 +139,7 @@
{{ row.create_time ? timeFormat(row.create_time, 'yyyy-mm-dd hh:MM:ss') : '' }}
-
+
编辑
+
+
+ 查看详情
+
+
- ID: {{ row.user_id }}
- 账户: {{ row.user.account }}
+ ID: {{ row.user_id }}
+ 账户: {{ row.user.account }}
- {{ row.title }}
+ {{ row.title }}
diff --git a/admin/src/views/land_plant/index.vue b/admin/src/views/land_plant/index.vue
index 7663fffd..e8c6705c 100644
--- a/admin/src/views/land_plant/index.vue
+++ b/admin/src/views/land_plant/index.vue
@@ -52,14 +52,14 @@
- ID: {{ row.user_id }}
- 账户: {{ row.account }}
+ ID: {{ row.user_id }}
+ 账户: {{ row.account }}
- ID: {{ row.land_id }}
- 名称: {{ row.title }}
+ ID: {{ row.land_id }}
+ 名称: {{ row.title }}
diff --git a/admin/src/views/land_plant_action/index.vue b/admin/src/views/land_plant_action/index.vue
index 193a2e66..eae2b4cb 100644
--- a/admin/src/views/land_plant_action/index.vue
+++ b/admin/src/views/land_plant_action/index.vue
@@ -42,14 +42,14 @@
- ID: {{ row.user_id }}
- 账户: {{ row.account }}
+ ID: {{ row.user_id }}
+ 账户: {{ row.account }}
- ID: {{ row.plant_id }}
- 类型: {{ row.kind }} 品牌: {{ row.breed }}
+ ID: {{ row.plant_id }}
+ 类型: {{ row.kind }} 品牌: {{ row.breed }}
diff --git a/admin/src/views/monitor_alarm/index.vue b/admin/src/views/monitor_alarm/index.vue
index 0e1017cc..af57d185 100644
--- a/admin/src/views/monitor_alarm/index.vue
+++ b/admin/src/views/monitor_alarm/index.vue
@@ -39,8 +39,8 @@
- ID: {{ row.device_id }}
- 名称: {{ row.device.name }}
+ ID: {{ row.device_id }}
+ 名称: {{ row.device.name }}
diff --git a/admin/src/views/product/index.vue b/admin/src/views/product/index.vue
index f5bc8847..d6bdb1da 100644
--- a/admin/src/views/product/index.vue
+++ b/admin/src/views/product/index.vue
@@ -62,14 +62,14 @@
- ID: {{ row.user_id }}
- 账户: {{ row.account }}
+ ID: {{ row.user_id }}
+ 账户: {{ row.account }}
- ID: {{ row.land_id }}
- 名称: {{ row.title }}
+ ID: {{ row.land_id }}
+ 名称: {{ row.title }}
@@ -84,7 +84,7 @@
{{ row.create_time ? timeFormat(row.create_time, 'yyyy-mm-dd hh:MM:ss') : '' }}
-
+
编辑
+
+
+ 查看设备
+
+
import { usePaging } from '@/hooks/usePaging'
+import { getRoutePath } from '@/router'
import { useDictData } from '@/hooks/useDictOptions'
import { apiProductLists, apiProductDelete } from '@/api/product'
import { timeFormat } from '@/utils/util'