lucw 9 месяцев назад
Родитель
Сommit
ba5b1b5826

+ 2 - 2
src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue

@@ -363,7 +363,7 @@
                   <p>部门:${task.assigneeUser.deptName}</p>
                   <p>结果:${this.getDictValue(
                     '流程实例的结果',
-                    task.result
+                    task.result + ''
                   )}</p>
                   <p>创建时间:${task.createTime}</p>`;
             if (task.endTime) {
@@ -386,7 +386,7 @@
           } else if (element.type === 'bpmn:EndEvent' && this.processInstance) {
             html = `<p>结果:${this.getDictValue(
               '流程实例的结果',
-              this.processInstance.result.toString()
+              this.processInstance.result + ''
             )}</p>`;
             if (this.processInstance.endTime) {
               html += `<p>结束时间:${this.processInstance.endTime}</p>`;