<template>
  <div>
    <el-tabs v-model="tabIndex" type="border-card">
      <el-tab-pane label="线索管理" :name="0" v-if="checkPermi(['basic:setting:clue'])">
        <BSClue v-if="tabIndex == 0" />
      </el-tab-pane>
      <el-tab-pane label="销售提成" :name="10" v-if="checkPermi(['basic:setting:comission'])">
        <BSSalerComission v-if="tabIndex == 10" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup name="GeneralSetting">
import BSClue from './Comp/BSClue.vue'
import BSSalerComission from './Comp/BSSalerComission.vue'
import { checkPermi } from '@/utils/permission'

const tabIndex = ref(0)
</script>

<style lang="scss" scoped></style>
