认证管理-上报库管理-列宽可拖拽

This commit is contained in:
刘彦泽
2023-01-31 14:00:18 +08:00
parent e722b7a084
commit f61c08c2ab
2 changed files with 16 additions and 5 deletions
@@ -34,6 +34,7 @@
<a-table
ref="table"
size="middle"
:components="drag(columns,'columns')"
:loading="loading"
:pagination="false"
:scroll="{x: '100%',y:'calc(100vh - 158px)'}"
@@ -110,12 +111,14 @@
import { ACCESS_TOKEN } from '@/store/mutation-types'
import eventBUs from '../../../common/event'
import Vue from 'vue'
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
export default {
name: 'index',
components: {
ExportHistory
},
mixins:[ResizeHeader, ResizeColumnProvide],
data() {
return {
token: Vue.ls.get(ACCESS_TOKEN),
@@ -157,7 +160,7 @@
{
title: this.$t('entryName'),
align: 'left',
width: '17%',
width: 210,
dataIndex: 'projectName',
sorter:true,
scopedSlots: { customRender: 'projectName' }
@@ -165,11 +168,13 @@
{
title: this.$t('ListTitle'),
align: 'left',
dataIndex: 'title'
width: 380,
dataIndex: 'title',
},
{
title: this.$t('Version'),
align: 'left',
width: 382,
dataIndex: 'version'
},
{