feat: 添加节点类型以区分不同节点
This commit is contained in:
1 parent
666fb16db5
commit
0f812dbfd9
7 files changed
+40
-17
No files matched your search
@@ -180,6 +180,7 @@ import copySvg from '@/assets/svgs/bpm/copy.svg'
|
||||
import conditionSvg from '@/assets/svgs/bpm/condition.svg'
|
||||
import parallelSvg from '@/assets/svgs/bpm/parallel.svg'
|
||||
import finishSvg from '@/assets/svgs/bpm/finish.svg'
|
||||
import handleSvg from '@/assets/svgs/bpm/handle.svg'
|
||||
|
||||
defineOptions({ name: 'BpmProcessInstanceTimeline' })
|
||||
withDefaults(
|
||||
@@ -241,8 +242,8 @@ const nodeTypeSvgMap = {
|
||||
[NodeType.START_USER_NODE]: { color: '#909398', svg: starterSvg },
|
||||
// 审批人节点
|
||||
[NodeType.USER_TASK_NODE]: { color: '#ff943e', svg: auditorSvg },
|
||||
// 办理人节点 TODO @lesan:
|
||||
[NodeType.TRANSACTOR_NODE]: { color: '#ff943e', svg: auditorSvg },
|
||||
// 办理人节点
|
||||
[NodeType.TRANSACTOR_NODE]: { color: '#ff943e', svg: handleSvg },
|
||||
// 抄送人节点
|
||||
[NodeType.COPY_TASK_NODE]: { color: '#3296fb', svg: copySvg },
|
||||
// 条件分支节点
|
||||
|
||||
Reference in new issue
Block a user