workerProfileInit.js 597 B

123456789101112131415161718192021222324252627282930
  1. import request, { postBlob, getBlob, handleImport } from '@/utils/request'
  2. export function listPageV2(data) {
  3. return request({
  4. url: `/member/list/wait2?moduleId=${data.moduleId}`,
  5. method: 'post',
  6. data
  7. })
  8. }
  9. //导出
  10. export function pageExport(data, name) {
  11. return postBlob({
  12. url: '/member/list/pageExport',
  13. data,
  14. name
  15. })
  16. }
  17. export function del(params) {
  18. return request({
  19. url: `/member/list/wait2/del`,
  20. method: 'post',
  21. params
  22. })
  23. }
  24. export function listImport(data) {
  25. return handleImport('/member/list/wait2/import', data.formdata, data.id || '')
  26. }