- 新增项目菜单项及路由配置,支持项目管理入口 - 实现项目相关API接口,包括项目列表、统计、甘特图及项目初始化接口 - 添加项目新建向导组件,支持上传文件预览及确认保存 - 实现项目管理页面,包含项目列表展示、筛选、统计卡片及新建项目操作 - 支持项目基本信息、里程碑、任务、成员及风险等多维度管理数据录入 - 优化页面交互体验,支持上传文件格式校验及数据编辑预览 - 提供状态及风险等级标签显示,辅助项目状态快速识别
This commit is contained in:
22
src/router/modules/project.ts
Normal file
22
src/router/modules/project.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { $t } from "@/plugins/i18n";
|
||||
import { project } from "@/router/enums";
|
||||
|
||||
export default {
|
||||
path: "/project",
|
||||
redirect: "/project/index",
|
||||
meta: {
|
||||
icon: "ri:folder-chart-line",
|
||||
title: $t("menus.pureProject"),
|
||||
rank: project
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/project/index",
|
||||
name: "Project",
|
||||
component: () => import("@/views/project/index.vue"),
|
||||
meta: {
|
||||
title: $t("menus.pureProject")
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
Reference in New Issue
Block a user