You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
793 B
JavaScript
45 lines
793 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询用户仪器绑定日志列表
|
|
export function listLog(query) {
|
|
return request({
|
|
url: '/system/log/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询用户仪器绑定日志详细
|
|
export function getLog(id) {
|
|
return request({
|
|
url: '/system/log/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增用户仪器绑定日志
|
|
export function addLog(data) {
|
|
return request({
|
|
url: '/system/log',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改用户仪器绑定日志
|
|
export function updateLog(data) {
|
|
return request({
|
|
url: '/system/log',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除用户仪器绑定日志
|
|
export function delLog(id) {
|
|
return request({
|
|
url: '/system/log/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|