Newer
Older
KaiFengPC / src / api / project / completionAcceptance.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
  1. import request from '@/utils/request';
  2.  
  3. // 搜索我创建的施工许可
  4. export function getProjectCompletionAcceptanceMyPage(params) {
  5. return request({
  6. url: '/business/projectCompletionAcceptance/myPage',
  7. method: 'get',
  8. params,
  9. });
  10. }
  11.  
  12. // 分页搜索项目规划许可
  13. export function getProjectCompletionAcceptancePage(params) {
  14. return request({
  15. url: '/business/projectCompletionAcceptance/page',
  16. method: 'get',
  17. params,
  18. });
  19. }
  20.  
  21. // 新增项目竣工验收
  22. export function projectCompletionAcceptanceeAdd(data) {
  23. return request({
  24. url: '/business/projectCompletionAcceptance/add',
  25. method: 'post',
  26. data,
  27. });
  28. }
  29.  
  30. // 修改项目竣工验收
  31. export function projectCompletionAcceptanceeEdit(data) {
  32. return request({
  33. url: '/business/projectCompletionAcceptance/edit',
  34. method: 'put',
  35. data,
  36. });
  37. }
  38.  
  39. // 发起竣工验收工作流
  40. export function projectCompletionAcceptanceeStartWorkFlow(data) {
  41. return request({
  42. url: '/business/projectCompletionAcceptance/startWorkFlow',
  43. method: 'post',
  44. data,
  45. });
  46. }
  47.  
  48. // 详细搜索项目竣工验收
  49. export function projectCompletionAcceptanceeDetail(id) {
  50. return request({
  51. url: `/business/projectCompletionAcceptance/${id}`,
  52. method: 'get',
  53. });
  54. }
  55.  
  56. // 详细搜索项目竣工验收
  57. export function projectCompletionAcceptanceeDel(ids) {
  58. return request({
  59. url: `/business/projectCompletionAcceptance/${ids}`,
  60. method: 'delete',
  61. });
  62. }
  63.  
  64. // 验收审查
  65. export function projectCompletionAcceptanceApprove(data) {
  66. return request({
  67. url: '/business/projectCompletionAcceptance/approve',
  68. method: 'post',
  69. data,
  70. });
  71. }