| | |
| | | }) |
| | | } |
| | | |
| | | 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 |
| | | } |
| | | }) |
| | | } |
| | |
| | | } |
| | | }) |
| | | } |
| | | export const SelectCount = () => { |
| | | export const SelectCount = (farmId) => { |
| | | return request({ |
| | | url: '/farm/SelectCount', |
| | | method: 'get' |
| | | method: 'get', |
| | | params: { |
| | | farmId |
| | | } |
| | | }) |
| | | } |
| | | |