|
|
@ -20,10 +20,10 @@ |
|
|
|
</ElTabs> |
|
|
|
</div> |
|
|
|
<template #footer> |
|
|
|
<Button v-if="activeName === 'second' && data.deviceState == '1'" @click.native="deviceControlVisible = true"> |
|
|
|
<Button v-hasPermi="['business:home:airConditioning']" v-if="activeName === 'second' && data.deviceState == '1'" @click.native="deviceControlVisible = true"> |
|
|
|
设备操作 |
|
|
|
</Button> |
|
|
|
<Button v-else-if="activeName === 'second2' && airStatus == '1'" @click.native="airConditioningVisible = true"> |
|
|
|
<Button v-hasPermi="['business:home:airConditioning']" v-else-if="activeName === 'second2' && airStatus == '1'" @click.native="airConditioningVisible = true"> |
|
|
|
设备操作 |
|
|
|
</Button> |
|
|
|
<Button v-else-if="activeName != 'first'" style="background-color: #bbb"> |
|
|
|