Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
454682dd
Commit
454682dd
authored
Oct 23, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 知识库文件列表表格间距
parent
d2ebe65d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
columns.tsx
src/views/personal-space/personal-knowledge/columns.tsx
+6
-6
personal-document.vue
...s/personal-space/personal-knowledge/personal-document.vue
+1
-1
No files found.
src/views/personal-space/personal-knowledge/columns.tsx
View file @
454682dd
...
...
@@ -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
:
2
20
,
width
:
2
36
,
render
(
row
:
KnowledgeDocumentItem
)
{
return
row
.
documentName
.
split
(
'.'
)[
1
].
toUpperCase
()
||
'--'
},
...
...
@@ -162,7 +162,7 @@ export function createKnowledgeDocumentColumn(
ellipsis
:
{
tooltip
:
true
,
},
width
:
30
0
,
width
:
25
0
,
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
:
2
50
,
width
:
2
73
,
fixed
:
'right'
,
render
(
row
:
KnowledgeDocumentItem
)
{
return
(
...
...
src/views/personal-space/personal-knowledge/personal-document.vue
View file @
454682dd
...
...
@@ -254,7 +254,7 @@ function handleBackKnowledgeList() {
:data=
"knowledgeDocumentList"
:row-key=
"(row: KnowledgeDocumentItem) => row.kdId"
:max-height=
"tableContentY"
:scroll-x=
"15
26
"
:scroll-x=
"15
58
"
:checked-row-keys=
"checkedKdIdList"
@
update:checked-row-keys=
"handleUpdateCheckedKdId"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment