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
1008706c
Commit
1008706c
authored
Oct 23, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
Beta See merge request
!14
parents
5cd86f2f
454682dd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
columns.tsx
src/views/personal-space/personal-knowledge/columns.tsx
+6
-6
document-detail.vue
...ews/personal-space/personal-knowledge/document-detail.vue
+0
-1
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 @
1008706c
...
...
@@ -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/document-detail.vue
View file @
1008706c
...
...
@@ -204,7 +204,6 @@ async function handleUpdateOpenKnowledgeChunk(chunkItem: KnowledgeChunkItem) {
})
if
(
res
.
code
===
0
)
{
window
.
$message
.
success
(
t
(
'common_module.edit_success_message'
))
await
handleGetKnowledgeChunkList
()
}
}
...
...
src/views/personal-space/personal-knowledge/personal-document.vue
View file @
1008706c
...
...
@@ -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