From 45bd035a0d5bf90e92f382baf6b1caa43b2ee5db Mon Sep 17 00:00:00 2001
From: aaron <>
Date: Wed, 19 Feb 2025 23:14:59 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BE=A4=E4=BA=8C=E7=BB=B4?=
=?UTF-8?q?=E7=A0=81=E4=B8=8A=E4=BC=A0=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/community.js | 2 +-
src/views/community/CommunityList.vue | 82 ++++++++++++++++++++++++---
2 files changed, 76 insertions(+), 8 deletions(-)
diff --git a/src/api/community.js b/src/api/community.js
index 7c3899b..96a801b 100644
--- a/src/api/community.js
+++ b/src/api/community.js
@@ -21,7 +21,7 @@ export function getBuildingList(params) {
// 添加新小区
export function createCommunity(data) {
return request({
- url: '/api/community/',
+ url: '/api/community',
method: 'post',
data
})
diff --git a/src/views/community/CommunityList.vue b/src/views/community/CommunityList.vue
index 6f24fc3..6778c5f 100644
--- a/src/views/community/CommunityList.vue
+++ b/src/views/community/CommunityList.vue
@@ -35,6 +35,15 @@
{{ formatDateTime(record.create_time) }}
+
+
+ -
+
@@ -81,6 +90,22 @@
v-model="formState.location"
label="地址搜索"
/>
+
+
+
+
+
+
@@ -89,12 +114,12 @@