<template>
  <Container>
    <vxe-table :data="tableData">
      <vxe-table-column field="name" title="短信名称"></vxe-table-column>
      <vxe-table-column field="describe" title="描述"></vxe-table-column>
      <vxe-table-column field="state" title="状态">
        <template #default="{ row }">
          <el-switch
            v-model="row.state"
            class="switchStyle"
            active-color="#36B365"
            :active-value="5"
            :inactive-value="4"
            active-text="启用"
            inactive-text="禁用"
          ></el-switch>
        </template>
      </vxe-table-column>
      <vxe-table-column title="操作">
        <template #default>
          <el-button
            type="text"
            @click="
              $router.push('/SystemSettings/jiaoyiset/SMSConfigurationSet')
            "
          >
            配置
          </el-button>
        </template>
      </vxe-table-column>
    </vxe-table>
  </Container>
</template>
<script>
  export default {
    data() {
      return {
        tableData: [{ name: "腾讯云短信", describe: "腾讯云短信", state: 5 }],
      };
    },
  };
</script>
<style></style>
