Explorar o código

监控首页统计修改

lchao hai 21 horas
pai
achega
2720207cca

+ 20 - 20
monitor_ui/src/views/index.vue

@@ -33,38 +33,38 @@
                     </div>
                   </template>
                 </el-table-column>
-                <el-table-column label="传感器在线" align="center" prop="device_online">
-                  <template slot-scope="scope">
-                    <div class="hoverable" :style="{  textDecoration: 'underline', color: '#50bfff' }">
-                      {{ scope.row.device_online }}
-                    </div>
-                  </template>
-                </el-table-column>
-                <el-table-column label="传感器离线" align="center" prop="device_offline">
-                  <template slot-scope="scope">
-                    <div class="hoverable" :style="{  textDecoration: 'underline', color: '#50bfff' }">
-                      {{ scope.row.device_offline }}
-                    </div>
-                  </template>
-                </el-table-column>
+<!--                <el-table-column label="传感器在线" align="center" prop="device_online">-->
+<!--                  <template slot-scope="scope">-->
+<!--                    <div class="hoverable" :style="{  textDecoration: 'underline', color: '#50bfff' }">-->
+<!--                      {{ scope.row.device_online }}-->
+<!--                    </div>-->
+<!--                  </template>-->
+<!--                </el-table-column>-->
+<!--                <el-table-column label="传感器离线" align="center" prop="device_offline">-->
+<!--                  <template slot-scope="scope">-->
+<!--                    <div class="hoverable" :style="{  textDecoration: 'underline', color: '#50bfff' }">-->
+<!--                      {{ scope.row.device_offline }}-->
+<!--                    </div>-->
+<!--                  </template>-->
+<!--                </el-table-column>-->
               </el-table>
             </template>
           </div>
         </el-card>
       </el-col>
       <el-col :span="5">
-        <el-card class="box-card" style="height: 95px;text-align: center;line-height: 55px;">
+        <el-card class="box-card" style="height: 130px;text-align: center;line-height: 55px;">
           <span class="button-text">在线设备 {{ countData.online }}</span>
         </el-card>
-        <el-card class="box-card" style="margin-top: 10px;height: 95px;text-align: center;line-height: 55px;">
+        <el-card class="box-card" style="margin-top: 10px;height: 130px;text-align: center;line-height: 55px;">
           <span class="button-text">离线设备 {{ countData.offline }}</span>
         </el-card>
-        <el-card class="box-card" style="margin-top: 10px;height: 95px;text-align: center;line-height: 55px;">
+        <el-card class="box-card" style="margin-top: 10px;height: 130px;text-align: center;line-height: 55px;">
           <a class="button-text"  @click="goToOtherPage">摄像头{{ countData.camera }}</a>
         </el-card>
-        <el-card class="box-card" style="margin-top: 10px;height: 95px;text-align: center;line-height: 55px;">
-          <a class="button-text"  @click="goToOtherPages">传感器 {{ countData.device }}</a>
-        </el-card>
+<!--        <el-card class="box-card" style="margin-top: 10px;height: 95px;text-align: center;line-height: 55px;">-->
+<!--          <a class="button-text"  @click="goToOtherPages">传感器 {{ countData.device }}</a>-->
+<!--        </el-card>-->
       </el-col>
     </el-row>
     <!-- 中间折线图图start-->

+ 1 - 1
monitor_ui/src/views/indexEcharss/DeviceChart.vue

@@ -14,7 +14,7 @@
       drawECharts(dataList){
         this.myChart.setOption({
           title: {
-            text: '区县离线设备统计',
+            text: '乡镇离线设备统计',
             left: 'center'
           },
           tooltip: {