Commit 76c41079 by 李君

特征比对

1 parent b8fd74b3
......@@ -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
}
}
......
......@@ -349,18 +349,25 @@
currentItemId.value = data.id
const rawData = toRaw(queryForm)
let parmas = {
mall_id:data.mall_id,
picType:rawData.picType,
person_unid:data.person_unid,
pic_type: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: 600px;
max-height: 500px;
overflow-y: auto;
}
.imgBox1_top{
min-height: 400px;
max-height: 600px;
max-height: 500px;
overflow-y: auto;
border-bottom: 10px solid #efefef;
}
......
......@@ -4,9 +4,9 @@ class FeatureResultApi {
getPersonContrastList(data) {
return axiosInstance.request(
{
method: 'POST',
url: `/feature/personContrast`,
data: filterEmptyValueInObject(
method: 'GET',
url: `/feature/personContrasts`,
params: filterEmptyValueInObject(
data
)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!