|
|
@@ -3,6 +3,20 @@
|
|
|
<div class="lt">
|
|
|
<div class="cube">
|
|
|
<!--h5区域-->
|
|
|
+ <div class="regionList">
|
|
|
+ <ul>
|
|
|
+ <el-row :gutter="21">
|
|
|
+ <el-col :span="8" v-for="(loft,i) in loftList">
|
|
|
+ <div :class="[{'active':loftIndex == i+1 }]" @click="ClickGetInfo(1,i)">
|
|
|
+ <div class="grid-content bg-purple"> {{loft.Name}}</div>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="cube">
|
|
|
+ <Task></Task>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="md">
|
|
|
@@ -12,6 +26,7 @@
|
|
|
<Scan :scan-rs="ScanRs"></Scan>
|
|
|
</div>
|
|
|
<div class="rt">
|
|
|
+ <SmallRader :total-rs="totalRs"></SmallRader>
|
|
|
<transition name="el-zoom-in-center">
|
|
|
<div class="cube">
|
|
|
<HistoryRecord :history-rs="historyRs"></HistoryRecord>
|
|
|
@@ -23,6 +38,7 @@
|
|
|
|
|
|
<script>
|
|
|
import Console from '@/components/Console.vue'
|
|
|
+ import Task from '@/components/Task.vue'
|
|
|
import WifiSign from '@/components/WifiSign.vue'
|
|
|
import Scan from '@/components/Scan.vue'
|
|
|
import HistoryRecord from '@/components/HistoryRecord.vue'
|
|
|
@@ -60,6 +76,34 @@
|
|
|
historyRs:[],
|
|
|
totalRs:[],
|
|
|
equipRs:[],
|
|
|
+ loftList:[],
|
|
|
+ loftIndex:0,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ mounted(){
|
|
|
+
|
|
|
+ },
|
|
|
+ methods:{
|
|
|
+ init(){
|
|
|
+ this.getDate()
|
|
|
+ },
|
|
|
+ getDate(){
|
|
|
+
|
|
|
+ },
|
|
|
+ // Wifi柱状图信息传入探测器Id
|
|
|
+ getDetectorWifixyInfolist(postdata) {
|
|
|
+ let that = this;
|
|
|
+ DetectorWifixyInfolist(postdata).then(res => {
|
|
|
+ let json = res;
|
|
|
+ if (json.Code == 0) {
|
|
|
+ that.WifiRs = json;
|
|
|
+ } else {
|
|
|
+ that.$message.error(json.Memo + ',错误代码:' + json.Code);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ ClickGetInfo(level, index){
|
|
|
+ this.loftIndex = parseInt(index);
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
@@ -68,6 +112,8 @@
|
|
|
HistoryRecord,
|
|
|
EquipInfo,
|
|
|
runTimeRecord,
|
|
|
+ Task,
|
|
|
+ SmallRader,
|
|
|
}
|
|
|
}
|
|
|
</script>
|