From 4e955953e9f2577852447b021d88ca9cd346633d Mon Sep 17 00:00:00 2001 From: QuAoLi Date: Tue, 24 Aug 2021 16:07:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=AD=E5=BF=83=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sys/oss.js | 13 ++++ src/config/router.config.js | 6 ++ src/views/sys/oss/OssDetail.vue | 42 +++++++++++ src/views/sys/oss/OssList.vue | 122 ++++++++++++++++++++++++++++++++ 4 files changed, 183 insertions(+) create mode 100644 src/api/sys/oss.js create mode 100644 src/views/sys/oss/OssDetail.vue create mode 100644 src/views/sys/oss/OssList.vue diff --git a/src/api/sys/oss.js b/src/api/sys/oss.js new file mode 100644 index 0000000..76f55d0 --- /dev/null +++ b/src/api/sys/oss.js @@ -0,0 +1,13 @@ +import request from '@/utils/request' + +const ossApi = { + list: '/sys/oss/list' +} + +export function ossList (params) { + return request({ + url: ossApi.list, + method: 'get', + params: params + }) +} diff --git a/src/config/router.config.js b/src/config/router.config.js index d513eb9..056420c 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -62,6 +62,12 @@ export const asyncRouterMap = [ name: 'DictionaryList', component: () => import('@/views/sys/dictionary/DictionaryList'), meta: { title: '数据词典', keepAlive: true } + }, + { + path: '/sys/oss', + name: 'OssList', + component: () => import('@/views/sys/oss/OssList'), + meta: { title: '文件中心', keepAlive: true } } ] }, diff --git a/src/views/sys/oss/OssDetail.vue b/src/views/sys/oss/OssDetail.vue new file mode 100644 index 0000000..dbccf13 --- /dev/null +++ b/src/views/sys/oss/OssDetail.vue @@ -0,0 +1,42 @@ + + + diff --git a/src/views/sys/oss/OssList.vue b/src/views/sys/oss/OssList.vue new file mode 100644 index 0000000..7d5f9a1 --- /dev/null +++ b/src/views/sys/oss/OssList.vue @@ -0,0 +1,122 @@ + + +