linwe
2024-08-08 3c738f4fe2762bba8087e5a22fc0dc06560eab0e
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
import http from '@/http/api.js'
 
export const getList = (current, size, params) => {
    return http.request({
        url: '/blade-policTrajectoryPoint/policTrajectoryPoint/list',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}
 
export const getDetail = (id) => {
    return http.request({
        url: '/blade-policTrajectoryPoint/policTrajectoryPoint/detail',
        method: 'get',
        params: {
            id
        }
    })
}
 
export const remove = (ids) => {
    return http.request({
        url: '/blade-policTrajectoryPoint/policTrajectoryPoint/remove',
        method: 'post',
        params: {
            ids,
        }
    })
}
 
export const add = (row) => {
    return http.request({
        url: '/blade-policTrajectoryPoint/policTrajectoryPoint/submit',
        method: 'post',
        data: row
    })
}
 
export const update = (row) => {
    return http.request({
        url: '/blade-policTrajectoryPoint/policTrajectoryPoint/submit',
        method: 'post',
        data: row
    })
}