From 53ce25b4d6f129422dc802825b85dd8199b0ea5a Mon Sep 17 00:00:00 2001 From: glj Date: Sat, 13 May 2023 18:04:42 +0800 Subject: [PATCH] =?UTF-8?q?glj-=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/news/index.js | 8 + .../multimediaData/component/uploadData.vue | 104 +++++++++++++ .../dataService/multimediaData/index.vue | 144 +++++------------- .../pictureInfo/component/editPicture.vue | 5 +- .../userResponse/component/selectUser.vue | 4 +- 5 files changed, 152 insertions(+), 113 deletions(-) create mode 100644 src/views/dataService/multimediaData/component/uploadData.vue diff --git a/src/api/news/index.js b/src/api/news/index.js index aeaf52d..ee02d89 100644 --- a/src/api/news/index.js +++ b/src/api/news/index.js @@ -24,3 +24,11 @@ export const review = (ids,status,type) => { } }) } +export const importTemplate = (data) => { + return request({ + url: '/api/'+moduleName+'/ui/news/importTemplate', + headers:{'Content-Type': 'multipart/form-data'}, + method: 'post', + data: data + }) +} diff --git a/src/views/dataService/multimediaData/component/uploadData.vue b/src/views/dataService/multimediaData/component/uploadData.vue new file mode 100644 index 0000000..925145d --- /dev/null +++ b/src/views/dataService/multimediaData/component/uploadData.vue @@ -0,0 +1,104 @@ + + + + + \ No newline at end of file diff --git a/src/views/dataService/multimediaData/index.vue b/src/views/dataService/multimediaData/index.vue index 7ec47ca..bbc16eb 100644 --- a/src/views/dataService/multimediaData/index.vue +++ b/src/views/dataService/multimediaData/index.vue @@ -44,12 +44,21 @@ Search - - - - - Batch operation - +
+ + + + + Batch operation + + + + + + Upload + +
+ @@ -107,33 +116,28 @@ +