智慧农业大数据平台
zengh
2022-07-15 a39ede5a90e2fd9bc31d11902930e63eadcb2478
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
        }
    })
}
@@ -261,7 +261,7 @@
export const farmingRecords = (params) => {
    return request({
        url: '/farmingRecord/page',
        url: '/farmingRecord/getFarmingRecordList',
        method: 'get',
        params: {
            ...params
@@ -287,3 +287,12 @@
        }
    })
}
export const farmSelectQuery = (params) => {
    return request({
        url: '/farm/page',
        method: 'get',
        params: {
            ...params
        }
    })
}