|
@@ -129,7 +129,7 @@ import * as _ from 'lodash'
|
|
|
require('dayjs/locale/zh-cn')
|
|
require('dayjs/locale/zh-cn')
|
|
|
export default {
|
|
export default {
|
|
|
name: 'Dashboard',
|
|
name: 'Dashboard',
|
|
|
- components: {ChartMap, Jryl, QbDlsbxjdx, Jxdxqk, Zydbsx, Dlbpds, Dlsdxl, CardWrap, SyjhdxqkChart, Dlydtssx},
|
|
|
|
|
|
|
+ components: { ChartMap, Jryl, QbDlsbxjdx, Jxdxqk, Zydbsx, Dlbpds, Dlsdxl, CardWrap, SyjhdxqkChart, Dlydtssx },
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
render: true,
|
|
render: true,
|
|
@@ -170,10 +170,13 @@ export default {
|
|
|
'检修兑现情况': ScreenJxdxqk,
|
|
'检修兑现情况': ScreenJxdxqk,
|
|
|
'变电-电力异常信息': ScreenBdDlYcxx,
|
|
'变电-电力异常信息': ScreenBdDlYcxx,
|
|
|
'试验计划本月兑现情况': ScreenSyjhbydxqk,
|
|
'试验计划本月兑现情况': ScreenSyjhbydxqk,
|
|
|
- '待办事项': ScreenDbsx,
|
|
|
|
|
|
|
+ // '待办事项': ScreenDbsx,
|
|
|
'电力远动调试本月兑现情况': ScreenDlts,
|
|
'电力远动调试本月兑现情况': ScreenDlts,
|
|
|
'设备巡检兑现情况': ScreenSbxjdxqk
|
|
'设备巡检兑现情况': ScreenSbxjdxqk
|
|
|
}
|
|
}
|
|
|
|
|
+ if (!map[title]) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
this.drawer.title = title
|
|
this.drawer.title = title
|
|
|
this.drawer.visible = true
|
|
this.drawer.visible = true
|
|
|
this.drawer.comp = map[title]
|
|
this.drawer.comp = map[title]
|
|
@@ -260,7 +263,7 @@ export default {
|
|
|
background-image: url("/static/images/bg.png");
|
|
background-image: url("/static/images/bg.png");
|
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
|
background-size: cover;
|
|
background-size: cover;
|
|
|
- padding-bottom: 7 vh;
|
|
|
|
|
|
|
+ padding-bottom: 7vh;
|
|
|
|
|
|
|
|
.header {
|
|
.header {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -423,7 +426,8 @@ export default {
|
|
|
outline: none !important;
|
|
outline: none !important;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .el-drawer__body{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .el-drawer__body {
|
|
|
height: calc(100% - 100px);
|
|
height: calc(100% - 100px);
|
|
|
}
|
|
}
|
|
|
|
|
|