Browse Source

完善审批记录--审批意见和耗时不显示的问题

master
yunuo970428 2 years ago
parent
commit
f45259e32a
  1. 16
      anrui-system-ui/src/components/flow/flowRecord.vue

16
anrui-system-ui/src/components/flow/flowRecord.vue

@ -26,17 +26,17 @@
<label style="color:#8a909c;font-weight: normal">{{ item.flowableRecordVo.finishTime }}</label><br>
</div>
<div>
<label v-if="item.duration" style="font-weight: normal">耗时</label>
<label style="color:red;font-weight: normal">{{ item.duration }}</label>
<label v-if="item.flowableRecordVo.duration" style="font-weight: normal">耗时</label>
<label style="color:red;font-weight: normal">{{ item.flowableRecordVo.duration }}</label>
</div>
</div>
<div>
<p v-if="item.comment">
<el-tag type="success" v-if="item.comment.type === '1'"> {{ item.comment.comment }}</el-tag>
<el-tag type="warning" v-if="item.comment.type === '2'"> {{ item.comment.comment }}</el-tag>
<el-tag type="danger" v-if="item.comment.type === '3'"> {{ item.comment.comment }}</el-tag>
<el-tag type="danger" v-if="item.comment.type === '7'"> {{ item.comment.comment }}</el-tag>
<el-tag type="danger" v-if="item.comment.type === '6'"> {{ item.comment.comment }}</el-tag>
<p v-if="item.flowableRecordVo.comment">
<el-tag type="success" v-if="item.flowableRecordVo.comment.type === '1'"> {{ item.flowableRecordVo.comment.comment }}</el-tag>
<el-tag type="warning" v-if="item.flowableRecordVo.comment.type === '2'"> {{ item.flowableRecordVo.comment.comment }}</el-tag>
<el-tag type="danger" v-if="item.flowableRecordVo.comment.type === '3'"> {{ item.flowableRecordVo.comment.comment }}</el-tag>
<el-tag type="danger" v-if="item.flowableRecordVo.comment.type === '7'"> {{ item.flowableRecordVo.comment.comment }}</el-tag>
<el-tag type="danger" v-if="item.flowableRecordVo.comment.type === '6'"> {{ item.flowableRecordVo.comment.comment }}</el-tag>
</p>
</div>
</el-card>

Loading…
Cancel
Save