From 87d1ff3dcd95685838707027ec5b8f0c7ce0f966 Mon Sep 17 00:00:00 2001
From: gengby <858962040@qq.com>
Date: Tue, 28 May 2024 10:24:59 +0800
Subject: [PATCH] =?UTF-8?q?rev:=E6=95=B0=E6=8D=AE=E6=9D=A5=E6=BA=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../PropertySetting/FormTaskProperties.vue | 27 ++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/wms_pro/qd/src/views/wms/flow_manage/logicflow/PropertySetting/FormTaskProperties.vue b/wms_pro/qd/src/views/wms/flow_manage/logicflow/PropertySetting/FormTaskProperties.vue
index bf3ecf21..201e2773 100644
--- a/wms_pro/qd/src/views/wms/flow_manage/logicflow/PropertySetting/FormTaskProperties.vue
+++ b/wms_pro/qd/src/views/wms/flow_manage/logicflow/PropertySetting/FormTaskProperties.vue
@@ -50,6 +50,17 @@
+
+
+
+
+
+
+
@@ -85,6 +96,7 @@ export default {
this.getTypes()
this.getTaskTypes()
this.getStrategyList()
+ this.getAllNodeIds()
},
data() {
return {
@@ -92,6 +104,7 @@ export default {
formTypes: [],
taskTypes: [],
strategyList: [],
+ nodeIds: [],
formData: {
id: '',
name: '',
@@ -99,7 +112,8 @@ export default {
skipExpression: '',
form_type: '',
passNode: true,
- documentation: ''
+ documentation: '',
+ sourceData: ''
},
rules: {
id: [
@@ -134,6 +148,17 @@ export default {
}
});
},
+ getAllNodeIds() {
+ const {id} = this.$props.nodeData;
+ const allNodeIds = this.$props.lf.getGraphData().nodes;
+ const customObjects = allNodeIds
+ .filter(node => node.id !== id)
+ .map(node => ({
+ id: node.id,
+ name: node.properties.name,
+ }));
+ this.nodeIds = customObjects
+ },
generateUniqueId() {
return `id_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
},