智慧农业大数据平台
shuishen
2022-07-16 de951f2ffc00664a4af840944b9c239a6c5f09f7
src/api/farm/farmingrecord.js
@@ -126,12 +126,12 @@
    })
}
export const getStockCount = (deptId) => {
export const getStockCount = (farmId) => {
    return request({
        url: '/farmingRecord/getStockCount',
        method: 'get',
        params: {
            deptId
            farmId
        }
    })
}
@@ -168,6 +168,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 +261,7 @@
export const farmingRecords = (params) => {
    return request({
        url: '/farmingRecord/page',
        url: '/farmingRecord/getFarmingRecordList',
        method: 'get',
        params: {
            ...params
@@ -278,3 +287,12 @@
        }
    })
}
export const farmSelectQuery = (params) => {
    return request({
        url: '/farm/page',
        method: 'get',
        params: {
            ...params
        }
    })
}