Browse Source

增加展示拒绝原因

xuefy 3 years ago
parent
commit
c2f21256d1
1 changed files with 6 additions and 3 deletions
  1. 6 3
      flowable-front/src/components/views/myStartFlow.vue

+ 6 - 3
flowable-front/src/components/views/myStartFlow.vue

@@ -115,9 +115,12 @@
 					<el-step :title="item.name" v-for="item in histaskList">
 						<template slot="description">
 								<span v-if="item.activityType == 'userTask'">办理人:  {{item.displayName}}</span>  节点名称:  {{item.activityName}}   任务接收时间  {{item.startTime}}     任务办结时间  {{item.endTime}}
-								  <div v-for="comment in item.commentList" class="text item">
-								    {{'审批意见: ' + comment.message }}
-								  </div>
+								<div v-if="item.deleteReason != null" class="text item">
+									{{'拒绝原因: ' + item.deleteReason }}
+								</div>
+								<div v-else v-for="comment in item.commentList" class="text item">
+									{{'审批意见: ' + comment.message }}
+								</div>
 						</template>
 					</el-step>
 				</el-steps>