tuning.js 911 B

123456789101112131415161718192021222324252627282930313233343536
  1. import {httpApi} from "../../request/httpApi";
  2. export default {
  3. // 分页档案调整
  4. async pageByArchive(form, msg = true) {
  5. return httpApi({
  6. url: '/api/blade-archive/archivesauto/page',
  7. method: 'get',
  8. params: form
  9. }, msg)
  10. },
  11. //根据档案获取文件
  12. async getarchiveFilePage(form, msg = true) {
  13. return httpApi({
  14. url: '/api/blade-archive/archiveFile/page',
  15. method: 'post',
  16. params: form
  17. }, msg);
  18. },
  19. //锁定案卷
  20. async archivesautoLock(form, msg = true) {
  21. return httpApi({
  22. url: '/api/blade-archive/archivesauto/lock',
  23. method: 'post',
  24. params: form
  25. }, msg);
  26. },
  27. //解锁案卷 /archivesauto/unlock
  28. async archivesautoUnLock(form, msg = true) {
  29. return httpApi({
  30. url: '/api/blade-archive/archivesauto/unlock',
  31. method: 'post',
  32. params: form
  33. }, msg);
  34. },
  35. }