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
6348e8e6
Commit
6348e8e6
authored
Aug 17, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:图标挤压,指派报错
parent
3dcf263d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
src/modules/task-center/train-task/components/TrainList.jsx
+11
-8
src/modules/task-center/train-task/components/TrainList.less
+1
-0
No files found.
src/modules/task-center/train-task/components/TrainList.jsx
View file @
6348e8e6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Author: yuananting
* @Date: 2021-07-28 14:56:52
* @Date: 2021-07-28 14:56:52
* @LastEditors: yuananting
* @LastEditors: yuananting
* @LastEditTime: 2021-08-17 1
5:18:08
* @LastEditTime: 2021-08-17 1
6:16:04
* @Description: 描述一下咯
* @Description: 描述一下咯
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -80,16 +80,19 @@ function TrainList(props) {
...
@@ -80,16 +80,19 @@ function TrainList(props) {
// 显示指派弹窗
// 显示指派弹窗
function
handleShowAssignModal
(
item
)
{
function
handleShowAssignModal
(
item
)
{
const
assignList
=
item
.
assignList
.
map
((
childItem
)
=>
{
let
_assignList
=
[];
childItem
.
checkedId
=
childItem
.
assignId
;
if
(
item
.
assignList
?.
length
>
0
)
{
childItem
.
checkedName
=
childItem
.
assignName
;
_assignList
=
item
.
assignList
.
map
((
childItem
)
=>
{
childItem
.
checkedType
=
childItem
.
assignType
;
childItem
.
checkedId
=
childItem
.
assignId
;
return
childItem
;
childItem
.
checkedName
=
childItem
.
assignName
;
});
childItem
.
checkedType
=
childItem
.
assignType
;
return
childItem
;
});
}
const
chooseAssignorModal
=
(
const
chooseAssignorModal
=
(
<
ChooseAssignorModal
<
ChooseAssignorModal
currentAssignorList=
{
assignList
}
currentAssignorList=
{
_
assignList
}
visible=
{
true
}
visible=
{
true
}
onClose=
{
()
=>
{
onClose=
{
()
=>
{
setChooseAssignorModal
(
null
);
setChooseAssignorModal
(
null
);
...
...
src/modules/task-center/train-task/components/TrainList.less
View file @
6348e8e6
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
height: 60px;
height: 60px;
border-radius: 2px;
border-radius: 2px;
margin-right: 8px;
margin-right: 8px;
flex-shrink: 0;
}
}
.train-name {
.train-name {
width: 188px;
width: 188px;
...
...
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