apointment.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import request from '@/utils/request'
  2. export function timingList(data) {
  3. return request({
  4. method: 'post',
  5. data: data,
  6. url: '/mobile/timingCharging/timingList'
  7. })
  8. }
  9. export function deleteTiming(data) {
  10. return request({
  11. method: 'post',
  12. data: data,
  13. url: '/mobile/timingCharging/deleteTiming'
  14. })
  15. }
  16. export function information(data) {
  17. return request({
  18. method: 'post',
  19. data: data,
  20. url: '/mobile/chargingAppointment/information'
  21. })
  22. }
  23. export function submitAppointment(data) {
  24. return request({
  25. method: 'get',
  26. data: data,
  27. url: '/mobile/chargingAppointment/submitAppointment'
  28. })
  29. }
  30. export function myAppointmentList(data) {
  31. return request({
  32. method: 'get',
  33. data: data,
  34. url: '/mobile/chargingAppointment/myAppointmentList'
  35. })
  36. }
  37. export function myAppointmentDetail(data) {
  38. return request({
  39. method: 'get',
  40. data: data,
  41. url: '/mobile/chargingAppointment/myAppointmentDetail'
  42. })
  43. }
  44. export function regChangeStatus(data) {
  45. return request({
  46. method: 'get',
  47. data: data,
  48. url: '/mobile/chargingAppointment/regChangeStatus'
  49. })
  50. }