feat: 驾驶舱改名经营看板+改善行动闭环按钮+统一菜单名

This commit is contained in:
Hermes CI Fix
2026-07-19 15:54:20 +08:00
parent 0a2926047e
commit 56067261ad
8 changed files with 23 additions and 13 deletions
+11 -1
View File
@@ -127,6 +127,12 @@
<el-pagination v-model:current-page="page" :page-size="pageSize" :total="total" layout="prev, pager, next, total" @current-change="loadData" background small />
</div>
<!-- PDCA闭环按钮 -->
<div style="text-align:center;padding:20px 0;border-top:1px solid #f0f0f0;margin-top:20px;">
<el-button type="primary" @click="goToMap"> 回到战略地图</el-button>
<div style="font-size:12px;color:#999;margin-top:4px;">回到P阶段更新目标完成PDCA闭环</div>
</div>
<!-- 新建/编辑弹窗 -->
<MyDialog v-model="showForm" :title="formTitle" :width="550">
<div style="margin-bottom:12px;display:flex;gap:8px;flex-wrap:wrap;">
@@ -323,14 +329,18 @@
<script setup lang="ts">
import { ref, computed, onMounted } from 'vue'
import { useRoute } from 'vue-router'
import { useRoute, useRouter } from 'vue-router'
import { ElMessage, ElMessageBox } from 'element-plus'
import { actionPlanApi, kpiApi, userApi } from '../api/index'
import MyDialog from '../components/MyDialog.vue'
const route = useRoute()
const router = useRouter()
const activeTab = ref((route.query?.tab as string) || 'plans')
// ── 导航 ──
function goToMap() { router.push('/maps') }
// ── 数据 ──
const list = ref<any[]>([])
const loading = ref(false)