虚拟清单-可伸缩列
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
<a-table
|
||||
ref="table"
|
||||
size="middle"
|
||||
:components="drag(columns,'columns')"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: '100%'}"
|
||||
@@ -160,6 +161,7 @@
|
||||
import tableDragResize from '@/mixins/tableDragResize'
|
||||
import setCreator from '@/components/setCreator/index'
|
||||
import { mapGetters } from 'vuex'
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'index',
|
||||
@@ -167,7 +169,7 @@
|
||||
VueDraggableResizable,
|
||||
setCreator
|
||||
},
|
||||
mixins: [tableDragResize],
|
||||
mixins: [tableDragResize, ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
@@ -219,21 +221,21 @@
|
||||
title: this.$t('VirtualListName'),
|
||||
align: 'left',
|
||||
dataIndex: 'name',
|
||||
width: '25%',
|
||||
width: 260,
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'VirtualListName' }
|
||||
},
|
||||
{
|
||||
title: this.$t('listStatus'),
|
||||
align: 'left',
|
||||
width: '25%',
|
||||
width: 260,
|
||||
ellipsis: true,
|
||||
dataIndex: 'state_dictText'
|
||||
},
|
||||
{
|
||||
title: this.$t('creater'),
|
||||
align: 'left',
|
||||
width: '25%',
|
||||
width: 260,
|
||||
ellipsis: true,
|
||||
dataIndex: 'createBy'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user