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 @@