From ec023ecfc029533ed35ef728d036e3da7b03b5ef Mon Sep 17 00:00:00 2001
From: chenbo <709206448@qq.com>
Date: Wed, 10 Jan 2024 17:56:08 +0800
Subject: [PATCH] update
---
admin/src/views/device/edit.vue | 170 +++++++++++++++---------------
admin/src/views/device/index.vue | 99 ++---------------
admin/src/views/product/edit.vue | 8 +-
admin/src/views/product/index.vue | 30 +-----
4 files changed, 99 insertions(+), 208 deletions(-)
diff --git a/admin/src/views/device/edit.vue b/admin/src/views/device/edit.vue
index 06cdfc1..ee9205d 100644
--- a/admin/src/views/device/edit.vue
+++ b/admin/src/views/device/edit.vue
@@ -10,96 +10,96 @@
>
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
diff --git a/admin/src/views/device/index.vue b/admin/src/views/device/index.vue
index 368c73b..e71e71c 100644
--- a/admin/src/views/device/index.vue
+++ b/admin/src/views/device/index.vue
@@ -2,38 +2,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
查询
重置
@@ -130,18 +51,14 @@
prop="name"
show-overflow-tooltip
/>
-
+
+
-
-
-
-
-
- ID: {{ row.land_id }}ID: {{ row.farm_id }}
- 名称: {{ row.land_title }}名称: {{ row.farm_name }}
@@ -266,7 +183,7 @@ if (typeof product_id == 'undefined') {
// 查询条件
const queryParams = reactive({
user_id: '',
- land_id: '',
+ farm_id: '',
product_id: product_id,
code: '',
name: '',
diff --git a/admin/src/views/product/edit.vue b/admin/src/views/product/edit.vue
index da8fa7e..7012860 100644
--- a/admin/src/views/product/edit.vue
+++ b/admin/src/views/product/edit.vue
@@ -62,12 +62,12 @@
-
+
@@ -131,7 +131,7 @@ const formData = reactive({
id: '',
user_id: '',
root: 0,
- land_id: '',
+ farm_id: '',
code: '',
name: '',
desc: '',
diff --git a/admin/src/views/product/index.vue b/admin/src/views/product/index.vue
index 8583f46..fbf75d2 100644
--- a/admin/src/views/product/index.vue
+++ b/admin/src/views/product/index.vue
@@ -6,35 +6,9 @@
:model="queryParams"
inline
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
查询