screens.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. import service from '@/utils/request'
  2. export const queryscreensParms = () => {
  3. return service({
  4. url: '/screens/screensParms',
  5. method: 'get',
  6. })
  7. }
  8. export const getScreensList = (data) => {
  9. return service({
  10. url: '/screens/getScreensList',
  11. method: 'post',
  12. data: data
  13. })
  14. }
  15. export const addScreens = (data) => {
  16. return service({
  17. url: '/screens/addScreens',
  18. method: 'post',
  19. data: data
  20. })
  21. }
  22. export const setScreensInfo = (data) => {
  23. return service({
  24. url: '/screens/updateScreens',
  25. method: 'put',
  26. data: data
  27. })
  28. }
  29. export const deleteBaseScreens = (data) => {
  30. return service({
  31. url: '/screens/delScreens',
  32. method: 'delete',
  33. data: data
  34. })
  35. }
  36. export const switchScreens = (data) => {
  37. return service({
  38. url: '/screens/switchScreens',
  39. method: 'post',
  40. data: data
  41. })
  42. }
  43. export const sendInternalCode = (data) => {
  44. return service({
  45. url: '/screens/sendInternalCode',
  46. method: 'post',
  47. data: data
  48. })
  49. }
  50. export const voiceBroad = (data) => {
  51. return service({
  52. url: '/screens/voiceBroad',
  53. method: 'post',
  54. data: data
  55. })
  56. }