Commit ad7950799801b21080a2f5d6d3e2b1cc37005717

Authored by 史婷婷
1 parent c3cc6c27

feat: 流程中心-按钮增加判断

Showing 1 changed file with 3 additions and 1 deletions
... ... @@ -36,7 +36,9 @@
36 36 <text>发起时间</text><text>{{ item.startTime }}</text>
37 37 </view>
38 38 <view class="footer">
39   - <button class="btn" type="primary" plain @click.stop="onDetail(item)">审核详情</button>
  39 + <!-- completed true 已办 显示 审核详情按钮 -->
  40 + <!-- completed false 待办 显示 去审核按钮 -->
  41 + <button v-if="item.completed" class="btn" type="primary" plain @click.stop="onDetail(item)">审核详情</button>
40 42 <button class="btn" type="primary" plain @click.stop="onDetail(item)">去审核</button>
41 43 </view>
42 44 </view>
... ...