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
3ed92794
Commit
3ed92794
authored
Mar 11, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 批量删除问答知识库交互优化
parent
748ae56c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
qa-knowledge-chunk-detail.vue
...owledge-detail/qa-knowledge/qa-knowledge-chunk-detail.vue
+6
-1
No files found.
src/views/personal-space/personal-knowledge/knowledge-detail/qa-knowledge/qa-knowledge-chunk-detail.vue
View file @
3ed92794
...
@@ -276,6 +276,8 @@ async function handleDeleteQAKnowledgeChunk(chunkRelationId: string) {
...
@@ -276,6 +276,8 @@ async function handleDeleteQAKnowledgeChunk(chunkRelationId: string) {
const
res
=
await
fetchDeleteQAKnowledgeChunk
({
const
res
=
await
fetchDeleteQAKnowledgeChunk
({
kdId
:
props
.
kdId
,
kdId
:
props
.
kdId
,
chunkRelationId
,
chunkRelationId
,
}).
finally
(()
=>
{
knowledgeChunkColumnTableLoading
.
value
=
false
})
})
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
...
@@ -307,10 +309,13 @@ function handleBatchDeleteKnowledgeChunk() {
...
@@ -307,10 +309,13 @@ function handleBatchDeleteKnowledgeChunk() {
.
then
(
async
()
=>
{
.
then
(
async
()
=>
{
knowledgeChunkColumnTableLoading
.
value
=
true
knowledgeChunkColumnTableLoading
.
value
=
true
const
res
=
await
fetchBatchDeleteQAKnowledgeChunks
(
props
.
kdId
,
checkedChunkIdList
.
value
)
const
res
=
await
fetchBatchDeleteQAKnowledgeChunks
(
props
.
kdId
,
checkedChunkIdList
.
value
).
finally
(()
=>
{
knowledgeChunkColumnTableLoading
.
value
=
false
})
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
window
.
$message
.
success
(
t
(
'common_module.delete_success_message'
))
window
.
$message
.
success
(
t
(
'common_module.delete_success_message'
))
checkedChunkIdList
.
value
=
[]
await
userStore
.
fetchUpdateEquityInfo
()
await
userStore
.
fetchUpdateEquityInfo
()
await
handleQAKnowledgeChunkList
()
await
handleQAKnowledgeChunkList
()
}
}
...
...
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