system.js 670 B

12345678910111213141516171819202122232425
  1. import request from "@/utils/request"
  2. import { server_host } from "@/config/system"
  3. export const uploadUrl = `${server_host}/client/c/dev/file/uploadMinioReturnUrl`
  4. export const getAllChildren = (query) => {
  5. return request.get({
  6. url: '/client/c/statisticalReport.info/conReportinfo/getAllChildren',
  7. data: query,
  8. })
  9. }
  10. export const getStorehouse = (query) => {
  11. return request.get({
  12. url: '/client/c/statisticalReport.info/ssSafeProductInspectionResult/getStorehouse',
  13. data: query,
  14. })
  15. }
  16. export const getWarehouse = (query) => {
  17. return request.get({
  18. url: '/client/c/statisticalReport.info/ssSafeProductInspectionResult/getWarehouse',
  19. data: query,
  20. })
  21. }