examKind.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import request from '@/utils/request'
  2. // 試験種類マスタのリストを検索
  3. export function listExamKind(query) {
  4. return request({
  5. url: '/bbib/exam/kind/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 試験種類マスタの詳細情報を検索
  11. export function getExamKind(id) {
  12. return request({
  13. url: '/bbib/exam/kind/' + id,
  14. method: 'get'
  15. })
  16. }
  17. // 試験種類マスタの追加
  18. export function addExamKind(data) {
  19. return request({
  20. url: '/bbib/exam/kind',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 試験種類マスタの修正
  26. export function updateExamKind(data) {
  27. return request({
  28. url: '/bbib/exam/kind',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 試験種類マスタの論理削除
  34. export function delLogicExamKind(row) {
  35. const { certificationType, version } = row;
  36. const data = {
  37. certificationType,
  38. version
  39. }
  40. return request({
  41. url: '/bbib/exam/kind/deleteLogic',
  42. method: 'post',
  43. data: data
  44. })
  45. }