tuqin
2026-10-29 54de60fc3e98ad17f280ae1c8c5ee7fcb32891d3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// 数据采集与处理页面接口
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' })
}