approve.js 477 B

1234567891011121314151617181920212223242526
  1. // 新增设备维修申请
  2. import request from "@/utils/request";
  3. export function addApprove(data) {
  4. return request({
  5. url: '/intact/maintenance',
  6. method: 'post',
  7. data: data
  8. })
  9. }
  10. // 查询
  11. export function getApprove(id) {
  12. return request({
  13. url: '/intact/approve/' + id,
  14. method: 'get'
  15. })
  16. }
  17. // 查询设备维修申请详细
  18. export function getApproveInfo(id) {
  19. return request({
  20. url: '/intact/maintenance/info/' + id,
  21. method: 'get'
  22. })
  23. }