Commit 8b6df218 by Tianqing Liu

feat: 移动图片功能,增加获取数据源接口

1 parent 670439fb
......@@ -110,6 +110,18 @@ class ClusterResultApi {
}
)
}
// 获取UUID,移动图片时需要
getClusterResultUidList(data) {
return axiosInstance.request(
{
method: 'GET',
url: `/faceRecognitions/faceIdsGroup`,
params: filterEmptyValueInObject(
data
)
}
)
}
}
const clusterResultApi = new ClusterResultApi()
......
......@@ -55,8 +55,22 @@ export default {
formData.value = getInitialFormData()
formData.value.unidList = selectedList.map(item => item.unid)
isVisible.value = true;
getDataList()
};
const getDataList = () => {
const searchCondition = JSON.parse(window.localStorage.getItem('searchCondition'));
console.log('searchCondition', searchCondition)
if (searchCondition) {
clusterResultApi.getClusterResultList(searchCondition).then(r => {
console.log('getClusterResultUidList', r)
})
} else {
// 使用props
}
}
const onCancel = () => {
isVisible.value = false;
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!