<template>
  <custom-modal v-model="visible" :width="750" title="Qc Results">
    <a-table :columns="columns" :dataSource="list" :pagination="false" />
    <a-button slot="custom-footer" type="primary">Export to Excel</a-button>
  </custom-modal>
</template>

<script>
import ModalMixin from '@/mixins/ModalMixin'

const columns = [
  {
    title: 'Name',
    dataIndex: 'name'
  },
  {
    title: 'Pass/Fail',
    dataIndex: 'status'
  },
  {
    title: 'Value',
    dataIndex: 'value'
  },
  {
    title: 'Standard',
    dataIndex: 'standard'
  }
]
export default {
  mixins: [ModalMixin],
  data() {
    this.columns = columns
    return {
      list: [
        {
          name: 'name',
          status: 'status',
          value: 'value',
          standard: 'standard'
        }
      ]
    }
  }
}
</script>
<style lang="less" scoped></style>
