stats.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. import { HcApi } from '../../request/index'
  2. export default {
  3. //档案统计-已组案卷
  4. async getallArchiveByContractType(form, msg = true) {
  5. return HcApi({
  6. url: '/api/blade-archive/archivesauto/allArchiveByContractType',
  7. method: 'get',
  8. params: form,
  9. }, msg)
  10. },
  11. //获取档案年限占比
  12. async getallArchiveAge(form, msg = true) {
  13. return HcApi({
  14. url: '/api/blade-archive/archivesauto/allArchiveAgeByContractType',
  15. method: 'get',
  16. params: form,
  17. }, msg)
  18. },
  19. //获取已销毁案卷
  20. async getallArchiveDestory(form, msg = true) {
  21. return HcApi({
  22. url: '/api/blade-archive/archivesauto/allDeletedArchiveByContractType',
  23. method: 'get',
  24. params: form,
  25. }, msg)
  26. },
  27. //获取原生文件数量getallnativeChartData
  28. async getallnativeChartData(form, msg = true) {
  29. return HcApi({
  30. url: '/api/blade-archive/archiveFile/allArchiveFileByContractType',
  31. method: 'get',
  32. params: form,
  33. }, msg)
  34. },
  35. //获取总存储getallArchiveSize
  36. async getallArchiveSize(form, msg = true) {
  37. return HcApi({
  38. url: '/api/blade-archive/archiveFile/allArchiveFileSize',
  39. method: 'get',
  40. params: form,
  41. }, msg)
  42. },
  43. //获取归档目录文件夹
  44. async getArchiveTreeAndArchiveCount(form, msg = true) {
  45. return HcApi({
  46. url: '/api/blade-manager/archiveTreeContract/getArchiveTreeAndArchiveCount',
  47. method: 'get',
  48. params: form,
  49. }, msg)
  50. },
  51. //获取项目内外页台账完成比例
  52. async getProjectStat(form, msg = true) {
  53. return HcApi({
  54. url: '/api/blade-manager/wbsTreeContract/getProjectStat',
  55. method: 'get',
  56. params: form,
  57. }, msg)
  58. },
  59. }