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
8fc8b236
Commit
8fc8b236
authored
Apr 07, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(知识库): 增加类型字段
parent
01e68560
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
0 deletions
+21
-0
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
locales.d.ts
types/locales.d.ts
+1
-0
No files found.
src/locales/langs/en.yaml
View file @
8fc8b236
...
@@ -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 @
8fc8b236
...
@@ -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 @
8fc8b236
...
@@ -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 @
8fc8b236
...
@@ -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'
,
...
...
types/locales.d.ts
View file @
8fc8b236
...
@@ -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