Commit fa0f2c19 by Tianqing Liu

feat: 增加剔除功能

1 parent 1b72b572
......@@ -581,7 +581,12 @@ export default {
const selectedPersonList = ref([])
const deletePersonRecord = (data) => {
console.log('deletePersonRecord', data)
clusterResultApi.excludePerson(data).then(
const unidList = selectedPersonList.value.map(item => item.unid)
const params = {
unid: unidList.join(','),
personUnid: '',
}
clusterResultApi.updatePerson(params).then(
(r) => {
if(r.msg_code==200){
ElMessage({
......
......@@ -100,16 +100,6 @@ class ClusterResultApi {
}
)
}
// 剔除
excludePerson(data) {
/* return axiosInstance.request(
{
method: 'DELETE',
url: `/faceRecognitions/${data.id}`,
}
) */
}
}
const clusterResultApi = new ClusterResultApi()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!