From 181ad3cc0abc4c3f377797a7f53f00ebc72c8902 Mon Sep 17 00:00:00 2001
From: wangyx <2838268875@qq.com>
Date: Thu, 14 Aug 2025 18:01:24 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6=E7=9C=8B=E6=88=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/api.js | 30 ++++++
pages/tabBar/work/index.vue | 44 ++++++---
pagesA/kfPage/list.vue | 182 +++++++++++++++++++++++++++++++-----
3 files changed, 223 insertions(+), 33 deletions(-)
diff --git a/pages/api.js b/pages/api.js
index 36c56f8..303890d 100644
--- a/pages/api.js
+++ b/pages/api.js
@@ -231,4 +231,34 @@ export function updateForceEvictionRecord(data) {
method: "put",
params: data,
});
+}
+// 看房列表
+export function listViewing(data) {
+ return request({
+ url: "/mz/showings/list",
+ method: "get",
+ params: data,
+ });
+}
+// 看房详情
+export function viewingDetail(data) {
+ return request({
+ url: `/mz/showings/${data.id}`,
+ method: "get",
+ });
+}
+// 看房登记
+export function viewingRegister(data) {
+ return request({
+ url: "/mz/showings/registration",
+ method: "post",
+ data: data,
+ });
+}
+// 预约看房提醒数量
+export function getViewingCount() {
+ return request({
+ url: "/mz/showings/getReminderQuantity",
+ method: "get",
+ });
}
\ No newline at end of file
diff --git a/pages/tabBar/work/index.vue b/pages/tabBar/work/index.vue
index e8d12a7..bce40a0 100644
--- a/pages/tabBar/work/index.vue
+++ b/pages/tabBar/work/index.vue
@@ -14,6 +14,14 @@
>
{{ item.text }}
+
@@ -86,7 +94,7 @@