Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6eb37c90
authored
Nov 12, 2025
by
陈岩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 聚类结果增加过滤条件
1 parent
f6d583ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
13 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/SnapshotCluster.vue
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
6eb37c9
...
...
@@ -159,11 +159,21 @@
<a-time-picker
format=
"HH:mm:ss"
valueFormat=
"HH:mm:ss"
v-model:value=
"queryForm.startTime"
style=
"width: 130px"
/>
<a-time-picker
format=
"HH:mm:ss"
valueFormat=
"HH:mm:ss"
v-model:value=
"queryForm.endTime"
style=
"width: 130px"
/>
</a-form-item>
<a-form-item
label=
"图片数量:"
style=
"padding: 5px 0"
>
<a-input
v-model:value=
"queryForm.minPic"
style=
"width: 70px"
/>
至
<a-input
v-model:value=
"queryForm.maxPic"
style=
"width: 70px"
/>
</a-form-item>
<a-form-item
label=
"是否过滤"
style=
"padding: 5px 0"
>
<a-radio-group
v-model:value=
"queryForm.filter"
>
<a-radio
:value=
"0"
>
不过滤
</a-radio>
<a-radio
:value=
"1"
>
过滤
</a-radio>
</a-radio-group>
</a-form-item>
<a-form-item
style=
"padding: 5px 0"
>
<a-button
type=
"primary"
@
click=
"clickSearch"
:loading=
"isLoading"
>
查询
</a-button>
</a-form-item>
...
...
@@ -455,6 +465,7 @@ export default {
gender
:[],
receptionType
:
''
,
sortType
:
''
,
filter
:
0
}
)
const
searchCondition
=
ref
({})
...
...
@@ -475,6 +486,7 @@ export default {
queryForm
.
endTime
=
searchCondition
.
value
.
endTime
;
queryForm
.
minPic
=
searchCondition
.
value
.
minPic
||
0
;
queryForm
.
maxPic
=
searchCondition
.
value
.
maxPic
||
1000
;
queryForm
.
filter
=
searchCondition
.
value
.
filter
||
0
;
}
// function
const
onPageNumChange
=
function
(
num
)
{
...
...
@@ -764,6 +776,7 @@ export default {
...
storageData
}
window
.
localStorage
.
setItem
(
'searchCondition'
,
JSON
.
stringify
(
newSearchCondition
))
data
.
filter
=
queryForm
.
filter
clusterResultApi
.
getClusterResultList
(
data
).
then
(
(
r
)
=>
{
isLoading
.
value
=
false
...
...
src/views/SnapshotCluster/SnapshotCluster.vue
View file @
6eb37c9
...
...
@@ -6,19 +6,19 @@
<a-menu-item
:key=
"'聚类结果'"
class=
"snapshot-cluster-title"
>
聚类结果
</a-menu-item>
<a-menu-item
:key=
"'批次'"
class=
"snapshot-cluster-title"
>
批次
</a-menu-item>
<a-menu-item
:key=
"'批次'"
class=
"snapshot-cluster-title"
>
批次
</a-menu-item>
</a-menu>
<div
v-if=
"currentMenu[0] === '抓拍记录'"
>
<SnapshotRecord></SnapshotRecord>
</div>
<div
v-if=
"currentMenu[0] === '聚类结果'"
>
<ClusterResult></ClusterResult>
<keep-alive>
<ClusterResult
v-if=
"currentMenu[0] === '聚类结果'"
></ClusterResult>
</keep-alive>
<div
v-if=
"currentMenu[0] === '批次'"
>
<batchesResult></batchesResult>
</div>
<div
v-if=
"currentMenu[0] === '批次'"
>
<batchesResult></batchesResult>
</div>
</
template
>
<
script
>
...
...
@@ -31,7 +31,7 @@ export default {
components
:
{
SnapshotRecord
,
ClusterResult
,
batchesResult
,
batchesResult
,
},
setup
()
{
// scalar
...
...
@@ -56,8 +56,8 @@ export default {
</
style
>
<
style
type=
"text/css"
>
.snapshot-cluster-title.ant-menu-item
{
line-height
:
28px
!important
;
padding-left
:
20px
!important
;
}
.snapshot-cluster-title.ant-menu-item
{
line-height
:
28px
!important
;
padding-left
:
20px
!important
;
}
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment