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
1bd220e0
Commit
1bd220e0
authored
Apr 07, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
Beta See merge request
!202
parents
27112b70
5f6145b6
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
9 deletions
+32
-9
en.yaml
src/locales/langs/en.yaml
+1
-0
zh-cn.yaml
src/locales/langs/zh-cn.yaml
+1
-0
zh-hk.yaml
src/locales/langs/zh-hk.yaml
+1
-0
columns.tsx
src/views/personal-space/personal-knowledge/columns.tsx
+17
-0
add-qa-knowledge-chunk-modal.vue
.../qa-knowledge/components/add-qa-knowledge-chunk-modal.vue
+5
-4
edit-qa-knowledge-chunk-modal.vue
...qa-knowledge/components/edit-qa-knowledge-chunk-modal.vue
+5
-4
setting-knowledge-chunk-index-modal.vue
...wledge/components/setting-knowledge-chunk-index-modal.vue
+1
-1
locales.d.ts
types/locales.d.ts
+1
-0
No files found.
src/locales/langs/en.yaml
View file @
1bd220e0
...
@@ -182,6 +182,7 @@ common_module:
...
@@ -182,6 +182,7 @@ common_module:
analysis
:
'
Analyze'
analysis
:
'
Analyze'
listing_applications
:
'
Launch
application'
listing_applications
:
'
Launch
application'
remove_applications
:
'
Takedown
application'
remove_applications
:
'
Takedown
application'
type
:
'
type'
pagination_module
:
pagination_module
:
page_no
:
'
Size'
page_no
:
'
Size'
...
...
src/locales/langs/zh-cn.yaml
View file @
1bd220e0
...
@@ -181,6 +181,7 @@ common_module:
...
@@ -181,6 +181,7 @@ common_module:
analysis
:
'
分析'
analysis
:
'
分析'
listing_applications
:
'
上架应用'
listing_applications
:
'
上架应用'
remove_applications
:
'
下架应用'
remove_applications
:
'
下架应用'
type
:
'
类型'
pagination_module
:
pagination_module
:
page_no
:
'
条'
page_no
:
'
条'
...
...
src/locales/langs/zh-hk.yaml
View file @
1bd220e0
...
@@ -181,6 +181,7 @@ common_module:
...
@@ -181,6 +181,7 @@ common_module:
analysis
:
'
分析'
analysis
:
'
分析'
listing_applications
:
'
上架應用'
listing_applications
:
'
上架應用'
remove_applications
:
'
下架應用'
remove_applications
:
'
下架應用'
type
:
'
類型'
pagination_module
:
pagination_module
:
page_no
:
'
條'
page_no
:
'
條'
...
...
src/views/personal-space/personal-knowledge/columns.tsx
View file @
1bd220e0
...
@@ -34,6 +34,23 @@ export function createKnowledgeColumn(
...
@@ -34,6 +34,23 @@ export function createKnowledgeColumn(
return
row
.
desc
||
'--'
return
row
.
desc
||
'--'
},
},
},
},
{
title
:
()
=>
<
span
>
{
t
(
'common_module.data_table_module.type'
)
}
</
span
>,
key
:
'type'
,
align
:
'left'
,
ellipsis
:
{
tooltip
:
true
,
},
width
:
170
,
render
(
row
:
KnowledgeItem
)
{
const
knowledgeTypeMap
=
{
Base
:
t
(
'personal_space_module.knowledge_module.base_knowledge_type'
),
QA
:
t
(
'personal_space_module.knowledge_module.QA_knowledge_type'
),
}
return
knowledgeTypeMap
?.[
row
.
knowledgeType
]
||
'--'
},
},
{
{
title
:
()
=>
<
span
>
{
t
(
'common_module.created_time'
)
}
</
span
>,
title
:
()
=>
<
span
>
{
t
(
'common_module.created_time'
)
}
</
span
>,
key
:
'createdTime'
,
key
:
'createdTime'
,
...
...
src/views/personal-space/personal-knowledge/knowledge-detail/qa-knowledge/components/add-qa-knowledge-chunk-modal.vue
View file @
1bd220e0
...
@@ -83,7 +83,8 @@ function handleAddKnowledgeChunk() {
...
@@ -83,7 +83,8 @@ function handleAddKnowledgeChunk() {
v-model:is-show=
"isShow"
v-model:is-show=
"isShow"
:title=
"t('personal_space_module.knowledge_module.add_QA_data')"
:title=
"t('personal_space_module.knowledge_module.add_QA_data')"
:btn-loading=
"btnLoading"
:btn-loading=
"btnLoading"
:width=
"1000"
:width=
"1340"
:height=
"502"
@
confirm=
"handleAddKnowledgeChunk"
@
confirm=
"handleAddKnowledgeChunk"
>
>
<template
#
content
>
<template
#
content
>
...
@@ -128,10 +129,10 @@ function handleAddKnowledgeChunk() {
...
@@ -128,10 +129,10 @@ function handleAddKnowledgeChunk() {
v
-
model
:
value
=
"chunkItem.content"
v
-
model
:
value
=
"chunkItem.content"
type
=
"textarea"
type
=
"textarea"
:
placeholder
=
"t('personal_space_module.knowledge_module.please_enter_the_content')"
:
placeholder
=
"t('personal_space_module.knowledge_module.please_enter_the_content')"
class
=
"chunk-content-input h-[
110
px]"
class
=
"chunk-content-input h-[
228
px]"
:
autosize
=
"{
:
autosize
=
"{
minRows:
4
,
minRows:
10
,
maxRows:
4
,
maxRows:
10
,
}
"
}
"
:
maxlength
=
"850"
:
maxlength
=
"850"
/>
/>
...
...
src/views/personal-space/personal-knowledge/knowledge-detail/qa-knowledge/components/edit-qa-knowledge-chunk-modal.vue
View file @
1bd220e0
...
@@ -85,7 +85,8 @@ function handleAddKnowledgeChunk() {
...
@@ -85,7 +85,8 @@ function handleAddKnowledgeChunk() {
v-model:is-show=
"isShow"
v-model:is-show=
"isShow"
:title=
"t('personal_space_module.knowledge_module.edit_QA_data')"
:title=
"t('personal_space_module.knowledge_module.edit_QA_data')"
:btn-loading=
"btnLoading"
:btn-loading=
"btnLoading"
:width=
"1000"
:width=
"1340"
:height=
"502"
@
confirm=
"handleAddKnowledgeChunk"
@
confirm=
"handleAddKnowledgeChunk"
>
>
<template
#
content
>
<template
#
content
>
...
@@ -130,10 +131,10 @@ function handleAddKnowledgeChunk() {
...
@@ -130,10 +131,10 @@ function handleAddKnowledgeChunk() {
v
-
model
:
value
=
"chunkItem.content"
v
-
model
:
value
=
"chunkItem.content"
type
=
"textarea"
type
=
"textarea"
:
placeholder
=
"t('personal_space_module.knowledge_module.please_enter_the_content')"
:
placeholder
=
"t('personal_space_module.knowledge_module.please_enter_the_content')"
class
=
"chunk-content-input h-[
110
px]"
class
=
"chunk-content-input h-[
228
px]"
:
autosize
=
"{
:
autosize
=
"{
minRows:
4
,
minRows:
10
,
maxRows:
4
,
maxRows:
10
,
}
"
}
"
:
maxlength
=
"850"
:
maxlength
=
"850"
/>
/>
...
...
src/views/personal-space/personal-knowledge/knowledge-detail/qa-knowledge/components/setting-knowledge-chunk-index-modal.vue
View file @
1bd220e0
...
@@ -85,7 +85,7 @@ const handleKnowledgeTableAction = useDebounceFn((chunkKeyItem: QAKnowledgeChunk
...
@@ -85,7 +85,7 @@ const handleKnowledgeTableAction = useDebounceFn((chunkKeyItem: QAKnowledgeChunk
:columns=
"chunkIndexColumns"
:columns=
"chunkIndexColumns"
:data=
"knowledgeChunkKeyList"
:data=
"knowledgeChunkKeyList"
:max-height=
"300"
:max-height=
"300"
class=
"mb-
1
"
class=
"mb-
4
"
/>
/>
</
template
>
</
template
>
...
...
types/locales.d.ts
View file @
1bd220e0
...
@@ -182,6 +182,7 @@ declare namespace I18n {
...
@@ -182,6 +182,7 @@ declare namespace I18n {
analysis
:
string
analysis
:
string
listing_applications
:
string
listing_applications
:
string
remove_applications
:
string
remove_applications
:
string
type
:
string
}
}
pagination_module
:
{
pagination_module
:
{
...
...
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