智慧农业后台管理页面
Administrator
2022-07-08 335f9ce8a5efb5be1c8d7c422d2beee6fd77cd97
src/api/farm/farmingrecord.js
@@ -48,18 +48,22 @@
}
export const getFarmingCount = () => {
export const getFarmingCount = (deptId) => {
    return request({
        url: '/api/farmingRecord/getFarmingCount',
        method: 'get',
        params: {}
        params: {
            deptId
        }
    })
}
export const getFarmingStatis = () => {
export const getFarmingStatis = (deptId) => {
    return request({
        url: '/api/farmingRecord/getFarmingStatis',
        method: 'get',
        params: {}
        params: {
            deptId
        }
    })
}