Browse Source

vue3 工作流:1. 完成流程设计的接口对接;2. 流程任务的分配规则的 modelId 不存在的问题修复

YunaiV 3 years ago
parent
commit
8ce0c8081c

+ 10 - 9
yudao-ui-admin-vue3/package.json

@@ -33,15 +33,21 @@
     "@zxcvbn-ts/core": "^2.2.0",
     "animate.css": "^4.1.1",
     "axios": "^1.2.5",
+    "bpmn-js-token-simulation": "^0.10.0",
+    "camunda-bpmn-moddle": "^7.0.1",
     "cropperjs": "^1.5.13",
     "crypto-js": "^4.1.1",
     "dayjs": "^1.11.7",
+    "diagram-js": "^11.6.0",
     "echarts": "^5.4.1",
     "echarts-wordcloud": "^2.1.0",
     "element-plus": "2.2.28",
+    "fast-xml-parser": "^4.0.13",
+    "highlight.js": "^9.18.5",
     "intro.js": "^6.0.0",
     "jsencrypt": "^3.3.1",
     "lodash-es": "^4.17.21",
+    "min-dash": "^4.0.0",
     "mitt": "^3.0.0",
     "nprogress": "^0.2.0",
     "pinia": "^2.0.29",
@@ -52,16 +58,11 @@
     "vue-i18n": "9.2.2",
     "vue-router": "^4.1.6",
     "vue-types": "^5.0.2",
+    "vue3-treeselect": "^0.1.10",
+    "vuedraggable": "^4.1.0",
     "vxe-table": "^4.3.9",
     "web-storage-cache": "^1.1.1",
     "xe-utils": "^3.5.7",
-    "bpmn-js-token-simulation": "^0.10.0",
-    "camunda-bpmn-moddle": "^7.0.1",
-    "fast-xml-parser": "^4.0.13",
-    "highlight.js": "^9.18.5",
-    "min-dash": "^4.0.0",
-    "vue3-treeselect": "^0.1.10",
-    "vuedraggable": "^4.1.0",
     "xml-js": "^1.6.11"
   },
   "devDependencies": {
@@ -82,10 +83,10 @@
     "@vitejs/plugin-vue": "^4.0.0",
     "@vitejs/plugin-vue-jsx": "^3.0.0",
     "autoprefixer": "^10.4.13",
-    "consola": "^2.15.3",
-    "eslint": "^8.32.0",
     "bpmn-js": "^8.9.0",
     "bpmn-js-properties-panel": "^0.46.0",
+    "consola": "^2.15.3",
+    "eslint": "^8.32.0",
     "eslint-config-prettier": "^8.6.0",
     "eslint-define-config": "^1.14.0",
     "eslint-plugin-prettier": "^4.2.1",

File diff suppressed because it is too large
+ 439 - 84
yudao-ui-admin-vue3/pnpm-lock.yaml


File diff suppressed because it is too large
+ 6 - 6
yudao-ui-admin-vue3/src/views/bpm/model/modelEditor.vue


+ 1 - 0
yudao-ui-admin-vue3/src/views/bpm/taskAssignRule/index.vue

@@ -289,6 +289,7 @@ const handleUpdate = (row) => {
   // 2. 再设置表单
   formData.value = {
     ...row,
+    modelId: modelId,
     options: [],
     roleIds: [],
     deptIds: [],