<script setup lang="ts">
type Props = {
  notificationFilePath: string
  scheduledJobsFilePath: string
}

defineProps<Props>()
</script>

<template>
  <el-card class="section-card">
    <template #header>
      <span class="card-title">配置信息</span>
    </template>
    <el-descriptions :column="1" border size="small">
      <el-descriptions-item label="职责"
        >内部运营通知，仅发送给后台管理员、客服或值班人员。</el-descriptions-item
      >
      <el-descriptions-item label="配置文件">{{
        notificationFilePath || '-'
      }}</el-descriptions-item>
      <el-descriptions-item label="监控任务">{{
        scheduledJobsFilePath || '-'
      }}</el-descriptions-item>
    </el-descriptions>
  </el-card>
</template>

<style scoped>
.section-card {
  border-radius: var(--radius-lg);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}
</style>
