|
|
@ -17,10 +17,10 @@ |
|
|
|
</ElTabs> |
|
|
|
</div> |
|
|
|
<template #footer> |
|
|
|
<Button v-if="check('business:home:equipmentBox') && activeName != 'first' && data.deviceState == '1'" @click.native="deviceControlVisible = true"> |
|
|
|
<Button v-if="check(['business:home:equipmentBox']) && activeName != 'first' && data.deviceState == '1'" @click.native="deviceControlVisible = true"> |
|
|
|
设备操作 |
|
|
|
</Button> |
|
|
|
<Button v-else-if="check('business:home:equipmentBox') && activeName != 'first'" style="background-color: #bbb"> |
|
|
|
<Button v-else-if="check(['business:home:equipmentBox']) && activeName != 'first'" style="background-color: #bbb"> |
|
|
|
设备离线 |
|
|
|
</Button> |
|
|
|
</template> |
|
|
|