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 76c41079
authored
Mar 30, 2022
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
特征比对
1 parent
b8fd74b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
30 deletions
src/views/ComparisonCapturedPictures/DetailDialogComparison.vue
src/views/FeatureComparisonVerification/FeatureComparisonVerification.vue
src/views/FeatureComparisonVerification/api.js
src/views/ComparisonCapturedPictures/DetailDialogComparison.vue
View file @
76c4107
...
@@ -99,16 +99,6 @@ export default {
...
@@ -99,16 +99,6 @@ export default {
isLoadingTop
.
value
=
false
isLoadingTop
.
value
=
false
if
(
r
.
data
&&
isArray
(
r
.
data
.
personList
))
{
if
(
r
.
data
&&
isArray
(
r
.
data
.
personList
))
{
if
(
r
.
data
.
personList
.
length
>
0
){
if
(
r
.
data
.
personList
.
length
>
0
){
// r.data.forEach((item) => {
// let str = item.features_url.indexOf("/images/feature")
// if (item.features_url) {
// item.features_url = window._baseImgUrl + item.features_url.substring(str)
// }
// let str1 = item.picture_url.indexOf("/images/picture")
// if (item.picture_url) {
// item.picture_url = window._baseImgUrl + item.picture_url.substring(str1)
// }
// })
dataListLeft
.
value
=
r
.
data
.
personList
dataListLeft
.
value
=
r
.
data
.
personList
console
.
log
(
r
.
data
)
console
.
log
(
r
.
data
)
}
}
...
@@ -130,16 +120,6 @@ export default {
...
@@ -130,16 +120,6 @@ export default {
isLoadingBottom
.
value
=
false
isLoadingBottom
.
value
=
false
if
(
r
.
data
&&
isArray
(
r
.
data
.
personList
))
{
if
(
r
.
data
&&
isArray
(
r
.
data
.
personList
))
{
if
(
r
.
data
.
personList
.
length
>
0
){
if
(
r
.
data
.
personList
.
length
>
0
){
// r.data.forEach((item) => {
// let str = item.features_url.indexOf("/images/feature")
// if (item.features_url) {
// item.features_url = window._baseImgUrl + item.features_url.substring(str)
// }
// let str1 = item.picture_url.indexOf("/images/picture")
// if (item.picture_url) {
// item.picture_url = window._baseImgUrl + item.picture_url.substring(str1)
// }
// })
dataListRight
.
value
=
r
.
data
.
personList
dataListRight
.
value
=
r
.
data
.
personList
}
}
}
}
...
...
src/views/FeatureComparisonVerification/FeatureComparisonVerification.vue
View file @
76c4107
...
@@ -349,19 +349,26 @@
...
@@ -349,19 +349,26 @@
currentItemId
.
value
=
data
.
id
currentItemId
.
value
=
data
.
id
const
rawData
=
toRaw
(
queryForm
)
const
rawData
=
toRaw
(
queryForm
)
let
parmas
=
{
let
parmas
=
{
mall_id
:
data
.
mall_
id
,
person_unid
:
data
.
person_un
id
,
pic
T
ype
:
rawData
.
picType
,
pic
_t
ype
:
rawData
.
picType
,
countdate
:
formatDate
(
rawData
.
date
),
countdate
:
formatDate
(
rawData
.
date
),
pic_id
:
data
.
id
,
pic_id
:
data
.
id
,
personList
:[
data
]
ip
:
window
.
_baseImgUrl
}
}
boxObj
.
value
=
data
;
boxObj
.
value
=
data
;
featureList
.
value
=
[]
featureList
.
value
=
[]
featureApi
.
getPersonContrastList
(
parmas
).
then
((
r
)
=>
{
featureApi
.
getPersonContrastList
(
parmas
).
then
((
r
)
=>
{
isLoadingFeature
.
value
=
false
isLoadingFeature
.
value
=
false
console
.
log
(
r
.
data
)
if
(
r
.
data
&&
isArray
(
r
.
data
.
personList
))
{
if
(
r
.
data
&&
isArray
(
r
.
data
.
personList
))
{
featureList
.
value
=
r
.
data
.
personList
r
.
data
.
personList
.
forEach
((
item
)
=>
{
if
(
item
.
features_url
)
{
item
.
features_url
=
window
.
_baseImgUrl
+
item
.
features_url
}
if
(
item
.
picture_url
)
{
item
.
picture_url
=
window
.
_baseImgUrl
+
item
.
picture_url
}
})
featureList
.
value
=
r
.
data
.
personList
}
}
}
}
)
)
...
@@ -526,12 +533,12 @@
...
@@ -526,12 +533,12 @@
}
}
.imgBox2
{
.imgBox2
{
min-height
:
400px
;
min-height
:
400px
;
max-height
:
6
00px
;
max-height
:
5
00px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
}
}
.imgBox1_top
{
.imgBox1_top
{
min-height
:
400px
;
min-height
:
400px
;
max-height
:
6
00px
;
max-height
:
5
00px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
border-bottom
:
10px
solid
#efefef
;
border-bottom
:
10px
solid
#efefef
;
}
}
...
...
src/views/FeatureComparisonVerification/api.js
View file @
76c4107
...
@@ -4,9 +4,9 @@ class FeatureResultApi {
...
@@ -4,9 +4,9 @@ class FeatureResultApi {
getPersonContrastList
(
data
)
{
getPersonContrastList
(
data
)
{
return
axiosInstance
.
request
(
return
axiosInstance
.
request
(
{
{
method
:
'
POS
T'
,
method
:
'
GE
T'
,
url
:
`/feature/personContrast`
,
url
:
`/feature/personContrast
s
`
,
data
:
filterEmptyValueInObject
(
params
:
filterEmptyValueInObject
(
data
data
)
)
}
}
...
...
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