pendingVerification.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import { httpGet, httpPost, httpPUT } from '@/utils/http'
  2. export const conReportStatusMap = {
  3. 100: '待确认',
  4. 200: '已作废',
  5. 300: '审核中(修改任务单)',
  6. 310: '审核中(作废任务单)',
  7. 320: '审核中(修改时间)',
  8. 400: '已确认',
  9. 500: '记录录入',
  10. 510: '记录校核',
  11. 520: '报告编制',
  12. 600: '报告审核',
  13. 700: '报告审批',
  14. 710: '办结确认',
  15. 800: '报告办结'
  16. } as const
  17. // 待校核列表
  18. export const getPendingVerificationListApi = (params: any) => {
  19. return httpGet('/pressure/task-order/order-item/recheck/page', params)
  20. }
  21. // 退回
  22. export const rejectApi = (data: any) => {
  23. return httpPost('/pressure/task-order/order-item/recheck/reject', data)
  24. }
  25. // 单个通过
  26. export const approveApi = (data: any) => {
  27. return httpPost('/pressure/task-order/order-item/recheck/approve', data)
  28. }
  29. // 批量通过提交记录校核
  30. export const batchPassRecheckApi = (data: any) => {
  31. return httpPUT('/pressure/task-order/order-item/report/batch-recheck/approve', data)
  32. }
  33. // 批量拒绝提交记录校核
  34. export const batchRejectRecheckApi = (data: any) => {
  35. return httpPUT('/pressure/task-order/order-item/report/batch-recheck/rollback', data)
  36. }