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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
29 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 {
isLoadingTop
.
value
=
false
if
(
r
.
data
&&
isArray
(
r
.
data
.
personList
))
{
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
console
.
log
(
r
.
data
)
}
...
...
@@ -130,16 +120,6 @@ export default {
isLoadingBottom
.
value
=
false
if
(
r
.
data
&&
isArray
(
r
.
data
.
personList
))
{
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
}
}
...
...
src/views/FeatureComparisonVerification/FeatureComparisonVerification.vue
View file @
76c4107
...
...
@@ -349,18 +349,25 @@
currentItemId
.
value
=
data
.
id
const
rawData
=
toRaw
(
queryForm
)
let
parmas
=
{
mall_id
:
data
.
mall_
id
,
pic
T
ype
:
rawData
.
picType
,
person_unid
:
data
.
person_un
id
,
pic
_t
ype
:
rawData
.
picType
,
countdate
:
formatDate
(
rawData
.
date
),
pic_id
:
data
.
id
,
personList
:[
data
]
ip
:
window
.
_baseImgUrl
}
boxObj
.
value
=
data
;
featureList
.
value
=
[]
featureApi
.
getPersonContrastList
(
parmas
).
then
((
r
)
=>
{
isLoadingFeature
.
value
=
false
console
.
log
(
r
.
data
)
if
(
r
.
data
&&
isArray
(
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 @@
}
.imgBox2
{
min-height
:
400px
;
max-height
:
6
00px
;
max-height
:
5
00px
;
overflow-y
:
auto
;
}
.imgBox1_top
{
min-height
:
400px
;
max-height
:
6
00px
;
max-height
:
5
00px
;
overflow-y
:
auto
;
border-bottom
:
10px
solid
#efefef
;
}
...
...
src/views/FeatureComparisonVerification/api.js
View file @
76c4107
...
...
@@ -4,9 +4,9 @@ class FeatureResultApi {
getPersonContrastList
(
data
)
{
return
axiosInstance
.
request
(
{
method
:
'
POS
T'
,
url
:
`/feature/personContrast`
,
data
:
filterEmptyValueInObject
(
method
:
'
GE
T'
,
url
:
`/feature/personContrast
s
`
,
params
:
filterEmptyValueInObject
(
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