|
|
@ -56,7 +56,9 @@ |
|
|
|
:label="itm.iotDeviceId" |
|
|
|
:key="index" |
|
|
|
> |
|
|
|
<div>{{ itm.deviceName }}</div> |
|
|
|
<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-button |
|
|
|
class="el-icon-tickets huiduButton" |
|
|
@ -525,7 +527,10 @@ export default { |
|
|
|
// this.____getDeviceInfo(); |
|
|
|
} else { |
|
|
|
getBoardList(param).then((res) => { |
|
|
|
res.data.forEach((item) => { |
|
|
|
res.data.forEach((item, index) => { |
|
|
|
if(!item.iotDeviceId){ |
|
|
|
return |
|
|
|
} |
|
|
|
if (_.isString(item.otherConfig)) { |
|
|
|
item.otherConfig = JSON.parse(item.otherConfig); |
|
|
|
} |
|
|
@ -1257,12 +1262,15 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.checkbox { |
|
|
|
label { |
|
|
|
width: 100%; |
|
|
|
padding: 10px 0; |
|
|
|
box-sizing: border-box; |
|
|
|
display: flex; |
|
|
|
.boardLabel{ |
|
|
|
|
|
|
|
} |
|
|
|
// label { |
|
|
|
// width: 100%; |
|
|
|
// padding: 10px 0; |
|
|
|
// box-sizing: border-box; |
|
|
|
// display: flex; |
|
|
|
// } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -1283,11 +1291,28 @@ export default { |
|
|
|
display: flex !important; |
|
|
|
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;} |
|
|
|
.huiduButton { |
|
|
|
background: transparent; |
|
|
|
border: none; |
|
|
|
height: 18px; |
|
|
|
width: 18px; |
|
|
|
line-height: 20px; |
|
|
|
padding: 0; |
|
|
|
color: #fff; |
|
|
|
font-size: 16px; |
|
|
|
} |
|
|
|
|
|
|
|
.huiduButton:hover { |
|
|
|
color: #05afe3 !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.el-checkbox { |
|
|
|
display: flex !important; |
|
|
|
padding-top: 10px; |
|
|
|
margin: 0; |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .el-table { |
|
|
@ -1299,20 +1324,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.huiduButton { |
|
|
|
background: transparent; |
|
|
|
border: none; |
|
|
|
height: 19px; |
|
|
|
line-height: 20px; |
|
|
|
padding: 0; |
|
|
|
color: #fff; |
|
|
|
font-size: 16px; |
|
|
|
} |
|
|
|
|
|
|
|
.huiduButton:hover { |
|
|
|
color: #05afe3 !important; |
|
|
|
} |
|
|
|
|
|
|
|
// .boardListTitle { |
|
|
|
// // margin-top: 1vh; |
|
|
|
// color: #fff; |
|
|
|