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
<template>
  <a-table :columns="columns" :data-source="dataSource" bordered :pagination="false">
 
  </a-table>
</template>
 
<script>
  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
 
  export default {
    name: 'DocumentVersionTableList',
    mixins: [JeecgListMixin],
    components: {},
    data() {
      return {
        columns: [
          {
            title: '序号',
            dataIndex: 'rowIndex',
            key: 'rowIndex',
            width: 65,
            align: 'center',
            customRender: function(t, r, index) {
              return parseInt(index) + 1
            }
          },
          { title: '文件名称', dataIndex: 'fileName', align: 'center' },
          { title: '版本号', dataIndex: 'docVersion', align: 'center' },
          { title: '文件大小', dataIndex: 'fileSize', align: 'center' }
        ],
        url: {
          list: ''
        }
      }
    },
    methods: {}
  }
</script>
 
<style scoped>
 
</style>