From 116f7bdb280d418c89c24be6566d81dc755ba9d9 Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期五, 20 六月 2025 11:36:16 +0800 Subject: [PATCH] 修改这该si的中科软后端接口的参数 --- 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