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