index.js 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. import {httpApi} from "../../request/httpApi";
  2. export default {
  3. async queryTreeList(form) {
  4. return httpApi({
  5. url: '/api/blade-business/informationWriteQuery/queryContractWbsTreeByContractIdAndType',
  6. method: 'get',
  7. params: form,
  8. });
  9. },
  10. async queryConstructionPage(form) {
  11. return httpApi({
  12. url: '/api/blade-business/constructionLedger/list',
  13. method: 'post',
  14. data: form,
  15. })
  16. },
  17. async updateConstructionPage(form) {
  18. return httpApi({
  19. url: '/api/blade-business/constructionLedger/update',
  20. method: 'post',
  21. data: form,
  22. })
  23. },
  24. //获取当前合同段下的日志类型
  25. async queryLogList(form) {
  26. return httpApi({
  27. url: '/api/blade-business/contractLog/queryCurrentContractLogList',
  28. method: 'get',
  29. params: form,
  30. })
  31. },
  32. //获取当前日志类型的填报人
  33. async queryFillUser(form) {
  34. return httpApi({
  35. url: '/api/blade-business/contractLog/queryFillUser',
  36. method: 'get',
  37. params: form,
  38. })
  39. },
  40. //施工日志分页
  41. async constructionLogPage(form) {
  42. return httpApi({
  43. url: '/api/blade-business/contractLog/constructionLogPage',
  44. method: 'post',
  45. data: form,
  46. })
  47. },
  48. //批量废除
  49. async batchAbolish(form) {
  50. return httpApi({
  51. url: '/api/blade-business/contractLog/batchAbolish',
  52. method: 'post',
  53. params: form,
  54. })
  55. },
  56. //获取合同段当前日志节点下的填报日期记录
  57. async getSubmitLogDateList(form) {
  58. return httpApi({
  59. url: '/api/blade-business/contractLog/getSubmitLogDateList',
  60. method: 'post',
  61. params: form,
  62. })
  63. },
  64. //清表生成html
  65. // async getExcelHtml(form) {
  66. // return httpApi({
  67. // url: '/api/blade-manager/exceltab/get-excel-html',
  68. // method: 'get',
  69. // params: form
  70. // });
  71. // },
  72. async getExcelHtml(form) {
  73. return httpApi({
  74. url: '/api/blade-manager/exceltab/get-excel-html-two',
  75. method: 'get',
  76. params: form,
  77. })
  78. },
  79. //获取表单数据
  80. async getBussDataInfo(form) {
  81. return httpApi({
  82. url: '/api/blade-manager/exceltab/get-the-log-business-data',
  83. method: 'get',
  84. params: form,
  85. })
  86. },
  87. //获取表单数据
  88. async getTheLogBusinessData(form) {
  89. return httpApi({
  90. url: '/api/blade-manager/exceltab/get-the-log-business-data',
  91. method: 'get',
  92. params: form,
  93. })
  94. },
  95. //填报页面数据保存
  96. async saveExcelBussData(form) {
  97. return httpApi({
  98. url: '/api/blade-manager/exceltab/save_log_first_buss_data',
  99. method: 'post',
  100. data: form,
  101. })
  102. },
  103. //单表pdf预览
  104. async getBussPdfInfo(form) {
  105. return httpApi({
  106. url: '/api/blade-manager/exceltab/get-the-log-pdfInfo',
  107. method: 'get',
  108. params: form,
  109. })
  110. },
  111. //获取当前日志资料关联的工序节点信息
  112. async queryCurrentLogSelectProcessList(form) {
  113. return httpApi({
  114. url: '/api/blade-business/contractLog/queryCurrentLogSelectProcessList',
  115. method: 'post',
  116. params: form,
  117. })
  118. },
  119. //获取当前资料的任务状态
  120. async checkTheLogTaskStatus(form) {
  121. return httpApi({
  122. url: '/api/blade-business/contractLog/checkTheLogTaskStatus',
  123. method: 'get',
  124. params: form,
  125. })
  126. },
  127. //预览、打印
  128. async theLogPreviewAndPrint(form) {
  129. return httpApi({
  130. url: '/api/blade-business/contractLog/theLogPreviewAndPrint',
  131. method: 'post',
  132. data: form,
  133. })
  134. },
  135. //废除
  136. async theLogOneAbolish(form) {
  137. return httpApi({
  138. url: '/api/blade-business/contractLog/oneAbolish',
  139. method: 'get',
  140. params: form,
  141. })
  142. },
  143. //删除
  144. async theLogRemoveByIds(form) {
  145. return httpApi({
  146. url: '/api/blade-business/contractLog/removeByIds',
  147. method: 'post',
  148. data: form,
  149. })
  150. },
  151. //获取当前合同段下本日志节点的填报资料日期树
  152. async queryReportLogTimeTree(form) {
  153. return httpApi({
  154. url: '/api/blade-business/contractLog/queryReportLogTimeTree',
  155. method: 'get',
  156. params: form,
  157. })
  158. },
  159. //获取填报记录
  160. async queryLogTimeTreeList(form) {
  161. return httpApi({
  162. url: '/api/blade-business/contractLog/queryLogList',
  163. method: 'get',
  164. params: form,
  165. })
  166. },
  167. //复制任意时间
  168. async copyTheLogBusinessData(form) {
  169. return httpApi({
  170. url: '/api/blade-manager/exceltab/copy-the-log-business-data',
  171. method: 'get',
  172. params: form,
  173. })
  174. },
  175. }