待办中心-项目法规任务-列宽可拖拽
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<div style="width: 100%">
|
||||
<a-table
|
||||
ref="table"
|
||||
:components="drag(columns,'columnsAll')"
|
||||
:components="drag(columnsAll,'columnsAll')"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: '100%'}"
|
||||
@@ -44,35 +44,35 @@
|
||||
title: this.$t('OperationContent'),
|
||||
dataIndex: 'taskDefinitionKeyName',
|
||||
align: 'left',
|
||||
width: '370',
|
||||
width: 370,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('opinion'),
|
||||
dataIndex: 'approvalOpinion',
|
||||
align: 'left',
|
||||
width: '370',
|
||||
width: 370,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('Operator'),
|
||||
dataIndex: 'createBy',
|
||||
align: 'left',
|
||||
width: '370',
|
||||
width: 370,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('role'),
|
||||
dataIndex: 'operatorRoleName',
|
||||
align: 'left',
|
||||
width: '370',
|
||||
width: 370,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('OperationTime'),
|
||||
dataIndex: 'createTime',
|
||||
align: 'left',
|
||||
width: '370',
|
||||
width: 370,
|
||||
ellipsis: true,
|
||||
customRender: function(t, r, index) {
|
||||
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
||||
|
||||
@@ -256,4 +256,8 @@
|
||||
::v-deep .ant-table-body {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
::v-deep .ant-table-placeholder {
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
</style>
|
||||
@@ -354,4 +354,7 @@
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
::v-deep .ant-table-placeholder{
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user