From 5e2aafeede13d337380f736567caf74f49713be7 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:38:32 +0800
Subject: [PATCH] 代码优化

---
 src/api/userHouse/list/userHouseList.js |   59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 58 insertions(+), 1 deletions(-)

diff --git a/src/api/userHouse/list/userHouseList.js b/src/api/userHouse/list/userHouseList.js
index 17d396c..2b8649a 100644
--- a/src/api/userHouse/list/userHouseList.js
+++ b/src/api/userHouse/list/userHouseList.js
@@ -70,6 +70,13 @@
     }
   })
 }
+export const saveOrUpdateHouseLabelInfo = (row) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/saveOrUpdateHouseLabel',
+    method: 'post',
+    data: row
+  })
+}
 export const saveOrUpdateHouseholdLabel = (row) => {
   return request({
     url: '/api/blade-householdLabel/householdLabel/saveOrUpdateHouseholdLabel',
@@ -88,7 +95,57 @@
 
 export const statisticalLabels = (current, size, params) => {
   return request({
-    url: '/api/blade-householdLabel/householdLabel/statisticalLabels',
+    url: '/api/blade-householdLabel/householdLabel/getRegionStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+export const getOrgStatisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getOrgStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+
+export const getUnitedFrontStatisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getUnitedFrontStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+
+export const getFollowStatisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getFollowStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+export const getCommunityStatisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getCommunityStatisticalLabels',
     method: 'get',
     params: {
       ...params,

--
Gitblit v1.9.3