|
@@ -52,37 +52,7 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
|
|
|
- <!-- <el-col class="gutter-row item item4" :span="8">
|
|
|
- <div class="gutter-box">
|
|
|
- <div class="gutter-box-title">基站设备</div>
|
|
|
- <div class="count-to-box">
|
|
|
- <span class="text">总数</span>
|
|
|
-
|
|
|
- <el-popover
|
|
|
- placement="bottom"
|
|
|
- width="600"
|
|
|
- trigger="hover">
|
|
|
- <div>
|
|
|
- <station-table :tableData="countData.station_type_data" />
|
|
|
- </div>
|
|
|
- <span slot="reference" class="number">
|
|
|
- <i class="el-icon-loading" v-if="showLoading"></i>
|
|
|
- <countTo v-else :startVal='startVal' :endVal='countData.station_total_count' :duration='duration'></countTo>
|
|
|
- </span>
|
|
|
- </el-popover>
|
|
|
- 台
|
|
|
-
|
|
|
- </div>
|
|
|
- <div class="count-to-box">
|
|
|
- <span class="text">在线数</span>
|
|
|
- <span class="number" @click="redirectPage('school')">
|
|
|
- <i class="el-icon-loading" v-if="showLoading"></i>
|
|
|
- <countTo v-else :startVal='startVal' :endVal='countData.station_online_count' :duration='duration'></countTo>
|
|
|
- </span>台
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </el-col> -->
|
|
|
-
|
|
|
+
|
|
|
</el-row>
|
|
|
</div>
|
|
|
|
|
@@ -100,13 +70,6 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
- <!-- 基站设备数据 -->
|
|
|
- <!-- <el-row :gutter="16">
|
|
|
- <el-col class="gutter-row item" :span="24">
|
|
|
- <station-data-chart :countData="countData" :total="countData.station_total_count" />
|
|
|
- </el-col>
|
|
|
- </el-row> -->
|
|
|
-
|
|
|
<!-- 告警图表 -->
|
|
|
<el-row :gutter="16">
|
|
|
<!-- 告警提醒 -->
|
|
@@ -131,8 +94,49 @@
|
|
|
</normal-card>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <!-- 维保记录 -->
|
|
|
+ <el-row :gutter="16">
|
|
|
+
|
|
|
+ <!--扭矩分析-->
|
|
|
+ <el-col class="gutter-row item" :span="12">
|
|
|
+ <!-- <device-alarm-chart :statsData="statsData" /> -->
|
|
|
+ <normal-card
|
|
|
+ showHeader
|
|
|
+ showMenu
|
|
|
+ title="压力分析"
|
|
|
+ shadow="always"
|
|
|
+ trigger="hover"
|
|
|
+ :menuItems="alarmGrowthMenuItems"
|
|
|
+ :bodyStyle="{height: '310px'}"
|
|
|
+ >
|
|
|
+ <template v-slot:content>
|
|
|
+ <maintenance-alarm-chart width="100%" />
|
|
|
+ </template>
|
|
|
+ </normal-card>
|
|
|
+ </el-col>
|
|
|
+ <!--压力分析-->
|
|
|
+ <el-col class="gutter-row item" :span="12">
|
|
|
+ <!-- <device-alarm-chart :statsData="statsData" /> -->
|
|
|
+ <normal-card
|
|
|
+ showHeader
|
|
|
+ showMenu
|
|
|
+ title="扭矩分析"
|
|
|
+ shadow="always"
|
|
|
+ trigger="hover"
|
|
|
+ :menuItems="alarmGrowthMenuItems"
|
|
|
+ :bodyStyle="{height: '310px'}"
|
|
|
+ >
|
|
|
+ <template v-slot:content>
|
|
|
+ <maintenance-alarm-chart width="100%" />
|
|
|
+ </template>
|
|
|
+ </normal-card>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
|
|
|
</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
@@ -148,6 +152,7 @@ import DeviceAlarmMessage from './components/DeviceAlarmMessage'
|
|
|
import TotalAlarmGrowth from './components/TotalAlarmGrowth'
|
|
|
import StationTable from './components/StationTable'
|
|
|
import DeviceTable from './components/DeviceTable'
|
|
|
+import MaintenanceAlarmChart from './components/MaintenanceAlarmChart'
|
|
|
|
|
|
export default {
|
|
|
name: 'DashboardAdmin',
|
|
@@ -161,6 +166,7 @@ export default {
|
|
|
DeviceAlarmMessage,
|
|
|
StationTable,
|
|
|
DeviceTable,
|
|
|
+ MaintenanceAlarmChart
|
|
|
},
|
|
|
deactivated() {
|
|
|
// 选中本页面时重新加载,以便获取最新数据
|
|
@@ -192,6 +198,11 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ //维保记录规律统计
|
|
|
+ Maintenance:{
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
countData: {
|
|
|
department_count:24,
|
|
|
device_online_count:31,
|