index.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!-- 工作台 -->
  2. <template>
  3. <div class="app-container workbench">
  4. <div class="page-container workbenchPage scrollbar-box" v-if="pageType === 1">
  5. <!-- 用户信息卡片 -->
  6. <user-info-card/>
  7. <!-- 工作台任务卡片 -->
  8. <task-card/>
  9. <!-- 实验室安全素养资源卡 -->
  10. <resource-card/>
  11. <!-- 实验室绑定申请 -->
  12. <lab-binding-apply/>
  13. <!-- 考试情况统计 -->
  14. <exam-situation/>
  15. <!-- 实验室与人员匹配 -->
  16. <lab-person-match/>
  17. <!-- 学时统计 -->
  18. <study-hour-stats/>
  19. </div>
  20. </div>
  21. </template>
  22. <script>
  23. import UserInfoCard from './UserInfoCard.vue'
  24. import TaskCard from './TaskCard.vue'
  25. import ResourceCard from './ResourceCard.vue'
  26. import LabBindingApply from './LabBindingApply.vue'
  27. import ExamSituation from './ExamSituation.vue'
  28. import LabPersonMatch from './LabPersonMatch.vue'
  29. import StudyHourStats from './StudyHourStats.vue'
  30. export default {
  31. name: 'index',
  32. components: {
  33. UserInfoCard,
  34. TaskCard,
  35. ResourceCard,
  36. LabBindingApply,
  37. ExamSituation,
  38. LabPersonMatch,
  39. StudyHourStats,
  40. },
  41. data() {
  42. return {
  43. pageType: 1,
  44. }
  45. },
  46. created() {
  47. },
  48. mounted() {
  49. },
  50. methods: {
  51. },
  52. }
  53. </script>
  54. <style scoped lang="scss">
  55. .workbench {
  56. flex: 1;
  57. display: flex;
  58. flex-direction: column;
  59. overflow: hidden;
  60. .workbenchPage {
  61. padding: 16px;
  62. background: #f5f7fa;
  63. overflow-y: scroll !important;
  64. display: flex;
  65. flex-direction: column;
  66. }
  67. }
  68. </style>