Prechádzať zdrojové kódy

流程实例的结果

yusheng 10 mesiacov pred
rodič
commit
cf13f070bd

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

@@ -305,7 +305,7 @@ export default {
           }
           html = `<p>审批人:${task.assigneeUser.nickname}</p>
                   <p>部门:${task.assigneeUser.deptName}</p>
-                  <p>结果:${this.getDictValue('流程实例的结果', task.result)}</p>
+                  <p>结果:${this.getDictValue('流程实例的结果', task.result+'')}</p>
                   <p>创建时间:${task.createTime}</p>`;
           if (task.endTime) {
             html += `<p>结束时间:${task.endTime}</p>`
@@ -322,7 +322,7 @@ export default {
           }
           console.log(html)
         } else if (element.type === 'bpmn:EndEvent' && this.processInstance) {
-          html = `<p>结果:${this.getDictValue('流程实例的结果', this.processInstance.result)}</p>`;
+          html = `<p>结果:${this.getDictValue('流程实例的结果', this.processInstance.result+'')}</p>`;
           if (this.processInstance.endTime) {
             html += `<p>结束时间:${this.processInstance.endTime}</p>`
           }