From e2333edf17ba1e4aae341ea5192663f3785185ba Mon Sep 17 00:00:00 2001 From: wangqiujuan0808 <578331299@qq.com> Date: Sat, 11 May 2024 23:02:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/infoApi.js | 8 ++++-- src/components/ExportPoint.vue | 45 +++++++++++++++++++--------------- src/components/ViewPoint.vue | 30 ++++++++++++++++++++--- src/components/ViewSet.vue | 4 +-- 4 files changed, 60 insertions(+), 27 deletions(-) diff --git a/src/api/infoApi.js b/src/api/infoApi.js index bf16e23..d468f7a 100644 --- a/src/api/infoApi.js +++ b/src/api/infoApi.js @@ -85,9 +85,13 @@ const infoApi = { return postPBRequest('/template', params, 53310, params.template_name) }, // 点位导入 + importP(params,template_name) { + return postPBRequest('/template', params, 53212,template_name) + }, - importP(params) { - return postPBRequest('/template', params, 53310, params.template_name) + // 点位导出 + exportP(params) { + return postPBRequest('/template', params, 53211, params.template_name) }, // 驱动列表查询 getTx(params) { diff --git a/src/components/ExportPoint.vue b/src/components/ExportPoint.vue index cd7bcf0..2b8680f 100644 --- a/src/components/ExportPoint.vue +++ b/src/components/ExportPoint.vue @@ -4,7 +4,7 @@
{{ fileName }} - +