audit-rectplanproject-service.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import axios from '@/common/services/axios-instance'
  2. class AuditRectplanprojectService {
  3. changeTeamEditor(id, formId, params) {
  4. // const data = params
  5. return axios({
  6. url: 'api/xcoa-mobile/v1/rectPlan-project/change-resppersons/' + id + '/' + formId,
  7. method: 'post',
  8. data: params,
  9. }).then((res) => {
  10. return res
  11. })
  12. }
  13. changeTeamAuditContactsEditor(id, formId, params) {
  14. // const data = params
  15. return axios({
  16. url: 'api/xcoa-mobile/v1/rectPlan-project/change-auditedContacts/' + id + '/' + formId,
  17. method: 'post',
  18. data: params,
  19. }).then((res) => {
  20. return res
  21. })
  22. }
  23. // 拷贝新建
  24. copy(param) {
  25. return axios.post(`api/xcoa-mobile/v1/iam-copy-manager/new-process-form`, param)
  26. }
  27. changeconfirmEditor(params) {
  28. // const data = params
  29. return axios({
  30. url: 'api/xcoa-mobile/v1/iam-rectify-cancel/changeConformUser',
  31. method: 'post',
  32. data: params,
  33. }).then((res) => {
  34. return res
  35. })
  36. }
  37. }
  38. export default new AuditRectplanprojectService()