Commit 92f4c97b authored by chenyishuai@singsingenglish.com's avatar chenyishuai@singsingenglish.com

Merge branch 'dev'

parents d6d1f58e 5792c118
...@@ -729,7 +729,6 @@ ...@@ -729,7 +729,6 @@
}, },
is_into_periods: '0' is_into_periods: '0'
}; };
this.getLessonList();
getGoodsDetailApi(this.dialogObj.id).then(res => { getGoodsDetailApi(this.dialogObj.id).then(res => {
this.loading = false; this.loading = false;
let share_desc = JSON.parse(res.share_desc); let share_desc = JSON.parse(res.share_desc);
...@@ -806,7 +805,7 @@ ...@@ -806,7 +805,7 @@
this.coupongoods.unshift(item) this.coupongoods.unshift(item)
}); });
} }
// this.getLessonList() this.getLessonList()
}); });
break; break;
case 3: case 3:
......
...@@ -91,6 +91,10 @@ export const delTeacherApi = function (id) { ...@@ -91,6 +91,10 @@ export const delTeacherApi = function (id) {
export const postTransferTeacherApi = function (json) { export const postTransferTeacherApi = function (json) {
return Vue.prototype.$post(`${_baseUrl}api/admin/teacher/transfer`, json) return Vue.prototype.$post(`${_baseUrl}api/admin/teacher/transfer`, json)
}; };
// 今日实时数据
export const getRealTimeDataApi = function (data) {
return Vue.prototype.$fetch(`${_baseUrl}api/admin/teacher/todaydata/${data}`)
};
//获取课程列表 //获取课程列表
const getLessonUrl = `${_baseUrl}api/admin/course/list`; const getLessonUrl = `${_baseUrl}api/admin/course/list`;
export const getLessonApi = function (json) { export const getLessonApi = function (json) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment