api.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. import { request } from "@/utils/request";
  2. /**
  3. * 会议室管理接口集合
  4. * @method GetMeetingRoomList 会议室下拉列表
  5. * @method GetMeetingRoomReservationList 会议预约详情列表
  6. * @method Attendee 会议人员权限审核
  7. */
  8. export function meetingApi() {
  9. return {
  10. GetMeetingRoomList(data) {
  11. return request({
  12. url: '/service-meeting/meetingRoom/MeetingRoomList',
  13. method: 'GET',
  14. params: data
  15. })
  16. },
  17. GetMeetingRoomReservationList(data) {
  18. return request({
  19. url: '/service-meeting/meetingRoom/getMeetingRoomReservationList',
  20. method: 'POST',
  21. data: data
  22. })
  23. },
  24. Attendee(data) {
  25. return request({
  26. url: '/service-meeting/meetingRoom/attendee',
  27. method: 'GET',
  28. params: data
  29. })
  30. }
  31. }
  32. }
  33. /**
  34. * 人脸校验接口集合
  35. * @method faceVef 人脸验证
  36. */
  37. export function faceApi() {
  38. return {
  39. faceVef: (data) => {
  40. return request({
  41. url: '/service-meeting/meetingFace/vef',
  42. method: 'POST',
  43. data,
  44. });
  45. },
  46. };
  47. }
  48. //人员签到-人员签退
  49. export function signOnOut(data) {
  50. return request({
  51. url: '/service-meeting/meetingInfo/signOnOut',
  52. method: 'POST',
  53. data
  54. })
  55. }
  56. /**
  57. * 门禁接口集合
  58. * @method doorControl 门禁开门
  59. * @method doorList 门禁列表
  60. */
  61. export function doorApi() {
  62. return {
  63. doorControl: (data) => {
  64. return request({
  65. url: `/service-iot/deviceHttp/control`,
  66. method: 'GET',
  67. data,
  68. });
  69. },
  70. doorList: (data) => {
  71. return request({
  72. url: `/service-iot/dmpDeviceInfo/pageWhite`,
  73. method: 'POST',
  74. data,
  75. });
  76. },
  77. };
  78. }