移动端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

80 line
1.4 KiB

  1. import request from '@/utils/request';
  2. // 获取承包方列表
  3. export function listCbf(params) {
  4. return request({
  5. url: '/service/cbf/list',
  6. method: 'get',
  7. params: params
  8. });
  9. }
  10. // 获取承包方详情
  11. export function getCbf(cbfbm) {
  12. return request({
  13. url: '/service/cbf/obtain/' + cbfbm,
  14. method: 'get',
  15. });
  16. }
  17. // 获取承包方详情
  18. export function getCbfById(id) {
  19. return request({
  20. url: '/service/cbf/get/' + id,
  21. method: 'get'
  22. });
  23. }
  24. // 新增承包方信息
  25. export function addCbf(data) {
  26. return request({
  27. url: '/service/cbf/add',
  28. method: 'post',
  29. data: data
  30. });
  31. }
  32. // 更新承包方信息
  33. export function updateCbf(data) {
  34. return request({
  35. url: '/service/cbf/edit',
  36. method: 'post',
  37. data: data
  38. })
  39. }
  40. // 删除承包方信息
  41. export function deleteCbf(id) {
  42. return request({
  43. url: '/service/cbf/mobile/remove/' + id,
  44. method: 'get'
  45. });
  46. }
  47. // 生成承包方编码
  48. export function generateContractorCode(params) {
  49. return request({
  50. url: '/service/cbf/generateCode',
  51. method: 'get',
  52. params: params
  53. });
  54. }
  55. // 承包方调查签字
  56. export function contractorSignature(data) {
  57. return request({
  58. url: '/service/cbf/surveySign',
  59. method: 'post',
  60. data: data
  61. });
  62. }
  63. // 调查挂起
  64. export function hangUp(data) {
  65. return request({
  66. url: '/service/cbf/hangUp',
  67. method: 'post',
  68. data: data
  69. });
  70. }