소스 검색

流程实例的结果

yusheng 10 달 전
부모
커밋
cf13f070bd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue

+ 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>`
           }