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.
48 lines
923 B
JavaScript
48 lines
923 B
JavaScript
import request from '@/utils/request'
|
|
|
|
export function listSamplingInspection(query) {
|
|
return request({
|
|
url: '/base/samplingInspection/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function getSamplingInspection(objId) {
|
|
return request({
|
|
url: '/base/samplingInspection/' + objId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function addSamplingInspection(data) {
|
|
return request({
|
|
url: '/base/samplingInspection',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
export function updateSamplingInspection(data) {
|
|
return request({
|
|
url: '/base/samplingInspection',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
export function delSamplingInspection(objId) {
|
|
return request({
|
|
url: '/base/samplingInspection/' + objId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
export function getSamplingInspectionList(query) {
|
|
return request({
|
|
url: '/base/samplingInspection/getList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|