فهرست منبع

更新连接不能删除的问题

lex-xin 3 سال پیش
والد
کامیت
f03dbb115d

+ 1 - 1
src/components/wfd/plugins/command.js

@@ -149,7 +149,7 @@ class Command {
           selectedItems.forEach(i => {
             const node = graph.findById(i)
             const nodeModel = node.getModel()
-            if (nodeModel.clazz !== 'end') {
+            if (nodeModel.clazz !== 'end' && nodeModel.clazz !== 'flow') {
               const ids = cmdPlugin.__queueRemote(graph, node) || []
               ids.forEach(id => {
                 graph.remove(id)

+ 14 - 0
src/views/process/admin/process-manager.vue

@@ -304,6 +304,8 @@ export default {
           }
         })
         this.processData = subList
+      }).catch(() => {
+        load.endLoading()
       })
     },
     // 获取流程分类列表
@@ -313,6 +315,8 @@ export default {
         per_page: 99999
       }).then(response => {
         this.classifyListData = response.data.data
+      }).catch(() => {
+        load.endLoading()
       })
     },
     // 获取模版列表
@@ -322,6 +326,8 @@ export default {
         per_page: 99999
       }).then(response => {
         this.templates = response.data.data
+      }).catch(() => {
+        load.endLoading()
       })
     },
     // 获取用户
@@ -330,6 +336,8 @@ export default {
         pageSize: 999999
       }).then(response => {
         this.users = response.data.list
+      }).catch(() => {
+        load.endLoading()
       })
     },
     async getRoles() {
@@ -337,12 +345,16 @@ export default {
         pageSize: 999999
       }).then(response => {
         this.roles = response.data.list
+      }).catch(() => {
+        load.endLoading()
       })
     },
     // 获取部门
     async getDepartments() {
       await treeselect().then(response => {
         this.departments = response.data
+      }).catch(() => {
+        load.endLoading()
       })
     },
     // 获取岗位
@@ -352,6 +364,8 @@ export default {
         pageSize: 99999
       }).then(response => {
         this.postOptions = response.data.list
+      }).catch(() => {
+        load.endLoading()
       })
     },
     /** 查询流程列表 */

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
web/index.html


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
web/static/web/css/chunk-0b9749d6.be20db05.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
web/static/web/js/app.6379da1a.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
web/static/web/js/chunk-0b9749d6.3a58beda.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
web/static/web/js/chunk-b2cdb5c2.d7673b27.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
web/static/web/js/chunk-b2cdb5c2.e0e927e5.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است