|
@@ -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>
|
|
|
|
|
@@ -95,13 +65,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">
|
|
|
<!-- 告警提醒 -->
|
|
@@ -126,8 +89,35 @@
|
|
|
</normal-card>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <!-- 维保记录 -->
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <!-- 告警提醒 -->
|
|
|
+ <el-col class="gutter-row item" :span="8">
|
|
|
+ <device-alarm-message />
|
|
|
+ </el-col>
|
|
|
+ <!-- 告警数据 -->
|
|
|
+ <el-col class="gutter-row item" :span="16">
|
|
|
+ <!-- <device-alarm-chart :statsData="statsData" /> -->
|
|
|
+ <maintenance-alarm-chart
|
|
|
+ showHeader
|
|
|
+ showMenu
|
|
|
+ title="告警数据"
|
|
|
+ shadow="always"
|
|
|
+ trigger="hover"
|
|
|
+ :menuItems="alarmGrowthMenuItems"
|
|
|
+ :bodyStyle="{height: '310px'}"
|
|
|
+ >
|
|
|
+ <template v-slot:content>
|
|
|
+ <total-alarm-growth width="100%" />
|
|
|
+ </template>
|
|
|
+ </maintenance-alarm-chart>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
|
|
|
</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
@@ -142,6 +132,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',
|
|
@@ -154,6 +145,7 @@ export default {
|
|
|
DeviceAlarmMessage,
|
|
|
StationTable,
|
|
|
DeviceTable,
|
|
|
+ MaintenanceAlarmChart
|
|
|
},
|
|
|
deactivated() {
|
|
|
// 选中本页面时重新加载,以便获取最新数据
|
|
@@ -170,6 +162,11 @@ export default {
|
|
|
showLoading: true,
|
|
|
// showAddLoading: true,
|
|
|
startVal: 0,
|
|
|
+ //维保记录规律统计
|
|
|
+ Maintenance:{
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
countData: {
|
|
|
department_count:24,
|
|
|
device_online_count:31,
|