From 7eec3bb82988d4b5e30f444b5e83d4c388eefc80 Mon Sep 17 00:00:00 2001
From: yaooo <272523191@qq.com>
Date: Tue, 28 Nov 2023 11:18:56 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=9B=BE=E7=89=87=E5=B1=95?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
admin/src/views/land/edit.vue | 9 +++-
admin/src/views/land/index.vue | 48 +++++++++++++++++--
admin/src/views/land_plant/edit.vue | 7 ++-
admin/src/views/land_plant/index.vue | 8 ++--
admin/src/views/land_plant_action/index.vue | 8 ++--
.../views/organization/department/index.vue | 2 +-
admin/src/views/organization/post/index.vue | 2 +-
admin/src/views/product/index.vue | 8 ++--
app/adminapi/lists/land/LandLists.php | 2 +-
app/adminapi/logic/land/LandLogic.php | 2 +
app/adminapi/validate/land/LandValidate.php | 1 +
11 files changed, 74 insertions(+), 23 deletions(-)
diff --git a/admin/src/views/land/edit.vue b/admin/src/views/land/edit.vue
index 58c5d59e..5246023c 100644
--- a/admin/src/views/land/edit.vue
+++ b/admin/src/views/land/edit.vue
@@ -83,6 +83,9 @@
+
+
+
@@ -134,6 +137,7 @@ const formData = reactive({
latitude: '',
master_name: '',
master_phone: '',
+ pic: ''
})
// 表单验证
@@ -167,10 +171,11 @@ const setFormData = async (data: Record) => {
if (data[key] != null && data[key] != undefined) {
//@ts-ignore
formData[key] = data[key]
+ if (key == 'pic') {
+ formData[key] = ''
+ }
}
}
-
-
}
const getDetail = async (row: Record) => {
diff --git a/admin/src/views/land/index.vue b/admin/src/views/land/index.vue
index b1743d98..06b0cfca 100644
--- a/admin/src/views/land/index.vue
+++ b/admin/src/views/land/index.vue
@@ -45,16 +45,20 @@
- ID: {{ row.user_id }}
- 账户: {{ row.user.account }}
+ ID: {{ row.user_id }}
+ 账户: {{ row.user.account }}
-
+
+
+ {{ row.title }}
+
+
-
+
编辑
+
+ 土地图片
+
+
+
+
+
+
+