飞天云平台-国产化
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

70 lines
1.3 KiB

import request from '@/utils/request'
import qs from 'qs'
export function add(data) {
return request({
url: 'api/person/editPersonInfo',
method: 'post',
data
})
}
export function edit(data) {
return request({
url: 'api/person/editPersonInfo',
method: 'post',
data
})
}
export function del(data) {
return request({
url: 'api/person/deletePersonInfos',
method: 'post',
data
})
}
// 根据id查看人员详细信息
export function FetchPersonInfoById(params) {
return request({
url: 'api/person/getPersonInfoById' + '?' + qs.stringify(params, { indices: false }),
method: 'get'
})
}
// 更改人员类型
export function FetchChangePersonInfo(data) {
return request({
url: 'api/person/changePersonInfo',
method: 'post',
data
})
}
// 人脸查询
export function FetchFindPersonFace(data) {
return request({
url: 'api/person/findPersonFace',
method: 'post',
data
})
}
// 批量上传人员
export function FetchBatchSavePersonInfos(data) {
return request({
url: 'api/person/batchSavePersonInfos',
method: 'post',
data
})
}
export default {
add,
edit,
del,
FetchPersonInfoById,
FetchChangePersonInfo,
FetchFindPersonFace,
FetchBatchSavePersonInfos
}