Browse Source

改bug

wangqin
hui 1 year ago
parent
commit
2dcb6985e3
  1. 13
      ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue

13
ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue

@ -57,9 +57,11 @@
:key="index"
>
<div class="title">{{ itm.deviceName }}</div>
<img src="@/assets/jihe/images/offline.svg" class="wifi" v-if="item.deviceState==0 || item.deviceState==null">
<img src="@/assets/jihe/images/online.svg" class="wifi" v-else>
<el-tooltip content="回读当前信息" placement="right">
<el-tooltip :content="(item.deviceState == 0 || item.deviceState == null) ? '离线' : '在线'" placement="top">
<img src="@/assets/jihe/images/offline.svg" class="state" v-if="item.deviceState==0 || item.deviceState==null">
<img src="@/assets/jihe/images/online.svg" class="state" v-else>
</el-tooltip>
<el-tooltip content="回读" placement="top">
<el-button
class="el-icon-tickets huiduButton"
@click.stop.prevent="____forkDeviceInfo(itm)"
@ -528,9 +530,6 @@ export default {
} else {
getBoardList(param).then((res) => {
res.data.forEach((item, index) => {
if(!item.iotDeviceId){
return
}
if (_.isString(item.otherConfig)) {
item.otherConfig = JSON.parse(item.otherConfig);
}
@ -1292,7 +1291,7 @@ export default {
justify-content: space-between;
width: 100%;
.title{ flex:1; width:0; overflow: hidden; text-overflow: ellipsis; word-break: keep-all;}
.wifi{ width: 18px; height: 18px; margin-right: 4px;}
.state{ width: 18px; height: 18px; margin-right: 4px;}
.huiduButton {
background: transparent;
border: none;

Loading…
Cancel
Save