智慧农业大数据平台
1
guanqb
2022-07-21 f9812ca20f1a34809057fdcd8564f7c495fc9693
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,19 +119,22 @@
        }
    })
}
export const SelectCount = () => {
export const SelectCount = (farmId) => {
    return request({
        url: '/farm/SelectCount',
        method: 'get'
        method: 'get',
        params: {
            farmId
        }
    })
}
export const getStockCount = (deptId) => {
export const getStockCount = (farmId) => {
    return request({
        url: '/farmingRecord/getStockCount',
        method: 'get',
        params: {
            deptId
            farmId
        }
    })
}
@@ -168,6 +171,15 @@
export const productsSupervise = (params) => {
    return request({
        url: '/farmProductStock/productsSupervise',
        method: 'get',
        params: {
            ...params
        }
    })
}
export const productsSuperviseList = (params) => {
    return request({
        url: '/recovery/page',
        method: 'get',
        params: {
            ...params
@@ -252,7 +264,7 @@
export const farmingRecords = (params) => {
    return request({
        url: '/farmingRecord/page',
        url: '/farmingRecord/getFarmingRecordList',
        method: 'get',
        params: {
            ...params
@@ -278,3 +290,12 @@
        }
    })
}
export const farmSelectQuery = (params) => {
    return request({
        url: '/farm/page',
        method: 'get',
        params: {
            ...params
        }
    })
}