Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
c6b1c283
Commit
c6b1c283
authored
Jul 29, 2021
by
guomingpang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs:删除无用的注释
parent
a0a455ba
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
30 deletions
+1
-30
src/index.html
+0
-0
src/modules/course-manage/graphics-course/components/GraphicsCourseList.jsx
+0
-5
src/modules/course-manage/video-course/AddVideoCourse.jsx
+1
-25
No files found.
src/index.html
View file @
c6b1c283
src/modules/course-manage/graphics-course/components/GraphicsCourseList.jsx
View file @
c6b1c283
...
...
@@ -313,11 +313,6 @@ class GraphicsCourseList extends React.Component {
//改变上架状态
changeShelfState
=
(
index
,
item
,
checked
)
=>
{
let
_shelfState
=
checked
?
'YES'
:
'NO'
// if(_shelfState==='NO'){
// _shelfState = "YES";
// }else{
// _shelfState = "NO"
// }
const
params
=
{
courseId
:
item
.
id
,
shelfState
:
_shelfState
,
...
...
src/modules/course-manage/video-course/AddVideoCourse.jsx
View file @
c6b1c283
...
...
@@ -9,7 +9,7 @@
import
React
from
'react'
import
{
Button
,
Input
,
message
,
Modal
,
Tooltip
,
Form
,
Popconfirm
,
Menu
,
Dropdown
}
from
'antd'
import
{
FileTypeIcon
,
FileVerifyMap
}
from
'@/common/constants/academic/lessonEnum'
import
{
FileTypeIcon
}
from
'@/common/constants/academic/lessonEnum'
import
{
CourseCatalogSelect
}
from
'@/modules/common'
import
ShowTips
from
'@/components/ShowTips'
import
Breadcrumbs
from
'@/components/Breadcrumbs'
...
...
@@ -18,7 +18,6 @@ import AddVideoIntro from './components/AddVideoIntro'
import
SelectStudent
from
'../modal/select-student'
import
SelectPrepareFileModal
from
'../../prepare-lesson/modal/SelectPrepareFileModal'
import
PreviewCourseModal
from
'../modal/PreviewCourseModal'
import
StoreService
from
'@/domains/store-domain/storeService'
import
CourseService
from
'@/domains/course-domain/CourseService'
import
Service
from
'@/common/js/service'
import
User
from
'@/common/js/user'
...
...
@@ -32,7 +31,6 @@ import Bus from '@/core/bus'
const
{
TextArea
}
=
Input
const
EDIT_BOX_KEY
=
Math
.
random
()
const
fieldNames
=
{
label
:
'categoryName'
,
value
:
'id'
,
children
:
'sonCategoryList'
}
//添加课程时课程默认的一些值
const
defaultShelfState
=
'YES'
...
...
@@ -114,21 +112,6 @@ class AddVideoCourse extends React.Component {
this
.
setState
({
categoryId
:
value
,
categoryName
:
label
[
0
]
})
}
// catalogChange = (value, _categoryName) => {
// const categoryName = _.pluck(_categoryName, 'categoryName').join('-')
// const changeValueLength = value.length
// switch (changeValueLength) {
// case 1:
// this.setState({ categoryId: value[0], categoryName })
// break
// case 2:
// this.setState({ categoryId: value[1], categoryName })
// break
// default:
// this.setState({ categoryId: null })
// break
// }
// }
// 获取线上课详情
handleFetchScheudleDetail
=
(
courseId
)
=>
{
CourseService
.
videoScheduleDetail
({
...
...
@@ -158,13 +141,6 @@ class AddVideoCourse extends React.Component {
return
item
})
// let categoryName
// if (categoryTwoName) {
// categoryName = `${categoryOneName}-${categoryTwoName}`
// } else {
// categoryName = `${categoryOneName}`
// }
const
_courseChapterVOList
=
courseChapterVOList
.
map
((
item
)
=>
{
item
.
mediaName
=
item
.
name
item
.
resourceId
=
item
.
id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment