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
82f9cbc7
Commit
82f9cbc7
authored
Sep 01, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-20220801' into 'release'
Feat 20220801 See merge request
!81
parents
e7ef887f
db2eadfd
Show whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
228 additions
and
158 deletions
+228
-158
successIcon.svg
src/assets/project/successIcon.svg
+10
-0
public.css
src/assets/style/public.css
+9
-9
index.module.css
...onents/CommonComponents/FullScreenDrawer/index.module.css
+1
-1
SearchSelectCheckBox.jsx
src/components/Material.Ui/SearchSelectCheckBox.jsx
+1
-1
Select.jsx
src/components/Material.Ui/Select.jsx
+1
-1
SelectCheckBox.jsx
src/components/Material.Ui/SelectCheckBox.jsx
+1
-1
MySnackbarProvider.tsx
src/components/MySnackbar/MySnackbarProvider.tsx
+11
-4
MyInput.tsx
src/components/mui/MyInput.tsx
+35
-3
MyMenu.tsx
src/components/mui/MyMenu.tsx
+1
-1
MyMultipleMenu.tsx
src/components/mui/MyMultipleMenu.tsx
+1
-1
MySelect.tsx
src/components/mui/MySelect.tsx
+28
-3
Tabs.tsx
src/components/mui/Tabs.tsx
+20
-13
index.tsx
src/views/ConsoleLayout/components/TransferList/index.tsx
+4
-4
index.module.css
...s/CustomOperator/components/OperatorList/index.module.css
+1
-1
index.tsx
src/views/CustomOperator/components/SaveOperator/index.tsx
+1
-0
index.tsx
src/views/CustomOperator/index.tsx
+5
-15
index.module.css
src/views/MenuLayout/index.module.css
+2
-1
index.module.css
src/views/Project/ProjectData/SeeDataset/index.module.css
+2
-2
index.module.css
src/views/Project/ProjectData/UpLoaderFile/index.module.css
+0
-4
index.module.css
src/views/Project/ProjectJobDetail/LogView/index.module.css
+18
-18
index.module.css
src/views/Project/ProjectJobDetail/index.module.css
+4
-4
index.module.css
src/views/Project/ProjectOverview/TaskCard/index.module.css
+17
-17
index.tsx
src/views/Project/ProjectSetting/BaseInfo/index.tsx
+5
-12
AddMember.tsx
...ct/ProjectSetting/ProjectMembers/components/AddMember.tsx
+3
-3
index.module.css
src/views/Project/ProjectSubmitWork/index.module.css
+2
-2
index.tsx
src/views/Project/ProjectWorkbench/index.tsx
+2
-2
index.module.css
...s/Project/ProjectWorkbench/workbenchList/index.module.css
+10
-11
index.module.css
...workbenchTemplate/components/AddTemplate/index.module.css
+2
-2
index.module.css
...oject/ProjectWorkbench/workbenchTemplate/index.module.css
+12
-4
index.tsx
...iews/Project/ProjectWorkbench/workbenchTemplate/index.tsx
+2
-2
index.tsx
src/views/Project/components/AddProject/index.tsx
+4
-4
index.module.css
...ews/Project/components/ProjectListPopper/index.module.css
+4
-4
index.module.css
...ews/WorkFlowEdit/components/OperatorList/index.module.css
+3
-3
index.module.css
...WorkFlowEdit/components/ParameterSetting/index.module.css
+3
-3
index.tsx
...iews/WorkFlowEdit/components/SaveCustomTemplate/index.tsx
+2
-1
index.module.css
src/views/WorkFlowEdit/index.module.css
+1
-1
No files found.
src/assets/project/successIcon.svg
0 → 100644
View file @
82f9cbc7
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"16px"
height=
"16px"
viewBox=
"0 0 16 16"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<title>
check-circle-outline备份
</title>
<g
id=
"云平台视觉规范"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"check-circle-outline备份"
fill=
"#0DD09B"
fill-rule=
"nonzero"
>
<path
d=
"M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 M8,14.4 C4.472,14.4 1.6,11.528 1.6,8 C1.6,4.472 4.472,1.6 8,1.6 C11.528,1.6 14.4,4.472 14.4,8 C14.4,11.528 11.528,14.4 8,14.4 M11.672,4.464 L6.4,9.736 L4.328,7.672 L3.2,8.8 L6.4,12 L12.8,5.6 L11.672,4.464 Z"
id=
"形状"
></path>
</g>
</g>
</svg>
\ No newline at end of file
src/assets/style/public.css
View file @
82f9cbc7
/* 修改滚动条样式 */
/* 修改滚动条样式 */
div
::-webkit-scrollbar
,
div
::-webkit-scrollbar
,
main
::-webkit-scrollbar
{
main
::-webkit-scrollbar
{
width
:
4
px
;
width
:
6
px
;
height
:
5px
!important
;
height
:
5px
!important
;
}
}
div
::-webkit-scrollbar-track
,
div
::-webkit-scrollbar-track
,
main
::-webkit-scrollbar-track
{
main
::-webkit-scrollbar-track
{
background-color
:
#fff
;
background-color
:
#fff
;
-webkit-border-radius
:
2
em
;
-webkit-border-radius
:
3
em
;
-moz-border-radius
:
2
em
;
-moz-border-radius
:
3
em
;
border-radius
:
2
em
;
border-radius
:
3
em
;
}
}
div
::-webkit-scrollbar-thumb
,
div
::-webkit-scrollbar-thumb
,
main
::-webkit-scrollbar-thumb
{
main
::-webkit-scrollbar-thumb
{
background-color
:
#C2C6CC
;
background-color
:
#c2c6cc
;
-webkit-border-radius
:
2
px
;
-webkit-border-radius
:
3
px
;
-moz-border-radius
:
2
px
;
-moz-border-radius
:
3
px
;
border-radius
:
2
px
;
border-radius
:
3
px
;
height
:
5px
!important
;
height
:
5px
!important
;
width
:
4px
!important
;
width
:
6px
!important
;
}
}
body
,
body
,
...
...
src/components/CommonComponents/FullScreenDrawer/index.module.css
View file @
82f9cbc7
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
16px
0
0
0
;
border-radius
:
16px
0
0
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow
:
scroll
;
overflow
:
overlay
;
animation
:
showDrawer
0.31s
ease
;
animation
:
showDrawer
0.31s
ease
;
-webkit-animation
:
showDrawer
0.31s
ease
;
-webkit-animation
:
showDrawer
0.31s
ease
;
margin
:
0
auto
;
margin
:
0
auto
;
...
...
src/components/Material.Ui/SearchSelectCheckBox.jsx
View file @
82f9cbc7
...
@@ -38,7 +38,7 @@ const useStyles = makeStyles({
...
@@ -38,7 +38,7 @@ const useStyles = makeStyles({
contentWrap
:
{
contentWrap
:
{
padding
:
"8px 0"
,
height
:
0
,
transition
:
"all 1s"
,
position
:
"absolute"
,
zIndex
:
9
,
width
:
"100%"
,
padding
:
"8px 0"
,
height
:
0
,
transition
:
"all 1s"
,
position
:
"absolute"
,
zIndex
:
9
,
width
:
"100%"
,
backgroundColor
:
"#FFFFFF"
,
boxShadow
:
"0px 2px 3px 0px rgba(0, 0, 0, 0.16)"
,
borderRadius
:
"4px"
,
backgroundColor
:
"#FFFFFF"
,
boxShadow
:
"0px 2px 3px 0px rgba(0, 0, 0, 0.16)"
,
borderRadius
:
"4px"
,
overflowY
:
"
scroll
"
,
overflowY
:
"
overlay
"
,
maxHeight
:
"398px"
maxHeight
:
"398px"
},
},
contentWrapOpenPosition
:{
top
:
"-400px"
},
contentWrapOpenPosition
:{
top
:
"-400px"
},
...
...
src/components/Material.Ui/Select.jsx
View file @
82f9cbc7
...
@@ -32,7 +32,7 @@ const useStyles = makeStyles({
...
@@ -32,7 +32,7 @@ const useStyles = makeStyles({
contentWrap
:
{
contentWrap
:
{
padding
:
"8px 0"
,
height
:
0
,
transition
:
"all 1s"
,
position
:
"absolute"
,
zIndex
:
9
,
width
:
"100%"
,
padding
:
"8px 0"
,
height
:
0
,
transition
:
"all 1s"
,
position
:
"absolute"
,
zIndex
:
9
,
width
:
"100%"
,
backgroundColor
:
"#FFFFFF"
,
boxShadow
:
"0px 2px 3px 0px rgba(0, 0, 0, 0.16)"
,
borderRadius
:
"4px"
,
backgroundColor
:
"#FFFFFF"
,
boxShadow
:
"0px 2px 3px 0px rgba(0, 0, 0, 0.16)"
,
borderRadius
:
"4px"
,
overflowY
:
"
auto
"
,
overflowY
:
"
overlay
"
,
maxHeight
:
"400px"
maxHeight
:
"400px"
},
},
contentWrapOpen
:
{
height
:
"auto"
},
contentWrapOpen
:
{
height
:
"auto"
},
...
...
src/components/Material.Ui/SelectCheckBox.jsx
View file @
82f9cbc7
...
@@ -42,7 +42,7 @@ const useStyles = makeStyles({
...
@@ -42,7 +42,7 @@ const useStyles = makeStyles({
contentWrap
:
{
contentWrap
:
{
padding
:
"8px 0"
,
transition
:
"all 1s"
,
position
:
"fixed"
,
zIndex
:
9
,
width
:
"552px"
,
padding
:
"8px 0"
,
transition
:
"all 1s"
,
position
:
"fixed"
,
zIndex
:
9
,
width
:
"552px"
,
backgroundColor
:
"#FFFFFF"
,
boxShadow
:
"0px 2px 3px 0px rgba(0, 0, 0, 0.16)"
,
borderRadius
:
"4px"
,
backgroundColor
:
"#FFFFFF"
,
boxShadow
:
"0px 2px 3px 0px rgba(0, 0, 0, 0.16)"
,
borderRadius
:
"4px"
,
overflowY
:
"
scroll
"
,
overflowY
:
"
overlay
"
,
maxHeight
:
"398px"
,
maxHeight
:
"398px"
,
// position: "fixed",
// position: "fixed",
// width: "552px"
// width: "552px"
...
...
src/components/MySnackbar/MySnackbarProvider.tsx
View file @
82f9cbc7
import
React
,
{
Fragment
,
ReactNode
,
useMemo
}
from
"react"
;
import
React
,
{
Fragment
,
ReactNode
}
from
"react"
;
import
{
Snackbar
,
Alert
,
Fade
,
Grow
}
from
"@mui/material"
;
import
{
Snackbar
,
Alert
,
Fade
,
Grow
}
from
"@mui/material"
;
import
useMySnackbar
from
"./useMySnackbar"
;
import
useMySnackbar
from
"./useMySnackbar"
;
import
snackbarContext
from
"./snackbarContext"
;
import
snackbarContext
from
"./snackbarContext"
;
import
{
ThemeProvider
,
createTheme
}
from
"@mui/material/styles"
;
import
{
ThemeProvider
,
createTheme
}
from
"@mui/material/styles"
;
import
successIconSrc
from
"../../assets/project/successIcon.svg"
;
type
MySnackbarProviderProp
=
{
type
MySnackbarProviderProp
=
{
vertical
?:
"bottom"
|
"top"
;
vertical
?:
"bottom"
|
"top"
;
...
@@ -22,7 +23,6 @@ type MySnackbarProviderProp = {
...
@@ -22,7 +23,6 @@ type MySnackbarProviderProp = {
variant
?:
"filled"
|
"outlined"
|
"standard"
;
variant
?:
"filled"
|
"outlined"
|
"standard"
;
errorIcon
?:
ReactNode
;
errorIcon
?:
ReactNode
;
infoIcon
?:
ReactNode
;
infoIcon
?:
ReactNode
;
successIcon
?:
ReactNode
;
warningIcon
?:
ReactNode
;
warningIcon
?:
ReactNode
;
elevation
?:
number
;
elevation
?:
number
;
alertSx
?:
object
;
alertSx
?:
object
;
...
@@ -58,7 +58,6 @@ const MySnackbarProvider = ({
...
@@ -58,7 +58,6 @@ const MySnackbarProvider = ({
variant
=
"standard"
,
variant
=
"standard"
,
errorIcon
,
errorIcon
,
infoIcon
,
infoIcon
,
successIcon
,
warningIcon
,
warningIcon
,
elevation
=
3
,
elevation
=
3
,
alertSx
,
alertSx
,
...
@@ -86,7 +85,7 @@ const MySnackbarProvider = ({
...
@@ -86,7 +85,7 @@ const MySnackbarProvider = ({
minHeight
:
"38px"
,
minHeight
:
"38px"
,
boxShadow
:
"none"
,
boxShadow
:
"none"
,
"& .MuiAlert-action"
:
{
"& .MuiAlert-action"
:
{
paddingLeft
:
"
60
px"
,
paddingLeft
:
"
32
px"
,
},
},
"&.MuiAlert-standardError"
:
{
"&.MuiAlert-standardError"
:
{
color
:
"#FF4E4E"
,
color
:
"#FF4E4E"
,
...
@@ -122,6 +121,14 @@ const MySnackbarProvider = ({
...
@@ -122,6 +121,14 @@ const MySnackbarProvider = ({
},
},
});
});
const
successIcon
=
(
<
img
src=
{
successIconSrc
}
style=
{
{
width
:
"16px"
,
height
:
"16px"
,
margin
:
"3px 0"
}
}
alt=
""
/>
);
return
(
return
(
<
Fragment
>
<
Fragment
>
<
ThemeProvider
theme=
{
theme
}
>
<
ThemeProvider
theme=
{
theme
}
>
...
...
src/components/mui/MyInput.tsx
View file @
82f9cbc7
...
@@ -36,11 +36,16 @@ const MyInput = (props: MyInputProps) => {
...
@@ -36,11 +36,16 @@ const MyInput = (props: MyInputProps) => {
height
:
"36px"
,
height
:
"36px"
,
fontSize
:
"14px"
,
fontSize
:
"14px"
,
border
:
"rgba(221, 225, 230, 1)"
,
border
:
"rgba(221, 225, 230, 1)"
,
padding
:
"7px 12px"
,
"&.MuiInputBase-sizeSmall"
:
{
"&.MuiInputBase-sizeSmall"
:
{
height
:
"32px"
,
height
:
"32px"
,
},
},
"&
.Mui-disabled"
:
{
"&.Mui-disabled"
:
{
background
:
"rgba(247, 248, 250, 1)"
,
background
:
"rgba(247, 248, 250, 1)"
,
cursor
:
"not-allowed"
,
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#DDE1E6"
,
},
},
},
},
},
multiline
:
{
multiline
:
{
...
@@ -49,7 +54,12 @@ const MyInput = (props: MyInputProps) => {
...
@@ -49,7 +54,12 @@ const MyInput = (props: MyInputProps) => {
padding
:
0
,
padding
:
0
,
},
},
},
},
input
:
{},
input
:
{
"&.Mui-disabled"
:
{
background
:
"rgba(247, 248, 250, 1)"
,
cursor
:
"not-allowed"
,
},
},
},
},
},
},
MuiInputLabel
:
{
MuiInputLabel
:
{
...
@@ -68,26 +78,48 @@ const MyInput = (props: MyInputProps) => {
...
@@ -68,26 +78,48 @@ const MyInput = (props: MyInputProps) => {
MuiOutlinedInput
:
{
MuiOutlinedInput
:
{
styleOverrides
:
{
styleOverrides
:
{
root
:
{
root
:
{
padding
:
"7px 12px"
,
"&.Mui-focused .MuiOutlinedInput-notchedOutline"
:
{
"&.Mui-focused .MuiOutlinedInput-notchedOutline"
:
{
borderWidth
:
"1px"
,
borderWidth
:
"1px"
,
},
},
"& .MuiOutlinedInput-notchedOutline"
:
{
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#DDE1E6"
,
borderColor
:
"#DDE1E6"
,
},
},
"&.Mui-disabled"
:
{
background
:
"rgba(247, 248, 250, 1)"
,
cursor
:
"not-allowed"
,
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#DDE1E6"
,
},
},
":hover"
:
{
":hover"
:
{
"& .MuiOutlinedInput-notchedOutline"
:
error
"& .MuiOutlinedInput-notchedOutline"
:
error
?
{}
?
{}
:
{
:
{
borderColor
:
"#1370ff"
,
borderColor
:
"#1370ff"
,
},
},
"&.Mui-disabled"
:
{
background
:
"rgba(247, 248, 250, 1)"
,
cursor
:
"not-allowed"
,
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#DDE1E6"
,
},
},
},
},
},
},
input
:
{
input
:
{
padding
:
"
6.5px 12px
"
,
padding
:
"
0
"
,
verticalAlign
:
"middle"
,
verticalAlign
:
"middle"
,
},
},
},
},
},
},
MuiTypography
:
{
styleOverrides
:
{
root
:
{
marginRight
:
"-5px"
,
},
},
},
},
},
});
});
...
...
src/components/mui/MyMenu.tsx
View file @
82f9cbc7
...
@@ -23,7 +23,7 @@ const theme = createTheme({
...
@@ -23,7 +23,7 @@ const theme = createTheme({
MuiMenu
:
{
MuiMenu
:
{
styleOverrides
:
{
styleOverrides
:
{
root
:
{
root
:
{
overflow
Y
:
"scroll
"
,
overflow
:
"overlay
"
,
},
},
},
},
},
},
...
...
src/components/mui/MyMultipleMenu.tsx
View file @
82f9cbc7
...
@@ -14,7 +14,7 @@ const theme = createTheme({
...
@@ -14,7 +14,7 @@ const theme = createTheme({
MuiMenu
:
{
MuiMenu
:
{
styleOverrides
:
{
styleOverrides
:
{
root
:
{
root
:
{
overflow
Y
:
"scroll
"
,
overflow
:
"overlay
"
,
},
},
},
},
},
},
...
...
src/components/mui/MySelect.tsx
View file @
82f9cbc7
...
@@ -73,11 +73,16 @@ export default function MySelect(props: IProps) {
...
@@ -73,11 +73,16 @@ export default function MySelect(props: IProps) {
height
:
"36px"
,
height
:
"36px"
,
"& .Mui-disabled"
:
{
"& .Mui-disabled"
:
{
background
:
"rgba(247, 248, 250, 1)"
,
background
:
"rgba(247, 248, 250, 1)"
,
cursor
:
"not-allowed"
,
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#DDE1E6"
,
},
},
},
"& .MuiSelect-icon"
:
{
"&.Mui-disabled"
:
{
display
:
"none"
,
},
},
input
:
{
"&.Mui-disabled"
:
{
background
:
"rgba(247, 248, 250, 1)"
,
cursor
:
"not-allowed"
,
},
},
},
},
},
},
...
@@ -97,10 +102,30 @@ export default function MySelect(props: IProps) {
...
@@ -97,10 +102,30 @@ export default function MySelect(props: IProps) {
MuiOutlinedInput
:
{
MuiOutlinedInput
:
{
styleOverrides
:
{
styleOverrides
:
{
root
:
{
root
:
{
"&.Mui-focused .MuiOutlinedInput-notchedOutline"
:
{
borderWidth
:
"1px"
,
},
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#DDE1E6"
,
},
"&.Mui-disabled"
:
{
background
:
"rgba(247, 248, 250, 1)"
,
cursor
:
"not-allowed"
,
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#DDE1E6"
,
},
},
":hover"
:
{
":hover"
:
{
"& .MuiOutlinedInput-notchedOutline"
:
{
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#1370ff"
,
borderColor
:
"#1370ff"
,
},
},
"&.Mui-disabled"
:
{
background
:
"rgba(247, 248, 250, 1)"
,
cursor
:
"not-allowed"
,
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#DDE1E6"
,
},
},
},
},
},
},
},
},
...
...
src/components/mui/Tabs.tsx
View file @
82f9cbc7
...
@@ -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-0
8-31 20:25:56
* @LastEditTime: 2022-0
9-01 11:20:24
* @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
*/
*/
...
@@ -28,7 +28,7 @@ interface ITabList {
...
@@ -28,7 +28,7 @@ interface ITabList {
interface
IProps
{
interface
IProps
{
value
?:
string
;
value
?:
string
;
onChange
?:
(
val
:
string
)
=>
void
;
onChange
?:
(
val
:
string
)
=>
void
;
tabList
:
ITabList
[];
tabList
:
ITabList
[];
defaultValue
?:
string
;
defaultValue
?:
string
;
tabPanelSx
?:
any
;
tabPanelSx
?:
any
;
...
@@ -88,27 +88,34 @@ const Tabs = (props: IProps) => {
...
@@ -88,27 +88,34 @@ const Tabs = (props: IProps) => {
:
tabList
.
filter
((
e
)
=>
!
e
.
hide
)[
0
].
value
:
tabList
.
filter
((
e
)
=>
!
e
.
hide
)[
0
].
value
);
);
const
[
hoverValue
,
setHoverValue
]
=
useState
(
''
)
const
[
hoverValue
,
setHoverValue
]
=
useState
(
""
);
const
onTabChange
=
(
val
:
string
)
=>
{
const
onTabChange
=
(
val
:
string
)
=>
{
setTabValue
(
val
)
setTabValue
(
val
)
;
onChange
&&
onChange
(
val
);
onChange
&&
onChange
(
val
);
};
};
const
getImgSrc
=
useCallback
((
item
:
ITabList
)
=>
{
const
getImgSrc
=
useCallback
(
let
result
=
item
.
icon
(
item
:
ITabList
)
=>
{
if
(
value
===
item
.
value
){
let
result
=
item
.
icon
;
result
=
item
.
iconed
if
(
value
===
item
.
value
||
tabValue
===
item
.
value
)
{
result
=
item
.
iconed
;
}
}
if
(
hoverValue
===
item
.
value
)
{
if
(
hoverValue
===
item
.
value
)
{
result
=
item
.
iconHover
result
=
item
.
iconHover
;
}
}
return
result
return
result
;
},[
hoverValue
,
value
])
},
[
hoverValue
,
value
,
tabValue
]
);
const
labelRender
=
(
item
:
ITabList
,
key
:
number
)
=>
{
const
labelRender
=
(
item
:
ITabList
,
key
:
number
)
=>
{
return
(
return
(
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
}
}
onMouseOver=
{
()
=>
setHoverValue
(
item
.
value
)
}
onMouseOut=
{
()
=>
setHoverValue
(
''
)
}
>
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
}
}
onMouseOver=
{
()
=>
setHoverValue
(
item
.
value
)
}
onMouseOut=
{
()
=>
setHoverValue
(
""
)
}
>
{
item
.
icon
?
(
{
item
.
icon
?
(
<
img
<
img
style=
{
{
width
:
"16px"
,
marginRight
:
"8px"
}
}
style=
{
{
width
:
"16px"
,
marginRight
:
"8px"
}
}
...
...
src/views/ConsoleLayout/components/TransferList/index.tsx
View file @
82f9cbc7
/*
/*
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-06-10 18:05:21
* @Date: 2022-06-10 18:05:21
* @LastEditors: 吴永生
#A02208 yongsheng.wu@wholion
.com
* @LastEditors: 吴永生
15770852798@163
.com
* @LastEditTime: 2022-0
7-21 11:28:21
* @LastEditTime: 2022-0
9-01 14:09:28
* @FilePath: /bkunyun/src/views/ConsoleLayout/components/TransferList/index.tsx
* @FilePath: /bkunyun/src/views/ConsoleLayout/components/TransferList/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
*/
*/
...
@@ -43,11 +43,11 @@ const TranSferList = observer(() => {
...
@@ -43,11 +43,11 @@ const TranSferList = observer(() => {
size=
"small"
size=
"small"
/>
/>
</
Box
>
</
Box
>
<
Box
style=
{
{
height
:
400
,
overflowY
:
"auto
"
}
}
>
<
div
style=
{
{
height
:
400
,
overflow
:
"overlay
"
}
}
>
{
uploadInfoStore
?.
fileList
.
map
((
item
)
=>
{
{
uploadInfoStore
?.
fileList
.
map
((
item
)
=>
{
return
<
FileItem
fileItemInfo=
{
item
}
key=
{
item
.
id
}
/>;
return
<
FileItem
fileItemInfo=
{
item
}
key=
{
item
.
id
}
/>;
})
}
})
}
</
Box
>
</
div
>
</
Box
>
</
Box
>
);
);
});
});
...
...
src/views/CustomOperator/components/OperatorList/index.module.css
View file @
82f9cbc7
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
}
}
.list
{
.list
{
height
:
calc
(
100%
-
55px
);
height
:
calc
(
100%
-
55px
);
overflow-y
:
auto
;
overflow-y
:
overlay
;
padding
:
15px
20px
;
padding
:
15px
20px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
...
...
src/views/CustomOperator/components/SaveOperator/index.tsx
View file @
82f9cbc7
...
@@ -202,6 +202,7 @@ const SaveOperator = (props: IProps) => {
...
@@ -202,6 +202,7 @@ const SaveOperator = (props: IProps) => {
<
span
<
span
style=
{
{
style=
{
{
position
:
"absolute"
,
position
:
"absolute"
,
fontSize
:
"14px"
,
bottom
:
"7px"
,
bottom
:
"7px"
,
right
:
"12px"
,
right
:
"12px"
,
color
:
description
.
length
>=
300
?
"#d32f2f"
:
"#C2C6CC"
,
color
:
description
.
length
>=
300
?
"#d32f2f"
:
"#C2C6CC"
,
...
...
src/views/CustomOperator/index.tsx
View file @
82f9cbc7
...
@@ -27,18 +27,14 @@ const CustomOperator = observer((props: IProps) => {
...
@@ -27,18 +27,14 @@ const CustomOperator = observer((props: IProps) => {
/** 设置选中唯一标识符 */
/** 设置选中唯一标识符 */
const
handleNodeClick
=
useCallback
((
val
:
string
)
=>
{
const
handleNodeClick
=
useCallback
((
val
:
string
)
=>
{
// setSelectTaskId(val);
// setSelectTaskId(val);
// console.log(val);
},
[]);
},
[]);
// 判断 每个流算子必须至少有一条连接线。
// 判断 每个流算子必须至少有一条连接线。
const
checkHasOneLine
=
(
sourceArr
:
string
[],
targetArr
:
string
[])
=>
{
const
checkHasOneLine
=
(
sourceArr
:
string
[],
targetArr
:
string
[])
=>
{
console
.
log
(
"checkHasOneLine"
);
const
all
=
_
.
uniq
([...
sourceArr
,
...
targetArr
]);
const
all
=
_
.
uniq
([...
sourceArr
,
...
targetArr
]);
if
(
all
.
length
===
operatorList
.
length
)
{
if
(
all
.
length
===
operatorList
.
length
)
{
console
.
log
(
"checkHasOneLine1"
);
return
true
;
return
true
;
}
else
{
}
else
{
console
.
log
(
"checkHasOneLine2"
);
return
false
;
return
false
;
}
}
// _.uniq([2, 1, 2]);
// _.uniq([2, 1, 2]);
...
@@ -46,7 +42,6 @@ const CustomOperator = observer((props: IProps) => {
...
@@ -46,7 +42,6 @@ const CustomOperator = observer((props: IProps) => {
// 判断 每个起始算子(可以有多个起始点)的输入必须为文件的路径输入或数据集的路径输入。
// 判断 每个起始算子(可以有多个起始点)的输入必须为文件的路径输入或数据集的路径输入。
const
checkIn
=
(
targetArr
:
string
[])
=>
{
const
checkIn
=
(
targetArr
:
string
[])
=>
{
console
.
log
(
"checkIn"
);
const
uniqTargetArr
=
_
.
uniq
(
targetArr
);
const
uniqTargetArr
=
_
.
uniq
(
targetArr
);
if
(
uniqTargetArr
.
length
===
operatorList
.
length
)
{
if
(
uniqTargetArr
.
length
===
operatorList
.
length
)
{
// 流节点连成一个圈了
// 流节点连成一个圈了
...
@@ -82,7 +77,6 @@ const CustomOperator = observer((props: IProps) => {
...
@@ -82,7 +77,6 @@ const CustomOperator = observer((props: IProps) => {
// 判断 起码有一个结尾算子(可以有多个结尾点)的输出必须为文件保存或数据集保存。
// 判断 起码有一个结尾算子(可以有多个结尾点)的输出必须为文件保存或数据集保存。
const
checkOut
=
(
sourceArr
:
string
[])
=>
{
const
checkOut
=
(
sourceArr
:
string
[])
=>
{
console
.
log
(
"checkOut"
);
const
uniqSourceArr
=
_
.
uniq
(
sourceArr
);
const
uniqSourceArr
=
_
.
uniq
(
sourceArr
);
if
(
uniqSourceArr
.
length
===
operatorList
.
length
)
{
if
(
uniqSourceArr
.
length
===
operatorList
.
length
)
{
// 流节点连成一个圈了
// 流节点连成一个圈了
...
@@ -134,22 +128,18 @@ const CustomOperator = observer((props: IProps) => {
...
@@ -134,22 +128,18 @@ const CustomOperator = observer((props: IProps) => {
edge
.
target
&&
targetArr
.
push
(
edge
.
target
);
edge
.
target
&&
targetArr
.
push
(
edge
.
target
);
});
});
});
});
console
.
log
(
"operatorList"
,
operatorList
);
console
.
log
(
"sourceArr"
,
sourceArr
);
console
.
log
(
"targetArr"
,
targetArr
);
if
(
!
checkHasOneLine
([...
sourceArr
],
[...
targetArr
]))
{
if
(
!
checkHasOneLine
([...
sourceArr
],
[...
targetArr
]))
{
console
.
log
(
"checkHasOneLine"
);
Message
.
error
(
"部分算子没有流程线,请检查流程!"
);
Message
.
error
(
"内容校验未通过,请检查!"
);
return
;
return
;
}
}
if
(
!
checkIn
([...
targetArr
]))
{
if
(
!
checkIn
([...
targetArr
]))
{
console
.
log
(
"checkIn"
);
Message
.
error
(
"每个流程第一步需读取文件/数据集,请检查流程!"
);
Message
.
error
(
"内容校验未通过,请检查!"
);
return
;
return
;
}
}
if
(
!
checkOut
([...
sourceArr
]))
{
if
(
!
checkOut
([...
sourceArr
]))
{
console
.
log
(
"checkOut"
);
Message
.
error
(
Message
.
error
(
"内容校验未通过,请检查!"
);
"每个流程最后一步必须将数据写入为文件/数据集,请检查流程!"
);
return
;
return
;
}
}
setSaveFormDialog
(
true
);
setSaveFormDialog
(
true
);
...
...
src/views/MenuLayout/index.module.css
View file @
82f9cbc7
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
.content
{
.content
{
flex
:
1
;
flex
:
1
;
height
:
calc
(
100vh
-
57px
);
height
:
calc
(
100vh
-
57px
);
overflow
:
scroll
;
overflow
:
overlay
;
}
}
.listItem
{
.listItem
{
padding
:
8px
25px
;
padding
:
8px
25px
;
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
}
}
.listItem
:hover
{
.listItem
:hover
{
background-color
:
#eef1f5
;
background-color
:
#eef1f5
;
border-left
:
3px
solid
#eef1f5
;
}
}
.routerIcon
{
.routerIcon
{
vertical-align
:
middle
;
vertical-align
:
middle
;
...
...
src/views/Project/ProjectData/SeeDataset/index.module.css
View file @
82f9cbc7
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
}
}
.table
{
.table
{
flex
:
1
;
flex
:
1
;
overflow-y
:
auto
;
overflow-y
:
overlay
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
}
}
.datasetLiDataList
{
.datasetLiDataList
{
flex
:
1
;
flex
:
1
;
overflow
:
auto
;
overflow
:
overlay
;
}
}
.noDataList
{
.noDataList
{
flex
:
1
;
flex
:
1
;
...
...
src/views/Project/ProjectData/UpLoaderFile/index.module.css
View file @
82f9cbc7
...
@@ -50,10 +50,6 @@
...
@@ -50,10 +50,6 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
}
}
/* .tableBox {
height: 300px;
overflow: scroll;
} */
.fileIconBox
{
.fileIconBox
{
display
:
flex
;
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
...
...
src/views/Project/ProjectJobDetail/LogView/index.module.css
View file @
82f9cbc7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
top
:
0
;
top
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0
.5
);
z-index
:
1002
;
z-index
:
1002
;
}
}
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
width
:
900px
;
width
:
900px
;
height
:
600px
;
height
:
600px
;
background
:
#282C
34
;
background
:
#282c
34
;
box-shadow
:
2px
4px
20px
0px
rgba
(
0
,
15
,
45
,
0.1200
);
box-shadow
:
2px
4px
20px
0px
rgba
(
0
,
15
,
45
,
0.12
);
border-radius
:
8px
;
border-radius
:
8px
;
}
}
...
@@ -29,17 +29,17 @@
...
@@ -29,17 +29,17 @@
.logViewTop
{
.logViewTop
{
/* height: 30px; */
/* height: 30px; */
background-color
:
#1D
2126
;
background-color
:
#1d
2126
;
border-radius
:
8px
8px
0
0
;
border-radius
:
8px
8px
0
0
;
display
:
flex
;
display
:
flex
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#8A
9099
;
color
:
#8a
9099
;
overflow
:
auto
;
overflow
:
overlay
;
}
}
.logViewTop
::-webkit-scrollbar-track
{
.logViewTop
::-webkit-scrollbar-track
{
background-color
:
#282C
34
;
background-color
:
#282c
34
;
}
}
.logTitle
{
.logTitle
{
display
:
flex
;
display
:
flex
;
...
@@ -51,12 +51,12 @@
...
@@ -51,12 +51,12 @@
}
}
.logTitleSelected
{
.logTitleSelected
{
background
:
#282C
34
;
background
:
#282c
34
;
color
:
#FFFFFF
;
color
:
#ffffff
;
}
}
.fileIcon
{
.fileIcon
{
width
:
14px
!important
;
width
:
14px
!important
;
margin-right
:
4px
;
margin-right
:
4px
;
}
}
...
@@ -65,18 +65,18 @@
...
@@ -65,18 +65,18 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
510px
;
height
:
510px
;
padding
:
16px
24px
0
;
padding
:
16px
24px
0
;
color
:
#D1D6DE
;
color
:
#d1d6de
;
white-space
:
pre-wrap
;
white-space
:
pre-wrap
;
word-break
:
break-word
;
word-break
:
break-word
;
overflow
:
auto
;
overflow
:
overlay
;
font-size
:
14px
;
font-size
:
14px
;
line-height
:
22px
;
line-height
:
22px
;
}
}
.logViewContentMask
{
.logViewContentMask
{
height
:
16px
;
height
:
16px
;
width
:
852px
;
width
:
852px
;
background-color
:
#282C
34
;
background-color
:
#282c
34
;
position
:
absolute
;
position
:
absolute
;
top
:
30px
;
top
:
30px
;
left
:
24px
;
left
:
24px
;
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
}
}
.logViewContent
::-webkit-scrollbar-track
{
.logViewContent
::-webkit-scrollbar-track
{
background-color
:
#282C
34
;
background-color
:
#282c
34
;
}
}
.logViewBottom
{
.logViewBottom
{
...
...
src/views/Project/ProjectJobDetail/index.module.css
View file @
82f9cbc7
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
width
:
100vw
;
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
background-color
:
RGBA
(
247
,
248
,
250
,
1
);
background-color
:
RGBA
(
247
,
248
,
250
,
1
);
overflow-y
:
auto
;
overflow-y
:
overlay
;
}
}
.swHeader
{
.swHeader
{
z-index
:
1001
;
z-index
:
1001
;
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
background-color
:
#fff
;
background-color
:
#fff
;
border-right
:
1
xp
solid
rgba
(
235
,
237
,
240
,
1
);
border-right
:
1
xp
solid
rgba
(
235
,
237
,
240
,
1
);
width
:
360px
;
width
:
360px
;
overflow-y
:
scroll
;
overflow-y
:
overlay
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
24px
;
padding
:
24px
;
}
}
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
color
:
rgba
(
19
,
112
,
255
,
1
);
color
:
rgba
(
19
,
112
,
255
,
1
);
font-size
:
14px
;
font-size
:
14px
;
}
}
.outputItemName
{
.outputItemName
{
max-width
:
172px
;
max-width
:
172px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
display
:
block
;
display
:
block
;
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
position
:
absolute
;
position
:
absolute
;
top
:
33px
;
top
:
33px
;
max-height
:
230px
;
max-height
:
230px
;
overflow-y
:
scroll
;
overflow-y
:
overlay
;
padding
:
8px
0px
;
padding
:
8px
0px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
3px
10px
0px
rgba
(
0
,
24
,
57
,
0.14
);
box-shadow
:
0px
3px
10px
0px
rgba
(
0
,
24
,
57
,
0.14
);
...
...
src/views/Project/ProjectOverview/TaskCard/index.module.css
View file @
82f9cbc7
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
display
:
flex
;
display
:
flex
;
margin
:
16px
16px
0
;
margin
:
16px
16px
0
;
height
:
156px
;
height
:
156px
;
background
:
#FFFFFF
;
background
:
#ffffff
;
box-shadow
:
2px
2px
6px
0px
rgba
(
0
,
25
,
57
,
0.0300
);
box-shadow
:
2px
2px
6px
0px
rgba
(
0
,
25
,
57
,
0.03
);
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.dividingLine
{
.dividingLine
{
height
:
156px
;
height
:
156px
;
border-left
:
1px
solid
#EBEDF
0
;
border-left
:
1px
solid
#ebedf
0
;
position
:
relative
;
position
:
relative
;
}
}
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
width
:
26px
;
width
:
26px
;
height
:
26px
;
height
:
26px
;
background-color
:
#fff
;
background-color
:
#fff
;
border-top
:
1px
solid
#EBEDF
0
;
border-top
:
1px
solid
#ebedf
0
;
border-right
:
1px
solid
#EBEDF
0
;
border-right
:
1px
solid
#ebedf
0
;
transform
:
rotate
(
45deg
);
transform
:
rotate
(
45deg
);
}
}
...
@@ -43,8 +43,8 @@
...
@@ -43,8 +43,8 @@
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.taskName
:hover
{
.taskName
:hover
{
color
:
#1370FF
;
color
:
#1370ff
;
}
}
.taskStatus
{
.taskStatus
{
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
.taskCreator
{
.taskCreator
{
font-size
:
12px
;
font-size
:
12px
;
line-height
:
20px
;
line-height
:
20px
;
color
:
#1E
2633
;
color
:
#1e
2633
;
margin-top
:
4px
;
margin-top
:
4px
;
}
}
...
@@ -80,13 +80,13 @@
...
@@ -80,13 +80,13 @@
justify-content
:
space-between
;
justify-content
:
space-between
;
margin-bottom
:
8px
;
margin-bottom
:
8px
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#565C
66
;
color
:
#565c
66
;
}
}
.bottomLine
{
.bottomLine
{
display
:
flex
;
display
:
flex
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#565C
66
;
color
:
#565c
66
;
}
}
.bottomInfo
{
.bottomInfo
{
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
position
:
relative
;
position
:
relative
;
overflow
:
auto
;
overflow
:
overlay
;
}
}
.noResult
{
.noResult
{
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
font-size
:
14px
;
font-size
:
14px
;
color
:
#8A
9099
;
color
:
#8a
9099
;
}
}
.resultBox
{
.resultBox
{
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
.result
{
.result
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#1E
2633
;
color
:
#1e
2633
;
cursor
:
pointer
;
cursor
:
pointer
;
height
:
30px
;
height
:
30px
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -129,26 +129,26 @@
...
@@ -129,26 +129,26 @@
padding-right
:
8px
;
padding-right
:
8px
;
}
}
@media
screen
and
(
max-width
:
1220px
)
{
@media
screen
and
(
max-width
:
1220px
)
{
.result
{
.result
{
width
:
100%
;
width
:
100%
;
}
}
}
}
@media
screen
and
(
min-width
:
1220px
)
and
(
max-width
:
1600px
)
{
@media
screen
and
(
min-width
:
1220px
)
and
(
max-width
:
1600px
)
{
.result
{
.result
{
width
:
50%
;
width
:
50%
;
}
}
}
}
@media
screen
and
(
min-width
:
1600px
)
{
@media
screen
and
(
min-width
:
1600px
)
{
.result
{
.result
{
width
:
33.33%
;
width
:
33.33%
;
}
}
}
}
.result
:hover
{
.result
:hover
{
color
:
#1370FF
;
color
:
#1370ff
;
}
}
.outputLeftImg
{
.outputLeftImg
{
...
...
src/views/Project/ProjectSetting/BaseInfo/index.tsx
View file @
82f9cbc7
...
@@ -21,7 +21,6 @@ import { toJS } from "mobx";
...
@@ -21,7 +21,6 @@ import { toJS } from "mobx";
import
{
observer
}
from
"mobx-react-lite"
;
import
{
observer
}
from
"mobx-react-lite"
;
import
InformationDisplay
from
"@/components/CommonComponents/InformationDisplay"
;
import
InformationDisplay
from
"@/components/CommonComponents/InformationDisplay"
;
import
classnames
from
"classnames"
;
import
classnames
from
"classnames"
;
import
LoadingButton
from
"@mui/lab/LoadingButton"
;
import
InputAdornment
from
"@mui/material/InputAdornment"
;
import
InputAdornment
from
"@mui/material/InputAdornment"
;
import
{
useMessage
}
from
"@/components/MySnackbar"
;
import
{
useMessage
}
from
"@/components/MySnackbar"
;
import
Loading
from
"@/views/Loading"
;
import
Loading
from
"@/views/Loading"
;
...
@@ -354,6 +353,7 @@ const BaseInfo = observer(() => {
...
@@ -354,6 +353,7 @@ const BaseInfo = observer(() => {
/>
/>
<
span
<
span
style=
{
{
style=
{
{
fontSize
:
"14px"
,
position
:
"absolute"
,
position
:
"absolute"
,
bottom
:
"7px"
,
bottom
:
"7px"
,
right
:
"12px"
,
right
:
"12px"
,
...
@@ -387,13 +387,11 @@ const BaseInfo = observer(() => {
...
@@ -387,13 +387,11 @@ const BaseInfo = observer(() => {
required
required
error=
{
budgetCheck
.
error
}
error=
{
budgetCheck
.
error
}
disabled=
{
currentUserName
!==
projectInfo
.
tenantUser
}
disabled=
{
currentUserName
!==
projectInfo
.
tenantUser
}
// id="projectBudget"
variant=
"outlined"
variant=
"outlined"
value
=
{
projectInfo
.
projectBudget
}
placeholder
=
{
projectInfo
.
projectBudget
}
onChange=
{
budgetChange
}
onChange=
{
budgetChange
}
onBlur=
{
budgetBlur
}
onBlur=
{
budgetBlur
}
helperText=
{
budgetCheck
.
help
}
helperText=
{
budgetCheck
.
help
}
// size="small"
style=
{
{
width
:
"560px"
}
}
style=
{
{
width
:
"560px"
}
}
InputProps=
{
{
InputProps=
{
{
startAdornment
:
(
startAdornment
:
(
...
@@ -419,17 +417,12 @@ const BaseInfo = observer(() => {
...
@@ -419,17 +417,12 @@ const BaseInfo = observer(() => {
/>
/>
</
div
>
</
div
>
<
div
className=
{
style
.
projectInfoListLi
}
>
<
div
className=
{
style
.
projectInfoListLi
}
>
<
Loading
Button
<
My
Button
variant=
"contained"
variant=
"contained"
className=
{
style
.
updateButton
}
onClick=
{
handleClickUpdate
}
onClick=
{
handleClickUpdate
}
loading=
{
updateLoading
}
loading=
{
updateLoading
}
sx=
{
{
text=
"保存修改"
height
:
"32px"
,
/>
}
}
>
保存修改
</
LoadingButton
>
</
div
>
</
div
>
<
div
className=
{
style
.
projectInfoListLi
}
>
<
div
className=
{
style
.
projectInfoListLi
}
>
<
div
<
div
...
...
src/views/Project/ProjectSetting/ProjectMembers/components/AddMember.tsx
View file @
82f9cbc7
...
@@ -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-0
8-31 18:27:26
* @LastEditTime: 2022-0
9-01 14:09:34
* @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
*/
*/
...
@@ -160,9 +160,9 @@ const AddMember = observer((props: IProps) => {
...
@@ -160,9 +160,9 @@ const AddMember = observer((props: IProps) => {
placeholder=
"搜索项目成员"
placeholder=
"搜索项目成员"
sx=
{
{
mb
:
2
}
}
sx=
{
{
mb
:
2
}
}
/>
/>
<
div
style=
{
{
overflow
Y
:
"scroll
"
,
maxHeight
:
400
}
}
>
<
div
style=
{
{
overflow
:
"overlay
"
,
maxHeight
:
400
}
}
>
<
MyTable
<
MyTable
tableContainerStyle=
{
{
height
:
346
}
}
tableContainerStyle=
{
{
height
:
346
}
}
checkboxData=
{
(
val
:
string
[])
=>
setCheckData
(
val
)
}
checkboxData=
{
(
val
:
string
[])
=>
setCheckData
(
val
)
}
param=
"username"
param=
"username"
disabledParam=
{
"enabled"
}
disabledParam=
{
"enabled"
}
...
...
src/views/Project/ProjectSubmitWork/index.module.css
View file @
82f9cbc7
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
width
:
100vw
;
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
background-color
:
RGBA
(
247
,
248
,
250
,
1
);
background-color
:
RGBA
(
247
,
248
,
250
,
1
);
overflow-y
:
auto
;
overflow-y
:
overlay
;
}
}
.swHeader
{
.swHeader
{
z-index
:
1001
;
z-index
:
1001
;
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
background-color
:
#fff
;
background-color
:
#fff
;
border-right
:
1
xp
solid
rgba
(
235
,
237
,
240
,
1
);
border-right
:
1
xp
solid
rgba
(
235
,
237
,
240
,
1
);
width
:
608px
;
width
:
608px
;
overflow-y
:
scroll
;
overflow-y
:
overlay
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
36px
;
padding
:
36px
;
}
}
...
...
src/views/Project/ProjectWorkbench/index.tsx
View file @
82f9cbc7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: rocosen
* @Author: rocosen
* @Date: 2022-06-12 10:05:13
* @Date: 2022-06-12 10:05:13
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-09-01
09:31:5
6
* @LastEditTime: 2022-09-01
11:51:1
6
* @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
*/
*/
...
@@ -50,7 +50,7 @@ const ProjectWorkbench = observer(() => {
...
@@ -50,7 +50,7 @@ const ProjectWorkbench = observer(() => {
},
[
isPass
]);
},
[
isPass
]);
return
(
return
(
<
div
style=
{
{
padding
:
"28px 24px 24px"
,
height
:
"100%"
}
}
>
<
div
style=
{
{
padding
:
"28px 24px 24px"
}
}
>
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
}
}
>
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
}
}
>
<
span
<
span
style=
{
{
style=
{
{
...
...
src/views/Project/ProjectWorkbench/workbenchList/index.module.css
View file @
82f9cbc7
/* .headerBox { */
/* .headerBox { */
/* margin-bottom: 20px; */
/* margin-bottom: 20px; */
/* } */
/* } */
.tabHeader
{
.tabHeader
{
...
@@ -14,9 +14,9 @@
...
@@ -14,9 +14,9 @@
.body
{
.body
{
margin-top
:
24px
;
margin-top
:
24px
;
border-top
:
1px
solid
#F0F2F
5
;
border-top
:
1px
solid
#f0f2f
5
;
overflow
:
hidden
;
overflow
:
hidden
;
overflow-y
:
auto
;
overflow-y
:
overlay
;
height
:
calc
(
100vh
-
325px
);
height
:
calc
(
100vh
-
325px
);
}
}
...
@@ -25,11 +25,11 @@
...
@@ -25,11 +25,11 @@
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
width
:
100%
;
width
:
100%
;
border-bottom
:
1px
solid
#F0F2F
5
;
border-bottom
:
1px
solid
#f0f2f
5
;
}
}
.tabBox
:hover
{
.tabBox
:hover
{
background-color
:
#F5F6F
7
;
background-color
:
#f5f6f
7
;
}
}
.tabBoxInfo
{
.tabBoxInfo
{
...
@@ -41,12 +41,11 @@
...
@@ -41,12 +41,11 @@
display
:
flex
;
display
:
flex
;
}
}
.tabBoxTitle
{
.tabBoxTitle
{
font-size
:
14px
;
font-size
:
14px
;
line-height
:
22px
;
line-height
:
22px
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#1E
2633
;
color
:
#1e
2633
;
margin-bottom
:
8px
;
margin-bottom
:
8px
;
}
}
...
@@ -55,14 +54,14 @@
...
@@ -55,14 +54,14 @@
line-height
:
20px
;
line-height
:
20px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#8A
9099
;
color
:
#8a
9099
;
}
}
.tabBoxTime
{
.tabBoxTime
{
font-size
:
12px
;
font-size
:
12px
;
line-height
:
20px
;
line-height
:
20px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#565C
66
;
color
:
#565c
66
;
margin-left
:
8px
;
margin-left
:
8px
;
}
}
...
@@ -85,7 +84,7 @@
...
@@ -85,7 +84,7 @@
font-size
:
12px
;
font-size
:
12px
;
line-height
:
20px
;
line-height
:
20px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#1E
2633
;
color
:
#1e
2633
;
margin
:
0px
16px
0px
8px
;
margin
:
0px
16px
0px
8px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
...
@@ -106,6 +105,6 @@
...
@@ -106,6 +105,6 @@
}
}
.tabUpdate
:hover
{
.tabUpdate
:hover
{
background
:
#F0F2F
5
;
background
:
#f0f2f
5
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
src/views/Project/ProjectWorkbench/workbenchTemplate/components/AddTemplate/index.module.css
View file @
82f9cbc7
...
@@ -11,13 +11,13 @@
...
@@ -11,13 +11,13 @@
}
}
.headerBoxShadow
{
.headerBoxShadow
{
box-shadow
:
0
5px
4px
-4px
rgb
(
0
,
0
,
0
,
.15
);
box-shadow
:
0
5px
4px
-4px
rgb
(
0
,
0
,
0
,
0
.15
);
}
}
.templateBox
{
.templateBox
{
padding
:
0
32px
;
padding
:
0
32px
;
height
:
calc
(
100vh
-
168px
);
height
:
calc
(
100vh
-
168px
);
overflow
:
auto
;
overflow
:
overlay
;
}
}
.templateList
{
.templateList
{
...
...
src/views/Project/ProjectWorkbench/workbenchTemplate/index.module.css
View file @
82f9cbc7
...
@@ -16,6 +16,14 @@
...
@@ -16,6 +16,14 @@
margin-bottom
:
24px
;
margin-bottom
:
24px
;
}
}
.templateBox
{
display
:
flex
;
flex-wrap
:
wrap
;
/* max-height: calc(100vh - 276px); */
margin
:
0
-8px
;
overflow-y
:
overlay
;
}
.template
{
.template
{
padding
:
0
8px
;
padding
:
0
8px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -24,7 +32,7 @@
...
@@ -24,7 +32,7 @@
.templateBlock
{
.templateBlock
{
height
:
194px
;
height
:
194px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
3px
10px
0px
rgba
(
0
,
24
,
57
,
0.04
00
);
box-shadow
:
0px
3px
10px
0px
rgba
(
0
,
24
,
57
,
0.04
);
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#ebedf0
;
border
:
1px
solid
#ebedf0
;
padding
:
16px
20px
;
padding
:
16px
20px
;
...
@@ -36,19 +44,19 @@
...
@@ -36,19 +44,19 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
@media
screen
and
(
max-width
:
1220px
)
{
@media
screen
and
(
max-width
:
1220px
)
{
.template
{
.template
{
width
:
50%
;
width
:
50%
;
}
}
}
}
@media
screen
and
(
min-width
:
1220px
)
and
(
max-width
:
1600px
)
{
@media
screen
and
(
min-width
:
1220px
)
and
(
max-width
:
1600px
)
{
.template
{
.template
{
width
:
33.33333%
;
width
:
33.33333%
;
}
}
}
}
@media
screen
and
(
min-width
:
1600px
)
{
@media
screen
and
(
min-width
:
1600px
)
{
.template
{
.template
{
width
:
25%
;
width
:
25%
;
}
}
...
...
src/views/Project/ProjectWorkbench/workbenchTemplate/index.tsx
View file @
82f9cbc7
...
@@ -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-0
8-18 10:01:3
6
* @LastEditTime: 2022-0
9-01 10:49:4
6
* @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
*/
*/
...
@@ -141,7 +141,7 @@ const ProjectMembers = observer(() => {
...
@@ -141,7 +141,7 @@ const ProjectMembers = observer(() => {
</
Box
>
</
Box
>
)
}
)
}
{
templateList
.
length
>
0
&&
(
{
templateList
.
length
>
0
&&
(
<
Box
sx=
{
{
display
:
"flex"
,
flexWrap
:
"wrap"
,
margin
:
"0 -8px"
}
}
>
<
Box
className=
{
styles
.
templateBox
}
>
{
templateList
&&
{
templateList
&&
templateList
.
length
>
0
&&
templateList
.
length
>
0
&&
templateList
.
map
((
item
,
key
)
=>
{
templateList
.
map
((
item
,
key
)
=>
{
...
...
src/views/Project/components/AddProject/index.tsx
View file @
82f9cbc7
...
@@ -76,7 +76,7 @@ const AddProject = (props: IAddProjectProps) => {
...
@@ -76,7 +76,7 @@ const AddProject = (props: IAddProjectProps) => {
project
.
filetoken
=
res
;
project
.
filetoken
=
res
;
currentProjectStore
.
changeProject
(
project
);
currentProjectStore
.
changeProject
(
project
);
});
});
navigate
(
`/product/cadd/projectOverview`
)
navigate
(
`/product/cadd/projectOverview`
)
;
}
}
},
},
onError
:
()
=>
{
onError
:
()
=>
{
...
@@ -137,7 +137,7 @@ const AddProject = (props: IAddProjectProps) => {
...
@@ -137,7 +137,7 @@ const AddProject = (props: IAddProjectProps) => {
const
handleDescChange
=
(
e
:
any
)
=>
{
const
handleDescChange
=
(
e
:
any
)
=>
{
const
desc
=
e
.
target
.
value
;
const
desc
=
e
.
target
.
value
;
setDesc
(
desc
.
slice
(
0
,
300
));
setDesc
(
desc
.
slice
(
0
,
300
));
// if (desc.length > 300) {
// if (desc.length > 300) {
// setDescCheck({
// setDescCheck({
// error: true,
// error: true,
...
@@ -177,7 +177,6 @@ const AddProject = (props: IAddProjectProps) => {
...
@@ -177,7 +177,6 @@ const AddProject = (props: IAddProjectProps) => {
title=
"新建项目"
title=
"新建项目"
loading=
{
loading
}
loading=
{
loading
}
>
>
<
div
className=
{
style
.
formBox
}
onClick=
{
handleFromBox
}
>
<
div
className=
{
style
.
formBox
}
onClick=
{
handleFromBox
}
>
<
MyInput
<
MyInput
required
required
...
@@ -222,9 +221,10 @@ const AddProject = (props: IAddProjectProps) => {
...
@@ -222,9 +221,10 @@ const AddProject = (props: IAddProjectProps) => {
<
span
<
span
style=
{
{
style=
{
{
position
:
"absolute"
,
position
:
"absolute"
,
fontSize
:
"14px"
,
bottom
:
"7px"
,
bottom
:
"7px"
,
right
:
"12px"
,
right
:
"12px"
,
color
:
desc
.
length
>=
300
?
"#d32f2f"
:
"#C2C6CC"
color
:
desc
.
length
>=
300
?
"#d32f2f"
:
"#C2C6CC"
,
}
}
}
}
>
>
{
desc
.
length
}
/300
{
desc
.
length
}
/300
...
...
src/views/Project/components/ProjectListPopper/index.module.css
View file @
82f9cbc7
.projectBox
{
.projectBox
{
width
:
calc
(
100vw
-
220px
);
width
:
calc
(
100vw
-
220px
);
height
:
calc
(
100vh
-
57px
);
height
:
calc
(
100vh
-
57px
);
background-color
:
rgba
(
0
,
0
,
0
,
.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0
.5
);
/* width: 260px;
/* width: 260px;
height: calc(100vh - 57px); */
height: calc(100vh - 57px); */
/* width: 260px;
/* width: 260px;
...
@@ -12,14 +12,14 @@
...
@@ -12,14 +12,14 @@
flex-direction: column; */
flex-direction: column; */
}
}
.mainBox
{
.mainBox
{
width
:
260px
;
width
:
260px
;
height
:
calc
(
100vh
-
57px
);
height
:
calc
(
100vh
-
57px
);
background-color
:
#fff
;
background-color
:
#fff
;
border-right
:
1px
solid
#ebedf0
;
border-right
:
1px
solid
#ebedf0
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
border-left
:
1px
solid
#DDE1E6
;
;
border-left
:
1px
solid
#dde1e6
;
}
}
.searchBox
{
.searchBox
{
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
}
}
.projectlist
{
.projectlist
{
flex
:
1
;
flex
:
1
;
overflow-y
:
scroll
;
overflow-y
:
overlay
;
border-top
:
1px
solid
#f0f2f5
;
border-top
:
1px
solid
#f0f2f5
;
}
}
.projectli
{
.projectli
{
...
...
src/views/WorkFlowEdit/components/OperatorList/index.module.css
View file @
82f9cbc7
...
@@ -34,11 +34,11 @@
...
@@ -34,11 +34,11 @@
.versionBox
{
.versionBox
{
display
:
inline-block
;
display
:
inline-block
;
color
:
#1
E
2633
;
color
:
#1
e
2633
;
border-radius
:
2px
;
border-radius
:
2px
;
font-size
:
12px
;
font-size
:
12px
;
padding
:
2px
8px
;
padding
:
2px
8px
;
background-color
:
#
F0F2F
5
;
background-color
:
#
f0f2f
5
;
}
}
.searchBox
{
.searchBox
{
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
}
}
.listBox
{
.listBox
{
overflow-y
:
scroll
;
overflow-y
:
overlay
;
height
:
calc
(
100%
-
48px
);
height
:
calc
(
100%
-
48px
);
position
:
relative
;
position
:
relative
;
}
}
...
...
src/views/WorkFlowEdit/components/ParameterSetting/index.module.css
View file @
82f9cbc7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
height
:
calc
(
100vh
-
140px
);
height
:
calc
(
100vh
-
140px
);
width
:
360px
;
width
:
360px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-y
:
scroll
;
overflow-y
:
overlay
;
padding
:
0
24px
;
padding
:
0
24px
;
}
}
.taskInfo
{
.taskInfo
{
...
@@ -129,10 +129,10 @@
...
@@ -129,10 +129,10 @@
line-height
:
20px
;
line-height
:
20px
;
color
:
rgba
(
255
,
78
,
78
,
1
);
color
:
rgba
(
255
,
78
,
78
,
1
);
}
}
.noParameters
{
.noParameters
{
font-size
:
12px
;
font-size
:
12px
;
text-align
:
center
;
text-align
:
center
;
color
:
#
C2C6CC
;
color
:
#
c2c6cc
;
line-height
:
84px
;
line-height
:
84px
;
}
}
...
...
src/views/WorkFlowEdit/components/SaveCustomTemplate/index.tsx
View file @
82f9cbc7
...
@@ -253,9 +253,10 @@ const SaveCustomTemplate = (props: IProps) => {
...
@@ -253,9 +253,10 @@ const SaveCustomTemplate = (props: IProps) => {
<
span
<
span
style=
{
{
style=
{
{
position
:
"absolute"
,
position
:
"absolute"
,
fontSize
:
"14px"
,
bottom
:
"7px"
,
bottom
:
"7px"
,
right
:
"12px"
,
right
:
"12px"
,
color
:
description
.
length
>=
300
?
"#d32f2f"
:
"#C2C6CC"
color
:
description
.
length
>=
300
?
"#d32f2f"
:
"#C2C6CC"
,
}
}
}
}
>
>
{
description
.
length
}
/300
{
description
.
length
}
/300
...
...
src/views/WorkFlowEdit/index.module.css
View file @
82f9cbc7
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
width
:
100vw
;
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
background-color
:
RGBA
(
247
,
248
,
250
,
1
);
background-color
:
RGBA
(
247
,
248
,
250
,
1
);
overflow-y
:
auto
;
overflow-y
:
overlay
;
}
}
.swHeader
{
.swHeader
{
z-index
:
1001
;
z-index
:
1001
;
...
...
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