todo.vue 871 B

12345678910111213141516171819202122232425262728
  1. <script setup>
  2. import { onShow } from '@dcloudio/uni-app'
  3. import { useUserStore } from '@/stores/user'
  4. import { PAGE_PATHS } from '@/config/api'
  5. const userStore = useUserStore()
  6. onShow(() => {
  7. userStore.checkLoginStatus()
  8. if (!userStore.isLoggedIn) {
  9. uni.reLaunch({ url: PAGE_PATHS.login })
  10. }
  11. })
  12. </script>
  13. <template>
  14. <view class="mp-page mp-page--tab">
  15. <view class="mp-header">
  16. <text class="mp-header__title">待办</text>
  17. <text class="mp-header__meta">跨模块待办汇总(本期占位)</text>
  18. </view>
  19. <view class="mp-placeholder">
  20. <view class="mp-placeholder__icon" />
  21. <text class="mp-placeholder__title">待办功能建设中</text>
  22. <text class="mp-placeholder__desc">本期请从「工作台」进入各业务模块办理;全局待办将在后续阶段开放。</text>
  23. </view>
  24. </view>
  25. </template>