third.js 964 B

123456789101112131415161718192021222324252627282930313233343536
  1. import { HcApi } from '../../../request/index'
  2. export default {
  3. //外委或三方数据分页条件查询
  4. async queryPage(form) {
  5. return HcApi({
  6. url: '/api/blade-business/detection/data/page',
  7. method: 'post',
  8. data: form,
  9. })
  10. },
  11. //外委或三方数据新增或者修改
  12. async submitForm(form) {
  13. return HcApi({
  14. url: '/api/blade-business/detection/data/submit',
  15. method: 'post',
  16. data: form,
  17. })
  18. },
  19. //外委或三方数据批量删除
  20. async removeData(form) {
  21. return HcApi({
  22. url: '/api/blade-business/detection/data/remove',
  23. method: 'post',
  24. params: form,
  25. })
  26. },
  27. //外委或三方数据复制
  28. async copyData(form) {
  29. return HcApi({
  30. url: '/api/blade-business/detection/data/copy',
  31. method: 'post',
  32. data: form,
  33. })
  34. },
  35. }