mirror of
https://gitee.com/elegant_wings/dbd-meeting-html.git
synced 2025-06-21 17:19:35 +08:00
35 lines
735 B
JavaScript
35 lines
735 B
JavaScript
![]() |
import { axios } from '@/utils/request'
|
||
|
|
||
|
const api = {
|
||
|
visitorPerson: '/meeting/visitorPerson'
|
||
|
}
|
||
|
|
||
|
export function getVisitorPersonList (parameter) {
|
||
|
return axios({
|
||
|
url: api.visitorPerson + '/list',
|
||
|
method: 'get',
|
||
|
params: parameter
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function saveVisitorPerson (parameter) {
|
||
|
return axios({
|
||
|
url: api.visitorPerson + (parameter.id > 0 ? '/update' : '/save'),
|
||
|
method: 'post',
|
||
|
data: parameter,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json;charset=UTF-8'
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function delVisitorPerson (parameter) {
|
||
|
return axios({
|
||
|
url: api.visitorPerson + '/remove',
|
||
|
method: 'post',
|
||
|
params: parameter
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export const visitorPersonExport = api.visitorPerson + '/export'
|