feat: 更新依赖版本
This commit is contained in:
@@ -38,8 +38,10 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@riophae/vue-treeselect": "0.4.0",
|
"@riophae/vue-treeselect": "0.4.0",
|
||||||
"axios": "0.24.0",
|
"axios": "0.24.0",
|
||||||
|
"bpmn-js": "^11.1.0",
|
||||||
"clipboard": "2.0.8",
|
"clipboard": "2.0.8",
|
||||||
"core-js": "3.25.3",
|
"core-js": "3.25.3",
|
||||||
|
"diagram-js": "^5.0.0",
|
||||||
"echarts": "5.4.0",
|
"echarts": "5.4.0",
|
||||||
"element-ui": "2.15.10",
|
"element-ui": "2.15.10",
|
||||||
"file-saver": "2.0.5",
|
"file-saver": "2.0.5",
|
||||||
@@ -52,6 +54,7 @@
|
|||||||
"quill": "1.3.7",
|
"quill": "1.3.7",
|
||||||
"screenfull": "5.0.2",
|
"screenfull": "5.0.2",
|
||||||
"sortablejs": "1.10.2",
|
"sortablejs": "1.10.2",
|
||||||
|
"vkbeautify": "^0.99.3",
|
||||||
"vue": "2.6.12",
|
"vue": "2.6.12",
|
||||||
"vue-count-to": "1.0.13",
|
"vue-count-to": "1.0.13",
|
||||||
"vue-cropper": "0.5.5",
|
"vue-cropper": "0.5.5",
|
||||||
@@ -59,9 +62,7 @@
|
|||||||
"vue-router": "3.4.9",
|
"vue-router": "3.4.9",
|
||||||
"vuedraggable": "2.24.3",
|
"vuedraggable": "2.24.3",
|
||||||
"vuex": "3.6.0",
|
"vuex": "3.6.0",
|
||||||
"workflow-bpmn-modeler": "^0.2.8",
|
"xcrud": "^0.4.19"
|
||||||
"diagram-js": "^5.0.0",
|
|
||||||
"vkbeautify": "^0.99.3"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/parser": "^7.20.5",
|
"@babel/parser": "^7.20.5",
|
||||||
|
|||||||
@@ -89,10 +89,10 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
updateElement() {
|
updateElement() {
|
||||||
if (this.formData.isSequential !== null && this.formData.isSequential !== undefined) {
|
if (this.formData.isSequential !== null && this.formData.isSequential !== undefined) {
|
||||||
const model = this.modeler.get('moddle');
|
// const model = this.modeler.get('moddle');
|
||||||
let loopCharacteristics = this.element.businessObject.get('loopCharacteristics')
|
let loopCharacteristics = this.element.businessObject.get('loopCharacteristics')
|
||||||
if (!loopCharacteristics) {
|
if (!loopCharacteristics) {
|
||||||
loopCharacteristics = model.create('bpmn:MultiInstanceLoopCharacteristics')
|
loopCharacteristics = this.modeler.get('moddle').create('bpmn:MultiInstanceLoopCharacteristics')
|
||||||
}
|
}
|
||||||
loopCharacteristics['isSequential'] = this.formData.isSequential
|
loopCharacteristics['isSequential'] = this.formData.isSequential
|
||||||
loopCharacteristics['collection'] = this.formData.collection
|
loopCharacteristics['collection'] = this.formData.collection
|
||||||
@@ -107,7 +107,7 @@ export default {
|
|||||||
loopCharacteristics.$attrs[this.prefix + 'elementVariable'] = this.formData.elementVariable
|
loopCharacteristics.$attrs[this.prefix + 'elementVariable'] = this.formData.elementVariable
|
||||||
|
|
||||||
if (this.formData.completionCondition) {
|
if (this.formData.completionCondition) {
|
||||||
loopCharacteristics['completionCondition'] = model.create('bpmn:Expression', {body: this.formData.completionCondition})
|
loopCharacteristics['completionCondition'] = this.modeler.get('moddle').create('bpmn:Expression', {body: this.formData.completionCondition})
|
||||||
}
|
}
|
||||||
this.updateProperties({loopCharacteristics: loopCharacteristics})
|
this.updateProperties({loopCharacteristics: loopCharacteristics})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user