api.js 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. //import { fetch, post } from '@/filters/http'
  2. //export default {
  3. // //获取登录跳转链接
  4. // getLoginLink: function (data) {
  5. // return post('api/login/login', data);
  6. // },
  7. // //验证登录
  8. // checkLogin: function (data) {
  9. // return post('api/login/CheckLogin', data);
  10. // },
  11. // //获取登录人员角色列表
  12. // getLoginRoles: function (data) {
  13. // return post('api/role/GetLoginRoles', data);
  14. // },
  15. // //查找地区对应学校列表
  16. // getSchoolList: function (data) {
  17. // return post('api/School/getSchool', data);
  18. // },
  19. // //根据当前登录用户获取已授权的AI智慧学校
  20. // getAuthSchool: function (data) {
  21. // return post('api/School/AuthorizedAISchool', data);
  22. // },
  23. // //获取全部科目
  24. // FindSubjectsByDict: function (data) {
  25. // return post('api/subject/FindSubjectsByDict', data);
  26. // },
  27. // //获取当前学校全部科目
  28. // FindSchoolSubjectsByDict: function (data) {
  29. // return post('api/subject/FindSchoolSubjectsByDict', data);
  30. // },
  31. // //获取当前学校全部册别
  32. // FindSchoolVolumesByDict: function (data) {
  33. // return post('api/volume/FindSchoolVolumesByDict', data);
  34. // },
  35. // //获取当前学校全部学段
  36. // FindSchoolPeriodsByDict: function (data) {
  37. // return post('api/period/FindSchoolPeriodsByDict', data);
  38. // },
  39. // //获取当前学校全部年级
  40. // FindSchoolGradesByDict: function (data) {
  41. // return post('api/grade/FindSchoolGradesByDict', data);
  42. // },
  43. // //获取当前学校全部学期
  44. // FindSchoolTermsByDict: function (data) {
  45. // return post('api/term/FindSchoolTermsByDict', data);
  46. // },
  47. // //保存或更新学校科目
  48. // SaveOrUpdateSchoolSubject: function (data) {
  49. // return post('api/subject/SaveOrUpdateSchoolSubject', data);
  50. // },
  51. // //保存或更新学校册别
  52. // SaveOrUpdateSchoolVolume: function (data) {
  53. // return post('api/volume/SaveOrUpdateSchoolVolume', data);
  54. // },
  55. // //根据册别及其他条件获取课纲树形结构
  56. // FindSyllabusByVolumeCode: function (data) {
  57. // return post('api/syllabus/FindSyllabusByVolumeCode', data);
  58. // },
  59. // //保存单个课纲节点
  60. // SaveOrUpdateSingleNode: function (data) {
  61. // return post('api/Syllabus/SaveOrUpdate', data);
  62. // },
  63. // //获取登录人员身份信息
  64. // getLoginClaim: function (data) {
  65. // return post('api/role/GetLoginClaim', data);
  66. // },
  67. // //学情分析API
  68. // //查询班年级数据
  69. // FindGrade: function () {
  70. // return fetch('/api/class/getGrade?identity=Grade');
  71. // },
  72. // //查询学年期数据
  73. // FindTerm: function () {
  74. // return fetch('/api/class/getTerm?identity=term');
  75. // },
  76. // //查询考试情况
  77. // FindExam: function () {
  78. // return fetch('/api/class/getExam?identity=Exam');
  79. // },
  80. // //查询基础数据
  81. // FindBasics: function () {
  82. // return fetch('/api/class/getBase?identity=Base');
  83. // },
  84. // //查询各校成绩排名(堆叠柱状图)
  85. // FindBargraph: function () {
  86. // return fetch('/api/class/getExam?identity=EcharsZ');
  87. // },
  88. // //查询各项科目表现(雷达图)
  89. // FindRadargraph: function () {
  90. // return fetch('/api/class/getExam?identity=EcharsL');
  91. // },
  92. // //查询科目表现对比(饼图)
  93. // FindSubjectsManifestation: function () {
  94. // return fetch('/api/class/getExam?identity=EcharsY');
  95. // },
  96. // //查询历次总分统计表(折线图)
  97. // FindLinechart: function () {
  98. // return fetch('/api/class/getExam?identity=EcharsZx');
  99. // },
  100. // //查询考试类型
  101. // FindExamtype: function () {
  102. // return fetch('/api/class/getExam?identity=ExamType');
  103. // },
  104. // //动态数据
  105. // //关注年级变化数据
  106. // FindSelectGrade:function() {
  107. // return fetch('/api/class/getChange?identity=Changegrade');
  108. // },
  109. // //关注学年期变化数据
  110. // FindSelectTerm: function () {
  111. // return fetch('/api/class/getChangeterm?identity=Changeterm');
  112. // },
  113. // //点击某次考试详情 变化数据
  114. // FindSelectExam: function () {
  115. // return fetch('/api/class/getChangeExam?identity=Changeexam');
  116. // },
  117. // //筛选考试类型 变化数据
  118. // FindSelectExamType: function () {
  119. // return fetch('/api/class/getChangeExamType?identity=Changeexamtype');
  120. // },
  121. // //显示文科数据 变化数据
  122. // FindSelectArts: function () {
  123. // return fetch('/api/class/getChangeArts?identity=Changarts');
  124. // },
  125. // //显示理科数据 变化数据
  126. // FindSelectScience: function () {
  127. // return fetch('/api/class/getChangeScience?identity=Changscience');
  128. // },
  129. // //点击柱状图 赋值到雷达图
  130. // //成都七中
  131. // Findcdqz: function () {
  132. // return fetch('/api/class/getExam?identity=cdqz');
  133. // },
  134. // //成都四中
  135. // Findcdsz: function () {
  136. // return fetch('/api/class/getExam?identity=cdsz');
  137. // },
  138. // //成都九中
  139. // Findcdjz: function () {
  140. // return fetch('/api/class/getExam?identity=cdjz')
  141. // },
  142. // //成都树德
  143. // Findcdsd: function () {
  144. // return fetch('/api/class/getExam?identity=cdsd')
  145. // },
  146. // //师大一中
  147. // Findsdyz: function () {
  148. // return fetch('/api/class/getExam?identity=sdyz')
  149. // },
  150. // //西川中学
  151. // Findxczx: function () {
  152. // return fetch('/api/class/getExam?identity=xczx');
  153. // },
  154. // //石室中学
  155. // Findsszx: function () {
  156. // return fetch('/api/class/getExam?identity=sszx');
  157. // },
  158. // //任教老师页面
  159. // //查询关注学年期
  160. // FindTeachTerm: function () {
  161. // return fetch('/api/class/getTerm?identity=Teachterm');
  162. // },
  163. // //查询数据对比
  164. // FindTeachContrast: function () {
  165. // return fetch('/api/class/getTerm?identity=Teachcontrast');
  166. // },
  167. // //查询考试信息
  168. // FindTeachExam: function () {
  169. // return fetch('/api/class/getExam?identity=TeachExam');
  170. // },
  171. // //查询基础数据
  172. // FindTeachBasics: function () {
  173. // return fetch('/api/class/getTerm?identity=TeachBase');
  174. // },
  175. // //查询各班平均分数排名(柱状图)
  176. // FindTeachbargraph: function () {
  177. // return fetch('/api/class/getExam?identity=TeachEcharsZ');
  178. // },
  179. // //查询及格率比较
  180. // FindTeachAnnulus: function () {
  181. // return fetch('/api/class/getExam?identity=TeachAnnulus');
  182. // },
  183. // //查询历次总分统计图
  184. // FindTeachHistory: function () {
  185. // return fetch('/api/class/getExam?identity=TeachEcharsZx');
  186. // },
  187. // //查询PR值
  188. // FindTeachPR: function () {
  189. // return fetch('/api/class/getExam?identity=TeachPie');
  190. // },
  191. // //动态数据
  192. // //选择关注学年期
  193. // FindDynamicTerm: function () {
  194. // return fetch('/api/class/getExam?identity=TeachChangeterm');
  195. // },
  196. // //选择数据比较
  197. // FindDatacompare: function () {
  198. // return fetch('/api/class/getExam?identity=TeachChangeDatacompare');
  199. // },
  200. // //选择考试数据
  201. // FindClickExam: function () {
  202. // return fetch('/api/class/getExam?identity=TeachChangeExam');
  203. // },
  204. // //点击班级 联动 RP值
  205. // FindClickPR: function () {
  206. // return fetch('/api/class/getExam?identity=TeachClickPR');
  207. // },
  208. //}