Commit 1b72b572 by Tianqing Liu

feat: 增加剔除接口

1 parent 3b05a470
...@@ -581,7 +581,7 @@ export default { ...@@ -581,7 +581,7 @@ export default {
const selectedPersonList = ref([]) const selectedPersonList = ref([])
const deletePersonRecord = (data) => { const deletePersonRecord = (data) => {
console.log('deletePersonRecord', data) console.log('deletePersonRecord', data)
clusterResultApi.deletePerson(data).then( clusterResultApi.excludePerson(data).then(
(r) => { (r) => {
if(r.msg_code==200){ if(r.msg_code==200){
ElMessage({ ElMessage({
......
...@@ -100,6 +100,16 @@ class ClusterResultApi { ...@@ -100,6 +100,16 @@ class ClusterResultApi {
} }
) )
} }
// 剔除
excludePerson(data) {
/* return axiosInstance.request(
{
method: 'DELETE',
url: `/faceRecognitions/${data.id}`,
}
) */
}
} }
const clusterResultApi = new ClusterResultApi() 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!