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
8bb61cf6
Commit
8bb61cf6
authored
Apr 16, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 知识库详情页面增加一个刷新按钮
parent
92a4f93e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
index.html
index.html
+1
-1
personal-document.vue
...s/personal-space/personal-knowledge/personal-document.vue
+14
-1
No files found.
index.html
View file @
8bb61cf6
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
name=
"viewport"
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
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_
t9t0ftzqft
.css"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/c/font_4711453_
usul8q5bwqp
.css"
/>
<link
<link
rel=
"preload"
rel=
"preload"
href=
"https://gsst-poe-sit.gz.bcebos.com/front/SourceHanSansCN-Medium.otf"
href=
"https://gsst-poe-sit.gz.bcebos.com/front/SourceHanSansCN-Medium.otf"
...
...
src/views/personal-space/personal-knowledge/personal-document.vue
View file @
8bb61cf6
...
@@ -47,6 +47,8 @@ const currentKnowledgeData = ref<KnowledgeFormDataInterface>({
...
@@ -47,6 +47,8 @@ const currentKnowledgeData = ref<KnowledgeFormDataInterface>({
knowledgeType
:
'Base'
,
knowledgeType
:
'Base'
,
})
})
const
refreshIconRotating
=
ref
(
false
)
const
isDisabledBatchDelBtn
=
computed
(()
=>
{
const
isDisabledBatchDelBtn
=
computed
(()
=>
{
return
checkedKdIdList
.
value
.
length
<=
0
return
checkedKdIdList
.
value
.
length
<=
0
})
})
...
@@ -243,6 +245,11 @@ function handleToUploadDocument() {
...
@@ -243,6 +245,11 @@ function handleToUploadDocument() {
function
handleBackKnowledgeList
()
{
function
handleBackKnowledgeList
()
{
router
.
replace
({
name
:
'PersonalSpaceKnowledge'
})
router
.
replace
({
name
:
'PersonalSpaceKnowledge'
})
}
}
async
function
handleRefreshKnowledgeDocumentList
()
{
refreshIconRotating
.
value
=
true
await
handleGetKnowledgeDocumentList
().
finally
(()
=>
(
refreshIconRotating
.
value
=
false
))
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -261,7 +268,13 @@ function handleBackKnowledgeList() {
...
@@ -261,7 +268,13 @@ function handleBackKnowledgeList() {
</div>
</div>
</div>
</div>
<div
class=
"mb-[18px] flex justify-end"
>
<div
class=
"mb-[18px] flex items-center justify-end"
>
<i
class=
"iconfont icon-refresh mr-[14px] cursor-pointer text-[20px] text-[#d3d3d3] transition-[rotate] duration-150 ease-in-out hover:opacity-80"
:class=
"
{ 'rotate-360': refreshIconRotating }"
@click="handleRefreshKnowledgeDocumentList"
/>
<NInput
<NInput
v-model:value=
"searchDocumentInputValue"
v-model:value=
"searchDocumentInputValue"
:placeholder=
"t('personal_space_module.knowledge_module.search_knowledge_document_placeholder')"
:placeholder=
"t('personal_space_module.knowledge_module.search_knowledge_document_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