.
This commit is contained in:
parent
8bbee918d6
commit
1b442e3e01
@ -5,8 +5,8 @@
|
||||
<custom-nav-bar :left="true" title="基站"></custom-nav-bar>
|
||||
</template>
|
||||
<uni-collapse accordion>
|
||||
<uni-collapse-item title="基站" v-if="dataList[0]">
|
||||
<view class="index-container">
|
||||
<uni-collapse-item title="基站" v-hasPermi="['iot:dev-ops:station']">
|
||||
<view class="index-container" v-if="dataList[0]">
|
||||
<view class="item-container" v-for="item in dataList[0]">
|
||||
<view style="display: flex; align-items: center; justify-content: space-between;">
|
||||
<view class="flex-text" style="margin: 15px;">
|
||||
@ -75,7 +75,8 @@
|
||||
子设备<u-badge type="primary" max="999" :value="item.topoCount" />
|
||||
</u-button>
|
||||
</uni-col>
|
||||
<uni-col :span="8" v-if="item.newDeviceVersionId">
|
||||
<uni-col :span="8" v-hasPermi="['iot:dev-ops:upgradeStation']"
|
||||
v-if="item.newDeviceVersionId">
|
||||
<u-button type="success" @click="upgradeStation(item)">
|
||||
基站升级
|
||||
</u-button>
|
||||
@ -90,9 +91,11 @@
|
||||
</view>
|
||||
</view>
|
||||
</uni-collapse-item>
|
||||
<uni-collapse-item title="蝶阀" v-if="dataList[1] && false"></uni-collapse-item>
|
||||
<uni-collapse-item title="4G阀门" v-if="dataList[2]">
|
||||
<view class="index-container">
|
||||
<uni-collapse-item title="蝶阀" v-hasPermi="['iot:dev-ops:butterflyValve']">
|
||||
<view class="index-container" v-if="dataList[1]"></view>
|
||||
</uni-collapse-item>
|
||||
<uni-collapse-item title="4G阀门" v-hasPermi="['iot:dev-ops:valve4g']">
|
||||
<view class="index-container" v-if="dataList[2]">
|
||||
<view class="item-container" v-for="item in dataList[2]">
|
||||
<view style="display: flex; align-items: center; justify-content: space-between;">
|
||||
<view class="flex-text" style="margin: 15px;">
|
||||
@ -140,7 +143,7 @@
|
||||
<view>{{ dc.dataObj[item.device.deviceCode]?.adc.p || '-' }}</view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="8" v-hasPermi="['iot:dev-ops:gvc']">
|
||||
<uni-col :span="8">
|
||||
<u-button type="success" @click="getValve4Config(item.device)" disabled>
|
||||
获取配置
|
||||
</u-button>
|
||||
@ -150,7 +153,8 @@
|
||||
重启
|
||||
</u-button>
|
||||
</uni-col>
|
||||
<uni-col :span="8" v-if="item.device.newDeviceVersionId">
|
||||
<uni-col :span="8" v-hasPermi="['iot:dev-ops:upgradeValve4G']"
|
||||
v-if="item.device.newDeviceVersionId">
|
||||
<u-button type="success" @click="upgradeValve4(item.device)">
|
||||
升级
|
||||
</u-button>
|
||||
|
@ -4,18 +4,18 @@
|
||||
<!--功能菜单栏-->
|
||||
<view class="function-section">
|
||||
<u-cell-group>
|
||||
<u-cell class="cell" title="设备运维" size="large" isLink url="/pages/dev-ops/device" v-hasPermi="['iot:dev-ops:station']">
|
||||
<u-cell class="cell" title="设备运维" size="large" isLink url="/pages/dev-ops/device" v-hasPermi="['iot:dev-ops:device']">
|
||||
<template #icon>
|
||||
<u--image style="margin: 0px 10px" src="../../../static/images/stationConfig.png" width="18px"
|
||||
height="18px" />
|
||||
</template>
|
||||
</u-cell>
|
||||
<u-cell class="cell" title="基站运维" size="large" isLink url="/pages/dev-ops/station" v-hasPermi="['iot:dev-ops:station']">
|
||||
<!-- <u-cell class="cell" title="基站运维" size="large" isLink url="/pages/dev-ops/station" v-hasPermi="['iot:dev-ops:station']">
|
||||
<template #icon>
|
||||
<u--image style="margin: 0px 10px" src="../../../static/images/stationConfig.png" width="18px"
|
||||
height="18px" />
|
||||
</template>
|
||||
</u-cell>
|
||||
</u-cell> -->
|
||||
<!-- <u-cell class="cell" title="阀门运维" size="large" isLink url="/pages/dev-ops/valve" v-hasPermi="['dev-ops:valve']">
|
||||
<template #icon>
|
||||
<u--image style="margin: 0px 10px" src="../../../static/images/valveConfig.png" width="18px"
|
||||
|
Loading…
Reference in New Issue
Block a user