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
4cc157d3
Commit
4cc157d3
authored
Dec 05, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
chore(应用配置): 支持刷新知识库列表&&只查询学习成功知识库 See merge request
!106
parents
6f2d7dd4
d49ca68e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
index.html
index.html
+1
-1
associated-knowledge-modal.vue
...g/agent-setting/components/associated-knowledge-modal.vue
+7
-1
No files found.
index.html
View file @
4cc157d3
...
...
@@ -8,7 +8,7 @@
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/c/font_4711453_
04ol63hssfos
.css"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/c/font_4711453_
i03chzm1n0e
.css"
/>
<title>
Model Link
</title>
</head>
...
...
src/views/personal-space/personal-app-setting/components/agent-config/agent-setting/components/associated-knowledge-modal.vue
View file @
4cc157d3
...
...
@@ -7,6 +7,7 @@ import { usePagination } from '@/composables/usePagination.ts'
import
CustomModal
from
'@/components/custom-modal/custom-modal.vue'
import
{
fetchCreateKnowledge
,
fetchGetKnowledgeList
}
from
'@/apis/knowledge'
import
{
KnowledgeDocumentItem
,
KnowledgeItem
}
from
'@/views/personal-space/personal-knowledge/types'
import
{
TrainStatus
}
from
'@/views/personal-space/personal-knowledge/types.d'
import
{
formatDateTime
}
from
'@/utils/date-formatter'
import
CreateKnowledgeModal
,
{
KnowledgeFormDataInterface
,
...
...
@@ -95,7 +96,7 @@ async function handleGetKnowledgeList() {
paginationData
.
pageSize
=
999999
knowledgeListLoading
.
value
=
true
const
res
=
await
fetchGetKnowledgeList
<
KnowledgeItem
[]
>
(
''
,
searchKnowledgeInputValue
.
value
,
{
const
res
=
await
fetchGetKnowledgeList
<
KnowledgeItem
[]
>
(
TrainStatus
.
COMPLETE
,
searchKnowledgeInputValue
.
value
,
{
pagingInfo
:
paginationData
,
})
...
...
@@ -171,6 +172,11 @@ async function handleCreateKnowledgeNextStep(createKnowledgeData: KnowledgeFormD
<template
#
content
>
<div
class=
"flex w-full justify-end px-3"
>
<div
class=
"gap-4.5 flex items-center"
>
<i
class=
"iconfont icon-shuaxin text-gray-font-color hover:text-font-color cursor-pointer"
@
click=
"handleGetKnowledgeList"
/>
<NInput
v-model:value=
"searchKnowledgeInputValue"
:placeholder=
"t('personal_space_module.knowledge_module.search_knowledge_placeholder')"
...
...
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