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 8b6df218
authored
Apr 17, 2024
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 移动图片功能,增加获取数据源接口
1 parent
670439fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResultApi.js
src/views/SnapshotCluster/ClusterResult/PersonGroupMover.vue
src/views/SnapshotCluster/ClusterResult/ClusterResultApi.js
View file @
8b6df21
...
@@ -110,6 +110,18 @@ class ClusterResultApi {
...
@@ -110,6 +110,18 @@ class ClusterResultApi {
}
}
)
)
}
}
// 获取UUID,移动图片时需要
getClusterResultUidList
(
data
)
{
return
axiosInstance
.
request
(
{
method
:
'GET'
,
url
:
`/faceRecognitions/faceIdsGroup`
,
params
:
filterEmptyValueInObject
(
data
)
}
)
}
}
}
const
clusterResultApi
=
new
ClusterResultApi
()
const
clusterResultApi
=
new
ClusterResultApi
()
...
...
src/views/SnapshotCluster/ClusterResult/PersonGroupMover.vue
View file @
8b6df21
...
@@ -55,8 +55,22 @@ export default {
...
@@ -55,8 +55,22 @@ export default {
formData
.
value
=
getInitialFormData
()
formData
.
value
=
getInitialFormData
()
formData
.
value
.
unidList
=
selectedList
.
map
(
item
=>
item
.
unid
)
formData
.
value
.
unidList
=
selectedList
.
map
(
item
=>
item
.
unid
)
isVisible
.
value
=
true
;
isVisible
.
value
=
true
;
getDataList
()
};
};
const
getDataList
=
()
=>
{
const
searchCondition
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'searchCondition'
));
console
.
log
(
'searchCondition'
,
searchCondition
)
if
(
searchCondition
)
{
clusterResultApi
.
getClusterResultList
(
searchCondition
).
then
(
r
=>
{
console
.
log
(
'getClusterResultUidList'
,
r
)
})
}
else
{
// 使用props
}
}
const
onCancel
=
()
=>
{
const
onCancel
=
()
=>
{
isVisible
.
value
=
false
;
isVisible
.
value
=
false
;
};
};
...
...
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