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

technicalPlan.js 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * @Author: wrh
  3. * @Date: 2024-04-03 13:53:12
  4. * @LastEditors: wrh
  5. * @LastEditTime: 2024-06-28 14:33:23
  6. */
  7. import request from '@/utils/request'
  8. // 查询cmc技术方案列表
  9. export function listTechnicalPlan(query) {
  10. return request({
  11. url: '/oa/technicalPlan/list',
  12. method: 'get',
  13. params: query
  14. })
  15. }
  16. // 查询cmc技术方案详细
  17. export function getTechnicalPlan(technicalPlanId) {
  18. return request({
  19. url: '/oa/technicalPlan/' + technicalPlanId,
  20. method: 'get'
  21. })
  22. }
  23. // 新增cmc技术方案
  24. export function addTechnicalPlan(data) {
  25. return request({
  26. url: '/oa/technicalPlan',
  27. method: 'post',
  28. data: data
  29. })
  30. }
  31. // 修改cmc技术方案
  32. export function updateTechnicalPlan(data) {
  33. return request({
  34. url: '/oa/technicalPlan',
  35. method: 'put',
  36. data: data
  37. })
  38. }
  39. // 删除cmc技术方案
  40. export function delTechnicalPlan(technicalPlanId) {
  41. return request({
  42. url: '/oa/technicalPlan/' + technicalPlanId,
  43. method: 'delete'
  44. })
  45. }