shouye.vue 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <template>
  2. <view class="admin-shouye-page">
  3. <view>家政公司名称</view>
  4. <view class="index-tj-box">
  5. <view>
  6. <text>本周</text>
  7. <text>本月</text>
  8. <text>本年</text>
  9. </view>
  10. <view>0/0</view>
  11. <view>考证人员/家政人员</view>
  12. </view>
  13. <view class="index-tongzhi-box">
  14. <text class="tongzhi-num">6</text>
  15. <text></text>
  16. <icon></icon>
  17. </view>
  18. <view class="card-list-box">
  19. <view class="card-list-title">管理家政人员</view>
  20. <view @click="goToPage('jz')" class="card-item-box">
  21. <icon></icon>
  22. <text>家政人员</text>
  23. </view>
  24. </view>
  25. <view class="card-list-box">
  26. <view class="card-list-title">管理考证人员</view>
  27. <view @click="goToPage('kz')" class="card-item-box">
  28. <icon></icon>
  29. <text>考证管理</text>
  30. </view>
  31. <view @click="goToPage('ks')" class="card-item-box">
  32. <icon></icon>
  33. <text>考试管理</text>
  34. </view>
  35. <view @click="goToPage('cj')" class="card-item-box">
  36. <icon></icon>
  37. <text>成绩管理</text>
  38. </view>
  39. <view @click="goToPage('lc')" class="card-item-box">
  40. <icon></icon>
  41. <text>练习管理</text>
  42. </view>
  43. <view @click="goToPage('kc')" class="card-item-box">
  44. <icon></icon>
  45. <text>课程管理</text>
  46. </view>
  47. </view>
  48. <!-- 页面底端 -->
  49. <customTabbarAdminVue :current-tab="0"></customTabbarAdminVue>
  50. </view>
  51. </template>
  52. <script setup>
  53. import customTabbarAdminVue from "@/components/custom-tabbar/custom-tabbar-admin.vue";
  54. // 获取用户头像
  55. function goToPage(data){
  56. switch (data) {
  57. case 'jz':
  58. uni.redirectTo({
  59. url:'/pages/admin/Jiazheng/index'
  60. })
  61. break;
  62. case 'kz':
  63. uni.redirectTo({
  64. url:'/pages/admin/Jiazheng/index'
  65. })
  66. break;
  67. case 'ks':
  68. uni.redirectTo({
  69. url:'/pages/admin/Kaoshi/exam'
  70. })
  71. break;
  72. case 'cj':
  73. uni.redirectTo({
  74. url:'/pages/client/Chengji/lxScoreShijuan'
  75. })
  76. break;
  77. case 'kc':
  78. uni.redirectTo({
  79. url:'/pages/admin/Kecheng/list'
  80. })
  81. break;
  82. }
  83. }
  84. </script>