<template>
  <div class="totalBox">
    <el-tabs
      v-model="activeName"
      class="demo-tabs"
      @tab-click="handleClick"
    >
      <el-tab-pane
        label="详情费用列表"
        name="detail"
      >
        <DetailList />
      </el-tab-pane>
      <el-tab-pane
        label="人员费用列表"
        name="people"
      >
        <PeopleList />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import DetailList from '@/view/finance/costManage/components/detailList.vue'
import PeopleList from '@/view/finance/costManage/components/peopleList.vue'
defineOptions({
  name: 'CostManage'
})
const activeName = ref('detail')
const handleClick = () => {}
</script>

<style scoped>
.totalBox{
  width: 100%;
  height: 800px;
  background-color: #ffffff;
}
</style>
