From 715b0f45cf00a6ae98594d8463298646ee4c0b07 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 14 八月 2024 16:37:28 +0800
Subject: [PATCH] 业务类型整合代码&&对话框表格 表单边距调整

---
 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