Explorar o código

工作流申请人不显示的问题

yuedefeng %!s(int64=6) %!d(string=hai) anos
pai
achega
383fdd1307

+ 3 - 0
src/dashoo.cn/frontend_web/src/components/workflow/wfhistory.vue

@@ -97,6 +97,9 @@
             this.tmp_historyTask = res.data.items
             let useridstr = ''
             for (let i = 0; i < this.tmp_historyTask.length; i++) {
+              if (this.tmp_historyTask[i].assignee !== '') {
+                useridstr = useridstr + this.tmp_historyTask[i].assignee + ','
+              }
               if (this.tmp_historyTask[i].users !== '') {
                 useridstr = useridstr + this.tmp_historyTask[i].users + ','
               }

+ 4 - 1
src/dashoo.cn/frontend_web/src/components/workflow/wfmultihistory.vue

@@ -112,6 +112,9 @@
             this.tmp_historyTask = res.data.items
             let useridstr = ''
             for (let i = 0; i < this.tmp_historyTask.length; i++) {
+              if (this.tmp_historyTask[i].assignee !== '') {
+                useridstr = useridstr + this.tmp_historyTask[i].assignee + ','
+              }
               if (this.tmp_historyTask[i].users !== '') {
                 useridstr = useridstr + this.tmp_historyTask[i].users + ','
               }
@@ -119,7 +122,7 @@
             if (useridstr) {
               useridstr = useridstr.substring(0, useridstr.length - 1)
             }
-            console.log(useridstr, 'useridstr')
+
             this.getuserlist(useridstr)
           })
           .catch(err => {