<!--导入结果-->
<template>
  <div>
    <dialog-edit :api="api" :visible.sync="dialogVisible" :editModel="editModel" :form="form" :width="width"
                 :title="$t('ladingManageList.importResult')" :footerBtnShow="footerVisible" :appendToBody="appendToBody">
      <div class="result-box">
        <p>{{$t('ladingManageList.resultTip1')}}{{form.importNum}}</p>
        <p>{{$t('ladingManageList.resultTip2')}}{{form.ignoreNum}}</p>
        <p>{{$t('ladingManageList.resultTip3')}}{{form.failureNum}}</p>
        <p>{{$t('ladingManageList.resultTip4')}}{{form.successNum}}</p>
      </div>
      <template slot="footer">
<!--        <btn-download :classType="classType" :downloadButtonMsg="$t('ladingManageList.downResult')"-->
<!--                      :fileID="form.fileId" size="medium" icon="" type="primary"></btn-download>-->
        <auth-button class="close-btn" size="medium" :label="$t('common.close')" @click="dialogVisible = false"></auth-button>
      </template>
    </dialog-edit>
  </div>
</template>

<script>
import { DialogEdit, btnDownload, authButton } from 'newepoch-components'
import BaseEdit from '@/pages/baseEditPage.js'
export default {
  extends: new BaseEdit(),
  name: 'importResultEdit',
  components: {
    DialogEdit,
    btnDownload,
    authButton
  },
  data () {
    return {
      width: '600px',
      classType: true,
      appendToBody: true,
      footerVisible: false
    }
  },
  computed: {
    api () {
      return {}
    }
  },
  methods: {
  }
}
</script>

<style scoped lang="scss" src="@/styles/shouji/ladingManage/importResultEdit.scss">
</style>
