accessControl.js 570 B

1234567891011121314151617181920212223242526
  1. import $http from '@/utils/request'
  2. // 获取门禁信息
  3. export const getAccessInfo = data =>
  4. $http({
  5. method: 'POST',
  6. url: '/AccessControl/Config/GetEntity',
  7. data,
  8. notShowLoading: true,
  9. })
  10. // 获取门禁列表信息
  11. export const getAccessInfoList = data =>
  12. $http({
  13. method: 'POST',
  14. url: '/AccessControl/Config/GetList',
  15. data,
  16. notShowLoading: true,
  17. })
  18. // 获取门禁列表信息
  19. export const getAccessLogList = data =>
  20. $http({
  21. method: 'POST',
  22. url: '/AccessControl/Log/GetList',
  23. data,
  24. notShowLoading: true,
  25. })