.
This commit is contained in:
parent
ba94353b37
commit
697db12aa9
@ -349,11 +349,11 @@
|
||||
:plain="dc.dataObj[child.dataKey].btnObj.open1.work"
|
||||
@click="dc.deviceControlHandle(child, 1)"> ①
|
||||
<span v-if="dc.dataObj[child.dataKey].btnObj.open1.work">
|
||||
<span v-if="dc.countdownObj[child.dataKey]">
|
||||
({{ dc.countdownObj[child.dataKey] }})
|
||||
<span v-if="dc.countdownObj[`${child.dataKey}_open1`]">
|
||||
({{ dc.countdownObj[`${child.dataKey}_open1`] }})
|
||||
</span>
|
||||
<span v-else class="timeout">
|
||||
{{ dc.timeoutObj[child.dataKey] }}
|
||||
{{ dc.timeoutObj[`${child.dataKey}_open1`] }}
|
||||
</span>
|
||||
</span>
|
||||
</u-button>
|
||||
@ -370,11 +370,11 @@
|
||||
@click="dc.deviceControlHandle(child, 2)"> ②
|
||||
<span
|
||||
v-if="dc.dataObj[child.dataKey].btnObj.open2.work">
|
||||
<span v-if="dc.countdownObj[child.dataKey]">
|
||||
({{ dc.countdownObj[child.dataKey] }})
|
||||
<span v-if="dc.countdownObj[`${child.dataKey}_open2`]">
|
||||
({{ dc.countdownObj[`${child.dataKey}_open2`] }})
|
||||
</span>
|
||||
<span v-else class="timeout">
|
||||
{{ dc.timeoutObj[child.dataKey] }}
|
||||
{{ dc.timeoutObj[`${child.dataKey}_open2`] }}
|
||||
</span>
|
||||
</span>
|
||||
</u-button>
|
||||
@ -412,12 +412,11 @@
|
||||
@click="dc.deviceControlHandle(child, 4)"> ④
|
||||
<span
|
||||
v-if="dc.dataObj[child.dataKey].btnObj.open4.work">
|
||||
<span v-if="dc.countdownObj[child.dataKey]">
|
||||
({{ dc.countdownObj[child.dataKey] }})
|
||||
<span v-if="dc.countdownObj[`${child.dataKey}_open4`]">
|
||||
({{ dc.countdownObj[`${child.dataKey}_open4`] }})
|
||||
</span>
|
||||
<span v-else class="timeout"
|
||||
style="color: red;">
|
||||
{{ dc.timeoutObj[child.dataKey] }}
|
||||
<span v-else class="timeout">
|
||||
{{ dc.timeoutObj[`${child.dataKey}_open4`] }}
|
||||
</span>
|
||||
</span>
|
||||
</u-button>
|
||||
@ -433,11 +432,11 @@
|
||||
:plain="dc.dataObj[child.dataKey].btnObj.open3.work"
|
||||
@click="dc.deviceControlHandle(child, 3)"> ③
|
||||
<span v-if="dc.dataObj[child.dataKey].btnObj.open3.work">
|
||||
<span v-if="dc.countdownObj[child.dataKey]">
|
||||
({{ dc.countdownObj[child.dataKey] }})
|
||||
<span v-if="dc.countdownObj[`${child.dataKey}_open3`]">
|
||||
({{ dc.countdownObj[`${child.dataKey}_open3`] }})
|
||||
</span>
|
||||
<span v-else class="timeout">
|
||||
{{ dc.timeoutObj[child.dataKey] }}
|
||||
{{ dc.timeoutObj[`${child.dataKey}_open3`] }}
|
||||
</span>
|
||||
</span>
|
||||
</u-button>
|
||||
|
Loading…
Reference in New Issue
Block a user