|
|
@ -4,6 +4,7 @@ import homeFinish from 'assets/images/home/home-finish.svg' |
|
|
|
import homeStart from 'assets/images/home/home-start.svg' |
|
|
|
import { ElLoading } from 'element-plus' |
|
|
|
import { startTimer, stopTimer } from 'libs/countdownTimer' |
|
|
|
import { deviceStateMap } from 'libs/utils' |
|
|
|
import { computed, ref, watchEffect } from 'vue' |
|
|
|
|
|
|
|
import { getDeviceStatus } from '@/libs/deviceComm' |
|
|
@ -11,7 +12,6 @@ import { FtMessage } from '@/libs/message' |
|
|
|
import { FtMessageBox } from '@/libs/messageBox' |
|
|
|
import { useFormulaStore } from '@/stores/formulaStore' |
|
|
|
import { useHomeStore } from '@/stores/homeStore' |
|
|
|
import { useSystemStore } from '@/stores/systemStore' |
|
|
|
|
|
|
|
/** |
|
|
|
* 消毒操作控制组件 |
|
|
@ -21,7 +21,6 @@ import { useSystemStore } from '@/stores/systemStore' |
|
|
|
// 状态管理 |
|
|
|
const homeStore = useHomeStore() |
|
|
|
const formulaStore = useFormulaStore() |
|
|
|
const systemStore = useSystemStore() |
|
|
|
|
|
|
|
// 组件状态 |
|
|
|
const curStateRemainTimeS = ref<string>('') // 当前状态剩余时间(字符串格式) |
|
|
|