使用logicflow重构流程图
This commit is contained in:
1 parent
134acc057e
commit
8ff82208ad
6 files changed
+343
-771
No files matched your search
@@ -117,6 +117,10 @@
|
||||
vuetify: new Vuetify(),
|
||||
name: 'editNode',
|
||||
props: {
|
||||
lf: {
|
||||
type: Object,
|
||||
default: null
|
||||
},
|
||||
user: {
|
||||
type: Array,
|
||||
default: () => {
|
||||
@@ -152,6 +156,13 @@
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
node: {
|
||||
handler: function (node) {
|
||||
this.lf.updateText(node.id, node.label);
|
||||
this.lf.setProperties(node.id, node);
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
isMobile() {
|
||||
@@ -177,8 +188,8 @@
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
init(data, node) {
|
||||
this.node = node;
|
||||
init(node) {
|
||||
this.node = node.properties;
|
||||
},
|
||||
getOptionList() {
|
||||
if (!this.node.assignType) {
|
||||
|
||||
Reference in new issue
Block a user