Newer
Older
urbanLifeline_YanAn / src / api / OutgoingCall / notificationRecord.js
@zhangqy zhangqy on 3 Oct 1 KB first commit
  1. import request from '@/utils/request'
  2.  
  3. // 查询语音外呼-呼叫记录分页
  4. export function pageunitVoiceData(query) {
  5. return request({
  6. url: '/business/unitVoiceData/page',
  7. method: 'get',
  8. params: query
  9. })
  10. }
  11.  
  12. // 查询语音外呼-呼叫记录列表
  13. export function listunitVoiceData(query) {
  14. return request({
  15. url: '/business/unitVoiceData/list',
  16. method: 'get',
  17. params: query
  18. })
  19. }
  20.  
  21. // 查询语音外呼-呼叫记录详细
  22. export function getunitVoiceData(id) {
  23. return request({
  24. url: '/business/unitVoiceData/' + id,
  25. method: 'get'
  26. })
  27. }
  28.  
  29. // 新增语音外呼-呼叫记录
  30. export function addunitVoiceData(data) {
  31. return request({
  32. url: '/business/unitVoiceData/add',
  33. method: 'post',
  34. data: data
  35. })
  36. }
  37.  
  38. // 修改语音外呼-呼叫记录
  39. export function updateunitVoiceData(data) {
  40. return request({
  41. url: '/business/unitVoiceData/edit',
  42. method: 'put',
  43. data: data
  44. })
  45. }
  46.  
  47. // 删除语音外呼-呼叫记录
  48. export function delunitVoiceData(id) {
  49. return request({
  50. url: '/business/unitVoiceData/' + id,
  51. method: 'delete'
  52. })
  53. }
  54.  
  55. export function pageunitVoiceRecord(query) {
  56. return request({
  57. url: '/business/unitVoiceRecord/page',
  58. method: 'get',
  59. params: query
  60. })
  61. }
  62. // 通话记录列表
  63. export function unitVoiceRecordList(query) {
  64. return request({
  65. url: '/business/unitVoiceRecord/list',
  66. method: 'get',
  67. params: query
  68. })
  69. }