<template>
  <div>
    <tab-router v-model="activeIndex" type="card" ref="tab">
      <el-tab-pane
        label="基本信息"
        lazy
        v-if="permission('/teamBaseInfo')"
        name="1"
      ></el-tab-pane>
            <el-tab-pane
        label="学员&师资"
        lazy
        v-if="permission('/teamBaseInfo')"
        name="2"
      ></el-tab-pane>
            <el-tab-pane
        label="训练规划"
        lazy
        v-if="permission('/teamBaseInfo')"
        name="3"
      ></el-tab-pane>
            <el-tab-pane
        label="训练时长"
        lazy
        v-if="permission('/teamBaseInfo')"
        name="4"
      ></el-tab-pane>
            <el-tab-pane
        label="作业情况"
        lazy
        v-if="permission('/teamBaseInfo')"
        name="5"
      ></el-tab-pane>
            <el-tab-pane
        label="训练照片"
        lazy
        v-if="permission('/teamBaseInfo')"
        name="6"
      ></el-tab-pane>
            <el-tab-pane
        label="基本信息"
        lazy
        v-if="permission('/teamBaseInfo')"
        name="7"
      ></el-tab-pane>
    </tab-router>
  </div>
</template>
<script>
import { permission } from "@/utils/directivePage";
export default {
  data() {
    return {
      activeIndex: "1",
    };
  },
  mounted() {},
  methods: {
    permission(str) {
      return permission(str);
    },
  },
};
</script>
<style lang="scss" scoped>
</style>
