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 @@ + + + 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 @@