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
sunyihao
bkunyun
Commits
9c5c3f37
Commit
9c5c3f37
authored
Jul 04, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-20220620-taskSubmission' into 'release'
feat: 批允许有校验通过 See merge request
!68
parents
3829e562
295684d1
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 @
9c5c3f37
...
...
@@ -72,6 +72,7 @@ const BatchNode = (props: IBatchNode) => {
})
}
>
{
label
||
""
}
{
data
.
isCheck
&&
<
span
className=
{
styles
.
successDot
}
></
span
>
}
</
div
>
{
dotStatus
?.
isOutput
?
(
<
Handle
...
...
@@ -214,7 +215,8 @@ const Flow = (props: IProps) => {
/** 选中状态 */
selectedStatus
:
selectedNodeId
===
item
.
id
,
}
:
{
isCheck
:
item
.
isCheck
}),
:
{}),
isCheck
:
item
.
isCheck
,
executionStatus
:
item
.
executionStatus
,
/** 输入输出圆点状态 */
dotStatus
:
nodesInputAndOutputStatus
(
item
.
id
),
...
...
src/views/Project/components/Flow/interface.ts
View file @
9c5c3f37
...
...
@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-06-23 11:00:29
* @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
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -36,6 +36,8 @@ export interface IBatchNodeData {
style
?:
CSSProperties
;
/** 是否选中状态 */
selectedStatus
?:
boolean
;
/** 是否校验通过 */
isCheck
?:
boolean
;
}
export
interface
IBatchNode
{
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