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