From fa88edda7b1e6523e64b2642c6291a1a4866bd43 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期五, 13 九月 2024 11:12:28 +0800
Subject: [PATCH] 1、新增删除Action分类接口。 2、新增查询Action参数列表数据接口。
---
Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue b/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue
index 2555966..7e2245e 100644
--- a/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue
+++ b/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue
@@ -25,7 +25,7 @@
</div>
</div>
- <div v-if="type !== 'detail'" class="vfe-chart-panel">
+ <div class="vfe-chart-panel">
<div class="vfe-chart-panel-detail">
<editor-detail-panel
ref="EditorDetailPanel"
@@ -131,13 +131,13 @@
onAfterChange(e) {
console.log(e)
try {
- if('edit' === this.$store.state.flow.type){
- this.$refs.flowChart.propsAPI.remove(e.item);
- if(e.action === 'remove'){
- this.$message.error('缂栬緫鐘舵�佷笅涓嶈兘鍒囨崲閫変腑椤癸紒');
- }
- return;
- }
+ // if('edit' === this.$store.state.flow.type){
+ // this.$refs.flowChart.propsAPI.remove(e.item);
+ // if(e.action === 'remove'){
+ // this.$message.error('缂栬緫鐘舵�佷笅涓嶈兘鍒囨崲閫変腑椤癸紒');
+ // }
+ // return;
+ // }
// 濡傛灉娣诲姞浜嗚妭鐐逛笖鑺傜偣娌℃湁琚洿鏀硅繃
if (e.action === "add" && e.model.type === "node") {
if (!e.model.change) {
@@ -148,7 +148,6 @@
}
}
} catch (err) {
- console.log(err)
// 澶勭悊鑺傜偣 ID 鍐茬獊閿欒
if (
err.message ===
--
Gitblit v1.9.3