cloudPractice.api.ts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. import {
  2. httpAxios_gym,
  3. httpAxios_gyt,
  4. httpAxios_klx
  5. // httpAxios_gyt
  6. } from "@/api/ApiInstance"
  7. /** 管乐迷 */
  8. export const queryTree_gym = () => {
  9. return httpAxios_gym.axioseRquest({
  10. method: "get",
  11. url: "/api-teacher/sysMusicScoreCategories/queryTree"
  12. })
  13. }
  14. export const querySubjectIds_gym = (data?: any) => {
  15. return httpAxios_gym.axioseRquest({
  16. method: "get",
  17. url: "/api-teacher/sysMusicScoreAccompaniment/querySubjectIds",
  18. params: data
  19. })
  20. }
  21. export const queryPage2_gym = (data: any) => {
  22. return httpAxios_gym.axioseRquest({
  23. method: "get",
  24. url: "/api-teacher/sysMusicScore/queryPageSimple",
  25. params: data
  26. })
  27. }
  28. export const cbsDetail_gym = (id: number, data = {}) => {
  29. return httpAxios_gym.axioseRquest({
  30. method: "get",
  31. url: `/api-teacher/musicSheet/cbsDetail/${id}`,
  32. params: data
  33. })
  34. }
  35. export const instrumentCode_gym = (data: any) => {
  36. return httpAxios_gym.axioseRquest({
  37. method: "get",
  38. url: "/api-teacher/musicSheet/instrumentCode",
  39. params: data
  40. })
  41. }
  42. /**
  43. * 管乐团
  44. */
  45. export const queryTree_gyt = (data: any) => {
  46. return httpAxios_gyt.axioseRquest({
  47. method: "post",
  48. url: "/api-teacher/musicSheetCategories/page",
  49. data
  50. })
  51. }
  52. export const querySubjectIds_gyt = (data?: any) => {
  53. return httpAxios_gyt.axioseRquest({
  54. method: "get",
  55. url: "/api-teacher/subject/musicList",
  56. params: data
  57. })
  58. }
  59. export const queryPage2_gyt = (data: any) => {
  60. return httpAxios_gyt.axioseRquest({
  61. method: "post",
  62. url: "/api-teacher/musicSheet/page",
  63. data
  64. })
  65. }
  66. export const instrumentCode_gyt = (data: any) => {
  67. return httpAxios_gyt.axioseRquest({
  68. method: "get",
  69. url: "/api-teacher/musicSheet/instrumentCode",
  70. params: data
  71. })
  72. }
  73. /**
  74. * 酷乐秀
  75. */
  76. export const queryTree_klx = (data?: any) => {
  77. return httpAxios_klx.axioseRquest({
  78. method: "get",
  79. url: "/api-teacher/tenantGroupAlbum/buyAlbumInfo",
  80. params: data
  81. })
  82. }
  83. export const querySubjectIds_klx = (data?: any) => {
  84. return httpAxios_klx.axioseRquest({
  85. method: "get",
  86. url: "/api-teacher/open/subject/queryPage",
  87. params: data
  88. })
  89. }
  90. export const queryPage2_klx = (data: any) => {
  91. return httpAxios_klx.axioseRquest({
  92. method: "post",
  93. url: "/api-teacher/tenantAlbumMusic/pageSimple",
  94. data
  95. })
  96. }
  97. export const selectCondition_klx = (data: any) => {
  98. return httpAxios_klx.axioseRquest({
  99. method: "post",
  100. url: "/api-teacher/tenantGroupAlbum/selectCondition",
  101. data
  102. })
  103. }
  104. export const cbsDetail_klx = (id: number, data = {}) => {
  105. return httpAxios_klx.axioseRquest({
  106. method: "get",
  107. url: `/api-teacher/musicSheet/cbsDetail/${id}`,
  108. params: data
  109. })
  110. }
  111. export const instrumentCode_klx = (data: any) => {
  112. return httpAxios_klx.axioseRquest({
  113. method: "get",
  114. url: "/api-teacher/music/sheet/instrumentCode",
  115. params: data
  116. })
  117. }