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
851 B
JavaScript
48 lines
851 B
JavaScript
import request from '@/utils/request'
|
|
|
|
export function listSamplingPlan(query) {
|
|
return request({
|
|
url: '/base/samplingPlan/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function getSamplingPlan(objId) {
|
|
return request({
|
|
url: '/base/samplingPlan/' + objId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function addSamplingPlan(data) {
|
|
return request({
|
|
url: '/base/samplingPlan',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
export function updateSamplingPlan(data) {
|
|
return request({
|
|
url: '/base/samplingPlan',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
export function delSamplingPlan(objId) {
|
|
return request({
|
|
url: '/base/samplingPlan/' + objId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
export function getSamplingPlanList(query) {
|
|
return request({
|
|
url: '/base/samplingPlan/getList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|