index.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. import request from '@/utils/request'
  2. // 创建参会人员明细
  3. export function creatPeople(data) {
  4. return request({
  5. url: '/admin-api/backend/meeting-participants/create',
  6. method: 'post',
  7. data
  8. })
  9. }
  10. // 删除参会人员明细
  11. export function delPeople(data) {
  12. return request({
  13. url: `/admin-api/backend/meeting-participants/delete?id=${data}`,
  14. method: 'post',
  15. })
  16. }
  17. // 导出excel
  18. export function outExcel(data) {
  19. return request({
  20. url: '/admin-api/backend/meeting-participants/export-excel',
  21. method: 'get',
  22. query: data
  23. })
  24. }
  25. // 获取参会人员明细
  26. export function getOne(data) {
  27. return request({
  28. url: '/admin-api/backend/meeting-participants/get',
  29. method: 'get',
  30. data
  31. })
  32. }
  33. // 获取参会人员列表
  34. export function getList(data) {
  35. return request({
  36. url: '/admin-api/backend/meeting-participants/list',
  37. method: 'get',
  38. query: data
  39. })
  40. }
  41. // 获取参会人员分页
  42. export function getListPage(data) {
  43. return request({
  44. url: '/admin-api/backend/meeting-participants/page',
  45. method: 'get',
  46. data
  47. })
  48. }
  49. // 修改参会人员明细
  50. export function editPeople(data) {
  51. return request({
  52. url: '/admin-api/backend/meeting-participants/update',
  53. method: 'post',
  54. data
  55. })
  56. }