Commit 9c5c3f37 authored by wuyongsheng's avatar wuyongsheng

Merge branch 'feat-20220620-taskSubmission' into 'release'

feat: 批允许有校验通过

See merge request !68
parents 3829e562 295684d1
......@@ -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),
......
......@@ -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-06-27 15:32:29
* @LastEditTime: 2022-07-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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment