<template>
  <div>
    <el-tabs v-model="tabIndex" type="border-card">
      <el-tab-pane label="驾照类型" :name="0" v-if="checkPermi(['school:setting:cartype'])">
        <SettingCartype 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="SchoolSetting">
import SettingCartype from './Comp/SettingCartype.vue'
import { checkPermi } from '@/utils/permission'

const tabIndex = ref(0)
</script>

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