mo 5 лет назад
Родитель
Сommit
a83d932c41
3 измененных файлов с 13 добавлено и 4 удалено
  1. 9 0
      src/api/buildTeam.js
  2. 2 2
      src/views/teamDetail/components/courseList.vue
  3. 2 2
      vue.config.js

+ 9 - 0
src/api/buildTeam.js

@@ -437,6 +437,15 @@ export function getCourseList (data) {
   })
 }
 
+// 获取乐团课表详情新接口
+export function getCourseSchedule (data) {
+  return request({
+    url: api + `/classGroup/queryMusicGroupCourseScheduleDetail`,
+    method: 'get',
+    params: data
+  })
+}
+
 // 课时调整
 export function resetCourse (data) {
   return request({

+ 2 - 2
src/views/teamDetail/components/courseList.vue

@@ -219,7 +219,7 @@
 </template>
 <script>
 import pagination from '@/components/Pagination/index'
-import { getCourseList, findMusicGroupClassTeacher, resetCourse, getTeacher, getMusicGroupAllClass } from '@/api/buildTeam'
+import { getCourseList, findMusicGroupClassTeacher, resetCourse, getTeacher, getMusicGroupAllClass, getCourseSchedule } from '@/api/buildTeam'
 export default {
   props: {
     teamid: {
@@ -312,7 +312,7 @@ export default {
         classGroupId: this.searchForm.class || null
 
       }
-      getCourseList(obj).then(res => {
+      getCourseSchedule(obj).then(res => {
         if (res.code == 200) {
           this.tableList = res.data.rows;
           this.rules.total = res.data.total;

+ 2 - 2
vue.config.js

@@ -17,9 +17,9 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // http://47.99.212.176:8000 
 // //  https://online.dayaedu.com
 // let target = 'https://online.dayaedu.com' //线上
-let target = 'http://testadm.dayaedu.com/' //勇哥迁库
+// let target = 'http://testadm.dayaedu.com/' //勇哥迁库
 // let target = 'http://192.168.3.27:8000' // 箭河
-// let target = 'http://192.168.3.28:8000' //邹璇
+let target = 'http://192.168.3.28:8000' //邹璇
 // let target = 'http://192.168.3.8:18000' //勇哥
 // let target = 'http://47.99.212.176:8000' // 测试服
 // let target = 'http://192.168.3.48:8080' // 乔