<template>
  <el-card>
    <template #header><div class="title">活动通知发送记录</div></template>
    <el-table :data="rows" border stripe>
      <el-table-column prop="id" label="记录编号" width="120" />
      <el-table-column prop="activityName" label="活动名称" min-width="180" />
      <el-table-column prop="scene" label="触发场景" width="120" />
      <el-table-column prop="templateName" label="模板名称" min-width="160" />
      <el-table-column prop="receiverCount" label="发送人数" width="100" />
      <el-table-column prop="successCount" label="成功" width="90" />
      <el-table-column prop="failCount" label="失败" width="90" />
      <el-table-column prop="sendTime" label="发送时间" width="170" />
      <el-table-column prop="status" label="状态" width="110" />
    </el-table>
  </el-card>
</template>
<script>
import activityStore from '@/store/activityStore'
export default { name: 'ActivityNotificationRecord', computed: { rows() { return activityStore.notificationRecords } } }
</script>
<style scoped>.title{font-weight:600}</style>
