initial.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import { httpApi } from '../../request/httpApi'
  2. export default {
  3. //验收申请-汇总目录
  4. async getAllUnitArchivesView(form, msg = true) {
  5. return httpApi({
  6. url: '/api/blade-archive/archivesauto/getAllUnitArchivesView',
  7. method: 'get',
  8. params: form,
  9. }, msg)
  10. },
  11. //验收申请保存
  12. async saveApply(form, msg = true) {
  13. return httpApi({
  14. url: '/api/blade-archive/archivesauto/saveApply',
  15. method: 'post',
  16. data: form,
  17. }, msg)
  18. },
  19. //查看申请状态
  20. async getApplyStatus(form, msg = true) {
  21. return httpApi({
  22. url: '/api/blade-archive/archivesauto/getApplyStatus',
  23. method: 'get',
  24. params: form,
  25. }, msg)
  26. },
  27. //撤销申请
  28. async annulApply(form, msg = true) {
  29. return httpApi({
  30. url: '/api/blade-archive/archivesauto/annulApply',
  31. method: 'get',
  32. params: form,
  33. }, msg)
  34. },
  35. //在线验收-根据单位显示档案
  36. async getUnitArchivesAutoView(form, msg = true) {
  37. return httpApi({
  38. url: '/api/blade-archive/archivesauto/getUnitArchivesAutoView',
  39. method: 'get',
  40. params: form,
  41. }, msg)
  42. },
  43. //档案验收返回单位所有节点
  44. async getUnitAllNode(form, msg = true) {
  45. return httpApi({
  46. url: '/api/blade-manager/archiveTreeContract/getUnitAllNode',
  47. method: 'get',
  48. params: form,
  49. }, msg)
  50. },
  51. //档案在线验收-确认并进入抽检
  52. async saveAllSelectNodes(form, msg = true) {
  53. return httpApi({
  54. url: '/api/blade-manager/archiveTreeContract/saveAllSelectNodes',
  55. method: 'post',
  56. data: form,
  57. }, msg)
  58. },
  59. }