Commit 454682dd authored by nick zheng's avatar nick zheng

chore: 知识库文件列表表格间距

parent d2ebe65d
......@@ -126,7 +126,7 @@ export function createKnowledgeDocumentColumn(
ellipsis: {
tooltip: true,
},
width: 190,
width: 316,
render(row: KnowledgeDocumentItem) {
return row.documentName || '--'
},
......@@ -138,7 +138,7 @@ export function createKnowledgeDocumentColumn(
ellipsis: {
tooltip: true,
},
width: 330,
width: 222,
render(row: KnowledgeDocumentItem) {
return `${row.charCount || 0}` + t('common_module.char')
},
......@@ -150,7 +150,7 @@ export function createKnowledgeDocumentColumn(
ellipsis: {
tooltip: true,
},
width: 220,
width: 236,
render(row: KnowledgeDocumentItem) {
return row.documentName.split('.')[1].toUpperCase() || '--'
},
......@@ -162,7 +162,7 @@ export function createKnowledgeDocumentColumn(
ellipsis: {
tooltip: true,
},
width: 300,
width: 250,
render(row: KnowledgeDocumentItem) {
return formatDateTime(row.uploadTime) || '--'
},
......@@ -171,7 +171,7 @@ export function createKnowledgeDocumentColumn(
title: () => <span>{t('common_module.is_open')}</span>,
key: 'trainStatus',
align: 'left',
width: 180,
width: 224,
render(row: KnowledgeDocumentItem) {
const trainStatusMap = {
Unopened: { text: 'common_module.studying', color: '#0B7DFF' },
......@@ -201,7 +201,7 @@ export function createKnowledgeDocumentColumn(
title: () => <span>{t('common_module.data_table_module.action')}</span>,
key: 'action',
align: 'left',
width: 250,
width: 273,
fixed: 'right',
render(row: KnowledgeDocumentItem) {
return (
......
......@@ -254,7 +254,7 @@ function handleBackKnowledgeList() {
:data="knowledgeDocumentList"
:row-key="(row: KnowledgeDocumentItem) => row.kdId"
:max-height="tableContentY"
:scroll-x="1526"
:scroll-x="1558"
:checked-row-keys="checkedKdIdList"
@update:checked-row-keys="handleUpdateCheckedKdId"
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment