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 b4580f6c
authored
Mar 07, 2024
by
李乾广
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
ea7a75af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
19 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
src/views/SnapshotCluster/batchesResult/batchesResult.vue
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
b4580f6
...
...
@@ -249,6 +249,7 @@ export default {
queryForm
.
zone_id
=
searchCondition
.
value
.
zone_id
;
queryForm
.
gate_id
=
searchCondition
.
value
.
gate_id
;
queryForm
.
direction
=
searchCondition
.
value
.
direction
;
queryForm
.
childAdult
=
searchCondition
.
value
.
childAdult
;
queryForm
.
picType
=
searchCondition
.
value
.
picType
;
queryForm
.
date
=
searchCondition
.
value
.
date
;
// queryForm.startTime = searchCondition.value.startTime;
...
...
@@ -452,6 +453,7 @@ export default {
direction
:
rawData
.
direction
,
picType
:
rawData
.
picType
,
personType
:
rawData
.
personType
,
childAdult
:
rawData
.
childAdult
,
date
:
rawData
.
date
,
minPic
:
rawData
.
minPic
,
maxPic
:
rawData
.
maxPic
,
...
...
@@ -459,7 +461,12 @@ export default {
endTime
:
rawData
.
endTime
,
}
)
window
.
localStorage
.
setItem
(
'searchCondition'
,
JSON
.
stringify
(
storageData
))
let
searchCondition
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'searchCondition'
));
let
newSearchCondition
=
{
...
searchCondition
,
...
storageData
}
window
.
localStorage
.
setItem
(
'searchCondition'
,
JSON
.
stringify
(
newSearchCondition
))
clusterResultApi
.
getClusterResultList
(
data
).
then
(
(
r
)
=>
{
isLoading
.
value
=
false
...
...
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
View file @
b4580f6
...
...
@@ -219,6 +219,7 @@ export default {
queryForm
.
zone_id
=
searchCondition
.
value
.
zone_id
;
queryForm
.
gate_id
=
searchCondition
.
value
.
gate_id
;
queryForm
.
direction
=
searchCondition
.
value
.
direction
;
queryForm
.
childAdult
=
searchCondition
.
value
.
childAdult
;
queryForm
.
picType
=
searchCondition
.
value
.
picType
;
queryForm
.
date
=
searchCondition
.
value
.
date
;
// queryForm.startTime = searchCondition.value.startTime;
...
...
@@ -285,7 +286,7 @@ export default {
}
const
getZoneList
=
function
(
val
)
{
queryForm
.
zone_id
=
[]
//
queryForm.zone_id = []
zoneList
.
value
=
[]
snapshotRecordApi
.
getZoneList
(
{
...
...
@@ -414,12 +415,18 @@ export default {
direction
:
rawData
.
direction
,
picType
:
rawData
.
picType
,
personType
:
rawData
.
personType
,
childAdult
:
rawData
.
childAdult
,
date
:
rawData
.
date
,
startTime
:
rawData
.
startTime
,
endTime
:
rawData
.
endTime
,
}
)
window
.
localStorage
.
setItem
(
'searchCondition'
,
JSON
.
stringify
(
storageData
))
let
searchCondition
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'searchCondition'
));
let
newSearchCondition
=
{
...
searchCondition
,
...
storageData
}
window
.
localStorage
.
setItem
(
'searchCondition'
,
JSON
.
stringify
(
newSearchCondition
))
snapshotRecordApi
.
getSnapshotRecordList
(
data
).
then
(
(
r
)
=>
{
isLoading
.
value
=
false
...
...
src/views/SnapshotCluster/batchesResult/batchesResult.vue
View file @
b4580f6
...
...
@@ -206,26 +206,33 @@
startTime
:
rawData
.
startTime
,
endTime
:
rawData
.
endTime
,
})
window
.
localStorage
.
setItem
(
'searchCondition'
,
JSON
.
stringify
(
storageData
))
let
searchCondition
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'searchCondition'
));
let
newSearchCondition
=
{
...
searchCondition
,
...
storageData
}
window
.
localStorage
.
setItem
(
'searchCondition'
,
JSON
.
stringify
(
newSearchCondition
))
batchesResultApi
.
getBatchesResultList
(
data
).
then
(
(
r
)
=>
{
isLoading
.
value
=
false
sortDataList
(
r
.
data
.
pageData
)
r
.
data
.
pageData
.
forEach
((
itemPerson
)
=>
{
itemPerson
.
checked
=
false
itemPerson
.
expand
=
false
itemPerson
.
personRecordList
.
forEach
((
item
)
=>
{
if
(
item
.
faceRecognitionVo
&&
item
.
faceRecognitionVo
.
picture_url
)
{
item
.
faceRecognitionVo
.
picture_url
=
window
.
_baseImgUrl
+
item
.
faceRecognitionVo
.
picture_url
}
if
(
item
.
faceRecognitionVo
&&
item
.
faceRecognitionVo
.
features_url
)
{
item
.
faceRecognitionVo
.
features_url
=
window
.
_baseImgUrl
+
item
.
faceRecognitionVo
.
features_url
}
if
(
r
.
data
&&
r
.
data
.
pageData
)
{
sortDataList
(
r
.
data
.
pageData
)
r
.
data
.
pageData
.
forEach
((
itemPerson
)
=>
{
itemPerson
.
checked
=
false
itemPerson
.
expand
=
false
itemPerson
.
personRecordList
.
forEach
((
item
)
=>
{
if
(
item
.
faceRecognitionVo
&&
item
.
faceRecognitionVo
.
picture_url
)
{
item
.
faceRecognitionVo
.
picture_url
=
window
.
_baseImgUrl
+
item
.
faceRecognitionVo
.
picture_url
}
if
(
item
.
faceRecognitionVo
&&
item
.
faceRecognitionVo
.
features_url
)
{
item
.
faceRecognitionVo
.
features_url
=
window
.
_baseImgUrl
+
item
.
faceRecognitionVo
.
features_url
}
})
})
})
dataList
.
value
=
r
.
data
.
pageData
console
.
log
(
dataList
.
value
)
total
.
value
=
r
.
data
.
total
dataList
.
value
=
r
.
data
.
pageData
console
.
log
(
dataList
.
value
)
total
.
value
=
r
.
data
.
total
}
document
.
getElementsByClassName
(
'resultContent'
)[
0
].
scrollTop
=
0
}
)
...
...
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