| | |
| | | import { useBedsideAuxiliaryScreenStore } from "@/store/bedsideAuxiliaryScreen"; |
| | | import { EPageType } from '@/store/type/bedsideAuxiliaryScreen.type'; |
| | | import { getAvailableHeightByClass } from '@/utils/utils'; |
| | | import { useWindowSize } from '@/composables/useWindowSize'; |
| | | // 未排班时的组件 |
| | | const UnplannedSchedule = defineAsyncComponent(() => import('./pages/UnplannedSchedule.vue')); |
| | | // 未签到时的组件 |
| | |
| | | |
| | | const bedsideAuxiliaryScreenStore = useBedsideAuxiliaryScreenStore(); |
| | | const cotentHeight = ref(0); |
| | | const { width, height } = useWindowSize(); |
| | | |
| | | |
| | | const backgroundColor = computed(() => { |
| | |
| | | return name; |
| | | }); |
| | | |
| | | watch( |
| | | () => bedsideAuxiliaryScreenStore.deviceCode, |
| | | (newVal: string) => {} |
| | | ); |
| | | watch([width, height], () => { |
| | | cotentHeight.value = getAvailableHeightByClass('content-position') |
| | | }); |
| | | |
| | | |
| | | onMounted(() => { |
| | | if (bedsideAuxiliaryScreenStore.deviceCode) { |