| | |
| | | <template> |
| | | <div class="under-treatment-container" :style="{ '--height': height + 'px' }"> |
| | | <div> |
| | | <div |
| | | class="under-treatment-container" |
| | | :style="{ '--height': height + 'px' }" |
| | | > |
| | | <div class="left-box"> |
| | | <div class="left-row1"> |
| | | <div class="left-row1-col1"> |
| | |
| | | header-class-name="mini-header" |
| | | > |
| | | <div style="height: 100%"> |
| | | <div ref="ktvListEchartRef" style="width: 100%; height: 100%"></div> |
| | | <div |
| | | ref="ktvListEchartRef" |
| | | style="width: 100%; height: 100%" |
| | | ></div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | |
| | | <div class="dehydrated-level-item"> |
| | | <div class="item-left"> |
| | | <span |
| | | >最大脱水量:{{ pageData.maximumDehydrationCapacity }} L</span |
| | | >最大脱水量:{{ |
| | | pageData.maximumDehydrationCapacity |
| | | }} |
| | | L</span |
| | | > |
| | | <template v-if="pageData.maximumDehydrationDuration" |
| | | >/ |
| | |
| | | </div> |
| | | <!-- 定时任务 --> |
| | | <ScheduledTaskDialog ref="scheduledTaskDialogRef" /> |
| | | </div> |
| | | </template> |
| | | <script lang="ts" setup name="UnderTreatment"> |
| | | import { computed, ref, onMounted, onBeforeUnmount, watch, defineAsyncComponent } from "vue"; |
| | | import { |
| | | computed, |
| | | ref, |
| | | onMounted, |
| | | onBeforeUnmount, |
| | | watch, |
| | | defineAsyncComponent, |
| | | } from "vue"; |
| | | import * as echarts from "echarts"; |
| | | import dayjs from "dayjs"; |
| | | |
| | |
| | | const bedsideAuxiliaryScreenStore = useBedsideAuxiliaryScreenStore(); |
| | | |
| | | const scheduledTaskDialogRef = ref<any>(null); |
| | | |
| | | |
| | | // ktv趋势图的 |
| | | const ktvListEchartRef = ref<HTMLElement | null>(null); |
| | |
| | | |
| | | /** 定时任务 */ |
| | | const onScheduledTasksClick = () => { |
| | | if (!bedsideAuxiliaryScreenStore.deviceCode || !bedsideAuxiliaryScreenStore.deviceData.deviceCode) return ElMessage.warning('未初始化或正在进行初始化操作中'); |
| | | if ( |
| | | !bedsideAuxiliaryScreenStore.deviceCode || |
| | | !bedsideAuxiliaryScreenStore.deviceData.deviceCode |
| | | ) |
| | | return ElMessage.warning("未初始化或正在进行初始化操作中"); |
| | | scheduledTaskDialogRef.value?.openDialog(); |
| | | }; |
| | | |