智慧农业大数据平台
zengh
2022-07-19 e65d6c82a235d40b2db16cc687251b58f335b039
src/api/farm/farmingrecord.js
@@ -89,22 +89,22 @@
    })
}
export const getFarmingCount = (deptId) => {
export const getFarmingCount = (farmId) => {
    return request({
        url: '/farmingRecord/getFarmingCount',
        method: 'get',
        params: {
            deptId
            farmId
        }
    })
}
export const getFarmingStatis = (deptId) => {
export const getFarmingStatis = (farmId) => {
    return request({
        url: '/farmingRecord/getFarmingStatis',
        method: 'get',
        params: {
            deptId
            farmId
        }
    })
}
@@ -119,10 +119,13 @@
        }
    })
}
export const SelectCount = () => {
export const SelectCount = (farmId) => {
    return request({
        url: '/farm/SelectCount',
        method: 'get'
        method: 'get',
        params: {
            farmId
        }
    })
}