|
|
@ -38,6 +38,9 @@ const handleConfirm = (value: any) => { |
|
|
|
const handleCancel = () => { |
|
|
|
isModalOpen.value = false |
|
|
|
} |
|
|
|
const openModal = () => { |
|
|
|
isModalOpen.value = true |
|
|
|
} |
|
|
|
|
|
|
|
const operationState = computed(() => { |
|
|
|
return homeStore.disinfectionState.state === 'idle' || homeStore.disinfectionState.state === 'finished' |
|
|
@ -47,7 +50,15 @@ const operationState = computed(() => { |
|
|
|
<template> |
|
|
|
<div class="home-right-level"> |
|
|
|
消毒等级: |
|
|
|
<el-input v-model="loglevel" class="input" placeholder="请选择" style="height: 4rem" readonly> |
|
|
|
<el-input |
|
|
|
v-model="loglevel" |
|
|
|
v-prevent-keyboard |
|
|
|
class="input" |
|
|
|
placeholder="请选择" |
|
|
|
style="height: 4rem" |
|
|
|
readonly |
|
|
|
@focus="openModal" |
|
|
|
> |
|
|
|
<template #append> |
|
|
|
<bt-button type="primary" button-text="Log" text-color="#ffffff" height="4rem" text-size="16px" /> |
|
|
|
</template> |
|
|
|