Browse Source

update

develop
mbp 2 months ago
parent
commit
8773b4e120
  1. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RemoteMachine/index.vue
  2. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/index.vue

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

@ -17,10 +17,10 @@
</ElTabs> </ElTabs>
</div> </div>
<template #footer> <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>
<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> </Button>
</template> </template>

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

@ -17,10 +17,10 @@
</ElTabs> </ElTabs>
</div> </div>
<template #footer> <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>
<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> </Button>
</template> </template>

Loading…
Cancel
Save