智慧农业大数据平台
xiebin
2022-11-16 3dc278f10a4c3e3db7ce3a445bed710bdc88916e
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
import request from '@/router/axios'
 
// 获取有无轮廓地块的数量
export const getLandIsAreaStatistic = (farmId) => {
    return request({
        url: '/land/land/getLandIsAreaStatistic',
        method: 'get',
        params: {
            farmId
        }
    })
}
// 获取品种列表
export const getList = (current, size, params) => {
    return request({
        url: '/farmPlant/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}
//获取地块列表
export const getLandList = (current, size, params) => {
    return request({
        url: '/land/land/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}