<template>
  <wrapper
    fill
    margin
    padding
    background
  >
    <schema-table
      ref="table"
      :schema="schema"
    />
    <schedule-dialog ref="scheduleDialog" />
  </wrapper>
</template>

<script>
import mixin from './mixin'

export default {
  name: 'ScheduleViewer',
  mixins: [mixin],
  data () {
    return {
      invokes: [
        { label: '查看', on: this.onView },
        { label: '删除', render ({ del }) { return del }, on: this.onDel }
      ]
    }
  }
}
</script>
