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 bff1c36f
authored
Apr 11, 2024
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 增加分值
1 parent
9d133b15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
src/views/SnapshotCluster/ClusterResult/PersonGroupDialog.vue
src/views/SnapshotCluster/ClusterResult/PersonGroupDialog.vue
View file @
bff1c36
...
...
@@ -6,6 +6,7 @@
width=
"90%"
height=
'90%'
centered
destroyOnClose
class=
"detail-modal"
>
<div
class=
"person-group"
>
...
...
@@ -55,7 +56,7 @@
<template
v-if=
"groupList.length > 0"
>
<div
class=
"classBox"
v-for=
"row in groupList"
:key=
"row.person_unid"
>
<el-row>
<el-col
:span=
"3"
v-for=
"item in row.personList"
:key=
"item.id"
>
<el-col
class=
"itemBox"
:span=
"3"
v-for=
"item in row.personList"
:key=
"item.id"
>
<div
style=
"margin: 0 5px"
:class=
"isSelectedImg(item) ? 'actived' : ''"
...
...
@@ -68,6 +69,7 @@
class=
"single-image"
>
</el-image>
<p
class=
"featureNum"
>
{{
(
item
.
featureNum
).
toFixed
(
2
)
}}
</p>
<div>
时间:
{{
item
.
counttime
}}
</div>
<!--
<div>
人员类型:
{{
item
.
person_type
==
1
?
'店员'
:(
item
.
person_type
==
0
?
'顾客'
:
'未知'
)
}}
(
{{
item
.
childAdult
==
1
?
'成人'
:(
item
.
childAdult
==
0
?
'儿童'
:
'未知'
)
}}
)
</div>
-->
<!--
<div>
性别:
{{
formatGender
(
item
.
gender
)
}}
(
{{
item
.
age
}}
)
</div>
-->
...
...
@@ -123,6 +125,7 @@ export default {
const
initDialog
=
(
data
)
=>
{
console
.
log
(
'initDialog'
,
data
)
formData
.
value
=
getInitialFormData
()
groupList
.
value
=
[]
isVisible
.
value
=
true
;
...
...
@@ -201,6 +204,7 @@ export default {
images
:
url
,
});
}
const
onCancel
=
()
=>
{
isVisible
.
value
=
false
;
groupList
.
value
=
[]
...
...
@@ -296,4 +300,16 @@ export default {
height
:
auto
;
margin-bottom
:
10px
;
}
.itemBox
{
position
:
relative
;
.featureNum
{
position
:
absolute
;
top
:
0
;
left
:
15px
;
color
:
red
;
font-weight
:
900
;
font-size
:
16px
;
}
}
</
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