<script lang="ts" setup name="BoardIndex">
import messList from './components/list.vue'
import apprList from './components/listApprove.vue'
const $route = useRoute()
//  检定 verification  通知 notice  审批 approve  工作 work
</script>

<template>
  <mess-list v-if="!$route.path.includes('approve')" />
  <appr-list v-else />
</template>
