<template>
  <div style="margin-right:20px;height: 100%;">
    <wait-card :list="list" :loading="listLoading" title="待办监察"/>
  </div>
</template>

<script>
import WaitCard from './waitCard'
import { getMonitorList } from '@/api/callCase'

export default {
  name: 'WaitMonitor',
  components: { WaitCard },
  data() {
    return {
      listLoading: false,
      total: 4,
      list: [],
      column: 'title'
    }
  },
  created() {
    this.fetchData()
  },
  activated() {
    this.fetchData()
  },
  methods: {
    fetchData() {
      this.listLoading = true
      getMonitorList(this.listQuery).then(response => {
        this.list = response.data.rows
        this.listLoading = false
      })
    }
  }
}
</script>

<style scoped>

</style>
