index.vue 405 B

12345678910111213141516
  1. <template>
  2. <ApprovalIndex ref="pendingApproval" :current-task-type="taskType"></ApprovalIndex>
  3. </template>
  4. <script setup>
  5. import ApprovalIndex from '../components/approvalIndex.vue'
  6. import { ref } from 'vue'
  7. /**
  8. * pendingApproval 待审批
  9. * myApplication 我的申请
  10. * myReceived 我收到的
  11. * pendingClaim 认领任务
  12. * approved 已审批
  13. */
  14. const taskType = ref('pendingApproval')
  15. </script>