<template>
  <el-row class="text-gray-500 text-sm my-2 flex items-center">
    <span class="mr-10">
      配置状态：<el-tag :type="PEND_TYPE[settingStatus].type">{{ PEND_TYPE[settingStatus].text }}</el-tag>
    </span>
    <span>最后配置时间：{{ dayjs(data.settingTime).format('YYYY-MM-DD HH:mm:ss') }}</span>
  </el-row>
</template>

<script setup>
import dayjs from 'dayjs';
import { defineProps } from 'vue';
import { PEND_TYPE } from '@/config/config';

defineProps({
  settingStatus: String,
  settingTime: Number,
});
</script>
