Browse Source

一体机柜权限

develop
wangsixiang 3 days ago
parent
commit
74444a73ef
  1. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/IntegratedCabinet/index.vue

4
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/IntegratedCabinet/index.vue

@ -20,10 +20,10 @@
</ElTabs> </ElTabs>
</div> </div>
<template #footer> <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>
<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>
<Button v-else-if="activeName != 'first'" style="background-color: #bbb"> <Button v-else-if="activeName != 'first'" style="background-color: #bbb">

Loading…
Cancel
Save