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
70e74ec2
Commit
70e74ec2
authored
Mar 09, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理详情页的运营师
parent
20a51ce0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
src/modules/plan-manage/AddPlan.jsx
+8
-2
src/modules/plan-manage/modal/SelectOperatorModal.jsx
+1
-1
src/modules/plan-manage/modal/relatedCourseModal.jsx
+3
-3
No files found.
src/modules/plan-manage/AddPlan.jsx
View file @
70e74ec2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Author: zhangleyuan
* @Date: 2021-02-20 16:13:39
* @Date: 2021-02-20 16:13:39
* @LastEditors: zhangleyuan
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-03-09 1
2:54:53
* @LastEditTime: 2021-03-09 1
6:54:56
* @Description: 描述一下
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -83,12 +83,18 @@ function AddPlan() {
...
@@ -83,12 +83,18 @@ function AddPlan() {
}
}
return
item
;
return
item
;
})
})
let
_selectOperatorList
=
[];
_selectOperatorList
=
operateIds
.
map
((
item
,
index
)
=>
{
let
_item
=
{};
_item
.
id
=
item
;
return
_item
})
setBasicData
({
setBasicData
({
planName
,
planName
,
coverUrl
:
coverUrl
||
defaultCover
,
coverUrl
:
coverUrl
||
defaultCover
,
coverId
,
coverId
,
enableState
,
enableState
,
selectOperatorList
:
operateIds
||
[]
,
selectOperatorList
:
_selectOperatorList
,
instro
,
instro
,
operateType
,
operateType
,
percentCompleteLive
,
percentCompleteLive
,
...
...
src/modules/plan-manage/modal/SelectOperatorModal.jsx
View file @
70e74ec2
...
@@ -16,7 +16,7 @@ class SelectOperatorModal extends React.Component {
...
@@ -16,7 +16,7 @@ class SelectOperatorModal extends React.Component {
current
:
1
,
current
:
1
,
},
},
totalCount
:
0
,
totalCount
:
0
,
selectOperatorList
:
props
.
selectOperatorList
selectOperatorList
:
this
.
props
.
selectOperatorList
};
};
}
}
componentDidMount
()
{
componentDidMount
()
{
...
...
src/modules/plan-manage/modal/relatedCourseModal.jsx
View file @
70e74ec2
import
React
from
'react'
;
import
React
from
'react'
;
import
{
Table
,
Modal
,
Input
,
message
,
Button
}
from
'antd'
;
import
{
Table
,
Modal
,
Input
,
message
,
Button
,
Tooltip
}
from
'antd'
;
import
{
PageControl
}
from
"@/components"
;
import
{
PageControl
}
from
"@/components"
;
import
CourseService
from
"@/domains/course-domain/CourseService"
;
import
CourseService
from
"@/domains/course-domain/CourseService"
;
import
User
from
'@/common/js/user'
;
import
User
from
'@/common/js/user'
;
...
@@ -165,7 +165,7 @@ class SelectOperatorModal extends React.Component {
...
@@ -165,7 +165,7 @@ class SelectOperatorModal extends React.Component {
parseLiveColumns
=
()
=>
{
parseLiveColumns
=
()
=>
{
const
columns
=
[
const
columns
=
[
{
{
title
:
'课程信息'
,
title
:
<
span
><
span
>
课程信息
</
span
><
Tooltip
title=
"以下为该培训计划暂未关联的课程。 已关联的课程不支持重复选择,因此不显示。"
><
i
className=
"icon iconfont"
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
}
}
>

</
i
></
Tooltip
></
span
>
,
key
:
'course'
,
key
:
'course'
,
dataIndex
:
'course'
,
dataIndex
:
'course'
,
render
:
(
val
,
record
)
=>
{
render
:
(
val
,
record
)
=>
{
...
@@ -224,7 +224,7 @@ class SelectOperatorModal extends React.Component {
...
@@ -224,7 +224,7 @@ class SelectOperatorModal extends React.Component {
parseVideoColumns
=
()
=>
{
parseVideoColumns
=
()
=>
{
const
columns
=
[
const
columns
=
[
{
{
title
:
'课程信息'
,
title
:
<
span
><
span
>
课程信息
</
span
><
Tooltip
title=
"以下为该培训计划暂未关联的课程。 已关联的课程不支持重复选择,因此不显示。"
><
i
className=
"icon iconfont"
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
}
}
>

</
i
></
Tooltip
></
span
>
,
key
:
'course'
,
key
:
'course'
,
dataIndex
:
'course'
,
dataIndex
:
'course'
,
render
:
(
val
,
record
)
=>
{
render
:
(
val
,
record
)
=>
{
...
...
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