|
|
@@ -13,14 +13,14 @@
|
|
|
@click="cancle_screen"/>
|
|
|
</div>
|
|
|
<div :class="[{'signMapList':true},{'full_state':full_state}]">
|
|
|
- <div class="tips" v-if="scan == ''">
|
|
|
+ <div class="tips" v-if="scanState">
|
|
|
<span>请开始扫描</span>
|
|
|
</div>
|
|
|
- <div class="signMapListBg">
|
|
|
+ <div class="signMapListBg" >
|
|
|
<span v-for="s in scan"
|
|
|
:style="{ left: s.X*ruleX - errorX +'PX', top: s.Y *ruleY - errorY +'PX'}"
|
|
|
>
|
|
|
- <em class="types" @click="showToast(s.popover)" @mouseover="showToast(s.popover)">
|
|
|
+ <em class="types" @click="showToast(s.popover)" @mouseover="showToast(s.popover)" v-if="!scanState">
|
|
|
<img src="../assets/img/signMap/ydgsm.png" height="54" width="54"
|
|
|
v-if="s.WirelessType == 1"/>
|
|
|
<img src="../assets/img/signMap/ltgsm.png" height="54" width="54"
|
|
|
@@ -95,7 +95,8 @@
|
|
|
screen_full: false,
|
|
|
checked: true,
|
|
|
full_state: false,
|
|
|
- scan: [],
|
|
|
+ scanState:false,
|
|
|
+ scan: {},
|
|
|
XMax: 56,
|
|
|
YMax: 56,
|
|
|
xLimit: 2,
|
|
|
@@ -115,15 +116,17 @@
|
|
|
if (!newName.Rs) {
|
|
|
return false
|
|
|
}
|
|
|
- this.scan = newName.Rs.Data;
|
|
|
- this.XMax = newName.Rs.XMax;
|
|
|
- this.YMax = newName.Rs.YMax;
|
|
|
+ this.scanState = newName.Rs.IsStop;
|
|
|
+ console.log( this.scanState);
|
|
|
+ this.scan = newName.Rs.Chart.Data;
|
|
|
+ this.XMax = newName.Rs.Chart.XMax;
|
|
|
+ this.YMax = newName.Rs.Chart.YMax;
|
|
|
this.xLimit = parseInt(this.XMax / 28);
|
|
|
this.yLimit = parseInt(this.YMax / 12);
|
|
|
let Oem = "未知";
|
|
|
let Ssid = "未知";
|
|
|
- if (this.scan) {
|
|
|
- this.scan.map(function (item) {
|
|
|
+ if (this.scan.Chart) {
|
|
|
+ this.scan.Chart.map(function (item) {
|
|
|
Oem = item.Oem == '' ? "未知" : item.Oem;
|
|
|
Ssid = item.Ssid == '' ? "未知" : item.Ssid;
|
|
|
item.popover = "品牌:" + Oem + " SSID:" + Ssid;
|