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 fa0f2c19
authored
Apr 11, 2024
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 增加剔除功能
1 parent
1b72b572
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/ClusterResult/ClusterResultApi.js
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
fa0f2c1
...
@@ -581,7 +581,12 @@ export default {
...
@@ -581,7 +581,12 @@ export default {
const
selectedPersonList
=
ref
([])
const
selectedPersonList
=
ref
([])
const
deletePersonRecord
=
(
data
)
=>
{
const
deletePersonRecord
=
(
data
)
=>
{
console
.
log
(
'deletePersonRecord'
,
data
)
console
.
log
(
'deletePersonRecord'
,
data
)
clusterResultApi
.
excludePerson
(
data
).
then
(
const
unidList
=
selectedPersonList
.
value
.
map
(
item
=>
item
.
unid
)
const
params
=
{
unid
:
unidList
.
join
(
','
),
personUnid
:
''
,
}
clusterResultApi
.
updatePerson
(
params
).
then
(
(
r
)
=>
{
(
r
)
=>
{
if
(
r
.
msg_code
==
200
){
if
(
r
.
msg_code
==
200
){
ElMessage
({
ElMessage
({
...
...
src/views/SnapshotCluster/ClusterResult/ClusterResultApi.js
View file @
fa0f2c1
...
@@ -100,16 +100,6 @@ class ClusterResultApi {
...
@@ -100,16 +100,6 @@ class ClusterResultApi {
}
}
)
)
}
}
// 剔除
excludePerson
(
data
)
{
/* return axiosInstance.request(
{
method: 'DELETE',
url: `/faceRecognitions/${data.id}`,
}
) */
}
}
}
const
clusterResultApi
=
new
ClusterResultApi
()
const
clusterResultApi
=
new
ClusterResultApi
()
...
...
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