From 0a5b1aaed616a4bf54544223e4802175b6cafead Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 16 四月 2025 15:22:31 +0800
Subject: [PATCH] 检验想偏差预警-修改
---
src/api/cnas/resourceDemand/device.js | 36 ++++++++++++++++++++++++++++++++++--
1 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/src/api/cnas/resourceDemand/device.js b/src/api/cnas/resourceDemand/device.js
index 137a598..0f15e18 100644
--- a/src/api/cnas/resourceDemand/device.js
+++ b/src/api/cnas/resourceDemand/device.js
@@ -92,10 +92,26 @@
});
}
-//鏌ヨ鏁伴噰閰嶇疆
+// 鏌ヨ鏁伴噰閰嶇疆
export function queryDataAcquisitionConfiguration(query) {
return request({
url: "/deviceScope/queryDataAcquisitionConfiguration",
+ method: "get",
+ params: query,
+ });
+}
+// 鏌ヨ鏁伴噰閰嶇疆
+export function queryProductConfiguration(query) {
+ return request({
+ url: "/deviceScope/queryProductConfiguration",
+ method: "get",
+ params: query,
+ });
+}
+// 鏁伴噰閰嶇疆--鏌ヨ妫�楠岄」
+export function getNoConfigProduct(query) {
+ return request({
+ url: "/deviceScope/getNoConfigProduct",
method: "get",
params: query,
});
@@ -105,6 +121,14 @@
export function saveDataAcquisitionConfiguration(data) {
return request({
url: "/deviceScope/saveDataAcquisitionConfiguration",
+ method: "post",
+ data: data,
+ });
+}
+// 缁存姢鏂囦欢閰嶇疆
+export function saveDeviceFileConfiguration(data) {
+ return request({
+ url: "/deviceScope/saveDeviceFileConfiguration",
method: "post",
data: data,
});
@@ -669,7 +693,7 @@
// 鑾峰彇鐩稿叧鏂囨。鏁版嵁鐨刟pi-鏇存柊
export function updateDocument(data) {
return request({
- url: "/documents/updateDocument",
+ url: "/deviceDocuments/updateDocument",
method: "post",
data: data,
});
@@ -1243,3 +1267,11 @@
params: query,
});
}
+//浣滀笟鎸囧涔� 鏌ヨ
+export function getDeviceById(query) {
+ return request({
+ url: "/deviceScope/getDeviceById",
+ method: "get",
+ params: query,
+ });
+}
--
Gitblit v1.9.3