approvalIndex.vue 661 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <div class="flex-column-page-wrap flex-wrap pageWrap">
  3. <div class="warp-left">
  4. <ApprovedItem :current-task-type="currentTaskType" />
  5. </div>
  6. <div class="warp-right">
  7. <ApprovedContent :current-task-type="currentTaskType" />
  8. </div>
  9. </div>
  10. </template>
  11. <script setup>
  12. import ApprovedItem from '../components/approvedItem.vue'
  13. import ApprovedContent from '../components/approvedContent.vue'
  14. const props = defineProps({
  15. /**
  16. * pendingApproval 待审批
  17. * myApplication 我的申请
  18. * myReceived 我收到的
  19. * pendingClaim 认领任务
  20. * approved 已审批
  21. */
  22. currentTaskType: {
  23. type: String,
  24. default: ''
  25. }
  26. })
  27. </script>