Newer
Older
DH_Apicture / src / views / RongyunCommunication / rongyunjs / rcloudUnitClass.js
@zhangqy zhangqy on 29 Nov 1 KB first commit
  1. import request from '@/utils/request'
  2.  
  3. // 查询融合通讯群组分页
  4. export function pagercloudUnitClass (query) {
  5. return request({
  6. url: '/rcloud/rcloudUnitClass/page',
  7. method: 'get',
  8. params: query
  9. })
  10. }
  11.  
  12. // 查询融合通讯群组列表
  13. export function listrcloudUnitClass (query) {
  14. return request({
  15. url: '/rcloud/rcloudUnitClass/list',
  16. method: 'get',
  17. params: query
  18. })
  19. }
  20.  
  21. // 查询融合通讯群组详细
  22. export function getrcloudUnitClass (id) {
  23. return request({
  24. url: '/rcloud/rcloudUnitClass/' + id,
  25. method: 'get'
  26. })
  27. }
  28.  
  29. // 新增融合通讯群组
  30. export function addrcloudUnitClass (data) {
  31. return request({
  32. url: '/rcloud/rcloudUnitClass/save',
  33. method: 'post',
  34. data: data
  35. })
  36. }
  37.  
  38. // 修改融合通讯群组
  39. export function updatercloudUnitClass (data) {
  40. return request({
  41. url: '/rcloud/rcloudUnitClass/edit',
  42. method: 'put',
  43. data: data
  44. })
  45. }
  46.  
  47. // 删除融合通讯群组
  48. export function delrcloudUnitClass (id) {
  49. return request({
  50. url: '/rcloud/rcloudUnitClass/' + id,
  51. method: 'delete'
  52. })
  53. }
  54.  
  55. // 查询群组包含用户
  56. export function queryGroupAndUserList (query) {
  57. return request({
  58. url: '/rcloud/rcloudUnitClass/queryGroupAndUserList',
  59. method: 'get',
  60. params: query
  61. })
  62. }
  63.  
  64. // 查询群组包含用户
  65. export function configGroupUser (data) {
  66. return request({
  67. url: '/rcloud/rcloudUnitUserClass/configGroupUser',
  68. method: 'post',
  69. data: data
  70. })
  71. }