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
9ea73d53
Commit
9ea73d53
authored
Jul 01, 2021
by
wufan
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:全局替换视频课文案为线上课
parent
84416698
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
77 additions
and
77 deletions
+77
-77
src/data-source/course/request-api.ts
+1
-1
src/data-source/knowledge/request-api.ts
+1
-1
src/index.html
+1
-1
src/modules/course-manage/graphics-course/components/GraphicsCourseList.jsx
+4
-4
src/modules/course-manage/graphics-course/components/GraphicsCourseOpt.jsx
+1
-1
src/modules/course-manage/graphics-course/index.jsx
+5
-5
src/modules/course-manage/modal/LiveStudentListModal.jsx
+3
-3
src/modules/course-manage/modal/PreviewCourseModal.jsx
+1
-1
src/modules/course-manage/modal/ShareLiveModal.jsx
+1
-1
src/modules/course-manage/offline-course/components/OfflineCourseList.jsx
+3
-3
src/modules/course-manage/offline-course/components/OfflineCourseOpt.jsx
+1
-1
src/modules/course-manage/utils/hasExportPermission.js
+1
-1
src/modules/course-manage/video-course/AddVideoCourse.jsx
+9
-9
src/modules/course-manage/video-course/components/AddVideoIntro.jsx
+1
-1
src/modules/course-manage/video-course/components/VideoCourseFilter.jsx
+3
-3
src/modules/course-manage/video-course/components/VideoCourseList.jsx
+5
-5
src/modules/course-manage/video-course/components/VieoCourseOpt.jsx
+2
-2
src/modules/course-manage/video-course/index.jsx
+6
-6
src/modules/course-manage/video-course/modal/WatchDataModal.jsx
+1
-1
src/modules/home/Home.jsx
+2
-2
src/modules/knowledge-base/ENUM.js
+1
-1
src/modules/knowledge-base/modal/AddCourse.jsx
+4
-4
src/modules/knowledge-base/modal/VideoList.jsx
+5
-5
src/modules/plan-manage/components/BasicInfo.jsx
+1
-1
src/modules/plan-manage/components/ExpiredCourseList.jsx
+1
-1
src/modules/plan-manage/components/TrainingTask.jsx
+1
-1
src/modules/plan-manage/modal/UserLearnDetailModal.jsx
+1
-1
src/modules/plan-manage/modal/relatedCourseModal.jsx
+7
-7
src/routes/config/mainRoutes.tsx
+3
-3
src/routes/config/menuList.tsx
+1
-1
No files found.
src/data-source/course/request-api.ts
View file @
9ea73d53
...
...
@@ -57,7 +57,7 @@ export function getLiveCloudCourseBasePage(params: object) {
return
Service
.
Hades
(
"public/courseCloud/getLiveCloudCourseBasePage"
,
params
);
}
//
视频课
相关接口
//相关接口
export
function
changeVideoShelfState
(
params
:
object
)
{
return
Service
.
Hades
(
"public/hades/changeVideoShelfState"
,
params
);
}
...
...
src/data-source/knowledge/request-api.ts
View file @
9ea73d53
...
...
@@ -81,7 +81,7 @@ class KnowledgeAPI {
exportPicLearnSync
=
(
params
:
object
)
=>
{
return
Service
.
Hades
(
"public/knowledge/exportPicLearnSync"
,
params
);
}
//
视频课
观看记录导出
// 观看记录导出
exportVideoLearnSync
=
(
params
:
object
)
=>
{
return
Service
.
Hades
(
"public/knowledge/exportVideoLearnSync"
,
params
);
}
...
...
src/index.html
View file @
9ea73d53
...
...
@@ -19,7 +19,7 @@
/>
<meta
name=
"keywords"
content=
"小麦企学院,企业培训,员工培训,企业大学,企业内训,企业外训,培训计划,培训素材,企培,企训,资料云盘,培训课程,培训任务,直播课,
视频课
,图文课,线下课,知识库,作业,考试,排行榜,培训类别管理,定制培训计划,管理数据,学习数据,企学院,资料共享,培训数字化,数字化培训,培训工具,在线培训,线上培训,培训saas,培训管理,企业微信培训,对客培训,客户培训,直播培训,互联网培训,新员工培训,管理培训,管理者培训,工人培训,制造业培训,餐饮培训,服务业培训,零售培训,门店培训,工厂培训,车间培训,培训补贴,人事培训,财务培训,职场培训,企业学院平台,教育企业学院,教育企业平台,教育平台学院,企业学习,酷学院,小鹅通,企业学院,云学堂,时代光华,云课堂,魔学院,云大学,米知云,授课学堂"
content=
"小麦企学院,企业培训,员工培训,企业大学,企业内训,企业外训,培训计划,培训素材,企培,企训,资料云盘,培训课程,培训任务,直播课,,图文课,线下课,知识库,作业,考试,排行榜,培训类别管理,定制培训计划,管理数据,学习数据,企学院,资料共享,培训数字化,数字化培训,培训工具,在线培训,线上培训,培训saas,培训管理,企业微信培训,对客培训,客户培训,直播培训,互联网培训,新员工培训,管理培训,管理者培训,工人培训,制造业培训,餐饮培训,服务业培训,零售培训,门店培训,工厂培训,车间培训,培训补贴,人事培训,财务培训,职场培训,企业学院平台,教育企业学院,教育企业平台,教育平台学院,企业学习,酷学院,小鹅通,企业学院,云学堂,时代光华,云课堂,魔学院,云大学,米知云,授课学堂"
/>
<!-- <link rel="apple-touch-icon" href="../src/common/images/logo.png" /> -->
<link
rel=
"shortcut icon"
href=
"https://image.xiaomaiketang.com/xm/c4KiP2epBP.png"
/>
...
...
src/modules/course-manage/graphics-course/components/GraphicsCourseList.jsx
View file @
9ea73d53
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-05 10:12:45
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-06-15 20:01:05
* @Description:
视频课
-列表模块
* @Description: -列表模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
import
React
from
'react'
;
...
...
@@ -32,7 +32,7 @@ class GraphicsCourseList extends React.Component {
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
id
:
''
,
//
视频课
ID
id
:
''
,
// ID
studentIds
:[],
RelatedPlanModalVisible
:
false
,
selectPlanList
:{}
...
...
@@ -319,10 +319,10 @@ class GraphicsCourseList extends React.Component {
}
})
}
// 删除
视频课
// 删除
handleDeleteGraphicsCourse
=
(
scheduleId
)
=>
{
Modal
.
confirm
({
title
:
'你确定要删除此
视频课
吗?'
,
title
:
'你确定要删除此吗?'
,
content
:
'删除后,学员将不能进行观看。'
,
icon
:
<
span
className=
"icon iconfont default-confirm-icon"
>

</
span
>,
okText
:
'确定'
,
...
...
src/modules/course-manage/graphics-course/components/GraphicsCourseOpt.jsx
View file @
9ea73d53
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-05 10:12:15
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-26 16:07:27
* @Description:
视频课
-操作模块
* @Description: -操作模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
src/modules/course-manage/graphics-course/index.jsx
View file @
9ea73d53
...
...
@@ -17,17 +17,17 @@ class GraphicsCourse extends React.Component {
courseType
:
'PICTURE'
,
storeId
:
User
.
getStoreId
()
},
dataSource
:
[],
//
视频课
列表
totalCount
:
0
,
//
视频课
数据总条数
dataSource
:
[],
// 列表
totalCount
:
0
,
// 数据总条数
}
}
componentWillMount
()
{
// 获取
视频课
列表
// 获取列表
this
.
handleFetchScheduleList
();
}
// 获取
视频课
列表
// 获取列表
handleFetchScheduleList
=
(
_query
=
{})
=>
{
const
query
=
{
...
this
.
state
.
query
,
...
...
@@ -69,7 +69,7 @@ class GraphicsCourse extends React.Component {
{
/* 操作模块 */
}
<
GraphicsCourseOpt
/>
{
/*
视频课
列表模块 */
}
{
/* 列表模块 */
}
<
GraphicsCourseList
query=
{
query
}
dataSource=
{
dataSource
}
...
...
src/modules/course-manage/modal/LiveStudentListModal.jsx
View file @
9ea73d53
...
...
@@ -237,8 +237,8 @@ class LiveStudentListModal extends React.Component {
});
}
// 如果是非
视频课
, 显示操作的条件是课程未开始,且不是T端
// 如果是
视频课
,那么只要满足不是T端就可以了
// 如果是非, 显示操作的条件是课程未开始,且不是T端
// 如果是,那么只要满足不是T端就可以了
if
((
liveItem
.
courseState
===
"UN_START"
||
type
===
'videoCourse'
)
&&
!
isTeacher
)
{
// 未开始
columns
.
push
({
...
...
@@ -251,7 +251,7 @@ class LiveStudentListModal extends React.Component {
<
Popconfirm
title=
"你确定要移出这个学员吗?"
onConfirm=
{
()
=>
{
// 如果是非
视频课
,且直播间类型是自研, 且晚于开课前30分钟, 不允许移出
// 如果是非,且直播间类型是自研, 且晚于开课前30分钟, 不允许移出
if
(
liveItem
.
channel
==
"XIAOMAI"
&&
liveItem
.
startTime
-
Date
.
now
()
<
1800000
...
...
src/modules/course-manage/modal/PreviewCourseModal.jsx
View file @
9ea73d53
...
...
@@ -156,7 +156,7 @@ class PreviewCourseModal extends React.Component {
<
div
className=
'container__introduction'
>
{
type
===
'videoCourse'
?
(
<
div
className=
'container__introduction__title'
>
视频课
简介
</
div
>
<
div
className=
'container__introduction__title'
>
简介
</
div
>
)
:
(
<
div
className=
'container__introduction__title'
>
直播课简介
</
div
>
)
}
...
...
src/modules/course-manage/modal/ShareLiveModal.jsx
View file @
9ea73d53
...
...
@@ -118,7 +118,7 @@ class ShareLiveModal extends React.Component {
coverImgSrc
=
'https://image.xiaomaiketang.com/xm/Yip2YtFDwH.png'
;
}
break
;
case
'videoClass'
:
//
视频课
case
'videoClass'
:
//
coverImgSrc
=
coverUrl
||
(
courseDivision
===
'internal'
?
`
${
scheduleVideoUrl
}
?x-oss-process=video/snapshot,t_0,m_fast&anystring=anystring`
:
'https://image.xiaomaiketang.com/xm/mt3ZQRxGKB.png'
)
break
;
case
'graphicsClass'
:
// 图文课
...
...
src/modules/course-manage/offline-course/components/OfflineCourseList.jsx
View file @
9ea73d53
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-05 10:12:45
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-06-11 16:44:42
* @Description:
视频课
-列表模块
* @Description: -列表模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
import
React
from
'react'
;
...
...
@@ -32,7 +32,7 @@ class OfflineCourseList extends React.Component {
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
id
:
''
,
//
视频课
ID
id
:
''
,
// ID
studentIds
:
[],
}
}
...
...
@@ -297,7 +297,7 @@ class OfflineCourseList extends React.Component {
}
})
}
// 删除
视频课
// 删除
handleDeleteOfflineCourse
=
(
courseId
,
isDelete
)
=>
{
if
(
isDelete
)
{
Modal
.
confirm
({
...
...
src/modules/course-manage/offline-course/components/OfflineCourseOpt.jsx
View file @
9ea73d53
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-05 10:12:15
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-26 16:07:27
* @Description:
视频课
-操作模块
* @Description: -操作模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
src/modules/course-manage/utils/hasExportPermission.js
View file @
9ea73d53
...
...
@@ -14,7 +14,7 @@ const hasExportPermission = (type) => {
return
Permission
.
hasInteractiveExport
();
}
//
视频课
导出权限
// 导出权限
if
(
type
===
'videoClass'
)
{
return
Permission
.
hasVideoClassExport
();
}
...
...
src/modules/course-manage/video-course/AddVideoCourse.jsx
View file @
9ea73d53
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-05 10:07:47
* @LastEditors: wufan
* @LastEditTime: 2021-05-30 20:35:49
* @Description:
视频课
新增/编辑页
* @Description: 新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -54,18 +54,18 @@ class AddVideoCourse extends React.Component {
const
pageType
=
getParameterByName
(
'type'
)
this
.
state
=
{
id
,
//
视频课
ID,编辑的时候从URL上带过来
id
,
// ID,编辑的时候从URL上带过来
pageType
,
// 页面类型: add->新建 edit->编辑
imageFile
:
null
,
// 需要被截取的图片
courseName
:
null
,
//
视频课
名称
scheduleVideoId
:
null
,
//
视频课
链接
courseName
:
null
,
// 名称
scheduleVideoId
:
null
,
// 链接
coverId
:
null
,
// 视频封面的recourceId
coverUrl
:
null
,
//
视频课
封面
coverUrl
:
null
,
// 封面
studentList
:
[],
// 上课学员列表
shelfState
:
'YES'
,
//是否开启学院展示
scheduleMedia
:
[
{
//
视频课
媒体资源
// 媒体资源
contentType
:
'INTRO'
,
mediaType
:
'TEXT'
,
mediaContent
:
''
,
...
...
@@ -118,7 +118,7 @@ class AddVideoCourse extends React.Component {
break
}
}
// 获取
视频课
详情
// 获取详情
handleFetchScheudleDetail
=
(
courseId
)
=>
{
CourseService
.
videoScheduleDetail
({
courseId
...
...
@@ -562,7 +562,7 @@ class AddVideoCourse extends React.Component {
return
(
<
div
className=
'page add-video-course-page'
>
<
Breadcrumbs
navList=
{
pageType
===
'add'
?
'新建
视频课'
:
'编辑视频课
'
}
goBack=
{
this
.
handleGoBack
}
/>
<
Breadcrumbs
navList=
{
pageType
===
'add'
?
'新建
'
:
'编辑
'
}
goBack=
{
this
.
handleGoBack
}
/>
<
div
className=
'box'
>
<
div
className=
'show-tips'
>
...
...
@@ -574,7 +574,7 @@ class AddVideoCourse extends React.Component {
<
span
className=
'label'
>
课程名称:
</
span
>
<
Input
value=
{
courseName
}
placeholder=
'请输入
视频课
的名称(40字以内)'
placeholder=
'请输入的名称(40字以内)'
maxLength=
{
40
}
style=
{
{
width
:
240
}
}
onChange=
{
(
e
)
=>
{
...
...
src/modules/course-manage/video-course/components/AddVideoIntro.jsx
View file @
9ea73d53
...
...
@@ -144,7 +144,7 @@ class AddVideoIntro extends React.Component {
</
div
>
</
div
>
<
div
className=
"introduce"
>
<
span
className=
"label"
>
视频课
简介:
</
span
>
<
span
className=
"label"
>
简介:
</
span
>
<
div
className=
"content"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list__item introduce-editor"
>
...
...
src/modules/course-manage/video-course/components/VideoCourseFilter.jsx
View file @
9ea73d53
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-05 10:11:57
* @LastEditors: fusanqiasng
* @LastEditTime: 2021-05-28 20:14:37
* @Description:
视频课
-搜索模块
* @Description: -搜索模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -192,10 +192,10 @@ class VideoCourseFilter extends React.Component {
<
Row
type=
'flex'
justify=
'space-between'
align=
'top'
>
<
div
className=
'search-condition'
>
<
div
className=
'search-condition__item'
>
<
span
className=
'search-name'
>
视频课
名称:
</
span
>
<
span
className=
'search-name'
>
名称:
</
span
>
<
Search
value=
{
courseName
}
placeholder=
'搜索
视频课
名称'
placeholder=
'搜索名称'
onChange=
{
(
e
)
=>
{
this
.
handleChangeQuery
(
'courseName'
,
e
.
target
.
value
)
}
}
...
...
src/modules/course-manage/video-course/components/VideoCourseList.jsx
View file @
9ea73d53
...
...
@@ -16,7 +16,7 @@ class VideoCourseList extends React.Component {
constructor
(
props
)
{
super
(
props
)
this
.
state
=
{
id
:
""
,
//
视频课
ID
id
:
""
,
// ID
studentIds
:
[],
RelatedPlanModalVisible
:
false
,
selectPlanList
:
{},
...
...
@@ -55,7 +55,7 @@ class VideoCourseList extends React.Component {
const
{
ShelfLoading
}
=
this
.
state
const
columns
=
[
{
title
:
"
视频课
"
,
title
:
""
,
key
:
"scheduleName"
,
dataIndex
:
"scheduleName"
,
width
:
321
,
...
...
@@ -328,10 +328,10 @@ class VideoCourseList extends React.Component {
})
}
// 删除
视频课
// 删除
handleDeleteVideoCourse
=
(
scheduleId
)
=>
{
Modal
.
confirm
({
title
:
"你确定要删除此
视频课
吗?"
,
title
:
"你确定要删除此吗?"
,
content
:
"删除后,学员将不能进行观看。"
,
icon
:
<
span
className=
'icon iconfont default-confirm-icon'
>

</
span
>,
okText
:
"确定"
,
...
...
@@ -370,7 +370,7 @@ class VideoCourseList extends React.Component {
data=
{
shareData
}
type=
'videoClass'
courseDivision=
{
type
}
title=
'
视频课
'
title=
''
close=
{
()
=>
{
this
.
setState
({
shareLiveModal
:
null
...
...
src/modules/course-manage/video-course/components/VieoCourseOpt.jsx
View file @
9ea73d53
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-05 10:12:15
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-26 16:07:27
* @Description:
视频课
-操作模块
* @Description: -操作模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -22,7 +22,7 @@ export default function VideoCourseOpt() {
RCHistory
.
push
(
'/create-video-course?type=add'
);
}
}
className=
"mr12"
>
新建
视频课
</
Button
>
>
新建
</
Button
>
</
div
>
);
}
src/modules/course-manage/video-course/index.jsx
View file @
9ea73d53
...
...
@@ -15,18 +15,18 @@ class VideoCourse extends React.Component {
current
:
1
,
storeId
:
User
.
getStoreId
(),
},
dataSource
:
[],
//
视频课
列表
totalCount
:
0
,
//
视频课
数据总条数
dataSource
:
[],
// 列表
totalCount
:
0
,
// 数据总条数
currentTabKey
:
'internal'
,
};
}
componentWillMount
()
{
// 获取
视频课
列表
// 获取列表
this
.
handleFetchScheduleList
();
}
// 获取
视频课
列表
// 获取列表
handleFetchScheduleList
=
(
_query
=
{})
=>
{
const
{
currentTabKey
}
=
this
.
state
;
const
query
=
{
...
...
@@ -81,7 +81,7 @@ class VideoCourse extends React.Component {
const
{
dataSource
,
totalCount
,
query
,
currentTabKey
}
=
this
.
state
;
return
(
<
div
className=
'page video-course-page'
>
<
div
className=
'content-header'
>
视频课
</
div
>
<
div
className=
'content-header'
></
div
>
<
div
className=
'box'
>
<
Tabs
onChange=
{
this
.
currenTabChange
}
activeKey=
{
currentTabKey
}
>
...
...
@@ -95,7 +95,7 @@ class VideoCourse extends React.Component {
<
If
condition=
{
currentTabKey
===
'internal'
}
>
<
VideoCourseOpt
/>
</
If
>
{
/*
视频课
列表模块 */
}
{
/* 列表模块 */
}
<
VideoCourseList
type=
{
currentTabKey
}
query=
{
query
}
...
...
src/modules/course-manage/video-course/modal/WatchDataModal.jsx
View file @
9ea73d53
...
...
@@ -122,7 +122,7 @@ class WatchDataModal extends React.Component {
const
{
visible
,
size
,
dataSource
,
totalCount
,
query
}
=
this
.
state
;
return
(
<
Modal
title=
"
视频课
观看数据"
title=
"观看数据"
visible=
{
visible
}
footer=
{
null
}
onCancel=
{
this
.
onClose
}
...
...
src/modules/home/Home.jsx
View file @
9ea73d53
...
...
@@ -301,7 +301,7 @@ class Home extends React.Component {
</
div
>
</
div
>
<
div
className=
"course-item"
>
<
div
className=
"course-title"
>
视频课
</
div
>
<
div
className=
"course-title"
></
div
>
<
div
className=
"data"
>
<
span
className=
"course-number"
>
{
videoCourseNum
}
</
span
>
<
span
className=
"course-word"
>
本月新增
</
span
>
...
...
@@ -380,7 +380,7 @@ class Home extends React.Component {
<
span
className=
{
`tab${scheduleType === 'VOICE' ? ' selected' : ''}`
}
onClick=
{
()
=>
this
.
setState
({
scheduleType
:
'VOICE'
},
()
=>
this
.
getHotCourse
())
}
>
视频课
</
span
>
></
span
>
<
span
className=
{
`tab${scheduleType === 'PICTURE' ? ' selected' : ''}`
}
onClick=
{
()
=>
this
.
setState
({
scheduleType
:
'PICTURE'
},
()
=>
this
.
getHotCourse
())
}
...
...
src/modules/knowledge-base/ENUM.js
View file @
9ea73d53
...
...
@@ -55,7 +55,7 @@ const ENUM = {
CourseTypeEnum
:
{
LIVE
:
"直播课"
,
VOICE
:
"
视频课
"
,
VOICE
:
""
,
PICTURE
:
"图文课"
,
FOLDER
:
"学习资料"
,
},
...
...
src/modules/knowledge-base/modal/AddCourse.jsx
View file @
9ea73d53
...
...
@@ -107,11 +107,11 @@ class AddCourse extends React.Component {
selectVideo
:
{
external
:
[],
internal
:
[],
},
//弹窗内已选择的
视频课
程
},
//弹窗内已选择的程
currentVideoCourseListData
:
{
external
:
[],
internal
:
[],
},
//页面中已关联的
视频课
程
},
//页面中已关联的程
pictureDataSource
:
[],
pictureSize
:
10
,
...
...
@@ -201,7 +201,7 @@ class AddCourse extends React.Component {
});
};
// 获取
视频课
列表
// 获取列表
handleFetchVideoList
=
()
=>
{
const
{
videoQuery
,
videoSize
,
videoCourseDivision
,
videoDataSource
,
videoTotalCount
}
=
this
.
state
;
...
...
@@ -866,7 +866,7 @@ class AddCourse extends React.Component {
)
}
</
div
>
</
TabPane
>
<
TabPane
tab=
'
视频课
'
key=
'VIDEO'
>
<
TabPane
tab=
''
key=
'VIDEO'
>
<
Radio
.
Group
value=
{
videoCourseDivision
}
onChange=
{
this
.
videoCourseDivisionChange
}
style=
{
{
marginBottom
:
8
}
}
>
<
Radio
.
Button
value=
'internal'
>
内部课程
</
Radio
.
Button
>
<
Radio
.
Button
value=
'external'
>
外部课程
</
Radio
.
Button
>
...
...
src/modules/knowledge-base/modal/VideoList.jsx
View file @
9ea73d53
...
...
@@ -25,7 +25,7 @@ class VideoList extends React.Component {
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
id
:
""
,
//
视频课
ID
id
:
""
,
// ID
studentIds
:
[],
selectedRowKeys
:
[],
query
:
{
...
...
@@ -33,8 +33,8 @@ class VideoList extends React.Component {
current
:
1
,
storeId
:
User
.
getStoreId
(),
},
dataSource
:
[],
//
视频课
列表
totalCount
:
0
,
//
视频课
数据总条数
dataSource
:
[],
// 列表
totalCount
:
0
,
// 数据总条数
};
}
...
...
@@ -50,11 +50,11 @@ class VideoList extends React.Component {
}
componentWillMount
()
{
// 获取
视频课
列表
// 获取列表
this
.
handleFetchScheduleList
();
}
// 获取
视频课
列表
// 获取列表
handleFetchScheduleList
=
(
_query
=
{})
=>
{
const
query
=
{
...
this
.
state
.
query
,
...
...
src/modules/plan-manage/components/BasicInfo.jsx
View file @
9ea73d53
...
...
@@ -347,7 +347,7 @@ class BasicInfo extends React.Component {
<
div
className=
'live-standard-info'
>
<
span
className=
'icon iconfont'
>

</
span
>
<
span
className=
'instro'
>
视频课
单个课程,学员学习进度达到
单个课程,学员学习进度达到
<
Input
width=
'40'
value=
{
percentCompleteVideo
}
...
...
src/modules/plan-manage/components/ExpiredCourseList.jsx
View file @
9ea73d53
...
...
@@ -18,7 +18,7 @@ function ExpiredCourseList(props) {
<
span
>
直播课
</
span
>
}
{
item
.
courseType
===
"VOICE "
&&
<
span
>
视频课
</
span
>
<
span
></
span
>
}
</
div
>
<
div
className=
"course-instro"
>
...
...
src/modules/plan-manage/components/TrainingTask.jsx
View file @
9ea73d53
...
...
@@ -21,7 +21,7 @@ const CourseType = {
text
:
'直播课'
},
VOICE
:
{
text
:
'
视频课
'
text
:
''
},
RECORD
:
{
text
:
'录播课'
...
...
src/modules/plan-manage/modal/UserLearnDetailModal.jsx
View file @
9ea73d53
...
...
@@ -12,7 +12,7 @@ const CourseType = {
text
:
"直播课"
},
VOICE
:
{
text
:
"
视频课
"
text
:
""
},
RECORD
:
{
text
:
'录播课'
...
...
src/modules/plan-manage/modal/relatedCourseModal.jsx
View file @
9ea73d53
...
...
@@ -78,11 +78,11 @@ class SelectOperatorModal extends React.Component {
selectVideo
:
{
external
:
[],
internal
:
[]
},
//弹窗内已选择的
视频课
程
},
//弹窗内已选择的程
currentVideoCourseListData
:
{
external
:
[],
internal
:
[]
},
//页面中已关联的
视频课
程
},
//页面中已关联的程
pictureDataSource
:
[],
pictureSize
:
10
,
...
...
@@ -90,8 +90,8 @@ class SelectOperatorModal extends React.Component {
current
:
1
},
pictureTotalCount
:
0
,
selectPicture
:
[],
//弹窗内已选择的
视频课
程
currentPictureCourseListData
:
[],
//页面中已关联的
视频课
程
selectPicture
:
[],
//弹窗内已选择的程
currentPictureCourseListData
:
[],
//页面中已关联的程
activeKey
:
"video"
,
currentTaskCourseData
:
this
.
props
.
data
[
this
.
props
.
selectedTaskIndex
].
courseList
||
[]
...
...
@@ -135,7 +135,7 @@ class SelectOperatorModal extends React.Component {
})
}
// 获取
视频课
列表
// 获取列表
handleFetchVideoDataList
=
()
=>
{
const
{
videoQuery
,
videoSize
,
videoDataSource
,
videoTotalCount
,
videoCourseDivision
}
=
this
.
state
...
...
@@ -589,7 +589,7 @@ class SelectOperatorModal extends React.Component {
className=
'link-create-course'
href=
{
window
.
location
.
origin
+
window
.
location
.
pathname
+
"#/create-video-course?type=add"
}
onClick=
{
this
.
props
.
onClose
}
>
没有找到需要的
视频课
?
<
span
>
去创建
</
span
>
没有找到需要的?
<
span
>
去创建
</
span
>
</
a
>
)
break
...
...
@@ -760,7 +760,7 @@ class SelectOperatorModal extends React.Component {
</
div
>
</
TabPane
>
<
TabPane
tab=
'
视频课
'
key=
'video'
>
<
TabPane
tab=
''
key=
'video'
>
<
Radio
.
Group
value=
{
videoCourseDivision
}
onChange=
{
this
.
videoCourseDivisionChange
}
style=
{
{
marginBottom
:
16
}
}
>
<
Radio
.
Button
value=
'internal'
>
内部课程
</
Radio
.
Button
>
<
Radio
.
Button
value=
'external'
>
外部课程
</
Radio
.
Button
>
...
...
src/routes/config/mainRoutes.tsx
View file @
9ea73d53
...
...
@@ -81,7 +81,7 @@ const mainRoutes = [
{
path
:
'/video-course'
,
component
:
VideoCoursePage
,
name
:
'
视频课
'
,
name
:
''
,
},
{
path
:
'/graphics-course'
,
...
...
@@ -101,7 +101,7 @@ const mainRoutes = [
{
path
:
'/create-video-course'
,
component
:
AddVideoCoursePage
,
name
:
'创建
视频课
'
,
name
:
'创建'
,
},
{
path
:
'/knowledge-base'
,
...
...
@@ -163,7 +163,7 @@ const mainRoutes = [
{
path
:
'/create-plan'
,
component
:
AddPlanPage
,
name
:
'创建
视频课
'
,
name
:
'创建'
,
},
{
path
:
'/store-info'
,
...
...
src/routes/config/menuList.tsx
View file @
9ea73d53
...
...
@@ -27,7 +27,7 @@ export const menuList: any = [
link
:
'/live-course'
},
{
groupName
:
"
视频课
"
,
groupName
:
""
,
groupCode
:
"CourseVideoClass"
,
link
:
'/video-course'
},
...
...
wufan
@wufan
mentioned in commit
3e062086
Jul 01, 2021
mentioned in commit
3e062086
mentioned in commit 3e06208694a3cd25e9278f690667190ce8e6c675
Toggle commit list
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