Commit 80ea47d4 by zhangleyuan

feat:处理视频课相关

parent 36429a18
......@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-05 10:07:47
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-30 17:20:19
* @LastEditTime: 2021-01-04 13:50:05
* @Description: 视频课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
......@@ -128,34 +128,6 @@ class AddVideoCourse extends React.Component {
})
}
// 获取视频课学员
// handleFetchStudentList = (scheduleId) => {
// window.axios.Apollo('public/apollo/getLessonStuIdListByScheduleId', {
// scheduleId
// }).then((res) => {
// const studentIds = res.result || [];
// const studentList = [];
// _.each(studentIds, (item) => {
// studentList.push({ studentId: item });
// });
// this.setState({ studentList })
// });
// }
// 获取机构可见的磁盘
// handleFetchDiskList = () => {
// axios.Apollo('public/apollo/getUserDisk', {}).then((res) => {
// const { result = [] } = res;
// const diskList = result.map((item) => {
// return {
// ...item,
// folderName: DISK_MAP[item.disk]
// }
// });
// this.setState({ diskList });
// });
// }
handleGoBack = () => {
Modal.confirm({
......
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