From ce87554ea83c8094418636ada270283c97ce199b Mon Sep 17 00:00:00 2001 From: sakuya <81883387@qq.com> Date: Fri, 27 May 2022 13:34:05 +0800 Subject: [PATCH] =?UTF-8?q?UP=20=E5=AF=BC=E5=85=A5=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E6=BC=94=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/common.js | 7 +++++++ src/views/vab/importexport.vue | 35 +++++++++++++++++++++++++--------- 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/src/api/model/common.js b/src/api/model/common.js index 0cd0eedd..47c5b0f5 100644 --- a/src/api/model/common.js +++ b/src/api/model/common.js @@ -23,6 +23,13 @@ export default { return await http.get(this.url, data, config); } }, + importFile: { + url: `${config.API_URL}/fileImport`, + name: "导入附件", + post: async function(data, config={}){ + return await http.post(this.url, data, config); + } + }, file: { menu: { url: `${config.API_URL}/file/menu`, diff --git a/src/views/vab/importexport.vue b/src/views/vab/importexport.vue index 8820b244..a0b01841 100644 --- a/src/views/vab/importexport.vue +++ b/src/views/vab/importexport.vue @@ -2,9 +2,9 @@ - - - + + + @@ -72,6 +72,23 @@ + + + +
+ + + + 失败 + + + +
+ +
+