From 6404e15051c35af4a6a5d54a9e9cc8e6580b268d Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期三, 26 二月 2025 13:52:07 +0800 Subject: [PATCH] 设施和环境条件代码迁移 --- src/api/cnas/resourceDemand/facilitiesEnvironment/facilitiesAndEnvironment.js | 121 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 121 insertions(+), 0 deletions(-) diff --git a/src/api/cnas/resourceDemand/facilitiesEnvironment/facilitiesAndEnvironment.js b/src/api/cnas/resourceDemand/facilitiesEnvironment/facilitiesAndEnvironment.js index 2d0d1ee..3e48735 100644 --- a/src/api/cnas/resourceDemand/facilitiesEnvironment/facilitiesAndEnvironment.js +++ b/src/api/cnas/resourceDemand/facilitiesEnvironment/facilitiesAndEnvironment.js @@ -54,4 +54,125 @@ }) } +// 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐢垫簮绋冲畾鎬у垹闄� +export function deleteLaboratoryFacilityPowerStable(query) { + return request({ + url: '/fePowerStable/deleteLaboratoryFacilityPowerStable', + method: 'delete', + params: query + }) +} +// 鐢垫簮绋冲畾鎬�-娴嬪畾閲� 鏍规嵁鐢垫簮绋冲畾鎬ф煡璇� +export function getFeMeasuredQuantityService(query) { + return request({ + url: "/fePowerStable/getFeMeasuredQuantityService", + method: "get", + params: query, + }); +} + +// 鐢垫簮绋冲畾鎬�-娴嬪畾閲� 瀵煎嚭 +export function exportFePowerStable(query) { + return request({ + url: "/fePowerStable/exportFePowerStable", + method: "get", + responseType: "blob", + params: query, + }); +} + +// 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬫煡璇� +export function getLightningProtectionDetection(query) { + return request({ + url: '/feLightningProtection/getLightningProtectionDetection', + method: 'get', + params: query + }) +} + +// 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬫柊澧�/淇敼 +export function addLightningProtectionDetection(query) { + return request({ + url: '/feLightningProtection/addLightningProtectionDetection', + method: 'post', + data: query, + headers: { + 'Content-Type': 'multipart/form-data' // 蹇呴』璁剧疆涓� multipart + } + }) +} + +// 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬪垹闄� +export function deleteLightningProtectionDetection(query) { + return request({ + url: '/feLightningProtection/deleteLightningProtectionDetection', + method: 'delete', + params: query + }) +} + +// 璁炬柦鍜岀幆澧冩潯浠惰姹�-闃查浄妫�娴嬪鍑� +export function exportOfLightningProtectionDetection(query) { + return request({ + url: "/feLightningProtection/exportOfLightningProtectionDetection", + method: "get", + responseType: "blob", + params: query, + }); +} + +// 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鏌ヨ +export function getFeLightningProtection(query) { + return request({ + url: '/feIllumination/getFeLightningProtection', + method: 'get', + params: query + }) +} + +// 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鏂板/淇敼 +export function addFeLightningProtection(query) { + return request({ + url: '/feIllumination/addFeLightningProtection', + method: 'post', + data: query, + }) +} + +// 璁炬柦鍜岀幆澧冩潯浠惰姹�-鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鍒犻櫎 +export function deleteFeLightningProtection(query) { + return request({ + url: '/feIllumination/deleteFeLightningProtection', + method: 'delete', + params: query + }) +} + +// 鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鏍规嵁鐓у害璁板綍鏌ヨ +export function getFeIlluminationDetectionArea(query) { + return request({ + url: '/feIllumination/getFeIlluminationDetectionArea', + method: 'get', + params: query + }) +} + +// 鐓у害璁板綍琛�-妫�娴嬪尯鍩� 鍒犻櫎 +export function deleteFeIlluminationDetectionArea(query) { + return request({ + url: '/feIllumination/deleteFeIlluminationDetectionArea', + method: 'delete', + params: query + }) +} + +// 鐓у害璁板綍琛�-妫�娴嬪尯鍩� 瀵煎嚭 +export function exportFeIllumination(query) { + return request({ + url: "/feIllumination/exportFeIllumination", + method: "get", + responseType: "blob", + params: query, + }); +} -- Gitblit v1.9.3