文档库-可伸缩列

This commit is contained in:
刘彦泽
2023-01-10 14:07:54 +08:00
parent 8574bb3849
commit 87a360ea37
2 changed files with 15 additions and 5 deletions
@@ -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'),