appendix.vue 1.4 KB
Newer Older
wangdanlei's avatar
wangdanlei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
/**
* @Description:
* @author wx
* @date 2020/07/10
*/
<template>
  <div class="-page">
    <dee-tools :tools="tools" mode="normal" :collapse="false" />
    <dee-table
      ref="multipleTable"
      :index-row="indexRow"
      :columns="tableColums"
      :data="tableData"
      :selection-row="selectionRow"
      :pagination="pagination"
      @pagination-current-change="paginationCurrentChange"
      @pagination-size-change="handleSizeChange"
      @selection-change="selectionChange"
    />
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      tools: [
        {
          name: '下载',
          icon: '/icons/c-export.png',
          handler: {
            click: () => {
              this.handleTool(5)
            }
          }
        }],
      tableColums: [
        { title: '文件', key: 'version', align: 'center' },
        { title: '修改者', key: 'ownerName', align: 'center', minWidth: 150 },
        { title: '上次修改时间', key: 'gmtModified', align: 'center', minWidth: 180 }
      ],
      indexRow: {
        title: '序号',
        align: 'center',
        width: '70'
      },
      tableData: [],
      selectionRow: [],
      pagination: {
        currentPage: 1,
        pageSize: 10,
        total: 0,
        pageSizes: [10, 20, 50]
      }
    }
  },
  computed: {},
  mounted() {},
  methods: {}
}

</script>
<style lang='scss'>
</style>