safePruductInspect.js 589 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * 安全生产检查
  3. */
  4. import request from "@/utils/request"
  5. export const getList = (query) => {
  6. return request.get({
  7. url: '/client/c/statisticalReport.info/ssSafeProductInspectionResult/page',
  8. data: query,
  9. })
  10. }
  11. export const getDetail = (id) => {
  12. const query = {
  13. ssSafeProductInspectionId: id,
  14. }
  15. return request.get({
  16. url: '/client/c/statisticalReport.info/ssSafeProductInspectionResult/detail',
  17. data: query,
  18. })
  19. }
  20. export const update = (data) => {
  21. return request.post({
  22. url: '/client/c/statisticalReport.info/ssSafeProductInspectionResult/edit',
  23. data,
  24. })
  25. }