展品维保小程序前端代码接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
957 B

2 weeks ago
2 weeks ago
2 weeks ago
1 week ago
5 days ago
2 weeks ago
  1. // import request from "@/api/request";
  2. import http from "@/api/http";
  3. export default {
  4. async queryConfigList() {
  5. return http({
  6. url: '/config/queryConfigList',
  7. method: 'GET'
  8. })
  9. },
  10. async queryDepartmentList() {
  11. return http({
  12. url: '/config/queryDepartmentList',
  13. method: 'GET'
  14. })
  15. },
  16. // 获取分类的接口
  17. async queryCategoryList(){
  18. return http({
  19. url: '/config/queryCategoryList',
  20. method: 'GET'
  21. })
  22. },
  23. // 获取故障情况列表
  24. async queryMalfunctionDescList(data) {
  25. return http({
  26. url: '/config/queryMalfunctionDescList',
  27. method: 'GET',
  28. data
  29. })
  30. },
  31. // 获取人员情况
  32. async queryUserList() {
  33. return http({
  34. url: '/userInfo/queryUserList',
  35. method: 'GET'
  36. })
  37. },
  38. // 配置- 查看轮播图列表
  39. async queryBannerList() {
  40. return http({
  41. url: '/config/queryBannerList',
  42. method: 'GET'
  43. })
  44. }
  45. }