huangxz
2026-08-17 740956136bcbbf2cb4ee6cff9420f0d2b71d7f0d
Merge remote-tracking branch 'origin/fix-plan-copy-dup-20260817' into feat/deploy-uat
3个文件已修改
5 ■■■■■ 已修改文件
.kiro/k8s/generated-files.json 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/testDemo/testPlanManagement/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.kiro/k8s/generated-files.json
@@ -1,5 +1,6 @@
[
  ".kiro/kpi-light-theme",
  ".kiro/lark-doc-implement",
  ".kiro/lark-wiki-dev",
  ".kiro/lark-wiki-dev_084245"
]
package.json
@@ -1,7 +1,7 @@
{
  "name": "xp-robotaxi-management",
  "type": "module",
  "version": "1.3.0",
  "version": "1.3.1",
  "private": true,
  "description": "a clean and concise back-end management template based on Vue3, Vite5, Typescript, and Naive UI.",
  "license": "MIT",
src/views/testDemo/testPlanManagement/index.vue
@@ -374,14 +374,12 @@
      if (row.status === 2) { // 测试中
        actions.push(<NButton text type="primary" onClick={() => handleCopy(row)}>复制</NButton>)
        actions.push(<NButton text type="primary" onClick={() => handleDetail(row)} v-permission="2026061523">详情</NButton>)
        actions.push(<NButton text type="primary" onClick={() => handleCopy(row)}>复制</NButton>)
        actions.push(<NButton text type="primary" onClick={() => handleInterrupt(row)} v-permission="2026061525">中断测试</NButton>)
        actions.push(<NButton text type="primary" onClick={() => handleCruise(row)} v-permission="2026061525">{row.cruiseStatus === 1 ? '停止巡游' : '巡游策略'}</NButton>)
      }
      if (row.status === 3) { // 已暂停
        actions.push(<NButton text type="primary" onClick={() => handleCopy(row)}>复制</NButton>)
        actions.push(<NButton text type="primary" onClick={() => handleDetail(row)} v-permission="2026061523">详情</NButton>)
        actions.push(<NButton text type="primary" onClick={() => handleCopy(row)}>复制</NButton>)
        actions.push(<NButton text type="primary" onClick={() => handleClose(row)} v-permission="2026061526">关闭测试</NButton>)
        actions.push(<NButton text type="primary" onClick={() => handleContinue(row)} v-permission="2026061527">继续测试</NButton>)
      }