# 项目详情页面导航菜单改造实施计划 > **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. **Goal:** 将项目详情页面右侧的按钮组改为水平导航菜单,使用 Element UI Menu 组件实现简洁链接风格,支持菜单切换组件内容。 **Architecture:** 使用 Element UI 的 `el-menu` 组件(水平模式)替换现有的按钮组,通过 Vue 动态组件(``)实现内容切换。菜单项包括"上传数据"、"参数配置"和"初核结果"下拉菜单(含三个子项)。采用简洁链接风格,激活状态显示底部下划线。 **Tech Stack:** Vue 2.6.12, Element UI 2.15.14, Scoped CSS --- ## 前置检查 **验证当前项目状态:** ```bash cd D:/ccdi/ccdi git status ``` 预期:工作目录干净,或只有 CLAUDE.md 修改 **验证文件存在:** ```bash ls ruoyi-ui/src/views/ccdiProject/detail.vue ls ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue ``` 预期:两个文件都存在 --- ## Task 1: 创建占位组件 ParamConfig **Files:** - Create: `ruoyi-ui/src/views/ccdiProject/components/detail/ParamConfig.vue` **Step 1: 创建 ParamConfig 占位组件** 创建文件 `ruoyi-ui/src/views/ccdiProject/components/detail/ParamConfig.vue`: ```vue ``` **Step 2: 提交 ParamConfig 组件** ```bash git add ruoyi-ui/src/views/ccdiProject/components/detail/ParamConfig.vue git commit -m "feat(ccdiProject): 添加参数配置占位组件" ``` --- ## Task 2: 创建占位组件 PreliminaryCheck **Files:** - Create: `ruoyi-ui/src/views/ccdiProject/components/detail/PreliminaryCheck.vue` **Step 1: 创建 PreliminaryCheck 占位组件** 创建文件 `ruoyi-ui/src/views/ccdiProject/components/detail/PreliminaryCheck.vue`: ```vue ``` **Step 2: 提交 PreliminaryCheck 组件** ```bash git add ruoyi-ui/src/views/ccdiProject/components/detail/PreliminaryCheck.vue git commit -m "feat(ccdiProject): 添加结果总览占位组件" ``` --- ## Task 3: 创建占位组件 SpecialCheck **Files:** - Create: `ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue` **Step 1: 创建 SpecialCheck 占位组件** 创建文件 `ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue`: ```vue ``` **Step 2: 提交 SpecialCheck 组件** ```bash git add ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue git commit -m "feat(ccdiProject): 添加专项排查占位组件" ``` --- ## Task 4: 创建占位组件 DetailQuery **Files:** - Create: `ruoyi-ui/src/views/ccdiProject/components/detail/DetailQuery.vue` **Step 1: 创建 DetailQuery 占位组件** 创建文件 `ruoyi-ui/src/views/ccdiProject/components/detail/DetailQuery.vue`: ```vue ``` **Step 2: 提交 DetailQuery 组件** ```bash git add ruoyi-ui/src/views/ccdiProject/components/detail/DetailQuery.vue git commit -m "feat(ccdiProject): 添加流水明细查询占位组件" ``` --- ## Task 5: 修改 detail.vue - 添加数据字段和导入组件 **Files:** - Modify: `ruoyi-ui/src/views/ccdiProject/detail.vue` **Step 1: 添加组件导入** 在 `detail.vue` 的 `