query.js 4.7 KB

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