新增项目管理页面

This commit is contained in:
dzl
2025-09-23 16:08:50 +08:00
parent e5098b4379
commit fc1e1164d8
3 changed files with 25 additions and 1 deletions

View File

@@ -47,6 +47,11 @@
<el-icon><Promotion /></el-icon>
<template #title>融豆管理</template>
</el-menu-item>
<el-menu-item v-if="userStore.isAdmin" index="/projects">
<el-icon><Setting /></el-icon>
<template #title>项目管理</template>
</el-menu-item>
<el-menu-item index="/profile">
<el-icon><UserFilled /></el-icon>
@@ -208,7 +213,7 @@ import {
Monitor,
Connection,
CreditCard,
Bell
Bell,
} from '@element-plus/icons-vue'
const route = useRoute()

View File

@@ -81,6 +81,16 @@ const routes = [
requiresAdmin: true
}
},
{
path: 'projects',
name: 'Projects',
component: () => import('@/views/Project.vue'),
meta: {
title: '项目管理 - 炬融圈',
icon: 'Project',
requiresAdmin: true
}
},
{
path: 'profile',
name: 'Profile',

9
src/views/Project.vue Normal file
View File

@@ -0,0 +1,9 @@
<template>
项目管理
</template>
<script setup>
</script>
<style scoped>
</style>