文档库-可伸缩列
This commit is contained in:
@@ -177,6 +177,7 @@
|
||||
>
|
||||
<a-table
|
||||
class="table"
|
||||
:components="drag(columns,'columns')"
|
||||
:columns="columns"
|
||||
:pagination="false"
|
||||
:scroll="{y: 400}"
|
||||
@@ -273,12 +274,14 @@
|
||||
import { Base64 } from 'js-base64'
|
||||
import uploadFile from '@/components/uploadFile/file'
|
||||
import { mapGetters } from 'vuex'
|
||||
import {ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'docIndex',
|
||||
components: {
|
||||
uploadFile
|
||||
},
|
||||
mixins: [ResizeColumnProvide,ResizeHeader],
|
||||
data() {
|
||||
return {
|
||||
url: {
|
||||
@@ -295,7 +298,7 @@
|
||||
dataIndex: 'title',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'operation' }
|
||||
scopedSlots: { customRender: 'operation' },
|
||||
}
|
||||
],
|
||||
columnsFile: [
|
||||
@@ -333,7 +336,8 @@
|
||||
dataIndex: 'content',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'content' }
|
||||
scopedSlots: { customRender: 'content' },
|
||||
width: 484
|
||||
},
|
||||
{
|
||||
title: this.$t('ModificationTime'),
|
||||
|
||||
Reference in New Issue
Block a user