examapply.js 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import request from '@/utils/request' //引入axios请求及拦截器
  2. export default {
  3. //新增考试安排
  4. appsystemapply(data) {
  5. return request({
  6. url: '/system/apply',
  7. method: 'post',
  8. data
  9. })
  10. },
  11. //新增考试安排绑定商品
  12. systemapplyaddGoods(data) {
  13. return request({
  14. url: '/system/apply/addGoods',
  15. method: 'post',
  16. data
  17. })
  18. },
  19. //新增考试安排地点
  20. systemapplyaddSite(data) {
  21. return request({
  22. url: '/system/apply/addSite',
  23. method: 'post',
  24. data
  25. })
  26. },
  27. //修改考试安排
  28. editsystemapply(data) {
  29. return request({
  30. url: '/system/apply/edit',
  31. method: 'post',
  32. data
  33. })
  34. },
  35. //查询考试安排列表
  36. inquiresystemapplyList(data) {
  37. return request({
  38. url: '/system/apply/list',
  39. method: 'get',
  40. params: data
  41. })
  42. },
  43. //查看考试安排绑定商品
  44. inquirepayservegoodsInfo(data) {
  45. return request({
  46. url: '/system/apply/goodsInfo',
  47. method: 'get',
  48. params: data
  49. })
  50. },
  51. //查询考试安排商品列表
  52. inquirepayservelistGoods(data) {
  53. return request({
  54. url: '/system/apply/listGoods',
  55. method: 'get',
  56. params: data
  57. })
  58. },
  59. //获取考试地点 考培地点
  60. inquirepayservesiteInfo(data) {
  61. return request({
  62. url: '/system/apply/siteInfo',
  63. method: 'get',
  64. params: data
  65. })
  66. },
  67. //获取考试安排详细信息
  68. obtainsystemapply(data) {
  69. return request({
  70. url: `/system/apply/` + data,
  71. method: 'get',
  72. })
  73. },
  74. }