<template>
  <div class="system-logs">
    <h1 class="page-title">系统日志</h1>

    <el-tabs v-model="activeTab">
      <el-tab-pane label="登录日志" name="login">
        <LoginLogs />
      </el-tab-pane>
      <el-tab-pane label="操作日志" name="operation">
        <OperationLogs />
      </el-tab-pane>
      <el-tab-pane label="系统配置" name="config">
        <SystemConfig />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import { ElTabs, ElTabPane } from 'element-plus';
import LoginLogs from './components/LoginLogs.vue';
import OperationLogs from './components/OperationLogs.vue';
import SystemConfig from './components/SystemConfig.vue';

const activeTab = ref('login');
</script>

<style lang="scss" scoped>
.system-logs {
  padding: 20px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: #141F38;
  margin-bottom: 24px;
}
</style>

