<template>
  <div>
    <dialog-edit :visible.sync="dialogVisible" :title="$t('expressFileReceiveList.confirmResult')"
                 :footerVisible="true" :saveFlag="false" :width="'600px'"
                 :api="api" :form="form" :editModel="editModel">
      <data-table :operateBtnLayout="operateBtnLayout" :columns="columns"
                  :menuFlag="false" :sourceData.sync="form.data" :selectedRows.sync="selectedRows" :showPage="false">
      </data-table>
<!--      <template slot="footer">-->
<!--        <auth-button size="medium" type="primary" :label="$t('common.save')" @click="handleClick"></auth-button>-->
<!--        <auth-button size="medium" type="" :label="$t('common.close')" @click="dialogVisible = false"></auth-button>-->
<!--      </template>-->
    </dialog-edit>
  </div>
</template>

<script>
import { DialogEdit, DataTable, authButton } from 'newepoch-components'
import BaseEditPage from '@/pages/baseEditPage'
export default {
  extends: new BaseEditPage(''),
  components: {
    DialogEdit,
    DataTable,
    authButton
  },
  data () {
    return {
      selectedRows: [],
      operateBtnLayout: '',
      columns: [
        // 业务主键
        {
          prop: 'bussId',
          align: 'left',
          label: this.$i18n.messages[this.$i18n.locale].expressFileReceiveList.bussIdLabel,
          width: '250px'
        },
        // 业务类型
        // {
        //   prop: 'bussType',
        //   align: 'center',
        //   label: this.$i18n.messages[this.$i18n.locale].ladingPlanManageList.bussTypeLabel,
        //   width: '40px'
        // },
        // 处理方式
        {
          prop: 'processMode',
          align: 'center',
          label: this.$i18n.messages[this.$i18n.locale].expressFileReceiveList.confirmResult,
          width: '100px'
        },
        // 附加信息
        {
          prop: 'extra',
          align: 'left',
          label: this.$i18n.messages[this.$i18n.locale].expressFileReceiveList.extraLabel,
          width: '200px'
        }
      ]
    }
  },
  mounted () {
  },
  computed: {
    api: function () {
      return {}
    }
  },
  methods: {
  }
}
</script>
