<template>
  <div class="asj-h3">频率设置</div>
  <el-checkbox-group v-model="rule.weekdays" :disabled="disabled">
    <el-checkbox v-for="i in [1, 2, 3, 4, 5, 6, 0]" :label="i" :key="i">{{ WeekMap[i] }}</el-checkbox>
  </el-checkbox-group>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import { WeekMap } from './enum'

interface Props {
  rule: AutoRule,
  disabled?: boolean
}
const props = defineProps<Props>()
</script>

<style scoped></style>
