examapply.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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. inquirepayservelistUser(data) {
  53. return request({
  54. url: '/system/apply/listUser',
  55. method: 'get',
  56. params: data
  57. })
  58. },
  59. //查询考试安排商品列表
  60. inquirepayservelistGoods(data) {
  61. return request({
  62. url: '/system/apply/listGoods',
  63. method: 'get',
  64. params: data
  65. })
  66. },
  67. //获取考试地点 考培地点
  68. inquirepayservesiteInfo(data) {
  69. return request({
  70. url: '/system/apply/siteInfo',
  71. method: 'get',
  72. params: data
  73. })
  74. },
  75. //获取考试安排详细信息
  76. obtainsystemapply(data) {
  77. return request({
  78. url: `/system/apply/` + data,
  79. method: 'get',
  80. })
  81. },
  82. //批量新增前培绑定考试计划
  83. addexamapply(data) {
  84. return request({
  85. url: '/exam/apply',
  86. method: 'post',
  87. data
  88. })
  89. },
  90. //查询前培绑定考试计划列表
  91. inquireexamapplyList(data) {
  92. return request({
  93. url: '/exam/apply/list',
  94. method: 'get',
  95. params: data
  96. })
  97. },
  98. //获取考试安排的前培计划详细信息
  99. obtainsystemapplygetBefore(data) {
  100. return request({
  101. url: `/system/apply/getBefore/` + data,
  102. method: 'get',
  103. })
  104. },
  105. //查询考场列表
  106. inquireexamapplyplaceList(data) {
  107. return request({
  108. url: '/system/apply/place',
  109. method: 'get',
  110. params: data
  111. })
  112. },
  113. //考前须知
  114. examapplybeforeknow(data) {
  115. return request({
  116. url: '/system/apply/before/know',
  117. method: 'get',
  118. params: data
  119. })
  120. },
  121. //根据月份获取当月考试场次
  122. obtainsystemsubscribesessiondata(data) {
  123. return request({
  124. url: `/system/subscribe/session/` + data,
  125. method: 'get',
  126. })
  127. },
  128. //考前须知修改
  129. systemapplysaveorupbeforeknow(data) {
  130. return request({
  131. url: '/system/apply/saveorup/before/know',
  132. method: 'post',
  133. data
  134. })
  135. },
  136. //考场邮件地址
  137. examapplysendmail(data) {
  138. return request({
  139. url: '/system/apply/sendmail',
  140. method: 'get',
  141. params: data
  142. })
  143. },
  144. //考场邮件发送
  145. systemapplysend(data) {
  146. return request({
  147. url: '/system/apply/send',
  148. method: 'post',
  149. data
  150. })
  151. },
  152. //七大员学员资料导出
  153. systemapplyuserprofileexport(data) {
  154. return request({
  155. url: '/system/apply/user/profile/export',
  156. method: 'post',
  157. data
  158. })
  159. },
  160. //七大员学员资料批量变更
  161. systemapplyuserprofile(data) {
  162. return request({
  163. url: '/system/apply/user/profile',
  164. method: 'post',
  165. data
  166. })
  167. },
  168. }