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
b135cf5a
Commit
b135cf5a
authored
Jul 16, 2021
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:培训计划优化
parent
ee9d6bad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
src/modules/plan-manage/components/PlanList.jsx
+2
-2
src/modules/plan-manage/components/PlanList.less
+0
-1
No files found.
src/modules/plan-manage/components/PlanList.jsx
View file @
b135cf5a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Author: zhangleyuan
* @Date: 2021-02-20 16:46:46
* @Date: 2021-02-20 16:46:46
* @LastEditors: wufan
* @LastEditors: wufan
* @LastEditTime: 2021-07-1
5 20:03:56
* @LastEditTime: 2021-07-1
6 11:29:13
* @Description: 描述一下
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -52,7 +52,6 @@ function PlanList(props) {
...
@@ -52,7 +52,6 @@ function PlanList(props) {
title
:
'课程总数量'
,
title
:
'课程总数量'
,
key
:
'courseNum'
,
key
:
'courseNum'
,
dataIndex
:
'courseNum'
,
dataIndex
:
'courseNum'
,
align
:
'right'
,
render
:
(
val
,
record
)
=>
{
render
:
(
val
,
record
)
=>
{
return
<
div
className=
'course-number'
>
{
val
}
</
div
>;
return
<
div
className=
'course-number'
>
{
val
}
</
div
>;
},
},
...
@@ -64,6 +63,7 @@ function PlanList(props) {
...
@@ -64,6 +63,7 @@ function PlanList(props) {
render
:
(
val
,
item
,
index
)
=>
{
render
:
(
val
,
item
,
index
)
=>
{
return
(
return
(
<
Switch
<
Switch
size=
'small'
checked=
{
item
.
enableState
===
'NO'
?
false
:
true
}
checked=
{
item
.
enableState
===
'NO'
?
false
:
true
}
onChange=
{
()
=>
changeEnableState
(
item
)
}
onChange=
{
()
=>
changeEnableState
(
item
)
}
disabled=
{
User
.
getUserRole
()
===
'CloudManager'
||
User
.
getUserRole
()
===
'StoreManager'
?
false
:
true
}
disabled=
{
User
.
getUserRole
()
===
'CloudManager'
||
User
.
getUserRole
()
===
'StoreManager'
?
false
:
true
}
...
...
src/modules/plan-manage/components/PlanList.less
View file @
b135cf5a
.plan-list {
.plan-list {
margin-top: 12px;
margin-top: 12px;
.course-number {
.course-number {
text-align: right;
margin-right: 45px;
margin-right: 45px;
}
}
...
...
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