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
295684d1
Commit
295684d1
authored
Jul 04, 2022
by
吴永生#A02208
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 批允许有校验通过
parent
16d0cb96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
index.tsx
src/views/Project/components/Flow/index.tsx
+3
-1
interface.ts
src/views/Project/components/Flow/interface.ts
+3
-1
No files found.
src/views/Project/components/Flow/index.tsx
View file @
295684d1
...
@@ -72,6 +72,7 @@ const BatchNode = (props: IBatchNode) => {
...
@@ -72,6 +72,7 @@ const BatchNode = (props: IBatchNode) => {
})
}
})
}
>
>
{
label
||
""
}
{
label
||
""
}
{
data
.
isCheck
&&
<
span
className=
{
styles
.
successDot
}
></
span
>
}
</
div
>
</
div
>
{
dotStatus
?.
isOutput
?
(
{
dotStatus
?.
isOutput
?
(
<
Handle
<
Handle
...
@@ -214,7 +215,8 @@ const Flow = (props: IProps) => {
...
@@ -214,7 +215,8 @@ const Flow = (props: IProps) => {
/** 选中状态 */
/** 选中状态 */
selectedStatus
:
selectedNodeId
===
item
.
id
,
selectedStatus
:
selectedNodeId
===
item
.
id
,
}
}
:
{
isCheck
:
item
.
isCheck
}),
:
{}),
isCheck
:
item
.
isCheck
,
executionStatus
:
item
.
executionStatus
,
executionStatus
:
item
.
executionStatus
,
/** 输入输出圆点状态 */
/** 输入输出圆点状态 */
dotStatus
:
nodesInputAndOutputStatus
(
item
.
id
),
dotStatus
:
nodesInputAndOutputStatus
(
item
.
id
),
...
...
src/views/Project/components/Flow/interface.ts
View file @
295684d1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-06-23 11:00:29
* @Date: 2022-06-23 11:00:29
* @LastEditors: 吴永生#A02208 yongsheng.wu@wholion.com
* @LastEditors: 吴永生#A02208 yongsheng.wu@wholion.com
* @LastEditTime: 2022-0
6-27 15:32:29
* @LastEditTime: 2022-0
7-04 14:26:18
* @FilePath: /bkunyun/src/views/Project/components/Flow/interface.ts
* @FilePath: /bkunyun/src/views/Project/components/Flow/interface.ts
* @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
*/
*/
...
@@ -36,6 +36,8 @@ export interface IBatchNodeData {
...
@@ -36,6 +36,8 @@ export interface IBatchNodeData {
style
?:
CSSProperties
;
style
?:
CSSProperties
;
/** 是否选中状态 */
/** 是否选中状态 */
selectedStatus
?:
boolean
;
selectedStatus
?:
boolean
;
/** 是否校验通过 */
isCheck
?:
boolean
;
}
}
export
interface
IBatchNode
{
export
interface
IBatchNode
{
data
:
IBatchNodeData
data
:
IBatchNodeData
...
...
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