<template>
  <div>
    <el-tabs type="border-card">
      <el-tab-pane label="分割文件(识别标题)">
        <SplitWordForm :baseUrl="baseUrl" />
      </el-tab-pane>
      <el-tab-pane label="分割文件(根据页码)">
        <SplitRangeWordForm :baseUrl="baseUrl" />
      </el-tab-pane>
      <el-tab-pane label="分割文件(根据分页符号)">
        <SplitPageBreakWordForm :baseUrl="baseUrl" />
      </el-tab-pane>
      <el-tab-pane label="分割文件(根据书籤)">
        <SplitBookMarkWordForm :baseUrl="baseUrl" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import SplitWordForm from './components/SplitWordForm'
import SplitRangeWordForm from './components/SplitRangeWordForm'
import SplitPageBreakWordForm from './components/SplitPageBreakWordForm.vue'
import SplitBookMarkWordForm from './components/SplitBookMarkWordForm.vue'
export default {
  name: 'SplitTool',
  props:{
    baseUrl:{
      type: String,
      require:true,
      default: 'https://dev.essenptl.com/graphAPITest/'
    }
  },
  components: {
    SplitWordForm,
    SplitRangeWordForm,
    SplitPageBreakWordForm,
    SplitBookMarkWordForm
  }
}
</script>
