智慧农业后台管理页面
Administrator
2022-06-14 735027d05301cc3f1852942eb81503318a25d524
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
        }
    })
}