// 数据采集与处理页面接口
|
import request from '@/utils/request'
|
|
// 分页查询数据采集
|
export function listDataCollection(query) {
|
return request({
|
url: '/lims/dataCollection/listPage',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询数据采集详细
|
export function getDataCollection(id) {
|
return request({
|
url: '/lims/dataCollection/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增数据采集
|
export function addDataCollection(data) {
|
return request({
|
url: '/lims/dataCollection/add',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改数据采集
|
export function updateDataCollection(data) {
|
return request({
|
url: '/lims/dataCollection/update',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 删除数据采集
|
export function delDataCollection(ids) {
|
return request({
|
url: '/lims/dataCollection/delete',
|
method: 'delete',
|
data: ids
|
})
|
}
|
|
// ===== ③ 清洗与验证 =====
|
export function processCollection(id) {
|
return request({ url: '/lims/dataCollection/process/' + id, method: 'post' })
|
}
|
|
export function processCollectionBatch(ids) {
|
return request({ url: '/lims/dataCollection/processBatch', method: 'post', data: ids })
|
}
|
|
export function processCollectionPending(limit) {
|
return request({ url: '/lims/dataCollection/processPending', method: 'post', params: { limit } })
|
}
|
|
export function getCollectionDetail(id) {
|
return request({ url: '/lims/dataCollection/detail/' + id, method: 'get' })
|
}
|