待办中心-法规评估任务-流程历史-列宽可拖拽

This commit is contained in:
刘彦泽
2023-02-01 11:31:32 +08:00
parent 85b5c55172
commit a82604c65f
@@ -8,6 +8,7 @@
<div style="width: 100%">
<a-table
ref="table"
:components="drag(columns,'columnsAll')"
:loading="loading"
:pagination="false"
:scroll="{x: '100%'}"
@@ -23,6 +24,7 @@
import { getAction, postAction, downloadFile } from '@/api/manage'
import moment from 'moment'
import { Base64 } from 'js-base64'
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
export default {
name: 'regulatoryCirculationHistory',
@@ -32,6 +34,7 @@
default: false
}
},
mixins:[ResizeHeader, ResizeColumnProvide],
data() {
return {
dataSource: [],
@@ -41,35 +44,35 @@
title: this.$t('OperationContent'),
dataIndex: 'taskDefinitionKeyName',
align: 'left',
width: '20%',
width: '370',
ellipsis: true
},
{
title: this.$t('opinion'),
dataIndex: 'approvalOpinion',
align: 'left',
width: '20%',
width: '370',
ellipsis: true
},
{
title: this.$t('Operator'),
dataIndex: 'createBy',
align: 'left',
width: '20%',
width: '370',
ellipsis: true
},
{
title: this.$t('role'),
dataIndex: 'operatorRoleName',
align: 'left',
width: '20%',
width: '370',
ellipsis: true
},
{
title: this.$t('OperationTime'),
dataIndex: 'createTime',
align: 'left',
width: '20%',
width: '370',
ellipsis: true,
customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss')