wbs.js 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. import {httpApi} from "../../request/httpApi";
  2. export default {
  3. //获取当前合同段的划分树
  4. async queryWbsTreeData(form) {
  5. return httpApi({
  6. url: '/api/blade-user/wbs/lazyQueryContractWbsTree',
  7. method: 'get',
  8. params: form
  9. });
  10. },
  11. //查询当前节点下所有元素表信息
  12. async searchNodeAllTable(form) {
  13. return httpApi({
  14. url: '/api/blade-manager/wbsTreeContract/search-node-tables',
  15. method: 'get',
  16. params: form,
  17. })
  18. },
  19. //查询节点状态
  20. async queryNodeStatus(form) {
  21. return httpApi({
  22. url: '/api/blade-business/informationWriteQuery/queryNodeStatus',
  23. method: 'post',
  24. params: form,
  25. })
  26. },
  27. //查询监理节点状态
  28. async queryNodeStatusJl(form) {
  29. return httpApi({
  30. url: '/api/blade-business/informationWriteQuery/queryNodeStatus-jl',
  31. method: 'post',
  32. params: form,
  33. })
  34. },
  35. //复制本表
  36. async copeBussTab(form) {
  37. return httpApi({
  38. url: '/api/blade-manager/exceltab/cope-buss-tab',
  39. method: 'get',
  40. params: form,
  41. })
  42. },
  43. //删除本表
  44. async removeBussTabInfo(form) {
  45. return httpApi({
  46. url: '/api/blade-manager/exceltab/remove-buss-tabInfo',
  47. method: 'post',
  48. params: form,
  49. })
  50. },
  51. //显示隐藏表单
  52. async showBussTab(form) {
  53. return httpApi({
  54. url: '/api/blade-manager/exceltab/show-buss-tab',
  55. method: 'get',
  56. params: form,
  57. })
  58. },
  59. //撤回上报
  60. async abolishOne(form) {
  61. return httpApi({
  62. url: '/api/blade-business/informationWriteQuery/abolishOne',
  63. method: 'post',
  64. params: form,
  65. })
  66. },
  67. //单表pdf预览
  68. async getBussPdfInfo(form) {
  69. return httpApi({
  70. url: '/api/blade-manager/exceltab/get-buss-pdfInfo',
  71. method: 'get',
  72. params: form,
  73. })
  74. },
  75. //多表预览
  76. async getBussPdfs(form) {
  77. return httpApi({
  78. url: '/api/blade-manager/exceltab/get-buss-pdfs',
  79. method: 'get',
  80. params: form,
  81. })
  82. },
  83. //填报页面数据保存
  84. async saveExcelBussData(form) {
  85. return httpApi({
  86. url: '/api/blade-manager/exceltab/save_buss_data',
  87. method: 'post',
  88. data: form,
  89. })
  90. },
  91. //获取附件列表
  92. async getBussFileList(form) {
  93. return httpApi({
  94. url: '/api/blade-manager/tablefile/get-buss-fileList',
  95. method: 'get',
  96. params: form,
  97. })
  98. },
  99. //逻辑删除
  100. async removeBussFile(form) {
  101. return httpApi({
  102. url: '/api/blade-manager/tablefile/remove',
  103. method: 'post',
  104. params: form,
  105. })
  106. },
  107. //获取文件题名
  108. async queryDocumentTitle(form) {
  109. return httpApi({
  110. url: '/api/blade-business/informationWriteQuery/queryDocumentTitle',
  111. method: 'get',
  112. params: form,
  113. })
  114. },
  115. //获取表单详情
  116. async getWbsContractById(form) {
  117. return httpApi({
  118. url: '/api/blade-manager/wbsTreeContract/getWbsContractById',
  119. method: 'post',
  120. params: form,
  121. })
  122. },
  123. }