Commit cbc4bf12 by 张杰

修复bug

1 parent 56eed27f
......@@ -769,7 +769,7 @@ MapService.prototype = {
createActiveInfo(info) {
return `<h3 class="map-infowindow-title">${info.name}/${info.standNo}</h3>
<div class="map-infowindow-ct">
<p><i class="icon icon-info_device"></i> 设备号: <span class="des">${info.sn}</span></p>
<p><i class="icon icon-info_device"></i> 设备号: <span class="des">${info.sn} ${info.source == 1?'有线':'无线'}</span></p>
<p><i class="icon icon-info_time"></i>激活时间: <span class="des">${info.time}</span></p>
<p><i class="icon icon-info_location"></i> 激活地址: <span class="des">${info.address}</span></p>
</div>`
......
......@@ -137,8 +137,10 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-if="scope.row.adjFreq===1" :command="getCommand('freq', scope.row.sn, scope.row.enableFre)">一键调频</el-dropdown-item>
<el-dropdown-item v-if="scope.row.adjFreq===2" :command="getCommand('oilTurnoff', scope.row.sn)">断开油电</el-dropdown-item>
<el-dropdown-item v-if="scope.row.adjFreq===3" :command="getCommand('oilTurnon', scope.row.sn)">恢复油电</el-dropdown-item>
<el-dropdown-item :command="getCommand('oilTurnoff', scope.row.sn)">断开油电</el-dropdown-item>
<el-dropdown-item :command="getCommand('oilTurnon', scope.row.sn)">恢复油电</el-dropdown-item>
<!-- <el-dropdown-item v-if="scope.row.adjFreq===2" :command="getCommand('oilTurnoff', scope.row.sn)">断开油电</el-dropdown-item>
<el-dropdown-item v-if="scope.row.adjFreq===3" :command="getCommand('oilTurnon', scope.row.sn)">恢复油电</el-dropdown-item> -->
</el-dropdown-menu>
</el-dropdown>
</el-col>
......
......@@ -303,7 +303,8 @@ export default {
address: row.address,
standNo: row.standno,
name:row.name,
sn:row.sn
sn:row.sn,
source:row.source
},
});
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!