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 @@
+
+
+
+ {{ model.id }}
+ {{ model.sourceId }}
+ {{ model.fileName }}
+ {{ model.newName }}
+ {{ model.fileType }}
+ {{ model.realPath }}
+ {{ model.url }}
+ {{ model.createTime | moment('YYYY-MM-DD HH:mm:ss') }}
+ {{ model.updateTime | moment('YYYY-MM-DD HH:mm:ss') }}
+
+
+
+
+
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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ {queryParam = {}, handleRefresh()}">重置
+
+
+
+
+
+
+ {{ record.createTime | moment('YYYY-MM-DD HH:mm:ss') }}
+
+
+ {{ record.updateTime | moment('YYYY-MM-DD HH:mm:ss') }}
+
+
+ 详情
+
+
+
+
+
+
+
+