<style>
  .EmployeeFile{
    margin:0 20px;
  }
</style>
<template>
  <div class="EmployeeFile">
    <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关附件信息" flat  
      class="sticky-right-column-table sticky-column-table" separator="none" :data="data" :columns="columns">
    </q-table>
  </div>
</template>
<script>
  export default {
    props: {
      saveObj: {
        type: Object,
        default: null
      }
    },
    name: "EmployeeFile",
    data() {
      return {
        loading: false,
        msg: {
          pageIndex: 1,
          pageSize: 5,
          rowsPerPage: 5,
          createBy: 0,
        },
        columns: [{
            name: 'FileName',
            required: true,
            label: '附件名称',
            align: 'left',
            field: row => row.FileName
          },
          {
            name: 'FileSize',
            label: '附件大小',
            field: 'FileSize',
            align: 'left',
          },
          {
            name: 'CreateByName',
            label: '上传人',
            field: 'CreateByName',
            align: 'left',
          },
          {
            name: 'CreateTimeStr',
            label: '上传时间',
            field: 'CreateTimeStr',
            align: 'left',
          },
          {
            name: 'Source',
            label: '来源',
            field: 'Source',
            align: 'left'
          },
          {
            name: 'optioned',
            label: '操作',
            field: 'FileId'
          }
        ],
        data: [],
      }
    },
    created() {

    },
    mounted() {

    },
    methods: {

    },
  }

</script>
