From 7b67cd7221feb210dd051633a3d8ad37b26ce17f Mon Sep 17 00:00:00 2001
From: wangqiujuan0808 <578331299@qq.com>
Date: Tue, 13 Aug 2024 17:43:16 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E9=A9=B1=E5=8A=A8=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/infoApi.js | 4 ++
src/components/ExportDevice.vue | 90 +++++++++++++++++++++++++++++++++
src/components/ExportPoint.vue | 3 --
src/components/PzSet.vue | 2 +-
src/components/ViewSet.vue | 39 ++++++++++++--
5 files changed, 129 insertions(+), 9 deletions(-)
create mode 100644 src/components/ExportDevice.vue
diff --git a/src/api/infoApi.js b/src/api/infoApi.js
index c29488f..8d58711 100644
--- a/src/api/infoApi.js
+++ b/src/api/infoApi.js
@@ -130,6 +130,10 @@ const infoApi = {
editSet(params) {
return postPBRequest('/driver', params, 54210, params.driver_name)
},
+ // 设备导入
+ importDevice(params,driver_name) {
+ return postPBRequest('/driver', params, 54212,driver_name)
+ },
// 获取设备列表
getSet(params) {
diff --git a/src/components/ExportDevice.vue b/src/components/ExportDevice.vue
new file mode 100644
index 0000000..0d09ff6
--- /dev/null
+++ b/src/components/ExportDevice.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
+ {{ fileName }}
+
+
+
+
+
+
+
+
+
diff --git a/src/components/ExportPoint.vue b/src/components/ExportPoint.vue
index c872254..5ea0138 100644
--- a/src/components/ExportPoint.vue
+++ b/src/components/ExportPoint.vue
@@ -31,9 +31,6 @@ export default {
return props.dialogVisible;
});
- onMounted(() => {
- state.addForm = props.pointData
- });
const closeDialog = () => {
ctx.emit("dialogClose");
};
diff --git a/src/components/PzSet.vue b/src/components/PzSet.vue
index 64dac2b..90330a0 100644
--- a/src/components/PzSet.vue
+++ b/src/components/PzSet.vue
@@ -1,5 +1,5 @@
-
+