From 5fd7f8f7ba92780def48db638f7eaed684403b6a Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期五, 20 六月 2025 17:12:44 +0800 Subject: [PATCH] Merge branch 'master' of http://103.135.160.14:9034/r/NslWeb --- src/api/hpApi.js | 28 +++++++++++++++++++++------- 1 files changed, 21 insertions(+), 7 deletions(-) diff --git a/src/api/hpApi.js b/src/api/hpApi.js index f5715b7..a525bda 100644 --- a/src/api/hpApi.js +++ b/src/api/hpApi.js @@ -133,20 +133,34 @@ export async function getDeviceInfo(data, townCode) { const response = await axios.post("/hp/deviceInfo/getData", { filterObject: { - "dictDeviceType": data, - "townCode": townCode, - "year": 2025 - + "dictCommunicationType": data, + "townCodeList": [townCode], + "year": 2025, // 鎵�灞為」鐩� - // "belongObjList": [ - // "1797461961110261762" - // ], + "belongObjList": [ + "1797461961110261762" + ], }, "pageSize": 10000 }); return response.data; } +// 鏌ヨ瀛欒儭娌熺洃娴嬭澶� +export async function getDeviceInfoSHG(data) { + const response = await axios.post("/hp/deviceInfo/getData", { + filterObject: { + "dictCommunicationType": data, + "townCodeList": ["110116110000"], + "year": 2025, + }, + "pageSize": 10000 + + }); + return response.data; +} + + // 鍒嗛〉鏌ヨ琛屾斂鍖哄垝鐩戞祴璁惧淇℃伅 export async function getDeviceInfoByPage(data, pageNum) { const response = await axios.post("/hp/deviceInfo/getData", { -- Gitblit v1.9.3