initial.js 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. //档案在线验收-我验收的案卷
  60. async getlazyTree(form, msg = true) {
  61. return httpApi({
  62. url: '/api/blade-manager/archiveTreeContract/lazyTree',
  63. method: 'get',
  64. params: form,
  65. }, msg)
  66. },
  67. //档案在线验收-查询节点已经上报的档案
  68. async getNodeArchives(form, msg = true) {
  69. return httpApi({
  70. url: '/api/blade-archive/archivesauto/getNodeArchives',
  71. method: 'get',
  72. params: form,
  73. }, msg)
  74. },
  75. //在线验收-抽检统计
  76. async userInspectStats(form, msg = true) {
  77. return httpApi({
  78. url: '/api/blade-archive/archivesauto/userInspectStats',
  79. method: 'get',
  80. params: form,
  81. }, msg)
  82. },
  83. //在线验收-修改抽检状态
  84. async updateInspectStatus(form, msg = true) {
  85. return httpApi({
  86. url: '/api/blade-archive/archivesauto/updateInspectStatus',
  87. method: 'get',
  88. params: form,
  89. }, msg)
  90. },
  91. //在线验收-保存抽检意见
  92. async saveInspect(form, msg = true) {
  93. return httpApi({
  94. url: '/api/blade-archive/archivesauto/saveInspect',
  95. method: 'post',
  96. data: form,
  97. }, msg)
  98. },
  99. //档案在线验收-开始抽检
  100. async startInspect(form, msg = true) {
  101. return httpApi({
  102. url: '/api/blade-manager/archiveTreeContract/startInspect',
  103. method: 'get',
  104. params: form,
  105. }, msg)
  106. },
  107. //在线验收-专家抽检记录
  108. async getUserInspectInfo(form, msg = true) {
  109. return httpApi({
  110. url: '/api/blade-archive/archivesauto/getUserInspectInfo',
  111. method: 'get',
  112. params: form,
  113. }, msg)
  114. },
  115. //在线验收-抽检意见记录汇总:
  116. async getUserInspectInfo2(form, msg = true) {
  117. return httpApi({
  118. url: '/api/blade-archive/archivesauto/getUserInspectInfo2',
  119. method: 'get',
  120. params: form,
  121. }, msg)
  122. },
  123. //在线验收-项目抽检统计
  124. async projectInspectStat(form, msg = true) {
  125. return httpApi({
  126. url: '/api/blade-archive/archivesauto/projectInspectStat',
  127. method: 'get',
  128. params: form,
  129. }, msg)
  130. },
  131. //在线验收-获取档案文件抽检意见
  132. async getArchiveFileOpinion(form, msg = true) {
  133. return httpApi({
  134. url: '/api/blade-archive/archivesauto/getArchiveFileOpinion',
  135. method: 'get',
  136. params: form,
  137. }, msg)
  138. },
  139. //在线验收-获取报告
  140. async getArchiveConclusion(form, msg = true) {
  141. return httpApi({
  142. url: '/api/blade-archive/archivesauto/getArchiveConclusion',
  143. method: 'get',
  144. params: form,
  145. }, msg)
  146. },
  147. //验收申请-历史验收报告
  148. async getHistoryTable(form, msg = true) {
  149. return httpApi({
  150. url: '/api/blade-archive/archiveExpertConclusion/getHistoryTable',
  151. method: 'get',
  152. params: form,
  153. }, msg)
  154. },
  155. //在线验收-预览
  156. async getAppPreview(form, msg = true) {
  157. return httpApi({
  158. url: '/api/blade-archive/archiveExpertConclusion/getAppPreview',
  159. method: 'get',
  160. params: form,
  161. }, msg)
  162. },
  163. //在线验收-查看验收报告
  164. async getTable(form, msg = true) {
  165. return httpApi({
  166. url: '/api/blade-archive/archiveExpertConclusion/getTable',
  167. method: 'get',
  168. params: form,
  169. }, msg)
  170. },
  171. }