综合办公系统
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.

projectComment.js 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * @Author: wrh
  3. * @Date: 2024-04-07 15:29:32
  4. * @LastEditors: Please set LastEditors
  5. * @LastEditTime: 2024-04-10 16:45:53
  6. */
  7. import request from '@/utils/request'
  8. // 查询cmc项目审批列表
  9. export function listProjectComment(query) {
  10. return request({
  11. url: '/oa/projectComment/list',
  12. method: 'get',
  13. params: query
  14. })
  15. }
  16. // 查询cmc项目审批详细
  17. export function getProjectComment(projectId) {
  18. return request({
  19. url: '/oa/projectComment/' + projectId,
  20. method: 'get'
  21. })
  22. }
  23. // 新增cmc项目审批
  24. export function addProjectComment(data) {
  25. return request({
  26. url: '/oa/projectComment',
  27. method: 'post',
  28. data: data
  29. })
  30. }
  31. // 修改cmc项目审批
  32. export function updateProjectComment(data) {
  33. return request({
  34. url: '/oa/projectComment',
  35. method: 'put',
  36. data: data
  37. })
  38. }
  39. // 删除cmc项目审批
  40. export function delProjectComment(projectId) {
  41. return request({
  42. url: '/oa/projectComment/' + projectId,
  43. method: 'delete'
  44. })
  45. }