From db3b55969627d8d933675d911ada68eb9b872061 Mon Sep 17 00:00:00 2001 From: eric777 Date: Tue, 23 Jan 2024 17:19:57 +0800 Subject: [PATCH] =?UTF-8?q?jiahan.wu=20[cr]=20=E8=AE=BE=E5=A4=87=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BF=A1=E6=81=AF=E5=AF=BC=E5=85=A5=E6=A8=A1=E5=9D=97?= =?UTF-8?q?(=E5=88=97=E8=A1=A8=E3=80=81=E5=88=A0=E9=99=A4=E3=80=81?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E3=80=81=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/deviceImportInfo.js | 37 ++ src/views/model/deviceImportInfo/index.vue | 419 +++++++++++++++++++++ 2 files changed, 456 insertions(+) create mode 100644 src/api/model/deviceImportInfo.js create mode 100644 src/views/model/deviceImportInfo/index.vue diff --git a/src/api/model/deviceImportInfo.js b/src/api/model/deviceImportInfo.js new file mode 100644 index 0000000..a393cad --- /dev/null +++ b/src/api/model/deviceImportInfo.js @@ -0,0 +1,37 @@ +import request from '@/utils/request' + +// 查询设备导入信息列表 +export function listInfo(query) { + return request({ + url: '/model/deviceImportInfo/list', + method: 'get', + params: query + }) +} + +// 删除设备导入信息 +export function delInfo(id) { + return request({ + url: '/model/deviceImportInfo/' + id, + method: 'delete' + }) +} + +// 导出设备导入信息 +export function exportInfo(id) { + return request({ + responseType: 'blob', + url: '/model/deviceImportInfo/export?id=' + id, + method: 'post' + }) +} + +// 上传设备参数信息 +export function uploadInfo(param, formData) { + return request({ + url: '/model/deviceImportInfo/upload', + method: 'post', + data: formData, + params: param + }) +} \ No newline at end of file diff --git a/src/views/model/deviceImportInfo/index.vue b/src/views/model/deviceImportInfo/index.vue new file mode 100644 index 0000000..bcb2151 --- /dev/null +++ b/src/views/model/deviceImportInfo/index.vue @@ -0,0 +1,419 @@ + + +