flplandsdt.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import request from '@/utils/request'
  2. // 查询分离培训列表
  3. export function listFlplandsdt(query) {
  4. return request({
  5. url: '/bccnew/flplandsdt/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询分离培训详细
  11. export function getFlplandsdt(id) {
  12. return request({
  13. url: '/bccnew/flplandsdt/' + id,
  14. method: 'get'
  15. })
  16. }
  17. // 新增分离培训
  18. export function addFlplandsdt(data) {
  19. return request({
  20. url: '/bccnew/flplandsdt',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改分离培训
  26. export function updateFlplandsdt(data) {
  27. return request({
  28. url: '/bccnew/flplandsdt',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 修改分离培训
  34. export function updateFlLearnTime(data) {
  35. return request({
  36. url: '/bccnew/flplandsdt/updateFlLearnTime',
  37. method: 'put',
  38. data: data
  39. })
  40. }
  41. // 删除分离培训
  42. export function delFlplandsdt(id) {
  43. return request({
  44. url: '/bccnew/flplandsdt/' + id,
  45. method: 'delete'
  46. })
  47. }
  48. // 导出分离培训
  49. export function exportFlplandsdt(query) {
  50. return request({
  51. url: '/bccnew/flplandsdt/export',
  52. method: 'get',
  53. params: query
  54. })
  55. }