lex-xin 4 年之前
父節點
當前提交
d35cdc7b4d
共有 3 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/views/process/admin/process-manager.vue
  2. 0 0
      web/index.html
  3. 0 0
      web/static/web/js/chunk-b2979236.55018ca5.js

+ 6 - 1
src/views/process/admin/process-manager.vue

@@ -427,7 +427,6 @@ export default {
     },
     verifyProcess(structureValue) {
       for (var r of structureValue.nodes) {
-        console.log(r)
         if (r.sort === undefined || r.sort === null || r.sort === '') {
           return '流程节点顺序不能为空'
         } else if (r.label === undefined || r.label === null || r.label === '') {
@@ -459,6 +458,9 @@ export default {
           for (var n of structureValue.nodes) {
             n.sort = '1'
           }
+          for (var j of structureValue.edges) {
+            j.sort = '1'
+          }
           var r = this.verifyProcess(structureValue)
           if (r !== '') {
             this.$message.error(r)
@@ -483,6 +485,9 @@ export default {
           for (var n of structureValue.nodes) {
             n.sort = '1'
           }
+          for (var j of structureValue.edges) {
+            j.sort = '1'
+          }
           var r = this.verifyProcess(structureValue)
           if (r !== '') {
             this.$message.error(r)

File diff suppressed because it is too large
+ 0 - 0
web/index.html


File diff suppressed because it is too large
+ 0 - 0
web/static/web/js/chunk-b2979236.55018ca5.js


Some files were not shown because too many files changed in this diff