pool.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. import request from '@/utils/request'
  2. // 查询项目池列表
  3. export function listPool(query) {
  4. return request({
  5. url: '/invest/pool/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询项目池详细
  11. export function getPool(id) {
  12. return request({
  13. url: '/invest/pool/' + id,
  14. method: 'get'
  15. })
  16. }
  17. // 新增项目池
  18. export function addPool(data) {
  19. return request({
  20. url: '/invest/pool',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改项目池
  26. export function updatePool(data) {
  27. return request({
  28. url: '/invest/pool',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 删除项目池
  34. export function delPool(id) {
  35. return request({
  36. url: '/invest/pool/' + id,
  37. method: 'delete'
  38. })
  39. }
  40. // 修改项目池状态
  41. export function editStage(data) {
  42. return request({
  43. url: '/invest/pool/editStage',
  44. method: 'put',
  45. data: data
  46. })
  47. }
  48. // 根据项目ID获取项目流转记录
  49. export function listProjectPoolId(id) {
  50. return request({
  51. url: '/system/circulation/listProjectPoolId',
  52. method: 'get',
  53. params: { projectPoolId: id }
  54. })
  55. }
  56. // demo获取代办
  57. export function getNum() {
  58. return request({
  59. url: '/invest/getNum',
  60. method: 'get'
  61. })
  62. }
  63. // 查询评估考察列表
  64. export function listReviewList() {
  65. return request({
  66. url: '/invest/pool/listReview',
  67. method: 'get'
  68. })
  69. }
  70. // 查询项目立项列表 ​/dev-api​/invest​/pool​/listApproval
  71. export function listApprovalList() {
  72. return request({
  73. url: '/invest/pool/listApproval',
  74. method: 'get'
  75. })
  76. }
  77. // 查询尽职背调列表 ​/dev-api​/invest​/pool​/listInvestigate
  78. export function listInvestigateList() {
  79. return request({
  80. url: '/invest/pool/listInvestigate',
  81. method: 'get'
  82. })
  83. }
  84. // 查询项目投决列表 ​/dev-api​/invest​/pool​/listDecision
  85. export function listDecisionList() {
  86. return request({
  87. url: '/invest/pool/listDecision',
  88. method: 'get'
  89. })
  90. }
  91. // 新增评审记录 /dev-api/invest/review
  92. export function addInvestReview(data) {
  93. return request({
  94. url: '/invest/review',
  95. method: 'post',
  96. data: data
  97. })
  98. }
  99. //修改评审记录 /dev-api/invest/review
  100. export function updateInvestReview(data) {
  101. return request({
  102. url: '/invest/review',
  103. method: 'put',
  104. data: data
  105. })
  106. }
  107. // 删除评审记录
  108. export function delInvestReview(id) {
  109. return request({
  110. url: '/invest/review/' + id,
  111. method: 'delete'
  112. })
  113. }
  114. //查询评审记录列表
  115. export function getInvestReviewList(id) {
  116. return request({
  117. url: '/invest/review/list',
  118. method: 'get',
  119. params: { projectPoolId: id }
  120. })
  121. }
  122. // 尽调
  123. // 根据项目ID获取尽调数据
  124. export function getlistProjectPoolId(id) {
  125. return request({
  126. url: '/invest/investigate/listProjectPoolId',
  127. method: 'get',
  128. params: { projectPoolId: id }
  129. })
  130. }
  131. // 新增尽调关联
  132. export function addInvestigate(data) {
  133. return request({
  134. url: '/invest/investigate',
  135. method: 'post',
  136. data: data
  137. })
  138. }
  139. // 修改尽调关联
  140. export function updateInvestigate(data) {
  141. return request({
  142. url: '/invest/investigate',
  143. method: 'put',
  144. data: data
  145. })
  146. }
  147. // 获取尽调人员关联表详细信息
  148. export function getDueAllPeportList(id) {
  149. return request({
  150. url: '/invest/person/list',
  151. method: 'get',
  152. params: { projectInvestigateId: id }
  153. })
  154. }
  155. // 新增尽调人员关联表
  156. export function addInvestigatePerson(data) {
  157. return request({
  158. url: '/invest/person',
  159. method: 'post',
  160. data: data
  161. })
  162. }
  163. //尽调列表 /dev-api/invest/investigate/list
  164. export function getInvestigatelist(data) {
  165. return request({
  166. url: '/invest/investigate/list',
  167. method: 'get',
  168. params: data
  169. })
  170. }
  171. // 删除尽调关联
  172. export function delInvestigate(id) {
  173. return request({
  174. url: '/invest/investigate/' + id,
  175. method: 'delete'
  176. })
  177. }
  178. // 根据项目ID获取最新尽调申请
  179. export function investigateListProjectPoolIdNew(id) {
  180. return request({
  181. url: '/invest/investigate/listProjectPoolIdNew',
  182. method: 'get',
  183. params: { projectPoolId: id }
  184. })
  185. }
  186. // 根据尽调申请id查下面所有的报告
  187. export function getProjectInvestigateId(id) {
  188. return request({
  189. url: '/invest/person/getProjectInvestigateId',
  190. method: 'get',
  191. params: { projectInvestigateId: id }
  192. })
  193. }
  194. // 获取尽调关联详细信息
  195. // /dev-api/invest/investigate/{id}
  196. export function getInvestigateById(id) {
  197. return request({
  198. url: '/invest/investigate/' + id,
  199. method: 'get'
  200. })
  201. }
  202. //修改尽调完成
  203. export function updateStatus(data) {
  204. return request({
  205. url: '/invest/investigate/editStatus',
  206. method: 'put',
  207. data: data
  208. })
  209. }
  210. // 获取尽调关联详细信息
  211. // /dev-api/invest/investigate/{id}
  212. export function getInvestReviewById(id) {
  213. return request({
  214. url: '/invest/review/' + id,
  215. method: 'get'
  216. })
  217. }