认证管理-上报库管理-列宽可拖拽
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
ref='table'
|
||||
size='middle'
|
||||
rowKey='id'
|
||||
:components="drag(columns,'columns')"
|
||||
:columns='columns'
|
||||
:dataSource='areaTable'
|
||||
:pagination='false'
|
||||
@@ -72,10 +73,12 @@ import { putAction, postAction, getAction, deleteAction ,downloadFile } from '@/
|
||||
import axios from 'axios'
|
||||
import Vue from 'vue'
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'diolagArea',
|
||||
components: {},
|
||||
mixins:[ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
return {
|
||||
token:Vue.ls.get(ACCESS_TOKEN),
|
||||
@@ -102,20 +105,23 @@ export default {
|
||||
title: this.$t('Exporttype'),
|
||||
align: 'left',
|
||||
dataIndex: 'exportType',
|
||||
ellipsis: true
|
||||
ellipsis: true,
|
||||
width: 260
|
||||
},
|
||||
{
|
||||
title: this.$t('Exporttime'),
|
||||
align: 'left',
|
||||
dataIndex: 'exportTime',
|
||||
ellipsis: true
|
||||
ellipsis: true,
|
||||
width: 260
|
||||
},
|
||||
{
|
||||
title: this.$t('file'),
|
||||
align: 'left',
|
||||
dataIndex: 'exportFileName',
|
||||
scopedSlots: { customRender: 'file' },
|
||||
ellipsis: true
|
||||
ellipsis: true,
|
||||
width: 260
|
||||
}
|
||||
],
|
||||
newVisible: false,
|
||||
|
||||
@@ -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'
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user