my.js 692 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import http from '@/http/api.js'
  2. export const getDeptList = (id) => {
  3. return http.request({
  4. url: '/api/blade-system/dept/getDeptList',
  5. method: 'get',
  6. params:{
  7. id
  8. }
  9. })
  10. }
  11. export const getQxList = (row) => {
  12. return http.request({
  13. url: '/api/blade-system/dept/getQxList',
  14. method: 'get',
  15. params:row
  16. })
  17. }
  18. export const putfiles = (row) => {
  19. return http.request({
  20. url: '/api/blade-resource/oss/endpoint/put-file',
  21. header:{
  22. 'Content-Type': 'multipart/form-data'
  23. },
  24. method: 'post',
  25. data:row
  26. })
  27. }
  28. //blade-system/user/getQx
  29. export const getQx = (code) => {
  30. return http.request({
  31. url: '/api/blade-system/user/getQx',
  32. method: 'get',
  33. params:{
  34. code
  35. }
  36. })
  37. }