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
6a728a02
Commit
6a728a02
authored
Jul 28, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:上课记录区分企微直播
parent
718babd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
2 deletions
+36
-2
src/modules/course-manage/DataList/CourseData.jsx
+18
-2
src/modules/course-manage/components/LiveCourseList.jsx
+18
-0
No files found.
src/modules/course-manage/DataList/CourseData.jsx
View file @
6a728a02
...
...
@@ -2,7 +2,7 @@ import User from '@/common/js/user';
import
college
from
'@/common/lottie/college'
;
import
{
PageControl
,
XMTable
}
from
'@/components'
;
import
CourseService
from
'@/domains/course-domain/CourseService'
;
import
{
Button
,
message
,
Popover
,
Spin
}
from
'antd'
;
import
{
Button
,
message
,
Popover
,
Spin
,
Tooltip
}
from
'antd'
;
import
React
from
'react'
;
import
{
withRouter
}
from
'react-router-dom'
;
import
dealTimeDuration
from
'../utils/dealTimeDuration'
;
...
...
@@ -165,7 +165,23 @@ class DataList extends React.Component {
dataIndex
:
'userName'
,
},
{
title
:
'学员类型'
,
title
:
()
=>
{
return
(
<
div
>
学员类型
<
Tooltip
title=
{
()
=>
{
return
<
div
>
<
div
>
学员-已加入当前学院的企业员工
</
div
>
<
div
>
待加入-未加入当前学院的企业员工
</
div
>
<
div
>
游客-非企业员工
</
div
>
</
div
>
}
}
>
<
i
className=
'icon iconfont'
style=
{
{
fontSize
:
"14px"
,
fontWeight
:
"400"
}
}
>

</
i
>
</
Tooltip
>
</
div
>
)
},
dataIndex
:
'phone'
,
render
:
(
text
,
record
)
=>
{
const
{
phone
=
''
,
bindingWeChat
}
=
record
;
...
...
src/modules/course-manage/components/LiveCourseList.jsx
View file @
6a728a02
...
...
@@ -215,6 +215,24 @@ class LiveCourseList extends React.Component {
},
},
{
title
:
'上课状态'
,
width
:
'10%'
,
key
:
'couseCatalog'
,
dataIndex
:
'couseCatalog'
,
render
:
(
val
,
item
)
=>
{
return
<
div
className=
'categoryName'
>
{
item
.
categoryName
}
</
div
>;
},
},
{
title
:
'直播方式'
,
width
:
'10%'
,
key
:
'couseCatalog'
,
dataIndex
:
'couseCatalog'
,
render
:
(
val
,
item
)
=>
{
return
<
div
className=
'categoryName'
>
{
item
.
categoryName
}
</
div
>;
},
},
{
title
:
'课程分类'
,
width
:
'10%'
,
key
:
'couseCatalog'
,
...
...
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