Newer
Older
KaiFengPC / src / api / project / tenderReview.js
@zhangdeliang zhangdeliang on 23 May 12 KB 初始化项目
  1. import request from "@/utils/request";
  2.  
  3. // 分页查询标书审查
  4. export function projectTenderExaminationPage(query) {
  5. return request({
  6. url: "/business/projectTenderExamination/page",
  7. method: "get",
  8. params: query
  9. });
  10. }
  11. // 列表查询标书信息
  12. export function projectTenderExaminationtList(query) {
  13. return request({
  14. url: "/business/projectTenderExamination/list",
  15. method: "get",
  16. params: query
  17. });
  18. }
  19. // 新增标书审查
  20. export function projectTenderExaminationAdd(data) {
  21. return request({
  22. url: "/business/projectTenderExamination/add",
  23. method: "post",
  24. data: data,
  25. });
  26. }
  27. // 修改标书审查
  28. export function projectTenderExaminationEdit(data) {
  29. return request({
  30. url: "/business/projectTenderExamination/edit",
  31. method: "put",
  32. data: data,
  33. });
  34. }
  35. // 标书审查查看详情
  36. export function projectTenderExaminationSelectDetail(id) {
  37. return request({
  38. url: "/business/projectTenderExamination/selectDetail/" + id,
  39. method: "get",
  40. });
  41. }
  42. //删除标书审查
  43. export function projectTenderExaminationIDS(ids) {
  44. return request({
  45. url: "/business/projectTenderExamination/" + ids,
  46. method: "delete",
  47. });
  48. }
  49. //获取文件列表
  50. export function FileSystemList(query) {
  51. return request({
  52. url: "/system/list",
  53. method: "get",
  54. params: query
  55. });
  56. }
  57. // 分页查询投标结果
  58. export function projectTenderResultPage(query) {
  59. return request({
  60. url: "/business/projectTenderResult/page",
  61. method: "get",
  62. params: query
  63. });
  64. }
  65.  
  66.  
  67. // 新增投标结果
  68. export function projectTenderResultAdd(data) {
  69. return request({
  70. url: "/business/projectTenderResult/add",
  71. method: "post",
  72. data: data,
  73. });
  74. }
  75. // 修改投标结果
  76. export function projectTenderResultEdit(data) {
  77. return request({
  78. url: "/business/projectTenderResult/edit",
  79. method: "put",
  80. data: data,
  81. });
  82. }
  83. // 投标结果查看详情
  84. export function projectTenderResultSelectDetail(id) {
  85. return request({
  86. url: "/business/projectTenderResult/selectViewDetail/" + id,
  87. method: "get",
  88. });
  89. }
  90. //删除投标结果
  91. export function projectTenderResultIDS(ids) {
  92. return request({
  93. url: "/business/projectTenderResult/" + ids,
  94. method: "delete",
  95. });
  96. }
  97. //列表获取投标结果
  98. export function projectTenderResultList(query) {
  99. return request({
  100. url: "/business/projectTenderResult/list",
  101. method: "get",
  102. params: query
  103. });
  104. }
  105.  
  106. //获取项目信息列表
  107. export function projectInfoList(params) {
  108. return request({
  109. url: "/business/projectInfoNew/list",
  110. method: "get",
  111. params
  112. });
  113. }
  114.  
  115. //分页查询项目合同
  116. export function projectContractPage(params) {
  117. return request({
  118. url: "/business/projectContract/page",
  119. method: "get",
  120. params
  121. });
  122. }
  123.  
  124. // 新增项目合同
  125. export function projectContractAdd(data) {
  126. return request({
  127. url: "/business/projectContract/add",
  128. method: "post",
  129. data: data,
  130. });
  131. }
  132. // 修改项目合同
  133. export function projectContractEdit(data) {
  134. return request({
  135. url: "/business/projectContract/edit",
  136. method: "put",
  137. data: data,
  138. });
  139. }
  140. // 详细查询项目合同
  141. export function projectContractDetail(id) {
  142. return request({
  143. url: "/business/projectContract/" + id,
  144. method: "get",
  145. });
  146. }
  147. //删除项目合同
  148. export function projectContractIDS(ids) {
  149. return request({
  150. url: "/business/projectContract/" + ids,
  151. method: "delete",
  152. });
  153. }
  154.  
  155. //列表查询项目合同
  156. export function projectContractList(query) {
  157. return request({
  158. url: "/business/projectContract/list",
  159. method: "get",
  160. params: query
  161. });
  162. }
  163. //查询项目单位详情
  164. export function projectCompanyID(id) {
  165. return request({
  166. url: "/business/projectCompany/" + id,
  167. method: "get",
  168. });
  169. }
  170. //列表查询项目单位
  171. export function projectCompanyList(id) {
  172. return request({
  173. url: "/business/projectCompany/list",
  174. method: "get",
  175. });
  176. }
  177. /**通过比例获取金额 */
  178. export function projectContractCalculateByRatio(data) {
  179. return request({
  180. url: "/business/projectContract/calculateByRatio",
  181. method: "post",
  182. data: data,
  183. });
  184. }
  185. // 分页查询项目合同支付记录
  186. export function projectContractPayRecordPage(query) {
  187. return request({
  188. url: "/business/projectContractPayRecord/page",
  189. method: "get",
  190. params: query
  191. });
  192. }
  193. // 列表查询项目合同支付记录
  194. export function projectContractPayRecordList(query) {
  195. return request({
  196. url: "/business/projectContractPayRecord/list",
  197. method: "get",
  198. params: query
  199. });
  200. }
  201. // 新增项目合同支付记录
  202. export function projectContractPayRecordAdd(data) {
  203. return request({
  204. url: "/business/projectContractPayRecord/add",
  205. method: "post",
  206. data: data,
  207. });
  208. }
  209. // 修改项目合同支付记录
  210. export function projectContractPayRecordEdit(data) {
  211. return request({
  212. url: "/business/projectContractPayRecord/edit",
  213. method: "put",
  214. data: data,
  215. });
  216. }
  217. // 详细查询项目合同支付记录
  218. export function projectContractPayRecordID(id) {
  219. return request({
  220. url: "/business/projectContractPayRecord/" + id,
  221. method: "get",
  222. });
  223. }
  224. //删除项目合同支付记录
  225. export function projectContractPayRecordIDS(ids) {
  226. return request({
  227. url: "/business/projectContractPayRecord/" + ids,
  228. method: "delete",
  229. });
  230. }
  231.  
  232. // 分页查询项目计划信息
  233. export function projectPlanInfoPage(query) {
  234. return request({
  235. url: "/business/projectPlanInfo/page",
  236. method: "get",
  237. params: query
  238. });
  239. }
  240. // 列表查询项目计划信息
  241. export function projectPlanInfoList(query) {
  242. return request({
  243. url: "/business/projectPlanInfo/list",
  244. method: "get",
  245. params: query
  246. });
  247. }
  248. // 新增项目计划信息
  249. export function projectPlanInfoAdd(data) {
  250. return request({
  251. url: "/business/projectPlanInfo/add",
  252. method: "post",
  253. data: data,
  254. });
  255. }
  256. // 修改项目计划信息
  257. export function projectPlanInfoEdit(data) {
  258. return request({
  259. url: "/business/projectPlanInfo/edit",
  260. method: "put",
  261. data: data,
  262. });
  263. }
  264. // 详细查询项目计划信息
  265. export function projectPlanInfoID(id) {
  266. return request({
  267. url: "/business/projectPlanInfo/" + id,
  268. method: "get",
  269. });
  270. }
  271. //删除项目计划信息
  272. export function projectPlanInfoIDS(ids) {
  273. return request({
  274. url: "/business/projectPlanInfo/" + ids,
  275. method: "delete",
  276. });
  277. }
  278. // 详细查询项目信息
  279. export function projectInfoSelectByProjectNo(projectNo) {
  280. return request({
  281. url: "/business/projectInfoNew/selectProjectInfoByProjectNo//" + projectNo,
  282. method: "get",
  283. });
  284. }
  285.  
  286. // 详细查询项目信息
  287. export function projectPlanTemplateList(id) {
  288. return request({
  289. url: `/business/projectPlanTemplate/tree?projectTypeId=${id}`,
  290. method: "get",
  291. });
  292. }
  293.  
  294. export function projectPlanDelete(ids) {
  295. return request({
  296. url: `/business/projectPlanTemplate/${ids}`,
  297. method: "delete",
  298. });
  299. }
  300. // 新增项目计划模版
  301. export function projectPlanAdd(data) {
  302. return request({
  303. url: `/business/projectPlanTemplate/add`,
  304. method: "post",
  305. data
  306. });
  307. }
  308.  
  309. export function getNodeCodeToUuid() {
  310. return request({
  311. url: `/business/projectPlanInventory/getNodeCodeToUuid`,
  312. method: "get",
  313. })
  314. }
  315. // 分页查询项目里程碑
  316. export function projectMilestonePage(query) {
  317. return request({
  318. url: "/business/projectMilestone/page",
  319. method: "get",
  320. params: query
  321. });
  322. }
  323. // 列表查询项目里程碑
  324. export function projectMilestoneList(query) {
  325. return request({
  326. url: "/business/projectMilestone/list",
  327. method: "get",
  328. params: query
  329. });
  330. }
  331. // 新增项目里程碑
  332. export function projectMilestoneAdd(data) {
  333. return request({
  334. url: "/business/projectMilestone/add",
  335. method: "post",
  336. data: data,
  337. });
  338. }
  339. // 修改项目里程碑
  340. export function projectMilestoneEdit(data) {
  341. return request({
  342. url: "/business/projectMilestone/edit",
  343. method: "put",
  344. data: data,
  345. });
  346. }
  347. // 详细查询项目里程碑
  348. export function projectMilestoneId(id) {
  349. return request({
  350. url: "/business/projectMilestone/" + id,
  351. method: "get",
  352. });
  353. }
  354. //删除标书审查
  355. export function projectMilestoneIDS(ids) {
  356. return request({
  357. url: "/business/projectMilestone/" + ids,
  358. method: "delete",
  359. });
  360. }
  361.  
  362. // 根据项目编号查询其计划下的关键里程碑
  363. export function projectPlanInventorySelectByProjectNoToMilestone(projectNo) {
  364. return request({
  365. url: "/business/projectPlanInventory/selectByProjectNoToMilestone/" + projectNo,
  366. method: "get",
  367. });
  368. }
  369.  
  370.  
  371. // 分页查询项目巡检记录
  372. export function projectPatrolPage(query) {
  373. return request({
  374. url: "/business/projectPatrol/page",
  375. method: "get",
  376. params: query
  377. });
  378. }
  379. // 列表查询项目巡检记录
  380. export function projectPatroltList(query) {
  381. return request({
  382. url: "/business/projectPatrol/list",
  383. method: "get",
  384. params: query
  385. });
  386. }
  387. // 新增项目巡检记录
  388. export function projectPatrolAdd(data) {
  389. return request({
  390. url: "/business/projectPatrol/add",
  391. method: "post",
  392. data: data,
  393. });
  394. }
  395. // 修改项目巡检记录
  396. export function projectPatrolEdit(data) {
  397. return request({
  398. url: "/business/projectPatrol/edit",
  399. method: "put",
  400. data: data,
  401. });
  402. }
  403. // 详细查询项目巡检记录
  404. export function projectPatrolSelectId(id) {
  405. return request({
  406. url: "/business/projectPatrol/" + id,
  407. method: "get",
  408. });
  409. }
  410. //删除项目巡检记录
  411. export function projectPatrolIDS(ids) {
  412. return request({
  413. url: "/business/projectPatrol/" + ids,
  414. method: "delete",
  415. });
  416. }
  417.  
  418. //通过项目编号获取项目以及合同信息
  419. export function projectInfoGetProjectStatistics(projectNo) {
  420. return request({
  421. url: "/business/projectInfoNew/getProjectAndContractStatistics/" + projectNo,
  422. method: "get",
  423. });
  424. }
  425.  
  426. //分页查询项目巡检问题
  427. export function projectPatrolProblemPage(query) {
  428. return request({
  429. url: "/business/projectPatrolProblem/page",
  430. method: "get",
  431. params: query
  432. });
  433. }
  434. //删除项目巡检问题
  435. export function projectPatrolProblemIDS(ids) {
  436. return request({
  437. url: "/business/projectPatrolProblem/" + ids,
  438. method: "delete",
  439. });
  440. }
  441. // 详细查询项目巡检问题
  442. export function projectPatrolProblemId(id) {
  443. return request({
  444. url: "/business/projectPatrolProblem/" + id,
  445. method: "get",
  446. });
  447. }
  448.  
  449. //分页查询项目质量整改单
  450. export function projectQualityReformRecordPage(query) {
  451. return request({
  452. url: "/business/projectQualityReformRecord/page",
  453. method: "get",
  454. params: query
  455. });
  456. }
  457. // 列表查询项目质量整改单
  458. export function projectQualityReformRecordtList(query) {
  459. return request({
  460. url: "/business/projectQualityReformRecord/list",
  461. method: "get",
  462. params: query
  463. });
  464. }
  465. // 新增项目质量整改单
  466. export function projectQualityReformRecordAdd(data) {
  467. return request({
  468. url: "/business/projectQualityReformRecord/add",
  469. method: "post",
  470. data: data,
  471. });
  472. }
  473. // 修改项目质量整改单
  474. export function projectQualityReformRecordEdit(data) {
  475. return request({
  476. url: "/business/projectQualityReformRecord/edit",
  477. method: "put",
  478. data: data,
  479. });
  480. }
  481. // 详细查询项目质量整改单
  482. export function projectQualityReformRecordSelectId(id) {
  483. return request({
  484. url: "/business/projectQualityReformRecord/" + id,
  485. method: "get",
  486. });
  487. }
  488. //删除项目质量整改单
  489. export function projectQualityReformRecordIDS(ids) {
  490. return request({
  491. url: "/business/projectQualityReformRecord/" + ids,
  492. method: "delete",
  493. });
  494. }
  495.  
  496. export function workflowProcess(data) {
  497. return request({
  498. url: `/business/workflow-process/list-history-activity`,
  499. method: "post",
  500. data
  501. });
  502. }
  503.  
  504. // 详细查询项目质量整改单
  505. export function getProjectStatistics(id) {
  506. return request({
  507. url: "/business/projectInfoNew/getProjectAndContractStatistics/" + id,
  508. method: "get",
  509. });
  510. }
  511.  
  512. // 详细查询项目质量整改单
  513. export function projectPlanInfoselectByProjectNo(id) {
  514. return request({
  515. url: "/business/projectPlanInfo/selectByProjectNo/" + id,
  516. method: "get",
  517. });
  518. }