<!--
  组件名称：PerformanceIndex.vue
  组件描述：性能测试模块父级容器，渲染子路由

  @author czj
  @date 2026-08-12
-->

<template>
  <div class="performance-page">
    <div class="page-header">
      <h2>性能测试</h2>
    </div>
    <router-view />
  </div>
</template>

<script setup lang="ts">
/**
 * 性能测试模块容器组件
 * 三个子页面通过路由切换：
 * 1. /performance/tasks  — 任务管理
 * 2. /performance/monitor — 执行监控
 * 3. /performance/report  — 报告查看
 */
</script>

<style scoped>
.performance-page {
  padding: 0;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.page-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: #303133;
  margin: 0;
}
</style>