grainInfo.js 350 B

12345678910111213141516171819202122
  1. /**
  2. * 粮情查询
  3. */
  4. import request from "@/utils/request"
  5. export const getList = (query) => {
  6. return request.get({
  7. url: '/client/c/grainTemp/getPage',
  8. data: query,
  9. })
  10. }
  11. export const exportData = (query) => {
  12. return request.post({
  13. url: '/client/c/grainTemp/exportExcel',
  14. data: query || {},
  15. config: {
  16. directResp: true
  17. }
  18. })
  19. }