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

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

<template>
  <div class="functional-report-page">
    <div class="page-header">
      <h2>功能测试报告</h2>
    </div>
    <router-view />
  </div>
</template>

<script setup lang="ts">
/**
 * 功能测试报告模块容器组件
 * 两个子页面通过路由切换：
 * 1. /reports/functional/generate  — 生成报告
 * 2. /reports/functional/erp-config — ERP 配置
 */
</script>

<style scoped>
.functional-report-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>