Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bkunyun
Commits
621af1fc
Commit
621af1fc
authored
Sep 06, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-20220801' into 'release'
Feat 20220801 See merge request
!90
parents
379ab1b7
53d8e36f
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
73 additions
and
63 deletions
+73
-63
index.module.css
...CommonComponents/RadioGroupOfButtonStyle/index.module.css
+0
-1
MyPopconfirm.tsx
src/components/mui/MyPopconfirm.tsx
+2
-2
index.module.css
src/views/Project/ProjectJobDetail/LogView/index.module.css
+17
-16
index.tsx
src/views/Project/ProjectJobDetail/LogView/index.tsx
+10
-6
index.module.css
src/views/Project/ProjectJobDetail/index.module.css
+8
-1
index.tsx
src/views/Project/ProjectJobDetail/index.tsx
+22
-27
index.module.css
...ews/Project/ProjectSubmitWork/ConfigForm/index.module.css
+4
-5
index.tsx
src/views/Project/ProjectSubmitWork/ConfigForm/index.tsx
+4
-0
index.module.css
src/views/Project/ProjectSubmitWork/index.module.css
+3
-3
index.tsx
src/views/Project/ProjectWorkbench/workbenchList/index.tsx
+3
-2
No files found.
src/components/CommonComponents/RadioGroupOfButtonStyle/index.module.css
View file @
621af1fc
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
border-radius
:
2px
;
border-radius
:
2px
;
line-height
:
20px
;
line-height
:
20px
;
padding
:
6px
16px
;
padding
:
6px
16px
;
/* background-color: #e6e8eb; */
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
src/components/mui/MyPopconfirm.tsx
View file @
621af1fc
...
@@ -71,7 +71,7 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => {
...
@@ -71,7 +71,7 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => {
bgcolor
:
"transparent"
,
bgcolor
:
"transparent"
,
minWidth
:
"200px"
,
minWidth
:
"200px"
,
fontSize
:
"14px"
,
fontSize
:
"14px"
,
padding
:
"
20px 16
px"
,
padding
:
"
8px 0
px"
,
}
}
}
}
>
>
<
Box
<
Box
...
@@ -80,7 +80,7 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => {
...
@@ -80,7 +80,7 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => {
minWidth
:
"200px"
,
minWidth
:
"200px"
,
borderRadius
:
"4px"
,
borderRadius
:
"4px"
,
fontSize
:
"14px"
,
fontSize
:
"14px"
,
padding
:
"
20px 16
px"
,
padding
:
"
16px 20
px"
,
boxShadow
:
"0px 3px 10px 0px rgba(0, 24, 57, 0.14)"
,
boxShadow
:
"0px 3px 10px 0px rgba(0, 24, 57, 0.14)"
,
}
}
}
}
>
>
...
...
src/views/Project/ProjectJobDetail/LogView/index.module.css
View file @
621af1fc
...
@@ -8,15 +8,7 @@
...
@@ -8,15 +8,7 @@
}
}
.logViewBox
{
.logViewBox
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
width
:
900px
;
height
:
600px
;
background
:
#282c34
;
background
:
#282c34
;
box-shadow
:
2px
4px
20px
0px
rgba
(
0
,
15
,
45
,
0.12
);
border-radius
:
8px
;
}
}
.close
{
.close
{
...
@@ -29,12 +21,13 @@
...
@@ -29,12 +21,13 @@
.logViewTop
{
.logViewTop
{
/* height: 30px; */
/* height: 30px; */
width
:
100vw
;
background-color
:
#1d2126
;
background-color
:
#1d2126
;
border-radius
:
8px
8px
0
0
;
/* border-radius: 8px 8px 0 0; */
display
:
flex
;
display
:
flex
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#8a9099
;
color
:
#8a9099
;
overflow
:
overlay
;
/* overflow: overlay; */
}
}
.logViewTop
::-webkit-scrollbar-track
{
.logViewTop
::-webkit-scrollbar-track
{
...
@@ -43,11 +36,18 @@
...
@@ -43,11 +36,18 @@
.logTitle
{
.logTitle
{
display
:
flex
;
display
:
flex
;
width
:
0
;
max-width
:
200px
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
flex
:
1
;
align-items
:
center
;
align-items
:
center
;
height
:
30px
;
height
:
30px
;
line-height
:
20px
;
line-height
:
20px
;
padding
:
0
24px
;
padding
:
0
24px
;
cursor
:
pointer
;
cursor
:
pointer
;
border-right
:
1px
solid
#10141A
;
}
}
.logTitleSelected
{
.logTitleSelected
{
...
@@ -63,8 +63,8 @@
...
@@ -63,8 +63,8 @@
.logViewContent
{
.logViewContent
{
position
:
relative
;
position
:
relative
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
510px
;
height
:
calc
(
100vh
-
148px
)
;
padding
:
16px
24
px
0
;
padding
:
24px
32
px
0
;
color
:
#d1d6de
;
color
:
#d1d6de
;
white-space
:
pre-wrap
;
white-space
:
pre-wrap
;
word-break
:
break-word
;
word-break
:
break-word
;
...
@@ -74,12 +74,12 @@
...
@@ -74,12 +74,12 @@
}
}
.logViewContentMask
{
.logViewContentMask
{
height
:
16
px
;
height
:
24
px
;
width
:
852px
;
width
:
calc
(
100vw
-
64px
)
;
background-color
:
#282c34
;
background-color
:
#282c34
;
position
:
absolute
;
position
:
absolute
;
top
:
30px
;
top
:
30px
;
left
:
24
px
;
left
:
32
px
;
z-index
:
1005
;
z-index
:
1005
;
}
}
...
@@ -91,6 +91,6 @@
...
@@ -91,6 +91,6 @@
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
end
;
justify-content
:
end
;
height
:
60
px
;
height
:
76
px
;
padding-right
:
24px
;
padding-right
:
24px
;
}
}
\ No newline at end of file
src/views/Project/ProjectJobDetail/LogView/index.tsx
View file @
621af1fc
...
@@ -7,16 +7,18 @@ import InsertDriveFileOutlinedIcon from "@mui/icons-material/InsertDriveFileOutl
...
@@ -7,16 +7,18 @@ import InsertDriveFileOutlinedIcon from "@mui/icons-material/InsertDriveFileOutl
import
CloudEController
from
"@/api/fileserver/CloudEController"
;
import
CloudEController
from
"@/api/fileserver/CloudEController"
;
import
{
useStores
}
from
"@/store"
;
import
{
useStores
}
from
"@/store"
;
import
{
toJS
}
from
"mobx"
;
import
{
toJS
}
from
"mobx"
;
import
FullScreenDrawer
from
"@/components/CommonComponents/FullScreenDrawer"
;
type
LogViewProps
=
{
type
LogViewProps
=
{
isshow
:
boolean
;
isshow
:
boolean
;
handleClose
:
()
=>
void
;
handleClose
:
()
=>
void
;
logs
:
any
[];
logs
:
any
[];
setShowAddTemplate
:
any
;
};
};
const
LogView
=
(
props
:
LogViewProps
)
=>
{
const
LogView
=
(
props
:
LogViewProps
)
=>
{
const
{
isshow
,
handleClose
,
logs
}
=
props
;
const
{
isshow
,
handleClose
,
logs
,
setShowAddTemplate
}
=
props
;
const
{
currentProjectStore
}
=
useStores
();
const
{
currentProjectStore
}
=
useStores
();
const
fileToken
=
toJS
(
currentProjectStore
.
currentProjectInfo
.
filetoken
);
const
fileToken
=
toJS
(
currentProjectStore
.
currentProjectInfo
.
filetoken
);
const
projectId
=
toJS
(
currentProjectStore
.
currentProjectInfo
.
id
);
const
projectId
=
toJS
(
currentProjectStore
.
currentProjectInfo
.
id
);
...
@@ -42,7 +44,7 @@ const LogView = (props: LogViewProps) => {
...
@@ -42,7 +44,7 @@ const LogView = (props: LogViewProps) => {
)?.
then
((
res
)
=>
{
)?.
then
((
res
)
=>
{
setLogText
(
res
.
data
)
setLogText
(
res
.
data
)
})
})
}
else
{
}
else
{
setLogText
(
""
)
setLogText
(
""
)
}
}
},
[
logPath
]);
},
[
logPath
]);
...
@@ -53,7 +55,7 @@ const LogView = (props: LogViewProps) => {
...
@@ -53,7 +55,7 @@ const LogView = (props: LogViewProps) => {
},
[
logCurrent
]);
},
[
logCurrent
]);
// 下载当前日志
// 下载当前日志
const
handleDownLoad
=
()
=>
{
const
handleDownLoad
=
()
=>
{
const
path
=
logPath
.
slice
(
12
)
const
path
=
logPath
.
slice
(
12
)
CloudEController
.
JobFileDownload
(
CloudEController
.
JobFileDownload
(
path
,
path
,
...
@@ -62,9 +64,9 @@ const LogView = (props: LogViewProps) => {
...
@@ -62,9 +64,9 @@ const LogView = (props: LogViewProps) => {
);
);
}
}
return
<
div
className=
{
style
.
logView
}
style=
{
isshow
?
{}
:
{
display
:
"none"
}
}
>
return
(
<
FullScreenDrawer
handleClose=
{
setShowAddTemplate
}
zIndex=
{
1002
}
>
<
div
className=
{
style
.
logViewBox
}
>
<
div
className=
{
style
.
logViewBox
}
>
<
CloseIcon
onClick=
{
handleClose
}
className=
{
style
.
close
}
/>
<
div
className=
{
style
.
logViewContentMask
}
></
div
>
<
div
className=
{
style
.
logViewContentMask
}
></
div
>
<
div
className=
{
style
.
logViewTop
}
>
<
div
className=
{
style
.
logViewTop
}
>
{
logs
.
map
((
item
:
any
,
index
:
number
)
=>
{
{
logs
.
map
((
item
:
any
,
index
:
number
)
=>
{
...
@@ -87,7 +89,8 @@ const LogView = (props: LogViewProps) => {
...
@@ -87,7 +89,8 @@ const LogView = (props: LogViewProps) => {
<
MyButton
text=
'下载当前日志'
onClick=
{
handleDownLoad
}
/>
<
MyButton
text=
'下载当前日志'
onClick=
{
handleDownLoad
}
/>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
FullScreenDrawer
>
)
}
}
export
default
LogView
export
default
LogView
\ No newline at end of file
src/views/Project/ProjectJobDetail/index.module.css
View file @
621af1fc
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
}
}
.swTemplateTitle
{
.swTemplateTitle
{
margin
:
0
19px
0
8px
;
margin
:
0
19px
0
8px
;
line-height
:
2
2
px
;
line-height
:
2
0
px
;
font-size
:
14px
;
font-size
:
14px
;
color
:
rgba
(
30
,
38
,
51
,
1
);
color
:
rgba
(
30
,
38
,
51
,
1
);
font-weight
:
700
;
font-weight
:
700
;
...
@@ -130,6 +130,13 @@
...
@@ -130,6 +130,13 @@
word-break
:
break-all
;
word-break
:
break-all
;
flex
:
1
;
flex
:
1
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
overflow
:
hidden
;
word-wrap
:
break-word
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
}
}
.taskInfoValueClick
{
.taskInfoValueClick
{
cursor
:
pointer
;
cursor
:
pointer
;
...
...
src/views/Project/ProjectJobDetail/index.tsx
View file @
621af1fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-06-21 20:03:56
* @Date: 2022-06-21 20:03:56
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-09-0
5 17:33:58
* @LastEditTime: 2022-09-0
6 10:54:40
* @FilePath: /bkunyun/src/views/Project/ProjectSubmitWork/index.tsx
* @FilePath: /bkunyun/src/views/Project/ProjectSubmitWork/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -47,6 +47,8 @@ import {
...
@@ -47,6 +47,8 @@ import {
getDatasetPath
,
getDatasetPath
,
getSameBatch
,
getSameBatch
,
}
from
"./utils"
;
}
from
"./utils"
;
import
MyTooltip
from
"@/components/mui/MyTooltip"
;
import
styles
from
"./index.module.css"
;
import
styles
from
"./index.module.css"
;
...
@@ -75,11 +77,11 @@ const ProjectSubmitWork = observer(() => {
...
@@ -75,11 +77,11 @@ const ProjectSubmitWork = observer(() => {
const
productId
=
toJS
(
currentProjectStore
.
currentProductInfo
.
id
);
const
productId
=
toJS
(
currentProjectStore
.
currentProductInfo
.
id
);
const
[
workFlowJobInfo
,
setWorkFlowJobInfo
]
=
useState
<
ITaskInfo
>
();
const
[
workFlowJobInfo
,
setWorkFlowJobInfo
]
=
useState
<
ITaskInfo
>
();
const
[
patchInfo
,
setPatchInfo
]
=
useState
<
any
>
();
const
[
patchInfo
,
setPatchInfo
]
=
useState
<
any
>
();
const
[
overviewInfo
,
setOverviewInfo
]
=
useState
<
any
>
();
const
[
overviewActive
,
setOverviewActive
]
=
useState
(
true
);
const
[
overviewActive
,
setOverviewActive
]
=
useState
(
true
);
/** 选中的node Id */
/** 选中的node Id */
const
[
activeFlowIndex
,
setActiveFlowIndex
]
=
useState
<
string
>
(
""
);
const
[
activeFlowIndex
,
setActiveFlowIndex
]
=
useState
<
string
>
(
""
);
/** 选中的flow Title */
const
[
selectNodeTitle
,
setSelectNodeTitle
]
=
useState
(
'参数'
)
// const [showOptions, setShowOptions] = useState<boolean>(false);
// const [showOptions, setShowOptions] = useState<boolean>(false);
const
[
randerOutputs1
,
setRanderOutputs
]
=
useState
<
Array
<
any
>>
([]);
const
[
randerOutputs1
,
setRanderOutputs
]
=
useState
<
Array
<
any
>>
([]);
const
locationInfo
:
any
=
useLocation
()?.
state
;
const
locationInfo
:
any
=
useLocation
()?.
state
;
...
@@ -308,8 +310,7 @@ const ProjectSubmitWork = observer(() => {
...
@@ -308,8 +310,7 @@ const ProjectSubmitWork = observer(() => {
if
(
Array
.
isArray
(
res
.
data
))
{
if
(
Array
.
isArray
(
res
.
data
))
{
res
.
data
.
forEach
((
item1
)
=>
{
res
.
data
.
forEach
((
item1
)
=>
{
if
(
item1
.
name
===
item
.
path
.
slice
(
item
.
path
.
lastIndexOf
(
"/"
)
+
1
))
{
if
(
item1
.
name
===
item
.
path
.
slice
(
item
.
path
.
lastIndexOf
(
"/"
)
+
1
))
{
randerOutputs
[
index
].
size
=
`
${
randerOutputs
[
index
].
size
=
`
${
item1
.
size
?
storageUnitFromB
(
Number
(
item1
.
size
))
:
"-"
item1
.
size
?
storageUnitFromB
(
Number
(
item1
.
size
))
:
"-"
}
`
;
}
`
;
setRanderOutputs
([...
randerOutputs
]);
setRanderOutputs
([...
randerOutputs
]);
}
}
...
@@ -356,32 +357,26 @@ const ProjectSubmitWork = observer(() => {
...
@@ -356,32 +357,26 @@ const ProjectSubmitWork = observer(() => {
const
selectedParameter
=
useCallback
(
const
selectedParameter
=
useCallback
(
(
list
:
any
)
=>
{
(
list
:
any
)
=>
{
let
result
:
any
=
[];
let
result
:
any
=
[];
if
(
patchInfo
?.
id
===
activeFlowIndex
)
{
setSelectNodeTitle
(
list
[
0
].
title
||
''
)
result
=
list
[
0
].
parameters
}
else
{
list
?.
length
&&
list
?.
length
&&
list
?.
forEach
((
item
:
any
)
=>
{
list
?.
forEach
((
item
:
any
)
=>
{
if
(
item
.
id
===
activeFlowIndex
)
{
if
(
item
.
id
===
activeFlowIndex
)
{
console
.
log
(
1111
)
setOverviewInfo
(
item
)
setSelectNodeTitle
(
item
?.
title
||
''
)
result
=
item
.
parameters
;
result
=
item
.
parameters
;
}
}
});
});
}
return
result
;
return
result
;
},
},
[
activeFlowIndex
,
patchInfo
]
[
activeFlowIndex
]
);
);
const
randerParameters
=
useMemo
(()
=>
{
const
randerParameters
=
useMemo
(()
=>
{
if
(
patchInfo
?.
children
?.
length
)
{
if
(
patchInfo
?.
id
===
activeFlowIndex
)
{
return
selectedParameter
(
patchInfo
?.
children
);
setOverviewInfo
(
patchInfo
)
return
patchInfo
?.
parameters
}
else
{
}
else
{
return
selectedParameter
(
patchInfo
?.
parameters
);
return
selectedParameter
(
patchInfo
?.
children
);
}
}
},
[
activeFlowIndex
,
patchInfo
,
selectedParameter
]);
},
[
patchInfo
,
selectedParameter
]);
const
handleParams
=
()
=>
{
const
handleParams
=
()
=>
{
setOverviewActive
(
false
);
setOverviewActive
(
false
);
...
@@ -649,7 +644,7 @@ const ProjectSubmitWork = observer(() => {
...
@@ -649,7 +644,7 @@ const ProjectSubmitWork = observer(() => {
)
}
)
}
{
activeFlowIndex
&&
(
{
activeFlowIndex
&&
(
<
div
className=
{
styles
.
suanziInfo
}
>
<
div
className=
{
styles
.
suanziInfo
}
>
<
div
className=
{
styles
.
title
}
>
{
patchInfo
?.
title
}
</
div
>
<
MyTooltip
><
div
className=
{
styles
.
title
}
>
{
overviewInfo
?.
title
}
</
div
></
MyTooltip
>
<
div
className=
{
styles
.
tabs
}
>
<
div
className=
{
styles
.
tabs
}
>
<
div
<
div
className=
{
classNames
({
className=
{
classNames
({
...
@@ -668,7 +663,7 @@ const ProjectSubmitWork = observer(() => {
...
@@ -668,7 +663,7 @@ const ProjectSubmitWork = observer(() => {
// onClick=
{()
=
>
setOverviewActive(false)}
// onClick=
{()
=
>
setOverviewActive(false)}
onClick=
{
()
=>
handleParams
()
}
onClick=
{
()
=>
handleParams
()
}
>
>
{
selectNodeTitle
}
参数
</
div
>
</
div
>
</
div
>
</
div
>
{
overviewActive
&&
(
{
overviewActive
&&
(
...
@@ -681,40 +676,40 @@ const ProjectSubmitWork = observer(() => {
...
@@ -681,40 +676,40 @@ const ProjectSubmitWork = observer(() => {
[
styles
.
taskInfoValueShowAll
]:
true
,
[
styles
.
taskInfoValueShowAll
]:
true
,
})
}
})
}
>
>
{
patch
Info
?.
description
}
{
overview
Info
?.
description
}
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
{
styles
.
taskInfoLi
}
>
<
div
className=
{
styles
.
taskInfoLi
}
>
<
div
className=
{
styles
.
taskInfoParams
}
>
算子版本
</
div
>
<
div
className=
{
styles
.
taskInfoParams
}
>
算子版本
</
div
>
<
div
className=
{
styles
.
taskInfoValue
}
>
<
div
className=
{
styles
.
taskInfoValue
}
>
{
patch
Info
?.
version
||
"-"
}
{
overview
Info
?.
version
||
"-"
}
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
{
styles
.
taskInfoLi
}
>
<
div
className=
{
styles
.
taskInfoLi
}
>
<
div
className=
{
styles
.
taskInfoParams
}
>
算子状态
</
div
>
<
div
className=
{
styles
.
taskInfoParams
}
>
算子状态
</
div
>
<
div
className=
{
styles
.
taskInfoValue
}
>
<
div
className=
{
styles
.
taskInfoValue
}
>
{
patch
Info
?.
status
===
"Done"
&&
(
{
overview
Info
?.
status
===
"Done"
&&
(
<
img
<
img
className=
{
styles
.
taskInfoValueIcon
}
className=
{
styles
.
taskInfoValueIcon
}
src=
{
jobSue
}
src=
{
jobSue
}
alt=
""
alt=
""
/>
/>
)
}
)
}
{
patch
Info
?.
status
===
"Running"
&&
(
{
overview
Info
?.
status
===
"Running"
&&
(
<
img
<
img
className=
{
styles
.
taskInfoValueIcon
}
className=
{
styles
.
taskInfoValueIcon
}
src=
{
jobRun
}
src=
{
jobRun
}
alt=
""
alt=
""
/>
/>
)
}
)
}
{
patch
Info
?.
status
===
"Failed"
&&
(
{
overview
Info
?.
status
===
"Failed"
&&
(
<
img
<
img
className=
{
styles
.
taskInfoValueIcon
}
className=
{
styles
.
taskInfoValueIcon
}
src=
{
jobFail
}
src=
{
jobFail
}
alt=
""
alt=
""
/>
/>
)
}
)
}
{
statusMap
[
patch
Info
?.
status
as
IStatus
]
}
{
statusMap
[
overview
Info
?.
status
as
IStatus
]
}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -771,7 +766,7 @@ const ProjectSubmitWork = observer(() => {
...
@@ -771,7 +766,7 @@ const ProjectSubmitWork = observer(() => {
projectId=
{
projectId
as
string
}
projectId=
{
projectId
as
string
}
></
SeeDataset
>
></
SeeDataset
>
)
}
)
}
<
LogView
isshow=
{
showLogView
}
handleClose=
{
handleClose
}
logs=
{
logs
}
/>
{
showLogView
&&
<
LogView
isshow=
{
showLogView
}
handleClose=
{
handleClose
}
logs=
{
logs
}
setShowAddTemplate=
{
handleClose
}
/>
}
</
div
>
</
div
>
);
);
});
});
...
...
src/views/Project/ProjectSubmitWork/ConfigForm/index.module.css
View file @
621af1fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
position
:
relative
;
position
:
relative
;
}
}
.templateDescBox
{
.templateDescBox
{
margin-bottom
:
40
px
;
margin-bottom
:
24
px
;
}
}
.templateDescTitle
{
.templateDescTitle
{
font-size
:
16px
;
font-size
:
16px
;
...
@@ -81,11 +81,10 @@
...
@@ -81,11 +81,10 @@
}
}
.taskConfigBox
{
.taskConfigBox
{
padding
:
16px
0px
4px
;
}
}
.flowTitle
{
.flowTitle
{
line-height
:
16px
;
line-height
:
16px
;
margin
:
3px
0
2
7
px
;
margin
:
3px
0
2
5
px
;
color
:
rgba
(
19
,
112
,
255
,
1
);
color
:
rgba
(
19
,
112
,
255
,
1
);
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
600
;
font-weight
:
600
;
...
@@ -119,11 +118,11 @@
...
@@ -119,11 +118,11 @@
margin-left
:
16px
;
margin-left
:
16px
;
}
}
.bacthConfigBox
{
.bacthConfigBox
{
padding
:
0
24px
0
;
padding
:
16px
24px
4px
;
}
}
.flowConfigBox
{
.flowConfigBox
{
border-bottom
:
1px
solid
rgba
(
235
,
237
,
240
,
1
);
border-bottom
:
1px
solid
rgba
(
235
,
237
,
240
,
1
);
padding
:
2
0
px
24px
12px
;
padding
:
2
4
px
24px
12px
;
}
}
.flowConfigBox
:nth-last-child
(
1
)
{
.flowConfigBox
:nth-last-child
(
1
)
{
border-bottom
:
none
;
border-bottom
:
none
;
...
...
src/views/Project/ProjectSubmitWork/ConfigForm/index.tsx
View file @
621af1fc
...
@@ -492,12 +492,16 @@ const ConfigForm = (props: ConfigFormProps) => {
...
@@ -492,12 +492,16 @@ const ConfigForm = (props: ConfigFormProps) => {
/>
/>
</
div
>
</
div
>
<
div
className=
{
styles
.
taskConfigBox
}
>
<
div
className=
{
styles
.
taskConfigBox
}
>
{
task
.
parameters
.
filter
(
(
parameter
)
=>
!
parameter
?.
thrown
&&
!
parameter
.
hidden
).
length
!==
0
&&
(
<
div
className=
{
styles
.
bacthConfigBox
}
>
<
div
className=
{
styles
.
bacthConfigBox
}
>
{
randerParameters
(
{
randerParameters
(
task
.
parameters
.
filter
((
parameter
)
=>
!
parameter
?.
thrown
),
task
.
parameters
.
filter
((
parameter
)
=>
!
parameter
?.
thrown
),
task
.
id
task
.
id
)
}
)
}
</
div
>
</
div
>
)
}
{
task
.
flows
.
map
((
flow
)
=>
{
{
task
.
flows
.
map
((
flow
)
=>
{
if
(
if
(
flow
.
parameters
.
filter
(
flow
.
parameters
.
filter
(
...
...
src/views/Project/ProjectSubmitWork/index.module.css
View file @
621af1fc
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
}
}
.swTemplateTitle
{
.swTemplateTitle
{
margin
:
0
19px
0
8px
;
margin
:
0
19px
0
8px
;
line-height
:
2
2
px
;
line-height
:
2
0
px
;
font-size
:
14px
;
font-size
:
14px
;
color
:
rgba
(
30
,
38
,
51
,
1
);
color
:
rgba
(
30
,
38
,
51
,
1
);
font-weight
:
700
;
font-weight
:
700
;
...
@@ -51,11 +51,11 @@
...
@@ -51,11 +51,11 @@
}
}
.swFormBox
{
.swFormBox
{
background-color
:
#fff
;
background-color
:
#fff
;
border-right
:
1
xp
solid
rgba
(
235
,
237
,
240
,
1
);
border-right
:
1
px
solid
rgba
(
235
,
237
,
240
,
1
);
width
:
608px
;
width
:
608px
;
overflow-y
:
overlay
;
overflow-y
:
overlay
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
36px
;
padding
:
3
2px
32px
1
6px
;
}
}
.swFlowBox
{
.swFlowBox
{
flex
:
1
;
flex
:
1
;
...
...
src/views/Project/ProjectWorkbench/workbenchList/index.tsx
View file @
621af1fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-05-31 10:18:13
* @Date: 2022-05-31 10:18:13
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-09-0
2 14:45:04
* @LastEditTime: 2022-09-0
6 10:17:18
* @FilePath: /bkunyun/src/views/Project/ProjectSetting/index.tsx
* @FilePath: /bkunyun/src/views/Project/ProjectSetting/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -41,6 +41,7 @@ import MyProgress from "@/components/mui/MyProgress";
...
@@ -41,6 +41,7 @@ import MyProgress from "@/components/mui/MyProgress";
import
SearchInput
from
"@/components/BusinessComponents/SearchInput"
;
import
SearchInput
from
"@/components/BusinessComponents/SearchInput"
;
import
MyCircularProgress
from
"@/components/mui/MyCircularProgress"
;
import
MyCircularProgress
from
"@/components/mui/MyCircularProgress"
;
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
MyTooltip
from
"@/components/mui/MyTooltip"
;
import
styles
from
"./index.module.css"
;
import
styles
from
"./index.module.css"
;
...
@@ -400,7 +401,7 @@ const ProjectMembers = observer(() => {
...
@@ -400,7 +401,7 @@ const ProjectMembers = observer(() => {
onClick=
{
()
=>
rowClick
(
item
.
id
)
}
onClick=
{
()
=>
rowClick
(
item
.
id
)
}
>
>
<
Box
className=
{
styles
.
tabBoxInfo
}
>
<
Box
className=
{
styles
.
tabBoxInfo
}
>
<
div
className=
{
styles
.
tabBoxTitle
}
>
{
item
.
name
}
</
div
>
<
MyTooltip
title=
{
item
.
name
}
><
div
className=
{
styles
.
tabBoxTitle
}
>
{
item
.
name
}
</
div
></
MyTooltip
>
<
Box
className=
{
styles
.
tabBoxDescInfo
}
>
<
Box
className=
{
styles
.
tabBoxDescInfo
}
>
<
div
<
div
className=
{
styles
.
tabBoxDesc
}
className=
{
styles
.
tabBoxDesc
}
...
...
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