feat: 文件库

This commit is contained in:
wang_fan_w 2024-07-01 23:57:01 +08:00
parent 30100b87a8
commit b7d824ece2
5 changed files with 48 additions and 3 deletions

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719849026635" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5677" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M0 0m372.363636 0l279.272728 0q372.363636 0 372.363636 372.363636l0 279.272728q0 372.363636-372.363636 372.363636l-279.272728 0q-372.363636 0-372.363636-372.363636l0-279.272728q0-372.363636 372.363636-372.363636Z" fill="#F7A647" p-id="5678"></path><path d="M232.727273 303.872C232.727273 290.327273 243.781818 279.272727 257.326545 279.272727h148.631273c5.620364 0 10.984727 2.292364 14.848 6.283637l50.897455 52.805818c1.186909 1.233455 2.210909 2.594909 3.037091 4.049454h259.874909c31.138909 0 56.657455 25.460364 56.657454 56.610909V688.058182c0 31.150545-25.518545 56.669091-56.657454 56.669091H289.396364C258.245818 744.727273 232.727273 719.208727 232.727273 688.058182V303.872zM726.702545 556.218182h-239.825454a10.216727 10.216727 0 0 0-10.205091 10.205091v25.390545c0 5.620364 4.584727 10.205091 10.205091 10.205091h239.825454a10.216727 10.216727 0 0 0 10.205091-10.205091v-25.390545a10.216727 10.216727 0 0 0-10.205091-10.205091z m-0.058181-87.691637h-239.825455a10.216727 10.216727 0 0 0-10.205091 10.205091h-0.069818v25.390546c0 5.632 4.573091 10.216727 10.205091 10.216727h239.895273a10.216727 10.216727 0 0 0 10.205091-10.216727V478.72a10.216727 10.216727 0 0 0-10.205091-10.205091z" fill="#FFFFFF" p-id="5679"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -2,6 +2,8 @@ export default {
language: {
["login"]: "login",
["home"]: "home",
["file-management"]: "file management",
["document-library"]: "document library",
["table-management"]: "table management",
["common-table"]: "common table",
["custom-table"]: "custom table",

View File

@ -2,6 +2,8 @@ export default {
language: {
["login"]: "登录",
["home"]: "首页",
["file-management"]: "文件管理",
["document-library"]: "文件库",
["table-management"]: "列表管理",
["common-table"]: "普通列表",
["custom-table"]: "自定义列表",

View File

@ -65,6 +65,39 @@ export const dynamicRoutes: RouteRecordRaw[] = [
svgIcon: "home" // 菜单图标
}
},
{
path: "/file-management",
name: "file-management",
redirect: "/file-management/document-library",
meta: {
title: "file-management",
hide: false,
keepAlive: true,
affix: false,
link: "",
iframe: false,
roles: ["admin"],
svgIcon: "folder"
},
children: [
{
path: "/file-management/document-library",
name: "document-library",
component: () => import("@/views/file-management/document-library/document-library.vue"),
meta: {
title: "document-library",
hide: false,
keepAlive: true,
affix: false,
link: "",
iframe: false,
roles: ["admin"],
icon: "icon-menu"
}
}
]
},
{
path: "/table-management",
name: "table-management",
@ -73,7 +106,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
title: "table-management",
hide: false,
keepAlive: true,
affix: true,
affix: false,
link: "",
iframe: false,
roles: ["admin"],
@ -120,7 +153,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
title: "form-management",
hide: false,
keepAlive: true,
affix: true,
affix: false,
link: "",
iframe: false,
roles: ["admin"],
@ -167,7 +200,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
title: "multilevel-menu",
hide: false,
keepAlive: true,
affix: true,
affix: false,
link: "",
iframe: false,
roles: ["admin"],

View File

@ -0,0 +1,7 @@
<template>
<div class="dc-page">文件库</div>
</template>
<script setup lang="ts"></script>
<style lang="scss" scoped></style>