From b6665b9f4913f5b31bd3379dd3e1032f8769f9a1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 01 四月 2025 17:28:32 +0800
Subject: [PATCH] 原材料下单-添加权限

---
 src/api/cnas/resourceDemand/device.js |   34 +++++++++++++++++++++++++++++++++-
 1 files changed, 33 insertions(+), 1 deletions(-)

diff --git a/src/api/cnas/resourceDemand/device.js b/src/api/cnas/resourceDemand/device.js
index 400a1ec..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,
   });
@@ -1243,3 +1267,11 @@
     params: query,
   });
 }
+//浣滀笟鎸囧涔� 鏌ヨ
+export function getDeviceById(query) {
+  return request({
+    url: "/deviceScope/getDeviceById",
+    method: "get",
+    params: query,
+  });
+}

--
Gitblit v1.9.3