<template>
  <div class="app-container">
    <el-tabs v-model="activeTabs" @tab-click="handleClick">
      <el-tab-pane label="业务配置" name="business">
        <config-table business-type="business" />
      </el-tab-pane>
      <el-tab-pane label="安全配置" name="security">
        <config-table business-type="security" />
      </el-tab-pane>
      <el-tab-pane label="支付配置" name="pay">
        <config-table business-type="pay" />
      </el-tab-pane>
      <el-tab-pane label="域名配置" name="domain">
        <config-table business-type="domain" />
      </el-tab-pane>
      <el-tab-pane label="系统配置" name="system">
        <config-table business-type="system" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>

import ConfigTable from "@/views/cai/businessConfig/config-table.vue";

export default {
  name: "SystemConfig",
  components: {
    ConfigTable
  },
  data() {
    return {
      activeTabs: "business",
    };
  },
  created() {
  },
  methods: {
    handleClick(tab, event){
      console.log(tab, event);
    },
  }
};
</script>
