Newer
Older
KaiFengPC / src / api / cameraResource / regionStation.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
  1. import request from '@/utils/request';
  2.  
  3. // 搜索摄像头资源所属区域维护分页
  4. export function pageregionStation(query) {
  5. return request({
  6. url: '/business/regionStation/page',
  7. method: 'get',
  8. params: query,
  9. });
  10. }
  11.  
  12. // 搜索摄像头资源所属区域维护列表
  13. export function listregionStation(query) {
  14. return request({
  15. url: '/business/regionStation/list',
  16. method: 'get',
  17. params: query,
  18. });
  19. }
  20.  
  21. // 搜索摄像头资源所属区域维护详细
  22. export function getregionStation(id) {
  23. return request({
  24. url: '/business/regionStation/' + id,
  25. method: 'get',
  26. });
  27. }
  28.  
  29. // 新增摄像头资源所属区域维护
  30. export function addregionStation(data) {
  31. return request({
  32. url: '/business/regionStation/add',
  33. method: 'post',
  34. data: data,
  35. });
  36. }
  37.  
  38. // 修改摄像头资源所属区域维护
  39. export function updateregionStation(data) {
  40. return request({
  41. url: '/business/regionStation/edit',
  42. method: 'put',
  43. data: data,
  44. });
  45. }
  46.  
  47. // 删除摄像头资源所属区域维护
  48. export function delregionStation(id) {
  49. return request({
  50. url: '/business/regionStation/' + id,
  51. method: 'delete',
  52. });
  53. }