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
ba565f31
Commit
ba565f31
authored
Mar 12, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改提示文案
parent
f3e43d6a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
src/modules/plan-manage/components/TrainingTask.jsx
+5
-3
src/modules/plan-manage/components/UserLearningData.jsx
+1
-1
No files found.
src/modules/plan-manage/components/TrainingTask.jsx
View file @
ba565f31
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Author: zhangleyuan
* @Date: 2021-02-20 16:45:51
* @Date: 2021-02-20 16:45:51
* @LastEditors: zhangleyuan
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-03-1
1 18:27:36
* @LastEditTime: 2021-03-1
2 14:24:23
* @Description: 描述一下
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -245,6 +245,7 @@ class TrainingTask extends React.Component {
...
@@ -245,6 +245,7 @@ class TrainingTask extends React.Component {
}
}
return
Promise
.
resolve
()
return
Promise
.
resolve
()
}
}
handleValidatorCourseName
=
(
rule
,
value
)
=>
{
handleValidatorCourseName
=
(
rule
,
value
)
=>
{
let
input
=
/^
[\s]
*$/
;
let
input
=
/^
[\s]
*$/
;
if
(
input
.
test
(
value
)
||
!
value
){
if
(
input
.
test
(
value
)
||
!
value
){
...
@@ -252,6 +253,7 @@ class TrainingTask extends React.Component {
...
@@ -252,6 +253,7 @@ class TrainingTask extends React.Component {
}
}
return
Promise
.
resolve
()
return
Promise
.
resolve
()
}
}
renderTaskItem
=
(
record
,
index
)
=>
{
renderTaskItem
=
(
record
,
index
)
=>
{
return
<
div
className=
"task-item"
>
return
<
div
className=
"task-item"
>
<
div
className=
"task-con"
>
<
div
className=
"task-con"
>
...
@@ -287,9 +289,9 @@ class TrainingTask extends React.Component {
...
@@ -287,9 +289,9 @@ class TrainingTask extends React.Component {
</
div
>
</
div
>
<
div
className=
"operate"
>
<
div
className=
"operate"
>
<
DragHandle
/>
<
DragHandle
/>
<
span
className=
"operate__item"
>
<
span
className=
"operate__item"
onClick=
{
()
=>
{
const
{
dataSource
}
=
this
.
state
;
record
.
type
=
"input"
;
this
.
setState
({
dataSource
})}
}
>
<
span
className=
"icon iconfont"
>

</
span
>
<
span
className=
"icon iconfont"
>

</
span
>
<
span
className=
"text"
onClick=
{
()
=>
{
const
{
dataSource
}
=
this
.
state
;
record
.
type
=
"input"
;
this
.
setState
({
dataSource
})}
}
>
重命名
</
span
>
<
span
className=
"text"
>
重命名
</
span
>
</
span
>
</
span
>
<
span
className=
"operate__item"
onClick=
{
()
=>
{
this
.
handleDeleteTask
(
index
)}
}
>
<
span
className=
"operate__item"
onClick=
{
()
=>
{
this
.
handleDeleteTask
(
index
)}
}
>
<
span
className=
"icon iconfont"
>

</
span
>
<
span
className=
"icon iconfont"
>

</
span
>
...
...
src/modules/plan-manage/components/UserLearningData.jsx
View file @
ba565f31
...
@@ -182,7 +182,7 @@ class UserLearningData extends React.Component {
...
@@ -182,7 +182,7 @@ class UserLearningData extends React.Component {
{
{
title
:
<
span
>
title
:
<
span
>
<
span
>
负责人
</
span
>
<
span
>
负责人
</
span
>
<
Tooltip
title=
"
用户加入学习时,培训计划的分享者
"
><
i
className=
"icon iconfont"
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
}
}
>

</
i
></
Tooltip
>
<
Tooltip
title=
"
培训计划的分享者/跟进人
"
><
i
className=
"icon iconfont"
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
}
}
>

</
i
></
Tooltip
>
</
span
>,
</
span
>,
key
:
'userNameList'
,
key
:
'userNameList'
,
dataIndex
:
'userNameList'
,
dataIndex
:
'userNameList'
,
...
...
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