query.js 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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. async getAddTheLogBusinessData(form) {
  75. return HcApi({
  76. url: '/api/blade-manager/exceltab/getAddTheLogBusinessData',
  77. method: 'get',
  78. params: form,
  79. })
  80. },
  81. //填报页面数据保存
  82. async saveExcelBussData(form) {
  83. return HcApi({
  84. url: '/api/blade-manager/exceltab/save_log_first_buss_data',
  85. method: 'post',
  86. data: form,
  87. })
  88. },
  89. //单表pdf预览
  90. async getBussPdfInfo(form) {
  91. return HcApi({
  92. url: '/api/blade-manager/exceltab/get-the-log-pdfInfo',
  93. method: 'get',
  94. params: form,
  95. })
  96. },
  97. //获取当前日志资料关联的工序节点信息
  98. async queryCurrentLogSelectProcessList(form) {
  99. return HcApi({
  100. url: '/api/blade-business/contractLog/queryCurrentLogSelectProcessList',
  101. method: 'post',
  102. params: form,
  103. })
  104. },
  105. //获取当前资料的任务状态
  106. async checkTheLogTaskStatus(form) {
  107. return HcApi({
  108. url: '/api/blade-business/contractLog/checkTheLogTaskStatus',
  109. method: 'get',
  110. params: form,
  111. })
  112. },
  113. //预览、打印
  114. async theLogPreviewAndPrint(form) {
  115. return HcApi({
  116. url: '/api/blade-business/contractLog/theLogPreviewAndPrint',
  117. method: 'post',
  118. data: form,
  119. })
  120. },
  121. //废除
  122. async theLogOneAbolish(form) {
  123. return HcApi({
  124. url: '/api/blade-business/contractLog/oneAbolish',
  125. method: 'get',
  126. params: form,
  127. })
  128. },
  129. //删除
  130. async theLogRemoveByIds(form) {
  131. return HcApi({
  132. url: '/api/blade-business/contractLog/removeByIds',
  133. method: 'post',
  134. data: form,
  135. })
  136. },
  137. //获取当前合同段下本日志节点的填报资料日期树
  138. async queryReportLogTimeTree(form) {
  139. return HcApi({
  140. url: '/api/blade-business/contractLog/queryReportLogTimeTree',
  141. method: 'get',
  142. params: form,
  143. })
  144. },
  145. //获取填报记录
  146. async queryLogTimeTreeList(form) {
  147. return HcApi({
  148. url: '/api/blade-business/contractLog/queryLogList',
  149. method: 'get',
  150. params: form,
  151. })
  152. },
  153. //复制任意时间
  154. async copyTheLogBusinessData(form) {
  155. return HcApi({
  156. url: '/api/blade-manager/exceltab/copy-the-log-business-data',
  157. method: 'get',
  158. params: form,
  159. })
  160. },
  161. //1、删除施工日志对应的表数据记录信息接口POST:/api/blade-manager/exceltab/removeLogTab
  162. async removeLogTab(form) {
  163. return HcApi({
  164. url: '/api/blade-manager/exceltab/removeLogTab',
  165. method: 'post',
  166. params: form,
  167. })
  168. },
  169. //日志列表一键重签
  170. async logReSigningEVisa(form) {
  171. return HcApi({
  172. url: '/api/blade-business/task/logReSigningEVisa',
  173. method: 'post',
  174. data: form,
  175. })
  176. },
  177. async logSaveAgain(form) {
  178. return HcApi({
  179. url: '/api/blade-business/task/logSaveAgain',
  180. method: 'post',
  181. data: form,
  182. })
  183. },
  184. //按月封装
  185. async byMonthPack(form) {
  186. return HcApi({
  187. url: '/api/blade-business/contractLog/byMonthPack',
  188. method: 'post',
  189. data: form,
  190. })
  191. },
  192. //
  193. //查询按月封装
  194. async selectByMonthPack(form) {
  195. return HcApi({
  196. url: '/api/blade-business/contractLog/selectByMonthPack',
  197. method: 'post',
  198. data: form,
  199. })
  200. },
  201. async deleteByMonthPack(form) {
  202. return HcApi({
  203. url: '/api/blade-business/contractLog/deleteByMonthPack',
  204. method: 'get',
  205. params: form,
  206. })
  207. },
  208. }