对外报告管理 列表拖拽修改

This commit is contained in:
高嵩
2023-03-15 13:40:15 +08:00
parent d17ae70ca2
commit 516fa722b8
+8 -3
View File
@@ -143,10 +143,10 @@
:columns="columns"
>
<span slot="projectName" slot-scope="text,record" :title="text">
{{ text && text.length > 20 ? text.slice(0, 18) + '...' : text }}
{{ text }}
</span>
<span slot="fileName" slot-scope="text,record" :title="text">
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
{{ text }}
</span>
<span slot="operation" slot-scope="text,record">
@@ -382,6 +382,7 @@
{
title: this.$t('fileName'),
align: 'left',
ellipsis: true,
dataIndex: 'fileName',
scopedSlots: { customRender: 'fileName' },
width: 200
@@ -389,6 +390,7 @@
{
title: this.$t('fileDeclaration'),
align: 'left',
ellipsis: true,
dataIndex: 'fileDescription',
scopedSlots: { customRender: 'projectName' },
width: 300
@@ -396,6 +398,7 @@
{
title: this.$t('uploadedBy'),
align: 'left',
ellipsis: true,
dataIndex: 'createBy',
width: 150
},
@@ -407,6 +410,7 @@
{
title: this.$t('uploadTime'),
align: 'left',
ellipsis: true,
dataIndex: 'createTime',
width: 250
},
@@ -414,6 +418,7 @@
title: this.$t('operation'),
align: 'left',
fixed: 'right',
ellipsis: true,
width: 250,
scopedSlots: { customRender: 'operation' }
}
@@ -1123,7 +1128,7 @@
</script>
<style lang="less" scoped>
@import '~@assets/less/common.less';
@import'~@assets/less/common.less';
::v-deep .ant-table-row:first-child {
background: #fff !important;