.
This commit is contained in:
parent
4b040b2d12
commit
a83a71db74
@ -49,78 +49,6 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="index-container">
|
||||
<view class="item-container" v-for="item in dataList">
|
||||
<view style="display: flex; align-items: center; justify-content: space-between;">
|
||||
<view class="flex-text" style="margin: 15px;">
|
||||
<view class="flex-text-one" style="color: black;">{{ item.wo.showName }}:</view>
|
||||
<view>{{ item.device.deviceCode }}</view>
|
||||
<view style="margin-left: 10px;">
|
||||
<u-tag text="在线" type="success" plain v-if="dc.dataObj[item.device.deviceCode]?.online" />
|
||||
<u-tag text="离线" type="error" plain v-else />
|
||||
</view>
|
||||
</view>
|
||||
<view style="margin-right: 5px;">
|
||||
<u-button type="success" size="mini" text="刷新"
|
||||
:loading="dc.dataObj[item.device.deviceCode]?.refresh"
|
||||
@click="dc.refreshDeviceItem(item.device.deviceCode, item.device)" />
|
||||
</view>
|
||||
</view>
|
||||
<u-gap height="1" bgColor="#D2D2D2"></u-gap>
|
||||
<view style="display: flex;justify-content: space-between;align-items: center;">
|
||||
<uni-row class="data"> -->
|
||||
<!-- <uni-col :span="12">
|
||||
<view class="flex-text global-font-size-1">
|
||||
<view class="flex-text-one">电量:</view>
|
||||
<view>{{ dc.dataObj[item.device.deviceCode]?.adc.b || '-' }}%</view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="12">
|
||||
<view class="flex-text global-font-size-1">
|
||||
<view class="flex-text-one">频段:</view>
|
||||
<view>
|
||||
{{ dataObj[item.device.deviceCode]?.lf || item.device.deviceExtendValve.rolaFrequency}}
|
||||
</view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="24">
|
||||
<view class="flex-text global-font-size-1">
|
||||
<view class="flex-text-one">软/硬件版本:</view>
|
||||
<view>{{ dataObj[item.device.deviceCode]?.sv || item.device.softVer}} /
|
||||
{{ dataObj[item.device.deviceCode]?.dv || item.device.deviceVersion }}
|
||||
</view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="24">
|
||||
<view class="flex-text global-font-size-1">
|
||||
<view class="flex-text-one">压力:</view>
|
||||
<view>{{ dc.dataObj[item.device.deviceCode]?.adc.p || '-' }}</view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="8">
|
||||
<u-button type="primary" @click="restart(item)">重启</u-button>
|
||||
</uni-col>
|
||||
<uni-col :span="8" v-hasPermi="['iot:dev-ops:vlf']">
|
||||
<u-button type="primary" @click="editRolaFrequency(item)">修改频段</u-button>
|
||||
</uni-col>
|
||||
<uni-col :span="8" v-hasPermi="['iot:dev-ops:gvc']">
|
||||
<u-button type="primary" @click="getConfig(item)">获取配置</u-button>
|
||||
|
||||
</uni-col> -->
|
||||
<!-- <uni-col :span="8">
|
||||
<u-button type="primary" @click="" disabled>压力校准</u-button>
|
||||
</uni-col> -->
|
||||
<!-- <uni-col :span="8">
|
||||
<u-button type="primary" @click="" disabled>桥接</u-button>
|
||||
</uni-col> -->
|
||||
<!-- <uni-col :span="8">
|
||||
<u-button type="primary" @click="" disabled>删除桥接</u-button>
|
||||
</uni-col> -->
|
||||
<!-- </uni-row>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</z-paging>
|
||||
|
||||
<!-- 修改频段 -->
|
||||
@ -295,48 +223,5 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
// .index-container {
|
||||
// .list {
|
||||
// margin: 0px 10px;
|
||||
// }
|
||||
|
||||
// .list-size {
|
||||
// display: flex;
|
||||
// padding: 5px 5px;
|
||||
// background: white;
|
||||
// justify-content: center;
|
||||
// }
|
||||
|
||||
// .search {
|
||||
// background-color: white;
|
||||
// padding: 10px;
|
||||
// }
|
||||
|
||||
// .item-container {
|
||||
// margin: 10px 10px;
|
||||
// background-color: white;
|
||||
// padding-bottom: 10px;
|
||||
// border-radius: 10px;
|
||||
// box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.05);
|
||||
// }
|
||||
|
||||
// .flex-text {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
|
||||
// .flex-text-one {
|
||||
// color: #939393;
|
||||
// font-weight: bold;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .data {
|
||||
// margin: 10px 20px !important;
|
||||
// width: 100%;
|
||||
|
||||
// .uni-col {
|
||||
// margin-bottom: 5px;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user