From e9748ebb3b42cc09c28ce8d78d472f83f0878f17 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 05 Jan 2026 22:53:33 +0800
Subject: [PATCH] 用水数据、维修基金展示处理

---
 src/api/dept/newIndex.js |  428 +++++++++++++++++++++++++++++-----------------------
 1 files changed, 238 insertions(+), 190 deletions(-)

diff --git a/src/api/dept/newIndex.js b/src/api/dept/newIndex.js
index 96eaab8..4678ae3 100644
--- a/src/api/dept/newIndex.js
+++ b/src/api/dept/newIndex.js
@@ -7,21 +7,21 @@
  */
 
 export const getPlacePractitionerPage = (type = 1, resBusId) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-placePractitioner/placePractitioner/page',
-    method: 'get',
-    params
-  })
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
+    }
+
+    return request({
+        url: '/api/blade-placePractitioner/placePractitioner/page',
+        method: 'get',
+        params
+    })
 }
 
 /**
@@ -31,21 +31,21 @@
  */
 
 export const getTaskLabelReportingEventPage = (type = 1, resBusId) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-taskLabelReportingEvent/taskLabelReportingEvent/page',
-    method: 'get',
-    params
-  })
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
+    }
+
+    return request({
+        url: '/api/blade-taskLabelReportingEvent/taskLabelReportingEvent/page',
+        method: 'get',
+        params
+    })
 }
 
 /**
@@ -54,21 +54,21 @@
  * @returns 
  */
 export const getTaskLabelAntiFraudPage = (type = 1, resBusId) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-backblastPubRecord/backblastPubRecord/page',
-    method: 'get',
-    params
-  })
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
+    }
+
+    return request({
+        url: '/api/blade-backblastPubRecord/backblastPubRecord/page',
+        method: 'get',
+        params
+    })
 }
 /**
  * 反诈预警列表
@@ -76,21 +76,21 @@
  * @returns 
  */
 export const getBackblastWarnHanRec = (type = 1, resBusId) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-backblastWarnHanRec/backblastWarnHanRec/page',
-    method: 'get',
-    params
-  })
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
+    }
+
+    return request({
+        url: '/api/blade-backblastWarnHanRec/backblastWarnHanRec/page',
+        method: 'get',
+        params
+    })
 }
 
 /**
@@ -101,26 +101,26 @@
  * @returns 
  */
 export const getPoliceAlarmRecordsPage = (type = 1, resBusId, size, current) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-
-  return request({
-    url: '/api/blade-policeAlarmRecords/policeAlarmRecords/page',
-    method: 'get',
-    params: {
-      ...params,
-      current,
-      size
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
     }
-  })
+
+
+    return request({
+        url: '/api/blade-policeAlarmRecords/policeAlarmRecords/page',
+        method: 'get',
+        params: {
+            ...params,
+            current,
+            size
+        }
+    })
 }
 /**
  * 消防检查
@@ -131,25 +131,25 @@
  */
 
 export const getPlaceCheckPage = (type = 1, resBusId, size, current) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-placeCheck/placeCheck/page',
-    method: 'get',
-    params: {
-      ...params,
-      current,
-      size
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
     }
-  })
+
+    return request({
+        url: '/api/blade-placeCheck/placeCheck/page',
+        method: 'get',
+        params: {
+            ...params,
+            current,
+            size
+        }
+    })
 }
 
 
@@ -162,26 +162,26 @@
  */
 
 export const getTaskPlaceSelfCheckPage = (houseType = 1, type, resBusId, size, current) => {
-  let params = {
-    resBusId
-  }
-
-  if (houseType != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/page',
-    method: 'get',
-    params: {
-      type,
-      ...params,
-      current,
-      size
+    if (houseType != 1) {
+        params = {
+            buildId: resBusId
+        }
     }
-  })
+
+    return request({
+        url: '/api/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/page',
+        method: 'get',
+        params: {
+            type,
+            ...params,
+            current,
+            size
+        }
+    })
 }
 
 
@@ -193,26 +193,26 @@
  * @returns 
  */
 export const getHouseRentalPage = (type = 1, resBusId, size, current) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-
-  return request({
-    url: '/api/blade-houseRental/houseRental/page',
-    method: 'get',
-    params: {
-      ...params,
-      current,
-      size
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
     }
-  })
+
+
+    return request({
+        url: '/api/blade-houseRental/houseRental/page',
+        method: 'get',
+        params: {
+            ...params,
+            current,
+            size
+        }
+    })
 }
 /**
  *  居住证申请列表
@@ -222,26 +222,26 @@
  * @returns 
  */
 export const geTaskResidencePermitApplyPage = (type = 1, reportType, resBusId, size, current) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-taskResidencePermitApply/taskResidencePermitApply/page',
-    method: 'get',
-    params: {
-      reportType,
-      ...params,
-      current,
-      size
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
     }
-  })
+
+    return request({
+        url: '/api/blade-taskResidencePermitApply/taskResidencePermitApply/page',
+        method: 'get',
+        params: {
+            reportType,
+            ...params,
+            current,
+            size
+        }
+    })
 }
 /**
  * 租客列表
@@ -252,47 +252,47 @@
  * @returns 
  */
 export const getTenantPage = (type = 1, relationship, resBusId, size, current) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-household/household/selectTenantPage',
-    method: 'get',
-    params: {
-      relationship,
-      ...params,
-      current,
-      size
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
     }
-  })
+
+    return request({
+        url: '/api/blade-household/household/selectTenantPage',
+        method: 'get',
+        params: {
+            relationship,
+            ...params,
+            current,
+            size
+        }
+    })
 }
 export const getTaskNoFraudReporting = (type = 1, resBusId, size, current) => {
-  let params = {
-    resBusId
-  }
-
-  if (type != 1) {
-    params = {
-      buildId: resBusId
+    let params = {
+        resBusId
     }
-  }
 
-  return request({
-    url: '/api/blade-taskNoFraudReporting/taskNoFraudReporting/page',
-    method: 'get',
-    params: {
-      ...params,
-      current,
-      size
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
     }
-  })
+
+    return request({
+        url: '/api/blade-taskNoFraudReporting/taskNoFraudReporting/page',
+        method: 'get',
+        params: {
+            ...params,
+            current,
+            size
+        }
+    })
 }
 /**
  * 
@@ -300,13 +300,13 @@
  * @returns 
  */
 export const getTaskNoFraudReportingInfo = (id) => {
-  return request({
-    url: '/api/blade-taskNoFraudReporting/taskNoFraudReporting/getInfo',
-    method: 'get',
-    params: {
-      id
-    }
-  })
+    return request({
+        url: '/api/blade-taskNoFraudReporting/taskNoFraudReporting/getInfo',
+        method: 'get',
+        params: {
+            id
+        }
+    })
 }
 /**
  * 
@@ -314,13 +314,13 @@
  * @returns 
  */
 export const getHouseRentalDetail = (id) => {
-  return request({
-    url: '/api/blade-houseRental/houseRental/getDetail',
-    method: 'get',
-    params: {
-      id
-    }
-  })
+    return request({
+        url: '/api/blade-houseRental/houseRental/getDetail',
+        method: 'get',
+        params: {
+            id
+        }
+    })
 }
 
 /**
@@ -331,12 +331,60 @@
  */
 
 export const getPatrolGroupTree = (type, childType) => {
-  return request({
-    url: '/api/patrol/patrolGroup/getPatrolGroupTree',
-    method: 'get',
-    params: {
-      type,
-      childType
+    return request({
+        url: '/api/patrol/patrolGroup/getPatrolGroupTree',
+        method: 'get',
+        params: {
+            type,
+            childType
+        }
+    })
+}
+
+/**
+ * 自来水用户信息
+ * @param {*} params
+ * @returns
+ */
+
+export const getZlsYhxx = (type = 1, resBusId) => {
+    let params = {
+        resBusId
     }
-  })
+
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
+    }
+
+    return request({
+        url: '/api/zlsYhxx/zlsYhxx/page',
+        method: 'get',
+        // params
+    })
+}
+
+/**
+ * 维修基金信息
+ * @param {*} params
+ * @returns
+ */
+
+export const getWxjj = (type = 1, resBusId) => {
+    let params = {
+        resBusId
+    }
+
+    if (type != 1) {
+        params = {
+            buildId: resBusId
+        }
+    }
+
+    return request({
+        url: '/api/wxjj/wxjj/page',
+        method: 'get',
+        // params
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3