Newer
Older
KaiFengPC / src / api / project / projectInformationNew.js
@鲁yixuan 鲁yixuan on 19 Aug 3 KB updata
  1. import request from '@/utils/request';
  2. // 列表搜索项目信息-新版
  3. export function getProjectInfoNewPage(params) {
  4. return request({
  5. url: '/business/projectInfoNew/page',
  6. method: 'get',
  7. params,
  8. });
  9. }
  10.  
  11. // 表搜索项目类型
  12. export function projectTypeList(params) {
  13. return request({
  14. url: `/business/projectType/list`,
  15. method: 'get',
  16. params,
  17. });
  18. }
  19.  
  20. // 列表搜索项目单位
  21. export function getProjectCompanyList(params) {
  22. return request({
  23. url: '/business/projectCompany/list',
  24. method: 'get',
  25. params,
  26. });
  27. }
  28.  
  29. // 列表搜索项目单位
  30. export function getProjectItemDescriptionConfigList(params) {
  31. return request({
  32. url: '/business/projectItemDescriptionConfig/list',
  33. method: 'get',
  34. params,
  35. });
  36. }
  37.  
  38. // 列表搜索项目单位
  39. export function projectInfoNewAdd(data) {
  40. return request({
  41. url: '/business/projectInfoNew/add',
  42. method: 'post',
  43. data,
  44. });
  45. }
  46.  
  47. // 删除项目信息-新版
  48. export function projectInfoNewDel(ids) {
  49. return request({
  50. url: `/business/projectInfoNew/${ids}`,
  51. method: 'delete',
  52. });
  53. }
  54.  
  55. // 详细搜索项目信息-新版
  56. export function projectInfoNewById(id) {
  57. return request({
  58. url: `/business/projectInfoNew/${id}`,
  59. method: 'get',
  60. });
  61. }
  62.  
  63. // 根据项目编号搜索项目的基本信息
  64. export function projectInfoNewDetail(projectNo) {
  65. return request({
  66. url: `/business/projectInfoNew/selectProjectInfoByProjectNo/${projectNo}`,
  67. method: 'get',
  68. });
  69. }
  70.  
  71. // 修改项目信息-新版
  72. export function projectInfoNewEdit(data) {
  73. return request({
  74. url: '/business/projectInfoNew/edit',
  75. method: 'put',
  76. data,
  77. });
  78. }
  79.  
  80. //获取文件列表
  81. export function getFileLIst(query) {
  82. return request({
  83. url: '/system/list',
  84. method: 'get',
  85. params: query,
  86. });
  87. }
  88.  
  89. export function updateProjectBuildStatus(data) {
  90. return request({
  91. url: '/business/projectInfoNew/updateProjectBuildStatus',
  92. method: 'post',
  93. data,
  94. });
  95. }
  96.  
  97. export function getProjectStatistics(params) {
  98. return request({
  99. url: '/business/projectInfoNew/getProjectStatistics',
  100. method: 'get',
  101. params,
  102. });
  103. }
  104.  
  105. // 分页搜索项目基本信息表(工改)
  106. export function spglXmjbxxbPage(params) {
  107. return request({
  108. url: '/business/spglXmjbxxb/page',
  109. method: 'get',
  110. params,
  111. });
  112. }
  113. // 详细搜索项目基本信息表(工改)
  114. export function spglXmjbxxbDetail(params) {
  115. return request({
  116. url: '/business/spglXmsqcljqtfjxxb/documentPage',
  117. method: 'get',
  118. params,
  119. });
  120. }
  121. // 项目基本信息(标记海绵)
  122. export function markHMBS(data) {
  123. return request({
  124. url: '/business/spglXmjbxxb/markHMBS',
  125. method: 'post',
  126. data,
  127. });
  128. }
  129. // 建设管理首页
  130. export function getHomeStatistics(params) {
  131. return request({
  132. url: '/business/projectInfoNew/getHomeStatistics',
  133. method: 'get',
  134. params,
  135. });
  136. }
  137. // 建设管理首页 获取待处理项目信息
  138. export function getUndoProjectInfo(params) {
  139. return request({
  140. url: '/business/projectInfoNew/getUndoProjectInfo',
  141. method: 'get',
  142. params,
  143. });
  144. }