智慧农业大数据平台
tangzy
2022-06-29 ebf3000716609bd156efeb701dd910a717a9102a
src/api/farm/farmingrecord.js
@@ -67,3 +67,30 @@
        }
    })
}
export const pagePalnt = (current, size, params) => {
    return request({
        url: '/farmPlant/pagePalnt',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    })
}
export const SelectCount = () => {
    return request({
        url: '/farm/SelectCount',
        method: 'get'
    })
}
export const getStockCount = (deptId) => {
    return request({
        url: '/farmingRecord/getStockCount',
        method: 'get',
        params: {
            deptId
        }
    })
}