From f3793037f0e56530d9ec79dc48feebf086543fb3 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 25 十月 2024 11:40:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue | 28 +++++++++++++++++-----------
1 files changed, 17 insertions(+), 11 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..15b1954 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
@@ -23,9 +23,10 @@
<p>{{ item.name }}: {{ item.value }}</p>
</template>
</div>
+ <div v-if="!disabledBtn" class="mask"></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"
@@ -129,15 +130,14 @@
},
// 澶勭悊鍥捐〃鏁版嵁鏇存敼鐨勪簨浠�
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 ===
@@ -173,7 +172,6 @@
this.currentSelectedLine = currentEdge;
}
},
-
// 涓嬭浇鍥剧墖
_downloadImage(data, filename = "flowchart.png") {
const a = document.createElement("a");
@@ -265,6 +263,14 @@
margin: 0;
}
}
+ .mask{
+ opacity: 0.3;
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top:0;
+ }
}
.vfe-chart-sidebar {
--
Gitblit v1.9.3