|
@@ -1,6 +1,9 @@
|
|
|
<template>
|
|
|
<div class="handle-btn">
|
|
|
<div class="icon-box">
|
|
|
+ <div class="icon cg" v-if="nodeHandleType=='0'">
|
|
|
+ <i class="iconfont icon-icomx_banli"></i>
|
|
|
+ </div>
|
|
|
<div class="icon cg" v-if="nodeHandleType=='10'">
|
|
|
<i class="iconfont icon-icomx_banli"></i>
|
|
|
</div>
|
|
@@ -19,7 +22,7 @@
|
|
|
import { defineProps, inject, ref } from "vue";
|
|
|
|
|
|
const title = ref("");
|
|
|
-const nodeHandleType = ref("10");
|
|
|
+const nodeHandleType = ref("0");
|
|
|
const getNode = inject("getNode");
|
|
|
const node = getNode();
|
|
|
node.on("change:data", ({ current }) => {
|
|
@@ -27,6 +30,7 @@ node.on("change:data", ({ current }) => {
|
|
|
title.value = current.title;
|
|
|
});
|
|
|
const nodeTypeName = {
|
|
|
+ 0: "",
|
|
|
10: "常规",
|
|
|
20: "聚合",
|
|
|
30: "抄送",
|