<template>
  <div>
    <PageTitle :malginLeft="10" :height="35" backgroundColor="#ffff" :marginBottom="5" :marginTop="5">
      <template #left>
        <el-button :type="qh ? 'primary' : 'default'" @click="add(true)" size="small">文件中转</el-button>
        <el-button :type="qh ? 'default' : 'primary'" @click="add(false)" size="small">点对点</el-button>
      </template>
    </PageTitle>
    <FileTransfer v-if="qh" />
    <FileOrientation v-else />
  </div>

</template>
<script setup>
import PageTitle from "@/components/aboutTable/PageTitle.vue";
import FileTransfer from "@/views/backOfficeSystem/HumanIntelligence/fileTransfer/index.vue"
import FileOrientation from "@/views/backOfficeSystem/HumanIntelligence/fileOrientation/index.vue"
import { ref } from "vue";
const qh = ref(true)
const add = (flag) => {
  qh.value = flag
}
</script>
