feat(sj_1.0.0_beta3): 显示状态灯

This commit is contained in:
opensnail 2024-06-01 11:28:01 +08:00
parent 85359f5533
commit e3bf4f9b2a
3 changed files with 3 additions and 3 deletions

View File

@ -204,7 +204,7 @@ const getClass = (item: Flow.ConditionNodeType) => {
</div>
<div class="title">
<span class="node-title">
<NBadge processing color="#52c41a" />
<NBadge dot processing color="#52c41a" />
{{ item.nodeName }}
<NTooltip v-if="item.nodeName === $t('node.condition.conditionNodes.otherNodeName')">
<template #trigger>

View File

@ -145,7 +145,7 @@ const getClass = (item: Flow.ConditionNodeType) => {
<div class="auto-judge" :class="getClass(item)" @click="showDetail(item, index)">
<div class="title">
<span class="text text-#935af6">
<NBadge processing :color="item.workflowNodeStatus === 1 ? '#52c41a' : '#ff4d4f'" />
<NBadge processing dot :color="item.workflowNodeStatus === 1 ? '#52c41a' : '#ff4d4f'" />
{{ item.nodeName }}
</span>
<icon-ant-design:close-outlined v-if="!disabled" class="close" @click.stop="delTerm" />

View File

@ -212,7 +212,7 @@ const isShow = (taskBatchStatus: number) => {
</div>
<div class="title">
<span class="text color-#3296fa">
<!-- <NBadge processing dot :color="item.workflowNodeStatus === 1 ? '#52c41a' : '#ff4d4f'" /> -->
<NBadge processing dot :color="item.workflowNodeStatus === 1 ? '#52c41a' : '#ff4d4f'" />
&nbsp;{{ item.nodeName }}
</span>
<span class="priority-title">{{ $t('node.priority') }}{{ item.priorityLevel }}</span>