Newer
Older
KaiFengPC / src / api / longoPeration / inspectiontasks.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
  1. import request from '@/utils/request';
  2. // 信息
  3. export function patrolTaskpage(query) {
  4. return request({
  5. url: '/business/patrolTask/page',
  6. method: 'get',
  7. params: query,
  8. });
  9. }
  10. export function patrolTasklist(query) {
  11. return request({
  12. url: '/business/patrolTask/list',
  13. method: 'get',
  14. params: query,
  15. });
  16. }
  17. // // 搜索巡查任务
  18. export function PatrolTaskID(id) {
  19. return request({
  20. url: '/business/patrolTask/' + id,
  21. method: 'get',
  22. });
  23. }
  24. // 新增
  25. export function patrolTaskadd(data) {
  26. return request({
  27. url: '/business/patrolTask/add',
  28. method: 'post',
  29. data: data,
  30. });
  31. }
  32.  
  33. export function patrolBasicInfopage(query) {
  34. return request({
  35. url: '/business/patrolBasicInfo/list',
  36. method: 'get',
  37. params: query,
  38. });
  39. }
  40.  
  41. export function patrolProblempage(query) {
  42. return request({
  43. url: '/business/patrolProblem/page',
  44. method: 'get',
  45. params: query,
  46. });
  47. }
  48.  
  49. export function patrolProblemlist(query) {
  50. return request({
  51. url: '/business/patrolProblem/list',
  52. method: 'get',
  53. params: query,
  54. });
  55. }