From de019eee974f69a54b360297fd5d5b93f27497f9 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期五, 08 十一月 2024 09:43:22 +0800
Subject: [PATCH] 模型运行

---
 src/api/data/channel/opcua/tag.ts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/api/data/channel/opcua/tag.ts b/src/api/data/channel/opcua/tag.ts
index e1373fb..6f21a1d 100644
--- a/src/api/data/channel/opcua/tag.ts
+++ b/src/api/data/channel/opcua/tag.ts
@@ -39,3 +39,13 @@
 export const deleteOpcuaTag = (id: number) => {
   return request.delete({ url: '/data/channel/opcua/tag/delete?id=' + id })
 }
+
+//导出OpcdaTag
+export const exportOpcUaTag = (params) => {
+  return request.download({ url: '/data/channel/opcua/tag/export', params })
+}
+
+// 下载用户导入模板
+export const importOpcUaTagTemplate = () => {
+  return request.download({ url: '/data/channel/opcua/tag/get-import-template' })
+}

--
Gitblit v1.9.3