From 291bf570b2106cb99b0e689af7d6ccaacc9e5c1c Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期三, 25 十二月 2024 18:10:42 +0800
Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3

---
 src/api/data/da/point/index.ts |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/src/api/data/da/point/index.ts b/src/api/data/da/point/index.ts
index bb0a516..b64a001 100644
--- a/src/api/data/da/point/index.ts
+++ b/src/api/data/da/point/index.ts
@@ -20,8 +20,11 @@
 
 export interface DaPointPageReqVO extends PageParam {
   pointNo?: string,
-  pointName?: string
+  pointName?: string,
+  tagNo?: string,
+  collectQuality?: string,
 }
+
 
 // 查询DaPoint列表
 export const getDaPointPage = (params: DaPointPageReqVO) => {
@@ -31,6 +34,11 @@
 // 查询DaPoint列表
 export const getPointList = (params: DaPointPageReqVO) => {
   return request.get({ url: '/data/da/point/list', params })
+}
+
+// 查询DaPoint simpleList
+export const getPointSimpleList = (params: DaPointPageReqVO) => {
+  return request.get({ url: '/data/da/point/simple-list', params })
 }
 
 // 查询DaPoint详情
@@ -62,3 +70,15 @@
 export const importPointTemplate = () => {
   return request.download({ url: '/data/da/point/get-import-template' })
 }
+
+// 启用
+export const enable = (ids) => {
+  const data = ids
+  return request.put({ url: '/data/da/point/enable', data })
+}
+
+// 禁用
+export const disable = (ids) => {
+  const data = ids
+  return request.put({ url: '/data/da/point/disable', data })
+}

--
Gitblit v1.9.3